fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r052-oct2-162038307500216
Last Updated
Jun 28, 2021

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1941.035 27207.00 41269.00 129.70 T normal

Execution Chart

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

Trace from the execution

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

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 792K
-rw-r--r-- 1 mcc users 14K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 132K May 10 09:42 CTLCardinality.xml
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 91K May 10 09:42 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.2K Mar 28 15:52 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Mar 28 15:52 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K Mar 28 15:52 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 28 15:52 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Mar 23 03:21 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Mar 23 03:21 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Mar 22 12:49 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 14K Mar 22 12:49 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Mar 22 09:10 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Mar 22 09:10 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 3 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 420K May 5 16:51 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 1620843217731

Running Version 0
[2021-05-12 18:13:40] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2021-05-12 18:13:40] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-12 18:13:40] [INFO ] Load time of PNML (sax parser for PT used): 89 ms
[2021-05-12 18:13:40] [INFO ] Transformed 264 places.
[2021-05-12 18:13:40] [INFO ] Transformed 1174 transitions.
[2021-05-12 18:13:40] [INFO ] Found NUPN structural information;
[2021-05-12 18:13:40] [INFO ] Parsed PT model containing 264 places and 1174 transitions in 135 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 154 transitions
Reduce redundant transitions removed 154 transitions.
Built sparse matrix representations for Structural reductions in 4 ms.24275KB memory used
Starting structural reductions, iteration 0 : 264/264 places, 1020/1020 transitions.
Graph (trivial) has 281 edges and 264 vertex of which 70 / 264 are part of one of the 21 SCC in 3 ms
Free SCC test removed 49 places
Ensure Unique test removed 147 transitions
Reduce isomorphic transitions removed 147 transitions.
Graph (complete) has 2709 edges and 215 vertex of which 200 are kept as prefixes of interest. Removing 15 places using SCC suffix rule.6 ms
Discarding 15 places :
Also discarding 0 output transitions
Discarding 12 places :
Symmetric choice reduction at 0 with 12 rule applications. Total rules 14 place count 188 transition count 798
Iterating global reduction 0 with 12 rules applied. Total rules applied 26 place count 188 transition count 798
Discarding 4 places :
Symmetric choice reduction at 0 with 4 rule applications. Total rules 30 place count 184 transition count 794
Iterating global reduction 0 with 4 rules applied. Total rules applied 34 place count 184 transition count 794
Discarding 3 places :
Symmetric choice reduction at 0 with 3 rule applications. Total rules 37 place count 181 transition count 791
Iterating global reduction 0 with 3 rules applied. Total rules applied 40 place count 181 transition count 791
Discarding 2 places :
Symmetric choice reduction at 0 with 2 rule applications. Total rules 42 place count 179 transition count 789
Iterating global reduction 0 with 2 rules applied. Total rules applied 44 place count 179 transition count 789
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 45 place count 178 transition count 788
Iterating global reduction 0 with 1 rules applied. Total rules applied 46 place count 178 transition count 788
Performed 21 Post agglomeration using F-continuation condition.Transition count delta: -91
Deduced a syphon composed of 21 places in 0 ms
Reduce places removed 21 places and 0 transitions.
Iterating global reduction 0 with 42 rules applied. Total rules applied 88 place count 157 transition count 879
Drop transitions removed 231 transitions
Redundant transition composition rules discarded 231 transitions
Iterating global reduction 0 with 231 rules applied. Total rules applied 319 place count 157 transition count 648
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 0 with 1 rules applied. Total rules applied 320 place count 156 transition count 647
Applied a total of 320 rules in 167 ms. Remains 156 /264 variables (removed 108) and now considering 647/1020 (removed 373) transitions.
Finished structural reductions, in 1 iterations. Remains : 156/264 places, 647/1020 transitions.
Random walk for 1250000 steps, including 17942 resets, run took 2640 ms (no deadlock found). (steps per millisecond=473 )
Random directed walk for 1250031 steps, including 4010 resets, run took 2690 ms (no deadlock found). (steps per millisecond=464 )
[2021-05-12 18:13:46] [INFO ] Flow matrix only has 249 transitions (discarded 398 similar events)
// Phase 1: matrix 249 rows 156 cols
[2021-05-12 18:13:46] [INFO ] Computed 27 place invariants in 7 ms
[2021-05-12 18:13:46] [INFO ] [Real]Absence check using 0 positive and 27 generalized place invariants in 7 ms returned sat
[2021-05-12 18:13:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-12 18:13:46] [INFO ] [Real]Absence check using state equation in 51 ms returned sat
[2021-05-12 18:13:46] [INFO ] Solution in real domain found non-integer solution.
[2021-05-12 18:13:46] [INFO ] [Nat]Absence check using 0 positive and 27 generalized place invariants in 6 ms returned sat
[2021-05-12 18:13:46] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-12 18:13:46] [INFO ] [Nat]Absence check using state equation in 42 ms returned sat
[2021-05-12 18:13:46] [INFO ] State equation strengthened by 9 read => feed constraints.
[2021-05-12 18:13:46] [INFO ] [Nat]Added 9 Read/Feed constraints in 12 ms returned sat
[2021-05-12 18:13:46] [INFO ] Computed and/alt/rep : 181/340/181 causal constraints (skipped 17 transitions) in 27 ms.
[2021-05-12 18:13:47] [INFO ] Added : 97 causal constraints over 20 iterations in 390 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 8 ms.
Parikh directed walk for 10900 steps, including 122 resets, run took 37 ms. (steps per millisecond=294 )
Random directed walk for 500000 steps, including 1607 resets, run took 1137 ms (no deadlock found). (steps per millisecond=439 )
Random walk for 500000 steps, including 7188 resets, run took 949 ms (no deadlock found). (steps per millisecond=526 )
Random directed walk for 500007 steps, including 1598 resets, run took 1058 ms (no deadlock found). (steps per millisecond=472 )
Random walk for 500000 steps, including 7124 resets, run took 934 ms (no deadlock found). (steps per millisecond=535 )
Starting structural reductions, iteration 0 : 156/156 places, 647/647 transitions.
Applied a total of 0 rules in 16 ms. Remains 156 /156 variables (removed 0) and now considering 647/647 (removed 0) transitions.
[2021-05-12 18:13:51] [INFO ] Flow matrix only has 249 transitions (discarded 398 similar events)
// Phase 1: matrix 249 rows 156 cols
[2021-05-12 18:13:51] [INFO ] Computed 27 place invariants in 2 ms
[2021-05-12 18:13:51] [INFO ] Implicit Places using invariants in 86 ms returned []
[2021-05-12 18:13:51] [INFO ] Flow matrix only has 249 transitions (discarded 398 similar events)
// Phase 1: matrix 249 rows 156 cols
[2021-05-12 18:13:51] [INFO ] Computed 27 place invariants in 1 ms
[2021-05-12 18:13:51] [INFO ] State equation strengthened by 9 read => feed constraints.
[2021-05-12 18:13:51] [INFO ] Implicit Places using invariants and state equation in 302 ms returned []
Implicit Place search using SMT with State Equation took 389 ms to find 0 implicit places.
[2021-05-12 18:13:51] [INFO ] Redundant transitions in 299 ms returned []
[2021-05-12 18:13:51] [INFO ] Flow matrix only has 249 transitions (discarded 398 similar events)
// Phase 1: matrix 249 rows 156 cols
[2021-05-12 18:13:51] [INFO ] Computed 27 place invariants in 1 ms
[2021-05-12 18:13:52] [INFO ] Dead Transitions using invariants and state equation in 184 ms returned []
Finished structural reductions, in 1 iterations. Remains : 156/156 places, 647/647 transitions.
Random walk for 1250000 steps, including 17933 resets, run took 2791 ms (no deadlock found). (steps per millisecond=447 )
Random directed walk for 1250005 steps, including 4012 resets, run took 3103 ms (no deadlock found). (steps per millisecond=402 )
[2021-05-12 18:13:58] [INFO ] Flow matrix only has 249 transitions (discarded 398 similar events)
// Phase 1: matrix 249 rows 156 cols
[2021-05-12 18:13:58] [INFO ] Computed 27 place invariants in 5 ms
[2021-05-12 18:13:58] [INFO ] [Real]Absence check using 0 positive and 27 generalized place invariants in 5 ms returned sat
[2021-05-12 18:13:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-12 18:13:58] [INFO ] [Real]Absence check using state equation in 51 ms returned sat
[2021-05-12 18:13:58] [INFO ] Solution in real domain found non-integer solution.
[2021-05-12 18:13:58] [INFO ] [Nat]Absence check using 0 positive and 27 generalized place invariants in 4 ms returned sat
[2021-05-12 18:13:58] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-12 18:13:58] [INFO ] [Nat]Absence check using state equation in 42 ms returned sat
[2021-05-12 18:13:58] [INFO ] State equation strengthened by 9 read => feed constraints.
[2021-05-12 18:13:58] [INFO ] [Nat]Added 9 Read/Feed constraints in 9 ms returned sat
[2021-05-12 18:13:58] [INFO ] Computed and/alt/rep : 181/340/181 causal constraints (skipped 17 transitions) in 17 ms.
[2021-05-12 18:13:58] [INFO ] Added : 97 causal constraints over 20 iterations in 312 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 35 ms.
Parikh directed walk for 10900 steps, including 124 resets, run took 41 ms. (steps per millisecond=265 )
Random directed walk for 500011 steps, including 1611 resets, run took 1322 ms (no deadlock found). (steps per millisecond=378 )
Random walk for 500000 steps, including 7136 resets, run took 974 ms (no deadlock found). (steps per millisecond=513 )
Random directed walk for 500006 steps, including 1608 resets, run took 1090 ms (no deadlock found). (steps per millisecond=458 )
Random walk for 500000 steps, including 7165 resets, run took 992 ms (no deadlock found). (steps per millisecond=504 )
[2021-05-12 18:14:03] [INFO ] Flatten gal took : 108 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin12414446176896093848
[2021-05-12 18:14:03] [INFO ] Computing symmetric may disable matrix : 1020 transitions.
[2021-05-12 18:14:03] [INFO ] Computation of Complete disable matrix. took 22 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2021-05-12 18:14:03] [INFO ] Applying decomposition
[2021-05-12 18:14:03] [INFO ] Computing symmetric may enable matrix : 1020 transitions.
[2021-05-12 18:14:03] [INFO ] Computation of Complete enable matrix. took 20 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2021-05-12 18:14:03] [INFO ] Flatten gal took : 136 ms
[2021-05-12 18:14:03] [INFO ] Computing Do-Not-Accords matrix : 1020 transitions.
[2021-05-12 18:14:03] [INFO ] Computation of Completed DNA matrix. took 30 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2021-05-12 18:14:03] [INFO ] Built C files in 267ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin12414446176896093848
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin12414446176896093848]
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph1883609788498952625.txt, -o, /tmp/graph1883609788498952625.bin, -w, /tmp/graph1883609788498952625.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph1883609788498952625.bin, -l, -1, -v, -w, /tmp/graph1883609788498952625.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-12 18:14:04] [INFO ] Decomposing Gal with order
[2021-05-12 18:14:04] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-12 18:14:04] [INFO ] Removed a total of 1188 redundant transitions.
[2021-05-12 18:14:04] [INFO ] Flatten gal took : 230 ms
[2021-05-12 18:14:04] [INFO ] Fuse similar labels procedure discarded/fused a total of 235 labels/synchronizations in 27 ms.
[2021-05-12 18:14:04] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock10021958703411337183.gal : 11 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityDeadlock10021958703411337183.gal, -t, CGAL, -ctl, DEADLOCK], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityDeadlock10021958703411337183.gal -t CGAL -ctl DEADLOCK
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.6648e+11,0.216328,13804,255,172,15953,1415,792,27469,379,5255,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.251839,13804,63,84,15953,1415,2295,27469,1830,5255,6548

