fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r083-smll-167814405800256
Last Updated
May 14, 2023

About the Execution of ITS-Tools for CloudDeployment-PT-5a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
754.964 28380.00 41588.00 466.20 T normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r083-smll-167814405800256.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool itstools
Input is CloudDeployment-PT-5a, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r083-smll-167814405800256
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 668K
-rw-r--r-- 1 mcc users 7.0K Feb 25 15:04 CTLCardinality.txt
-rw-r--r-- 1 mcc users 78K Feb 25 15:04 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.6K Feb 25 14:57 CTLFireability.txt
-rw-r--r-- 1 mcc users 50K Feb 25 14:57 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 15:45 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 15:45 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 15:45 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 15:45 LTLFireability.xml
-rw-r--r-- 1 mcc users 9.0K Feb 25 15:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 95K Feb 25 15:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.5K Feb 25 15:10 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 85K Feb 25 15:10 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 15:45 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 15:45 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 3 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 230K Mar 5 18:22 model.pnml

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

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

The expected result is a vector of booleans
BOOL_VECTOR

FORMULA_NAME ReachabilityDeadlock

=== Now, execution of the tool begins

BK_START 1678223571375

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityDeadlock
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=CloudDeployment-PT-5a
Not applying reductions.
Model is PT
ReachabilityDeadlock PT
Running Version 202303021504
[2023-03-07 21:12:54] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2023-03-07 21:12:54] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-07 21:12:54] [INFO ] Load time of PNML (sax parser for PT used): 157 ms
[2023-03-07 21:12:54] [INFO ] Transformed 180 places.
[2023-03-07 21:12:54] [INFO ] Transformed 675 transitions.
[2023-03-07 21:12:54] [INFO ] Found NUPN structural information;
[2023-03-07 21:12:54] [INFO ] Parsed PT model containing 180 places and 675 transitions and 3959 arcs in 261 ms.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 3 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 80 transitions
Reduce redundant transitions removed 80 transitions.
Built sparse matrix representations for Structural reductions in 6 ms.26519KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 180/180 places, 595/595 transitions.
Graph (trivial) has 201 edges and 180 vertex of which 50 / 180 are part of one of the 15 SCC in 5 ms
Free SCC test removed 35 places
Ensure Unique test removed 95 transitions
Reduce isomorphic transitions removed 95 transitions.
Computed a total of 100 stabilizing places and 345 stable transitions
Graph (complete) has 1567 edges and 145 vertex of which 134 are kept as prefixes of interest. Removing 11 places using SCC suffix rule.10 ms
Discarding 11 places :
Also discarding 0 output transitions
Computed a total of 89 stabilizing places and 344 stable transitions
Discarding 8 places :
Symmetric choice reduction at 0 with 8 rule applications. Total rules 10 place count 126 transition count 457
Iterating global reduction 0 with 8 rules applied. Total rules applied 18 place count 126 transition count 457
Computed a total of 81 stabilizing places and 311 stable transitions
Discarding 2 places :
Symmetric choice reduction at 0 with 2 rule applications. Total rules 20 place count 124 transition count 455
Iterating global reduction 0 with 2 rules applied. Total rules applied 22 place count 124 transition count 455
Computed a total of 79 stabilizing places and 309 stable transitions
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 23 place count 123 transition count 454
Iterating global reduction 0 with 1 rules applied. Total rules applied 24 place count 123 transition count 454
Computed a total of 78 stabilizing places and 308 stable transitions
Performed 15 Post agglomeration using F-continuation condition.Transition count delta: -45
Deduced a syphon composed of 15 places in 1 ms
Reduce places removed 15 places and 0 transitions.
Iterating global reduction 0 with 30 rules applied. Total rules applied 54 place count 108 transition count 499
Computed a total of 63 stabilizing places and 353 stable transitions
Computed a total of 63 stabilizing places and 353 stable transitions
Drop transitions removed 130 transitions
Redundant transition composition rules discarded 130 transitions
Iterating global reduction 0 with 130 rules applied. Total rules applied 184 place count 108 transition count 369
Computed a total of 63 stabilizing places and 278 stable transitions
Computed a total of 63 stabilizing places and 278 stable transitions
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 0 with 1 rules applied. Total rules applied 185 place count 107 transition count 368
Computed a total of 62 stabilizing places and 278 stable transitions
Computed a total of 62 stabilizing places and 278 stable transitions
Applied a total of 185 rules in 221 ms. Remains 107 /180 variables (removed 73) and now considering 368/595 (removed 227) transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 222 ms. Remains : 107/180 places, 368/595 transitions.
Random walk for 1250000 steps, including 24509 resets, run took 2971 ms (no deadlock found). (steps per millisecond=420 )
Random directed walk for 1250002 steps, including 7513 resets, run took 2718 ms (no deadlock found). (steps per millisecond=459 )
[2023-03-07 21:13:00] [INFO ] Flow matrix only has 154 transitions (discarded 214 similar events)
// Phase 1: matrix 154 rows 107 cols
[2023-03-07 21:13:00] [INFO ] Computed 19 place invariants in 11 ms
[2023-03-07 21:13:00] [INFO ] [Real]Absence check using 0 positive and 19 generalized place invariants in 16 ms returned sat
[2023-03-07 21:13:00] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-07 21:13:00] [INFO ] [Real]Absence check using state equation in 103 ms returned sat
[2023-03-07 21:13:00] [INFO ] Solution in real domain found non-integer solution.
[2023-03-07 21:13:01] [INFO ] [Nat]Absence check using 0 positive and 19 generalized place invariants in 10 ms returned sat
[2023-03-07 21:13:01] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-07 21:13:01] [INFO ] [Nat]Absence check using state equation in 124 ms returned sat
[2023-03-07 21:13:01] [INFO ] State equation strengthened by 6 read => feed constraints.
[2023-03-07 21:13:01] [INFO ] [Nat]Added 6 Read/Feed constraints in 13 ms returned sat
[2023-03-07 21:13:01] [INFO ] Computed and/alt/rep : 114/207/114 causal constraints (skipped 13 transitions) in 33 ms.
[2023-03-07 21:13:01] [INFO ] Added : 64 causal constraints over 13 iterations in 423 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 20 ms.
Parikh directed walk for 7400 steps, including 172 resets, run took 45 ms. (steps per millisecond=164 )
Random directed walk for 500004 steps, including 3020 resets, run took 1200 ms (no deadlock found). (steps per millisecond=416 )
Random walk for 500000 steps, including 9765 resets, run took 994 ms (no deadlock found). (steps per millisecond=503 )
Random directed walk for 500012 steps, including 2989 resets, run took 1011 ms (no deadlock found). (steps per millisecond=494 )
Random walk for 500000 steps, including 9820 resets, run took 1025 ms (no deadlock found). (steps per millisecond=487 )
Starting structural reductions in DEADLOCK mode, iteration 0 : 107/107 places, 368/368 transitions.
Computed a total of 62 stabilizing places and 278 stable transitions
Computed a total of 62 stabilizing places and 278 stable transitions
Computed a total of 62 stabilizing places and 278 stable transitions
Applied a total of 0 rules in 21 ms. Remains 107 /107 variables (removed 0) and now considering 368/368 (removed 0) transitions.
[2023-03-07 21:13:05] [INFO ] Flow matrix only has 154 transitions (discarded 214 similar events)
[2023-03-07 21:13:05] [INFO ] Invariant cache hit.
[2023-03-07 21:13:06] [INFO ] Implicit Places using invariants in 139 ms returned []
[2023-03-07 21:13:06] [INFO ] Flow matrix only has 154 transitions (discarded 214 similar events)
[2023-03-07 21:13:06] [INFO ] Invariant cache hit.
[2023-03-07 21:13:06] [INFO ] State equation strengthened by 6 read => feed constraints.
[2023-03-07 21:13:06] [INFO ] Implicit Places using invariants and state equation in 228 ms returned []
Implicit Place search using SMT with State Equation took 373 ms to find 0 implicit places.
[2023-03-07 21:13:06] [INFO ] Redundant transitions in 446 ms returned []
[2023-03-07 21:13:06] [INFO ] Flow matrix only has 154 transitions (discarded 214 similar events)
[2023-03-07 21:13:06] [INFO ] Invariant cache hit.
[2023-03-07 21:13:07] [INFO ] Dead Transitions using invariants and state equation in 250 ms found 0 transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 1112 ms. Remains : 107/107 places, 368/368 transitions.
Random walk for 1250000 steps, including 24544 resets, run took 2716 ms (no deadlock found). (steps per millisecond=460 )
Random directed walk for 1250020 steps, including 7545 resets, run took 2542 ms (no deadlock found). (steps per millisecond=491 )
[2023-03-07 21:13:12] [INFO ] Flow matrix only has 154 transitions (discarded 214 similar events)
[2023-03-07 21:13:12] [INFO ] Invariant cache hit.
[2023-03-07 21:13:12] [INFO ] [Real]Absence check using 0 positive and 19 generalized place invariants in 9 ms returned sat
[2023-03-07 21:13:12] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-07 21:13:12] [INFO ] [Real]Absence check using state equation in 65 ms returned sat
[2023-03-07 21:13:12] [INFO ] Solution in real domain found non-integer solution.
[2023-03-07 21:13:12] [INFO ] [Nat]Absence check using 0 positive and 19 generalized place invariants in 11 ms returned sat
[2023-03-07 21:13:12] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-07 21:13:12] [INFO ] [Nat]Absence check using state equation in 65 ms returned sat
[2023-03-07 21:13:12] [INFO ] State equation strengthened by 6 read => feed constraints.
[2023-03-07 21:13:12] [INFO ] [Nat]Added 6 Read/Feed constraints in 7 ms returned sat
[2023-03-07 21:13:12] [INFO ] Computed and/alt/rep : 114/207/114 causal constraints (skipped 13 transitions) in 17 ms.
[2023-03-07 21:13:12] [INFO ] Added : 65 causal constraints over 13 iterations in 213 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
Parikh directed walk for 7400 steps, including 134 resets, run took 31 ms. (steps per millisecond=238 )
Random directed walk for 500008 steps, including 2988 resets, run took 1085 ms (no deadlock found). (steps per millisecond=460 )
Random walk for 500000 steps, including 9761 resets, run took 1236 ms (no deadlock found). (steps per millisecond=404 )
Random directed walk for 500003 steps, including 3000 resets, run took 1077 ms (no deadlock found). (steps per millisecond=464 )
Random walk for 500000 steps, including 9775 resets, run took 1028 ms (no deadlock found). (steps per millisecond=486 )
[2023-03-07 21:13:17] [INFO ] Flatten gal took : 118 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin17119617210029312747
[2023-03-07 21:13:17] [INFO ] Computing symmetric may disable matrix : 595 transitions.
[2023-03-07 21:13:17] [INFO ] Applying decomposition
[2023-03-07 21:13:17] [INFO ] Computation of Complete disable matrix. took 26 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2023-03-07 21:13:17] [INFO ] Computing symmetric may enable matrix : 595 transitions.
[2023-03-07 21:13:17] [INFO ] Computation of Complete enable matrix. took 5 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2023-03-07 21:13:17] [INFO ] Flatten gal took : 61 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/convert-linux64' '-i' '/tmp/graph12227489651981385481.txt' '-o' '/tmp/graph12227489651981385481.bin' '-w' '/tmp/graph12227489651981385481.weights'
[2023-03-07 21:13:18] [INFO ] Computing Do-Not-Accords matrix : 595 transitions.
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/louvain-linux64' '/tmp/graph12227489651981385481.bin' '-l' '-1' '-v' '-w' '/tmp/graph12227489651981385481.weights' '-q' '0' '-e' '0.001'
[2023-03-07 21:13:18] [INFO ] Decomposing Gal with order
[2023-03-07 21:13:18] [INFO ] Computation of Completed DNA matrix. took 44 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2023-03-07 21:13:18] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-07 21:13:18] [INFO ] Built C files in 383ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin17119617210029312747
Running compilation step : cd /tmp/ltsmin17119617210029312747;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/limit_time.pl' '360' 'gcc' '-c' '-I/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/include/' '-I.' '-std=c99' '-fPIC' '-O0' 'model.c'
[2023-03-07 21:13:18] [INFO ] Removed a total of 614 redundant transitions.
[2023-03-07 21:13:18] [INFO ] Flatten gal took : 169 ms
[2023-03-07 21:13:18] [INFO ] Fuse similar labels procedure discarded/fused a total of 123 labels/synchronizations in 23 ms.
[2023-03-07 21:13:18] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock7848915422660026030.gal : 13 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityDeadlock7848915422660026030.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...234
No direction supplied, using forward translation only.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,2.4883e+08,0.200729,8208,282,120,8451,712,779,11907,247,1580,0


Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
dead,2,0.247851,8208,64,61,8451,737,2020,11907,1141,1580,6894

