fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r066-tajo-158922815201049
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for Eratosthenes-PT-500

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15743.340 1028952.00 1066172.00 3836.20 FFTFFTTFFFFFTFFT normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2020-input.r066-tajo-158922815201049.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2020-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
............................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is Eratosthenes-PT-500, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r066-tajo-158922815201049
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.2M
-rw-r--r-- 1 mcc users 3.8K Apr 14 12:30 CTLCardinality.txt
-rw-r--r-- 1 mcc users 21K Apr 14 12:30 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Apr 14 12:27 CTLFireability.txt
-rw-r--r-- 1 mcc users 19K Apr 14 12:27 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 24 05:37 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.7K Mar 24 05:37 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.2K Apr 8 15:19 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Apr 28 14:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Apr 8 15:19 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Apr 28 14:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.2K Apr 14 12:24 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 16K Apr 14 12:24 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.6K Apr 14 12:21 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 23K Apr 14 12:21 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Apr 14 12:24 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Apr 14 12:24 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 equiv_col
-rw-r--r-- 1 mcc users 4 Mar 24 05:37 instance
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 iscolored
-rw-r--r-- 1 mcc users 1.1M Mar 24 05:37 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME Eratosthenes-PT-500-00
FORMULA_NAME Eratosthenes-PT-500-01
FORMULA_NAME Eratosthenes-PT-500-02
FORMULA_NAME Eratosthenes-PT-500-03
FORMULA_NAME Eratosthenes-PT-500-04
FORMULA_NAME Eratosthenes-PT-500-05
FORMULA_NAME Eratosthenes-PT-500-06
FORMULA_NAME Eratosthenes-PT-500-07
FORMULA_NAME Eratosthenes-PT-500-08
FORMULA_NAME Eratosthenes-PT-500-09
FORMULA_NAME Eratosthenes-PT-500-10
FORMULA_NAME Eratosthenes-PT-500-11
FORMULA_NAME Eratosthenes-PT-500-12
FORMULA_NAME Eratosthenes-PT-500-13
FORMULA_NAME Eratosthenes-PT-500-14
FORMULA_NAME Eratosthenes-PT-500-15

=== Now, execution of the tool begins

BK_START 1590158552091

