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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15742.100 3316.00 7674.00 50.40 TTFTFTTTTTTFTFFT 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-158922815201025.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-050, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r066-tajo-158922815201025
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 240K
-rw-r--r-- 1 mcc users 3.8K Apr 14 12:28 CTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Apr 14 12:28 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 14 12:25 CTLFireability.txt
-rw-r--r-- 1 mcc users 19K Apr 14 12:25 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.4K Apr 8 15:19 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Apr 28 14:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K 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.0K Apr 14 12:22 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 14K Apr 14 12:22 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.3K Apr 14 12:19 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 22K Apr 14 12:19 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K 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 54K 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-050-00
FORMULA_NAME Eratosthenes-PT-050-01
FORMULA_NAME Eratosthenes-PT-050-02
FORMULA_NAME Eratosthenes-PT-050-03
FORMULA_NAME Eratosthenes-PT-050-04
FORMULA_NAME Eratosthenes-PT-050-05
FORMULA_NAME Eratosthenes-PT-050-06
FORMULA_NAME Eratosthenes-PT-050-07
FORMULA_NAME Eratosthenes-PT-050-08
FORMULA_NAME Eratosthenes-PT-050-09
FORMULA_NAME Eratosthenes-PT-050-10
FORMULA_NAME Eratosthenes-PT-050-11
FORMULA_NAME Eratosthenes-PT-050-12
FORMULA_NAME Eratosthenes-PT-050-13
FORMULA_NAME Eratosthenes-PT-050-14
FORMULA_NAME Eratosthenes-PT-050-15

=== Now, execution of the tool begins

BK_START 1590158400875