System contains 2 deadlocks (shown below if less than --print-limit option) !
FORMULA ReachabilityDeadlock TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
[ i9={[ u35={[ ]
} u34={[ ]
} u33={[ ]
} ]
} i8={[ u32={[ ]
} u31={[ ]
} u29={[ ]
} u30={[ ]
} ]
} i7={[ u46={[ ]
} u28={[ ]
} u27={[ ]
} u26={[ ]
} ]
} i10={[ i2={[ u41={[ ]
} u40={[ ]
} ]
} i1={[ u48={[ ]
} u42={[ ]
} u39={[ ]
} u38={[ ]
} ]
} i0={[ u37={[ ]
} u36={[ ]
} ]
} ]
} i6={[ u25={[ ]
} u24={[ ]
} u23={[ ]
} u21={[ ]
} u22={[ ]
} ]
} i5={[ u44={[ ]
} u20={[ ]
} u19={[ ]
} ]
} i3={[ u47={[ ]
} u45={[ ]
} u43={[ ]
} u13={[ ]
} u12={[ ]
} ]
} i4={[ u18={[ ]
} u17={[ ]
} u16={[ ]
} u14={[ ]
} u15={[ ]
} ]
} i1={[ u6={[ ]
} u5={[ ]
} u4={[ ]
} ]
} i2={[ u11={[ ]
} u10={[ ]
} u9={[ ]
} u7={[ ]
} u8={[ ]
} ]
} i0={[ u3={[ ]
} u2={[ ]
} u0={[ ]
} u1={[ ]
} ]
} ]
[ i9={[ u35={[ p140=1 ]
} u34={[ ]
} u33={[ ]
} ]
} i8={[ u32={[ ]
} u31={[ ]
} u29={[ ]
} u30={[ ]
} ]
} i7={[ u46={[ ]
} u28={[ p112=1 ]
} u27={[ ]
} u26={[ ]
} ]
} i10={[ i2={[ u41={[ ]
} u40={[ ]
} ]
} i1={[ u48={[ p85=1 p87=1 p59=1 p113=1 p57=1 p115=1 p31=1 p141=1 p29=1 p3=1 p1=1 ]
} u42={[ ]
} u39={[ ]
} u38={[ ]
} ]
} i0={[ u37={[ ]
} u36={[ ]
} ]
} ]
} i6={[ u25={[ ]
} u24={[ ]
} u23={[ ]
} u21={[ ]
} u22={[ ]
} ]
} i5={[ u44={[ ]
} u20={[ p84=1 ]
} u19={[ ]
} ]
} i3={[ u47={[ ]
} u45={[ ]
} u43={[ ]
} u13={[ p56=1 ]
} u12={[ ]
} ]
} i4={[ u18={[ ]
} u17={[ ]
} u16={[ ]
} u14={[ ]
} u15={[ ]
} ]
} i1={[ u6={[ p28=1 ]
} u5={[ ]
} u4={[ ]
} ]
} i2={[ u11={[ ]
} u10={[ ]
} u9={[ ]
} u7={[ ]
} u8={[ ]
} ]
} i0={[ u3={[ ]
} u2={[ ]
} u0={[ ]
} u1={[ ]
} ]
} ]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.
Total runtime 24728 ms.