[2020-05-22 14:42:33] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-22 14:42:33] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-22 14:42:33] [INFO ] Load time of PNML (sax parser for PT used): 136 ms
[2020-05-22 14:42:33] [INFO ] Transformed 499 places.
[2020-05-22 14:42:33] [INFO ] Transformed 2191 transitions.
[2020-05-22 14:42:33] [INFO ] Parsed PT model containing 499 places and 2191 transitions in 192 ms.
Reduce places removed 95 places and 0 transitions.
Ensure Unique test removed 509 transitions
Reduce redundant transitions removed 509 transitions.
Parsed 16 properties from file /home/mcc/execution/LTLCardinality.xml in 27 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 100000 steps, including 307 resets, run finished after 2714 ms. (steps per millisecond=36 ) properties seen :[0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1]
[2020-05-22 14:42:36] [INFO ] Flow matrix only has 404 transitions (discarded 1278 similar events)
// Phase 1: matrix 404 rows 404 cols
[2020-05-22 14:42:36] [INFO ] Computed 0 place invariants in 14 ms
[2020-05-22 14:42:36] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:37] [INFO ] [Real]Absence check using state equation in 125 ms returned unsat
[2020-05-22 14:42:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:37] [INFO ] [Real]Absence check using state equation in 75 ms returned unsat
[2020-05-22 14:42:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:37] [INFO ] [Real]Absence check using state equation in 118 ms returned unsat
[2020-05-22 14:42:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:37] [INFO ] [Real]Absence check using state equation in 144 ms returned unsat
[2020-05-22 14:42:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:37] [INFO ] [Real]Absence check using state equation in 189 ms returned unsat
[2020-05-22 14:42:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:37] [INFO ] [Real]Absence check using state equation in 63 ms returned unsat
[2020-05-22 14:42:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:38] [INFO ] [Real]Absence check using state equation in 129 ms returned unsat
[2020-05-22 14:42:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:38] [INFO ] [Real]Absence check using state equation in 50 ms returned unsat
[2020-05-22 14:42:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:38] [INFO ] [Real]Absence check using state equation in 54 ms returned unsat
[2020-05-22 14:42:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:38] [INFO ] [Real]Absence check using state equation in 298 ms returned unsat
[2020-05-22 14:42:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:38] [INFO ] [Real]Absence check using state equation in 264 ms returned unsat
[2020-05-22 14:42:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:39] [INFO ] [Real]Absence check using state equation in 223 ms returned unsat
[2020-05-22 14:42:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:39] [INFO ] [Real]Absence check using state equation in 236 ms returned unsat
[2020-05-22 14:42:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:42:39] [INFO ] [Real]Absence check using state equation in 97 ms returned unsat
Successfully simplified 14 atomic propositions for a total of 18 simplifications.
[2020-05-22 14:42:39] [INFO ] Initial state reduction rules for CTL removed 8 formulas.
[2020-05-22 14:42:39] [INFO ] Flatten gal took : 118 ms
FORMULA Eratosthenes-PT-500-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-500-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-500-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-500-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-500-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-500-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-500-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-500-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-22 14:42:39] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2020-05-22 14:42:39] [INFO ] Flatten gal took : 64 ms
[2020-05-22 14:42:40] [INFO ] Initial state reduction rules for CTL removed 2 formulas.
FORMULA Eratosthenes-PT-500-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-500-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
[2020-05-22 14:42:40] [INFO ] Applying decomposition
[2020-05-22 14:42:40] [INFO ] Flatten gal took : 52 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/convert-linux64, -i, /tmp/graph7697605439358554048.txt, -o, /tmp/graph7697605439358554048.bin, -w, /tmp/graph7697605439358554048.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/louvain-linux64, /tmp/graph7697605439358554048.bin, -l, -1, -v, -w, /tmp/graph7697605439358554048.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-22 14:42:40] [INFO ] Input system was already deterministic with 1682 transitions.
[2020-05-22 14:42:40] [INFO ] Too many transitions (1682) to apply POR reductions. Disabling POR matrices.
[2020-05-22 14:42:40] [INFO ] Decomposing Gal with order
[2020-05-22 14:42:40] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-22 14:42:40] [INFO ] Built C files in 434ms conformant to PINS in folder :/home/mcc/execution
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit//lts_install_dir//include, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/home/mcc/execution]
[2020-05-22 14:42:40] [INFO ] Removed a total of 2109 redundant transitions.
[2020-05-22 14:42:40] [INFO ] Flatten gal took : 187 ms
[2020-05-22 14:42:40] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 11 ms.
[2020-05-22 14:42:40] [INFO ] Time to serialize gal into /home/mcc/execution/LTLCardinality.pnml.gal : 15 ms
[2020-05-22 14:42:40] [INFO ] Time to serialize properties into /home/mcc/execution/LTLCardinality.ltl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ltl-linux64, --gc-threshold, 2000000, -i, /home/mcc/execution/LTLCardinality.pnml.gal, -t, CGAL, -LTL, /home/mcc/execution/LTLCardinality.ltl, -c, -stutter-deadlock, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ltl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ltl-linux64 --gc-threshold 2000000 -i /home/mcc/execution/LTLCardinality.pnml.gal -t CGAL -LTL /home/mcc/execution/LTLCardinality.ltl -c -stutter-deadlock --gen-order FOLLOW
Read 6 LTL properties
Checking formula 0 : !((F((G((!(G("(gu52.p42<=gu52.p376)")))||("(gu110.p195<1)")))&&("(((gu294.p128<1)||(gu52.p42<=gu52.p376))||(gu375.p115>=2))"))))
Formula 0 simplified : !F("(((gu294.p128<1)||(gu52.p42<=gu52.p376))||(gu375.p115>=2))" & G("(gu110.p195<1)" | !G"(gu52.p42<=gu52.p376)"))
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
Computing Next relation with stutter on 1 deadlock states
Compilation finished in 18432 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/home/mcc/execution]
Link finished in 70 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, --ltl, <>(( [](( !( []((LTLAP0==true))) ) || ( (LTLAP1==true)) ) ) && ( (LTLAP2==true) )), --buchi-type=spotba], workingDir=/home/mcc/execution]
/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Unexpected exception when executing ltsmin :CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, --ltl, <>(( [](( !( []((LTLAP0==true))) ) || ( (LTLAP1==true)) ) ) && ( (LTLAP2==true) )), --buchi-type=spotba], workingDir=/home/mcc/execution]
127
java.lang.RuntimeException: Unexpected exception when executing ltsmin :CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, --ltl, <>(( [](( !( []((LTLAP0==true))) ) || ( (LTLAP1==true)) ) ) && ( (LTLAP2==true) )), --buchi-type=spotba], workingDir=/home/mcc/execution]
127
at fr.lip6.move.gal.application.LTSminRunner.checkProperty(LTSminRunner.java:170)
at fr.lip6.move.gal.application.LTSminRunner.access$10(LTSminRunner.java:124)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:93)
at java.base/java.lang.Thread.run(Thread.java:834)
1212 unique states visited
0 strongly connected components in search stack
2019 transitions explored
406 items max in DFS search stack
42513 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,425.213,2690408,1,0,2019,2.08178e+07,34,2560,7430,1.41729e+07,8415
no accepting run found
Formula 0 is TRUE no accepting run found.
FORMULA Eratosthenes-PT-500-02 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 1 : !(((F(X(!(X("(gu342.p39<=gu342.p57)")))))&&(G(("(gu28.p159<=gu28.p255)")U("(gu69.p286<1)")))))
Formula 1 simplified : !(FX!X"(gu342.p39<=gu342.p57)" & G("(gu28.p159<=gu28.p255)" U "(gu69.p286<1)"))
Computing Next relation with stutter on 1 deadlock states
4 unique states visited
4 strongly connected components in search stack
4 transitions explored
4 items max in DFS search stack
25409 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,679.31,3264772,1,0,2224,2.41603e+07,21,2698,7416,1.86776e+07,2291
an accepting run exists (use option '-e' to print it)
Formula 1 is FALSE accepting run found.
FORMULA Eratosthenes-PT-500-03 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 2 : !(((G(F((F(G("(gu42.p150>=1)")))&&(X(X("((gu12.p476<=gu12.p161)||(gu20.p370>=2))"))))))||(G(X("(gu42.p150>=1)")))))
Formula 2 simplified : !(GF(FG"(gu42.p150>=1)" & XX"((gu12.p476<=gu12.p161)||(gu20.p370>=2))") | GX"(gu42.p150>=1)")
Computing Next relation with stutter on 1 deadlock states
408 unique states visited
408 strongly connected components in search stack
409 transitions explored
408 items max in DFS search stack
2584 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,705.158,3265340,1,0,2224,2.41603e+07,35,2698,8223,1.86776e+07,4727
an accepting run exists (use option '-e' to print it)
Formula 2 is FALSE accepting run found.
FORMULA Eratosthenes-PT-500-04 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 3 : !((G(G("((gu300.p63<1)||(gu287.p40<=gu287.p125))"))))
Formula 3 simplified : !G"((gu300.p63<1)||(gu287.p40<=gu287.p125))"
Computing Next relation with stutter on 1 deadlock states
3 unique states visited
3 strongly connected components in search stack
3 transitions explored
3 items max in DFS search stack
8970 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,794.86,3624564,1,0,2801,2.57205e+07,15,3118,7409,2.09608e+07,822
an accepting run exists (use option '-e' to print it)
Formula 3 is FALSE accepting run found.
FORMULA Eratosthenes-PT-500-08 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 4 : !((X(F(!(X(X(G(!(F(X("(gu18.p375>=1)")))))))))))
Formula 4 simplified : !XF!XXG!FX"(gu18.p375>=1)"
Computing Next relation with stutter on 1 deadlock states
6 unique states visited
6 strongly connected components in search stack
6 transitions explored
6 items max in DFS search stack
8725 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,882.12,3679124,1,0,2801,3.03576e+07,25,3118,8218,2.09608e+07,4843
an accepting run exists (use option '-e' to print it)
Formula 4 is FALSE accepting run found.
FORMULA Eratosthenes-PT-500-10 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 5 : !((((!(X(G("(gu21.p371<1)"))))||(!(X(F("(gu21.p371>=1)")))))U(G("(gu61.p325<=gu61.p395)"))))
Formula 5 simplified : !((!XG"(gu21.p371<1)" | !XF"(gu21.p371>=1)") U G"(gu61.p325<=gu61.p395)")
Computing Next relation with stutter on 1 deadlock states
2816 unique states visited
0 strongly connected components in search stack
4831 transitions explored
405 items max in DFS search stack
10878 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,990.915,3985852,1,0,3366,3.36658e+07,39,5851,7427,2.09608e+07,20892
no accepting run found
Formula 5 is TRUE no accepting run found.
FORMULA Eratosthenes-PT-500-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