[2020-05-22 14:40:02] [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:40:02] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-22 14:40:02] [INFO ] Load time of PNML (sax parser for PT used): 45 ms
[2020-05-22 14:40:02] [INFO ] Transformed 49 places.
[2020-05-22 14:40:02] [INFO ] Transformed 108 transitions.
[2020-05-22 14:40:02] [INFO ] Found NUPN structural information;
[2020-05-22 14:40:02] [INFO ] Parsed PT model containing 49 places and 108 transitions in 85 ms.
Reduce places removed 15 places and 0 transitions.
Ensure Unique test removed 28 transitions
Reduce redundant transitions removed 28 transitions.
Parsed 16 properties from file /home/mcc/execution/LTLCardinality.xml in 16 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 100000 steps, including 3355 resets, run finished after 233 ms. (steps per millisecond=429 ) properties seen :[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1]
[2020-05-22 14:40:02] [INFO ] Flow matrix only has 34 transitions (discarded 46 similar events)
// Phase 1: matrix 34 rows 34 cols
[2020-05-22 14:40:02] [INFO ] Computed 0 place invariants in 3 ms
[2020-05-22 14:40:02] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:40:02] [INFO ] [Real]Absence check using state equation in 48 ms returned sat
[2020-05-22 14:40:02] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 14:40:03] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 14:40:03] [INFO ] [Nat]Absence check using state equation in 13 ms returned unsat
[2020-05-22 14:40:03] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:40:03] [INFO ] [Real]Absence check using state equation in 17 ms returned sat
[2020-05-22 14:40:03] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 14:40:03] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 14:40:03] [INFO ] [Nat]Absence check using state equation in 8 ms returned unsat
[2020-05-22 14:40:03] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:40:03] [INFO ] [Real]Absence check using state equation in 12 ms returned sat
[2020-05-22 14:40:03] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 14:40:03] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 14:40:03] [INFO ] [Nat]Absence check using state equation in 12 ms returned unsat
[2020-05-22 14:40:03] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-22 14:40:03] [INFO ] [Real]Absence check using state equation in 13 ms returned sat
[2020-05-22 14:40:03] [INFO ] Solution in real domain found non-integer solution.
[2020-05-22 14:40:03] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-22 14:40:03] [INFO ] [Nat]Absence check using state equation in 9 ms returned unsat
Successfully simplified 4 atomic propositions for a total of 6 simplifications.
[2020-05-22 14:40:03] [INFO ] Initial state reduction rules for CTL removed 8 formulas.
[2020-05-22 14:40:03] [INFO ] Flatten gal took : 30 ms
FORMULA Eratosthenes-PT-050-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-050-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-050-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-050-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-050-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-050-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-050-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Eratosthenes-PT-050-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-22 14:40:03] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2020-05-22 14:40:03] [INFO ] Flatten gal took : 9 ms
[2020-05-22 14:40:03] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA Eratosthenes-PT-050-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Using solver Z3 to compute partial order matrices.
[2020-05-22 14:40:03] [INFO ] Applying decomposition
Built C files in :
/home/mcc/execution
[2020-05-22 14:40:03] [INFO ] Flatten gal took : 10 ms
[2020-05-22 14:40:03] [INFO ] Input system was already deterministic with 80 transitions.
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/graph16167448344332434367.txt, -o, /tmp/graph16167448344332434367.bin, -w, /tmp/graph16167448344332434367.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/graph16167448344332434367.bin, -l, -1, -v, -w, /tmp/graph16167448344332434367.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-22 14:40:03] [INFO ] Decomposing Gal with order
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
Normalized transition count is 34 out of 80 initially.
// Phase 1: matrix 34 rows 34 cols
[2020-05-22 14:40:03] [INFO ] Computed 0 place invariants in 1 ms
Total of 0 invariants.
[2020-05-22 14:40:03] [INFO ] Computed 0 place invariants in 2 ms
[2020-05-22 14:40:03] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-22 14:40:03] [INFO ] Removed a total of 60 redundant transitions.
[2020-05-22 14:40:03] [INFO ] Proved 34 variables to be positive in 59 ms
[2020-05-22 14:40:03] [INFO ] Flatten gal took : 35 ms
[2020-05-22 14:40:03] [INFO ] Computing symmetric may disable matrix : 80 transitions.
[2020-05-22 14:40:03] [INFO ] Computation of disable matrix completed :0/80 took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-22 14:40:03] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 1 ms.
[2020-05-22 14:40:03] [INFO ] Computation of Complete disable matrix. took 2 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-22 14:40:03] [INFO ] Computing symmetric may enable matrix : 80 transitions.
[2020-05-22 14:40:03] [INFO ] Time to serialize gal into /home/mcc/execution/LTLCardinality.pnml.gal : 3 ms
[2020-05-22 14:40:03] [INFO ] Time to serialize properties into /home/mcc/execution/LTLCardinality.ltl : 1 ms
[2020-05-22 14:40:03] [INFO ] Computation of Complete enable matrix. took 2 ms. Total solver calls (SAT/UNSAT): 0(0/0)
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], 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
Read 7 LTL properties
Checking formula 0 : !((!((X("(u29.p50!=1)"))U(X(G("(u29.p50==1)"))))))
Formula 0 simplified : X"(u29.p50!=1)" U XG"(u29.p50==1)"
built 46 ordering constraints for composite.
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
Computing Next relation with stutter on 1 deadlock states
69 unique states visited
0 strongly connected components in search stack
70 transitions explored
35 items max in DFS search stack
7 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,0.095355,20328,1,0,7975,77,686,11399,21,55,17140
no accepting run found
Formula 0 is TRUE no accepting run found.
FORMULA Eratosthenes-PT-050-00 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 1 : !((F(!(F(("((u2.p25==0)||(u14.p42==1))")U(X("(u21.p16==1)")))))))
Formula 1 simplified : !F!F("((u2.p25==0)||(u14.p42==1))" U X"(u21.p16==1)")
Computing Next relation with stutter on 1 deadlock states
69 unique states visited
0 strongly connected components in search stack
136 transitions explored
36 items max in DFS search stack
6 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,0.155837,22956,1,0,13084,77,784,21795,21,55,29141
no accepting run found
Formula 1 is TRUE no accepting run found.
FORMULA Eratosthenes-PT-050-01 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 2 : !((F(G(((X("((u4.p27==0)||(u17.p10==1))"))||("(u4.p27==0)"))||("(u17.p10==1)")))))
Formula 2 simplified : !FG("(u4.p27==0)" | "(u17.p10==1)" | X"((u4.p27==0)||(u17.p10==1))")
Computing Next relation with stutter on 1 deadlock states
99 unique states visited
0 strongly connected components in search stack
195 transitions explored
35 items max in DFS search stack
5 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,0.216709,24936,1,0,16391,77,861,27703,23,55,39470
no accepting run found
Formula 2 is TRUE no accepting run found.
FORMULA Eratosthenes-PT-050-03 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 3 : !((G(("((u10.p45==0)||(u10.p45==1))")||(G((X("(u18.p12==1)"))&&("(u18.p12==1)"))))))
Formula 3 simplified : !G("((u10.p45==0)||(u10.p45==1))" | G("(u18.p12==1)" & X"(u18.p12==1)"))
Computing Next relation with stutter on 1 deadlock states
35 unique states visited
0 strongly connected components in search stack
35 transitions explored
35 items max in DFS search stack
1 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,0.225825,25364,1,0,16667,77,905,28328,25,55,41276
no accepting run found
Formula 3 is TRUE no accepting run found.
FORMULA Eratosthenes-PT-050-06 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 4 : !((G("((u30.p8==0)||(u4.p27==1))")))
Formula 4 simplified : !G"((u30.p8==0)||(u4.p27==1))"
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
1 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,0.233969,25628,1,0,17534,77,964,29455,25,55,42930
an accepting run exists (use option '-e' to print it)
Formula 4 is FALSE accepting run found.
FORMULA Eratosthenes-PT-050-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 5 : !((G(F("((u18.p12==0)||(u7.p20==1))"))))
Formula 5 simplified : !GF"((u18.p12==0)||(u7.p20==1))"
Computing Next relation with stutter on 1 deadlock states
68 unique states visited
0 strongly connected components in search stack
69 transitions explored
35 items max in DFS search stack
4 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,0.277149,27460,1,0,21335,77,1044,35543,25,55,51313
no accepting run found
Formula 5 is TRUE no accepting run found.
FORMULA Eratosthenes-PT-050-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 6 : !((G("((u26.p35==0)||(u0.p49==1))")))
Formula 6 simplified : !G"((u26.p35==0)||(u0.p49==1))"
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
4 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,0.308965,28780,1,0,24879,77,1123,40021,25,55,57117
an accepting run exists (use option '-e' to print it)
Formula 6 is FALSE accepting run found.
FORMULA Eratosthenes-PT-050-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
[2020-05-22 14:40:04] [WARNING] Script execution failed on command (declare-fun s0 () (Array Int Int)) with error
[2020-05-22 14:40:04] [WARNING] Script execution failed on command (declare-fun s1 () (Array Int Int)) with error (error "Error writing to Z3 solver: java.io.IOException: Stream closed")
[2020-05-22 14:40:04] [WARNING] Script execution failed on command (assert (and (>= (select s0 30) 1) (= (store s0 30 (- (select s0 30) 1)) s1))) with error (error "Failed to assert expression: java.io.IOException: Stream closed (and (>= (select s0 30) 1) (= (store s0 30 (- (select s0 30) 1)) s1))")
Skipping mayMatrices nes/nds SMT solver raised an exception or timeout.
java.lang.RuntimeException: SMT solver raised an exception or timeout.
at fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver.computeAblingForPredicate(NecessaryEnablingsolver.java:757)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printLabels(Gal2PinsTransformerNext.java:512)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printDependencyMatrix(Gal2PinsTransformerNext.java:209)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.buildBodyFile(Gal2PinsTransformerNext.java:85)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.transform(Gal2PinsTransformerNext.java:831)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:73)
at java.base/java.lang.Thread.run(Thread.java:834)
[2020-05-22 14:40:04] [INFO ] Built C files in 572ms 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]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.

BK_STOP 1590158404191

--------------------
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-050"
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-050, 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-158922815201025"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/Eratosthenes-PT-050.tgz
mv Eratosthenes-PT-050 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 ;