fond
Model Checking Contest 2018
8th edition, Bratislava, Slovakia, June 26, 2018
Execution of r057-smll-152646384800223
Last Updated
June 26, 2018

About the Execution of ITS-Tools.L for DES-PT-10b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15753.550 15076.00 33234.00 516.20 T normal

Execution Chart

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

Trace from the execution

Waiting for the VM to be ready (probing ssh)
.....................
/home/mcc/execution
total 236K
-rw-r--r-- 1 mcc users 3.5K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 20K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 15 18:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 15K May 15 18:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 15 18:50 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.1K May 15 18:50 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 2.3K May 15 18:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 11K May 15 18:54 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.7K May 15 18:54 LTLFireability.txt
-rw-r--r-- 1 mcc users 8.3K May 15 18:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 2.8K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 14K May 15 18:54 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 101 May 15 18:54 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 339 May 15 18:54 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 2.3K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.5K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.5K May 15 18:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 15 18:50 equiv_col
-rw-r--r-- 1 mcc users 4 May 15 18:50 instance
-rw-r--r-- 1 mcc users 6 May 15 18:50 iscolored
-rw-r--r-- 1 mcc users 79K May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool itstoolsl
Input is DES-PT-10b, examination is ReachabilityDeadlock
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r057-smll-152646384800223
=====================================================================


--------------------
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 DES-PT-10b-ReachabilityDeadlock-0

=== Now, execution of the tool begins

BK_START 1527316477573