BK_STOP 1590159581043

--------------------
content from stderr:

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ LTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution LTLCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination LTLCardinality -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="Eratosthenes-PT-500"
export BK_EXAMINATION="LTLCardinality"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-4028"
echo " Executing tool itstools"
echo " Input is Eratosthenes-PT-500, examination is LTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r066-tajo-158922815201049"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/Eratosthenes-PT-500.tgz
mv Eratosthenes-PT-500 execution
cd execution
if [ "LTLCardinality" = "ReachabilityDeadlock" ] || [ "LTLCardinality" = "UpperBounds" ] || [ "LTLCardinality" = "QuasiLiveness" ] || [ "LTLCardinality" = "StableMarking" ] || [ "LTLCardinality" = "Liveness" ] || [ "LTLCardinality" = "OneSafe" ] || [ "LTLCardinality" = "StateSpace" ]; then
rm -f GenericPropertiesVerdict.xml
fi
pwd
ls -lh

echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "LTLCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "LTLCardinality" != "StateSpace" ] ; then
echo "The expected result is a vector of booleans"
echo BOOL_VECTOR
else
echo "no data necessary for post analysis"
fi
echo
if [ -f "LTLCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property LTLCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "LTLCardinality.xml" ] ; then # for cunf (txt files deleted;-)
echo echo "here is the order used to build the result vector(from xml file)"
for x in $(grep '' LTLCardinality.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "LTLCardinality" = "ReachabilityDeadlock" ] || [ "LTLCardinality" = "QuasiLiveness" ] || [ "LTLCardinality" = "StableMarking" ] || [ "LTLCardinality" = "Liveness" ] || [ "LTLCardinality" = "OneSafe" ] ; then
echo "FORMULA_NAME LTLCardinality"
fi
echo
echo "=== Now, execution of the tool begins"
echo
echo -n "BK_START "
date -u +%s%3N
echo
timeout -s 9 $BK_TIME_CONFINEMENT bash -c "/home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n \"BK_STOP \" ; date -u +%s%3N"
if [ $? -eq 137 ] ; then
echo
echo "BK_TIME_CONFINEMENT_REACHED"
fi
echo
echo "--------------------"
echo "content from stderr:"
echo
cat STDERR ;