BK_STOP 1678223599755

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityDeadlock = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityDeadlock -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800

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="CloudDeployment-PT-5a"
export BK_EXAMINATION="ReachabilityDeadlock"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# 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-5348"
echo " Executing tool itstools"
echo " Input is CloudDeployment-PT-5a, examination is ReachabilityDeadlock"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r083-smll-167814405800256"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/CloudDeployment-PT-5a.tgz
mv CloudDeployment-PT-5a execution
cd execution
if [ "ReachabilityDeadlock" = "ReachabilityDeadlock" ] || [ "ReachabilityDeadlock" = "UpperBounds" ] || [ "ReachabilityDeadlock" = "QuasiLiveness" ] || [ "ReachabilityDeadlock" = "StableMarking" ] || [ "ReachabilityDeadlock" = "Liveness" ] || [ "ReachabilityDeadlock" = "OneSafe" ] || [ "ReachabilityDeadlock" = "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 [ "ReachabilityDeadlock" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityDeadlock" != "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 "ReachabilityDeadlock.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityDeadlock.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityDeadlock.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 '' ReachabilityDeadlock.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "ReachabilityDeadlock" = "ReachabilityDeadlock" ] || [ "ReachabilityDeadlock" = "QuasiLiveness" ] || [ "ReachabilityDeadlock" = "StableMarking" ] || [ "ReachabilityDeadlock" = "Liveness" ] || [ "ReachabilityDeadlock" = "OneSafe" ] ; then
echo "FORMULA_NAME ReachabilityDeadlock"
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 ;