System contains 2 deadlocks (shown below if less than --print-limit option) !
FORMULA ReachabilityDeadlock TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
[ u61={[ ]
} i9={[ u54={[ ]
} u53={[ ]
} ]
} i13={[ u60={[ ]
} u59={[ ]
} ]
} i12={[ u58={[ ]
} u57={[ ]
} ]
} i6={[ i1={[ u48={[ ]
} u47={[ ]
} u46={[ ]
} ]
} i0={[ u45={[ ]
} u44={[ ]
} u42={[ ]
} u43={[ ]
} ]
} ]
} i10={[ u56={[ ]
} u55={[ ]
} ]
} i5={[ i1={[ u41={[ ]
} u40={[ ]
} u39={[ ]
} ]
} i0={[ u38={[ ]
} u37={[ ]
} u35={[ ]
} u36={[ ]
} ]
} ]
} i8={[ u52={[ ]
} u51={[ ]
} ]
} u69={[ ]
} i3={[ i1={[ u27={[ ]
} u26={[ ]
} u25={[ ]
} ]
} i0={[ u24={[ ]
} u23={[ ]
} u21={[ ]
} u22={[ ]
} ]
} ]
} i4={[ i1={[ u64={[ ]
} u63={[ ]
} u34={[ ]
} u28={[ ]
} ]
} i0={[ u33={[ ]
} u32={[ ]
} u31={[ ]
} u29={[ ]
} u30={[ ]
} ]
} ]
} i2={[ i1={[ u68={[ ]
} u67={[ ]
} u20={[ ]
} u19={[ ]
} ]
} i0={[ u18={[ ]
} u17={[ ]
} u16={[ ]
} u14={[ ]
} u15={[ ]
} ]
} ]
} i1={[ i1={[ u13={[ ]
} u12={[ ]
} u11={[ ]
} ]
} i0={[ u10={[ ]
} u9={[ ]
} u7={[ ]
} u8={[ ]
} ]
} ]
} i0={[ i1={[ u66={[ ]
} u65={[ ]
} u62={[ ]
} u6={[ ]
} u5={[ ]
} ]
} i0={[ u4={[ ]
} u3={[ ]
} u2={[ ]
} u0={[ ]
} u1={[ ]
} ]
} ]
} i7={[ u50={[ ]
} u49={[ ]
} ]
} ]
[ u61={[ ]
} i9={[ u54={[ ]
} u53={[ ]
} ]
} i13={[ u60={[ ]
} u59={[ ]
} ]
} i12={[ u58={[ ]
} u57={[ ]
} ]
} i6={[ i1={[ u48={[ p196=1 ]
} u47={[ ]
} u46={[ ]
} ]
} i0={[ u45={[ ]
} u44={[ ]
} u42={[ ]
} u43={[ ]
} ]
} ]
} i10={[ u56={[ ]
} u55={[ ]
} ]
} i5={[ i1={[ u41={[ p168=1 ]
} u40={[ ]
} u39={[ ]
} ]
} i0={[ u38={[ ]
} u37={[ ]
} u35={[ ]
} u36={[ ]
} ]
} ]
} i8={[ u52={[ ]
} u51={[ ]
} ]
} u69={[ p1=1 p3=1 p29=1 p197=1 p31=1 p171=1 p169=1 p59=1 p143=1 p85=1 p141=1 p87=1 p115=1 p113=1 p57=1 ]
} i3={[ i1={[ u27={[ p112=1 ]
} u26={[ ]
} u25={[ ]
} ]
} i0={[ u24={[ ]
} u23={[ ]
} u21={[ ]
} u22={[ ]
} ]
} ]
} i4={[ i1={[ u64={[ ]
} u63={[ ]
} u34={[ p140=1 ]
} u28={[ ]
} ]
} i0={[ u33={[ ]
} u32={[ ]
} u31={[ ]
} u29={[ ]
} u30={[ ]
} ]
} ]
} i2={[ i1={[ u68={[ ]
} u67={[ ]
} u20={[ p84=1 ]
} u19={[ ]
} ]
} i0={[ u18={[ ]
} u17={[ ]
} u16={[ ]
} u14={[ ]
} u15={[ ]
} ]
} ]
} i1={[ i1={[ u13={[ p56=1 ]
} u12={[ ]
} u11={[ ]
} ]
} i0={[ u10={[ ]
} u9={[ ]
} u7={[ ]
} u8={[ ]
} ]
} ]
} i0={[ i1={[ u66={[ ]
} u65={[ ]
} u62={[ ]
} u6={[ p28=1 ]
} u5={[ ]
} ]
} i0={[ u4={[ ]
} u3={[ ]
} u2={[ ]
} u0={[ ]
} u1={[ ]
} ]
} ]
} i7={[ u50={[ ]
} u49={[ ]
} ]
} ]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.

BK_STOP 1620843244938

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityDeadlock = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityDeadlock -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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-7a"
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-4028"
echo " Executing tool itstools"
echo " Input is CloudDeployment-PT-7a, 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 r052-oct2-162038307500216"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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