Flatten gal took : 147 ms
Constant places removed 4 places and 1 transitions.
Performed 106 Post agglomeration using F-continuation condition.
Iterating post reduction 0 with 110 rules applied. Total rules applied 110 place count 316 transition count 164
Constant places removed 108 places and 2 transitions.
Iterating post reduction 1 with 108 rules applied. Total rules applied 218 place count 208 transition count 162
Constant places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 219 place count 207 transition count 162
Performed 7 Pre agglomeration using Quasi-Persistent + HF-interchangeable + Divergent Free condition.
Pre-agglomeration after 3 with 7 Pre rules applied. Total rules applied 219 place count 207 transition count 155
Constant places removed 7 places and 0 transitions.
Iterating post reduction 3 with 7 rules applied. Total rules applied 226 place count 200 transition count 155
Symmetric choice reduction at 4 with 15 rule applications. Total rules 241 place count 200 transition count 155
Constant places removed 15 places and 15 transitions.
Reduce isomorphic transitions removed 13 transitions.
Performed 4 Post agglomeration using F-continuation condition.
Iterating post reduction 4 with 32 rules applied. Total rules applied 273 place count 185 transition count 123
Constant places removed 4 places and 0 transitions.
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 5 with 5 rules applied. Total rules applied 278 place count 181 transition count 122
Performed 1 Pre agglomeration using Quasi-Persistent + HF-interchangeable + Divergent Free condition.
Pre-agglomeration after 6 with 1 Pre rules applied. Total rules applied 278 place count 181 transition count 121
Constant places removed 1 places and 0 transitions.
Iterating post reduction 6 with 1 rules applied. Total rules applied 279 place count 180 transition count 121
Performed 10 Post agglomeration using F-continuation condition.
Constant places removed 10 places and 0 transitions.
Iterating post reduction 7 with 10 rules applied. Total rules applied 289 place count 170 transition count 111
Performed 8 Post agglomeration using F-continuation condition.
Constant places removed 8 places and 0 transitions.
Iterating post reduction 8 with 8 rules applied. Total rules applied 297 place count 162 transition count 107
Applied a total of 297 rules in 126 ms. Remains 162 /320 variables (removed 158) and now considering 107/271 (removed 164) transitions.
// Phase 1: matrix 107 rows 162 cols
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
// Phase 1: matrix 107 rows 162 cols
invariant :p259 + p260 + p273 + p274 = 1
invariant :p275 + p277 = 1
invariant :10'p5 + p7 + 2'p8 + 3'p9 + 4'p10 + 5'p11 + 6'p12 + 7'p13 + 8'p14 + 9'p15 + -10'p16 + -1'p18 + -2'p19 + -3'p20 + -4'p21 + -5'p22 + -6'p23 + -7'p24 + -8'p25 + -9'p26 + p89 + -1'p97 + -1'p175 + -1'p185 + p281 + p284 + p287 + p299 + p317 + -1'p318 + -1'p319 = 1
invariant :p230 + p232 = 1
invariant :p172 + p173 = 1
invariant :p198 + p213 + -1'p223 + p244 + p256 + -1'p270 = 1
invariant :20'p5 + 2'p7 + 4'p8 + 6'p9 + 8'p10 + 10'p11 + 12'p12 + 14'p13 + 16'p14 + 18'p15 + -20'p16 + -2'p18 + -4'p19 + -6'p20 + -8'p21 + -10'p22 + -12'p23 + -14'p24 + -16'p25 + -18'p26 + -1'p173 + -1'p175 + -1'p185 + -1'p280 + -1'p291 + -1'p292 + p294 + -1'p295 + -1'p296 + p298 + p299 + p302 + p305 + p308 + p317 + -2'p318 + -1'p319 = 1
invariant :p312 + p318 + p319 = 1
invariant :p63 + p66 = 1
invariant :p204 + p213 + -1'p232 + p244 + p262 + -1'p270 = 1
invariant :p265 + p266 + p273 + p274 = 1
invariant :p184 + p185 = 1
invariant :-1'p295 + -1'p296 + p297 + p298 = 0
invariant :p255 + p256 + p273 + p274 = 1
invariant :p269 + p270 + p273 + p274 = 1
invariant :p201 + -1'p213 + p226 + -1'p244 + -1'p258 + p270 = 0
invariant :p261 + p262 + p273 + p274 = 1
invariant :p316 + p317 + -1'p318 + -1'p319 = 0
invariant :p207 + -1'p213 + p235 + -1'p244 + -1'p264 + p270 = 0
invariant :-20'p5 + -2'p7 + -4'p8 + -6'p9 + -8'p10 + -10'p11 + -12'p12 + -14'p13 + -16'p14 + -18'p15 + 10'p16 + p18 + 2'p19 + 3'p20 + 4'p21 + 5'p22 + 6'p23 + 7'p24 + 8'p25 + 9'p26 + 10'p38 + p40 + 2'p41 + 3'p42 + 4'p43 + 5'p44 + 6'p45 + 7'p46 + 8'p47 + 9'p48 + p85 + p97 + -1'p112 + p141 + p142 + -1'p163 + p173 + p175 + p185 + -1'p272 + p274 + p277 + p280 + p291 + p295 + -1'p299 + -1'p317 + p318 + p319 = 0
invariant :p257 + p258 + p273 + p274 = 1
invariant :p299 + p301 + p302 + p304 + p305 + p308 = 1
invariant :p211 + -1'p213 + p241 + -1'p244 + -1'p268 + p270 = 0
invariant :p212 + p213 = 1
invariant :-10'p5 + -1'p7 + -2'p8 + -3'p9 + -4'p10 + -5'p11 + -6'p12 + -7'p13 + -8'p14 + -9'p15 + 10'p16 + p18 + 2'p19 + 3'p20 + 4'p21 + 5'p22 + 6'p23 + 7'p24 + 8'p25 + 9'p26 + p87 + p97 + p175 + p185 + -1'p281 + -1'p284 + -1'p287 + -1'p299 + -1'p317 + p318 + p319 = 0
invariant :p162 + p163 = 1
invariant :p174 + p175 = 1
invariant :p95 + p97 = 1
invariant :20'p5 + 2'p7 + 4'p8 + 6'p9 + 8'p10 + 10'p11 + 12'p12 + 14'p13 + 16'p14 + 18'p15 + -10'p16 + -1'p18 + -2'p19 + -3'p20 + -4'p21 + -5'p22 + -6'p23 + -7'p24 + -8'p25 + -9'p26 + -10'p38 + -1'p40 + -2'p41 + -3'p42 + -4'p43 + -5'p44 + -6'p45 + -7'p46 + -8'p47 + -9'p48 + p70 + p72 + -1'p97 + p112 + -1'p141 + -1'p142 + p163 + -1'p173 + -1'p175 + -1'p185 + p272 + -1'p274 + -1'p277 + -1'p280 + -1'p291 + -1'p295 + p299 + p317 + -1'p318 + -1'p319 = 1
invariant :p203 + -1'p213 + p229 + -1'p244 + -1'p260 + p270 = 0
invariant :p227 + p229 = 1
invariant :p56 + p59 = 1
invariant :p242 + p244 = 1
invariant :p160 + p161 = 1
invariant :p233 + p235 = 1
invariant :p110 + p112 = 1
invariant :-20'p5 + -2'p7 + -4'p8 + -6'p9 + -8'p10 + -10'p11 + -12'p12 + -14'p13 + -16'p14 + -18'p15 + 20'p16 + 2'p18 + 4'p19 + 6'p20 + 8'p21 + 10'p22 + 12'p23 + 14'p24 + 16'p25 + 18'p26 + p173 + p175 + p185 + p280 + p293 + p295 + p296 + -1'p298 + -1'p299 + -1'p302 + -1'p305 + -1'p308 + -1'p317 + 2'p318 + p319 = -1
invariant :p202 + p213 + -1'p229 + p244 + p260 + -1'p270 = 1
invariant :p208 + p213 + -1'p238 + p244 + p266 + -1'p270 = 1
invariant :p210 + p213 + -1'p241 + p244 + p268 + -1'p270 = 1
invariant :p164 + p166 = 1
invariant :p236 + p238 = 1
invariant :p199 + -1'p213 + p223 + -1'p244 + -1'p256 + p270 = 0
invariant :p278 + p280 + p281 + p284 + p287 + p291 + p292 + p295 + p296 = 1
invariant :p206 + p213 + -1'p235 + p244 + p264 + -1'p270 = 1
invariant :p221 + p223 = 1
invariant :p209 + -1'p213 + p238 + -1'p244 + -1'p266 + p270 = 0
invariant :p239 + p241 = 1
invariant :10'p5 + p7 + 2'p8 + 3'p9 + 4'p10 + 5'p11 + 6'p12 + 7'p13 + 8'p14 + 9'p15 + -10'p16 + -1'p18 + -2'p19 + -3'p20 + -4'p21 + -5'p22 + -6'p23 + -7'p24 + -8'p25 + -9'p26 + -1'p173 + p182 + -1'p213 + -1'p244 + p270 + p273 + -1'p277 + -1'p280 + -1'p291 + -1'p295 + p317 + -1'p318 + -1'p319 = 2
invariant :p224 + p226 = 1
invariant :p267 + p268 + p273 + p274 = 1
invariant :p271 + p272 + -1'p273 + -1'p274 = 0
invariant :p205 + -1'p213 + p232 + -1'p244 + -1'p262 + p270 = 0
invariant :p263 + p264 + p273 + p274 = 1
invariant :-10'p5 + -1'p7 + -2'p8 + -3'p9 + -4'p10 + -5'p11 + -6'p12 + -7'p13 + -8'p14 + -9'p15 + 10'p16 + p18 + 2'p19 + 3'p20 + 4'p21 + 5'p22 + 6'p23 + 7'p24 + 8'p25 + 9'p26 + p173 + p183 + p213 + p244 + -1'p270 + -1'p273 + p277 + p280 + p291 + p295 + -1'p317 + p318 + p319 = -1
invariant :p200 + p213 + -1'p226 + p244 + p258 + -1'p270 = 1
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201805241334/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/ReachabilityDeadlock.pnml.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.201805241334/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/ReachabilityDeadlock.pnml.gal -t CGAL -ctl DEADLOCK
No direction supplied, using forward translation only.
built 3 ordering constraints for composite.
built 41 ordering constraints for composite.
built 31 ordering constraints for composite.
built 21 ordering constraints for composite.
built 106 ordering constraints for composite.
built 50 ordering constraints for composite.
built 29 ordering constraints for composite.
built 26 ordering constraints for composite.
built 16 ordering constraints for composite.
built 15 ordering constraints for composite.
built 14 ordering constraints for composite.
built 9 ordering constraints for composite.
built 3 ordering constraints for composite.
built 63 ordering constraints for composite.
built 52 ordering constraints for composite.
built 12 ordering constraints for composite.
built 42 ordering constraints for composite.
built 37 ordering constraints for composite.
built 26 ordering constraints for composite.
built 4 ordering constraints for composite.
built 23 ordering constraints for composite.
built 21 ordering constraints for composite.
built 17 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 6 ordering constraints for composite.
built 5 ordering constraints for composite.
built 4 ordering constraints for composite.
built 3 ordering constraints for composite.
built 16 ordering constraints for composite.
built 14 ordering constraints for composite.
built 12 ordering constraints for composite.
built 10 ordering constraints for composite.
built 8 ordering constraints for composite.
built 6 ordering constraints for composite.
built 4 ordering constraints for composite.
built 12 ordering constraints for composite.
built 9 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 6 ordering constraints for composite.
built 5 ordering constraints for composite.
built 4 ordering constraints for composite.
built 15 ordering constraints for composite.
built 13 ordering constraints for composite.
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit//lts_install_dir//include, -I., -std=c99, -fPIC, -O3, model.c], workingDir=/home/mcc/execution]
Compilation finished in 2775 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/home/mcc/execution]
Link finished in 44 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=1, -p, --pins-guards, --when, -d], workingDir=/home/mcc/execution]
LTSmin run took 30 ms.
FORMULA DES-PT-10b-ReachabilityDeadlock-0 TRUE TECHNIQUES PARTIAL_ORDER EXPLICIT LTSMIN SAT_SMT
ITS tools runner thread asked to quit. Dying gracefully.

BK_STOP 1527316492649

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -louvain -smt
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -consoleLog -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityDeadlock -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -louvain -smt -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss8m -Xms40m -Xmx8192m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6
May 26, 2018 6:34:39 AM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -louvain, -smt]
May 26, 2018 6:34:39 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
May 26, 2018 6:34:40 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 126 ms
May 26, 2018 6:34:40 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 320 places.
May 26, 2018 6:34:40 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 271 transitions.
May 26, 2018 6:34:40 AM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Found NUPN structural information;
May 26, 2018 6:34:40 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 26 ms
May 26, 2018 6:34:40 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 141 ms
May 26, 2018 6:34:40 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.simple.gal : 9 ms
May 26, 2018 6:34:40 AM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 271 transitions.
May 26, 2018 6:34:41 AM fr.lip6.move.gal.application.MccTranslator applyOrder
INFO: Applying decomposition
May 26, 2018 6:34:41 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 35 ms
May 26, 2018 6:34:41 AM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 107 transitions.
May 26, 2018 6:34:41 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 38 ms
May 26, 2018 6:34:41 AM fr.lip6.move.gal.instantiate.CompositeBuilder decomposeWithOrder
INFO: Decomposing Gal with order
May 26, 2018 6:34:41 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 29 ms
May 26, 2018 6:34:41 AM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting arrays to variables to allow decomposition.
May 26, 2018 6:34:41 AM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver computeAndDeclareInvariants
INFO: Computed 56 place invariants in 28 ms
May 26, 2018 6:34:41 AM fr.lip6.move.gal.instantiate.Instantiator fuseIsomorphicEffects
INFO: Removed a total of 116 redundant transitions.
May 26, 2018 6:34:41 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/ReachabilityDeadlock.pnml.gal : 24 ms
May 26, 2018 6:34:42 AM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver init
INFO: Proved 162 variables to be positive in 844 ms
May 26, 2018 6:34:42 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may disable matrix : 107 transitions.
May 26, 2018 6:34:42 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of disable matrix completed :0/107 took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
May 26, 2018 6:34:42 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete disable matrix. took 8 ms. Total solver calls (SAT/UNSAT): 0(0/0)
May 26, 2018 6:34:42 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may enable matrix : 107 transitions.
May 26, 2018 6:34:42 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete enable matrix. took 8 ms. Total solver calls (SAT/UNSAT): 0(0/0)
May 26, 2018 6:34:42 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeCoEnablingMatrix
INFO: Computing symmetric co enabling matrix : 107 transitions.
May 26, 2018 6:34:45 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of co-enabling matrix(57/107) took 3059 ms. Total solver calls (SAT/UNSAT): 1173(920/253)
May 26, 2018 6:34:47 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Finished co-enabling matrix. took 5282 ms. Total solver calls (SAT/UNSAT): 2027(1695/332)
May 26, 2018 6:34:47 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeDoNotAccord
INFO: Computing Do-Not-Accords matrix : 107 transitions.
May 26, 2018 6:34:48 AM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Completed DNA matrix. took 936 ms. Total solver calls (SAT/UNSAT): 93(0/93)
May 26, 2018 6:34:48 AM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 7245ms conformant to PINS in folder :/home/mcc/execution

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="DES-PT-10b"
export BK_EXAMINATION="ReachabilityDeadlock"
export BK_TOOL="itstoolsl"
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

tar xzf /home/mcc/BenchKit/INPUTS/DES-PT-10b.tgz
mv DES-PT-10b execution
cd execution
pwd
ls -lh

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-3637"
echo " Executing tool itstoolsl"
echo " Input is DES-PT-10b, 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 r057-smll-152646384800223"
echo "====================================================================="
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
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 ;