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

About the Execution of ITS-Tools for BusinessProcesses-PT-11

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15753.250 5810.00 11798.00 317.70 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 320K
-rw-r--r-- 1 mcc users 4.0K May 29 16:57 CTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 29 16:57 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K May 28 11:18 CTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 28 11:18 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 24 11:17 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 24 11:17 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 2.4K May 28 09:29 LTLCardinality.txt
-rw-r--r-- 1 mcc users 11K May 28 09:29 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K May 28 07:42 LTLFireability.txt
-rw-r--r-- 1 mcc users 9.1K May 28 07:42 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 24 11:17 NewModel
-rw-r--r-- 1 mcc users 3.6K May 27 05:09 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K May 27 05:09 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 114 May 26 06:29 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 352 May 26 06:29 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 2.9K May 26 06:36 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K May 26 06:36 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 28 07:31 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 28 07:31 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 24 11:17 equiv_col
-rw-r--r-- 1 mcc users 3 May 24 11:17 instance
-rw-r--r-- 1 mcc users 6 May 24 11:17 iscolored
-rw-r--r-- 1 mcc users 141K May 24 11:17 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool itstools
Input is BusinessProcesses-PT-11, examination is ReachabilityDeadlock
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r272-smll-152749149000278

=====================================================================

--------------------
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 BusinessProcesses-PT-11-ReachabilityDeadlock-0

=== Now, execution of the tool begins

BK_START 1527903121229

Flatten gal took : 180 ms
Constant places removed 9 places and 5 transitions.
Performed 346 Post agglomeration using F-continuation condition.
Iterating post reduction 0 with 355 rules applied. Total rules applied 355 place count 558 transition count 157
Constant places removed 370 places and 4 transitions.
Performed 1 Post agglomeration using F-continuation condition.
Iterating post reduction 1 with 371 rules applied. Total rules applied 726 place count 188 transition count 152
Constant places removed 3 places and 0 transitions.
Iterating post reduction 2 with 3 rules applied. Total rules applied 729 place count 185 transition count 152
Performed 19 Pre agglomeration using Quasi-Persistent + HF-interchangeable + Divergent Free condition.
Pre-agglomeration after 3 with 19 Pre rules applied. Total rules applied 729 place count 185 transition count 133
Constant places removed 19 places and 0 transitions.
Iterating post reduction 3 with 19 rules applied. Total rules applied 748 place count 166 transition count 133
Symmetric choice reduction at 4 with 4 rule applications. Total rules 752 place count 166 transition count 133
Constant places removed 4 places and 4 transitions.
Iterating post reduction 4 with 4 rules applied. Total rules applied 756 place count 162 transition count 129
Performed 5 Post agglomeration using F-continuation condition.
Constant places removed 5 places and 0 transitions.
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 5 with 6 rules applied. Total rules applied 762 place count 157 transition count 123
Performed 2 Post agglomeration using F-continuation condition.
Constant places removed 2 places and 0 transitions.
Iterating post reduction 6 with 2 rules applied. Total rules applied 764 place count 155 transition count 125
Applied a total of 764 rules in 170 ms. Remains 155 /567 variables (removed 412) and now considering 125/508 (removed 383) transitions.
// Phase 1: matrix 125 rows 155 cols
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201805151631/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.201805151631/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.
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
// Phase 1: matrix 125 rows 155 cols
invariant :p139 + p146 + p332 + -1'p342 + p347 + -1'p352 + -1'p483 + p487 + p559 + -1'p562 = 1
invariant :p186 + p502 = 1
invariant :p401 + p402 = 1
invariant :p166 + p178 + p564 = 1
invariant :p356 + p357 = 1
invariant :p97 + p99 + -1'p100 + -1'p102 = 0
invariant :p200 + p510 = 1
invariant :p311 + p312 = 1
invariant :p276 + p277 = 1
invariant :p331 + p332 = 1
invariant :p172 + -1'p178 + -1'p559 + p565 = 0
invariant :p219 + p524 = 1
invariant :p145 + p146 = 1
invariant :p143 + -1'p146 + -1'p337 + p342 + p352 + -1'p357 + -1'p487 + p491 + p562 + -1'p565 = 0
invariant :p291 + p292 = 1
invariant :p408 + p414 + p415 + p422 + p432 + p436 + p448 + p451 + p454 + p459 + p463 + p469 + p473 + p483 + p487 + p491 + p498 + p502 + p506 + p510 + p514 + p520 + p524 + p528 + p536 + p538 + p542 + p544 + p548 + p550 + p554 + p556 + p564 + p565 = 1
invariant :p212 + p520 = 1
invariant :p366 + p367 = 1
invariant :p180 + p498 = 1
invariant :p55 + p436 = 1
invariant :p192 + p506 = 1
invariant :p281 + p282 = 1
invariant :p533 + p535 + -1'p536 + -1'p538 = 0
invariant :p142 + p146 + p337 + -1'p342 + -1'p352 + p357 + p487 + -1'p491 + -1'p562 + p565 = 1
invariant :p539 + p541 + -1'p542 + -1'p544 = 0
invariant :p316 + p317 = 1
invariant :p326 + p327 = 1
invariant :p545 + p547 + -1'p548 + -1'p550 = 0
invariant :p306 + p307 = 1
invariant :p115 + p463 = 1
invariant :p175 + -1'p178 + -1'p562 + p565 = 0
invariant :p551 + p553 + -1'p554 + -1'p556 = 0
invariant :p75 + p85 + p91 + p93 + -1'p96 + -1'p105 + p106 + p108 + -1'p451 + p535 + -1'p536 + -1'p538 + -1'p542 + p553 + -1'p554 + -1'p556 = 0
invariant :p148 + p483 = 1
invariant :p361 + p362 = 1
invariant :p561 + p562 + -1'p564 + -1'p565 = 0
invariant :p336 + p337 = 1
invariant :p296 + p297 = 1
invariant :p78 + p88 + p100 + p106 + -1'p454 + -1'p536 + -1'p548 + -1'p554 = 0
invariant :p61 + p75 + p78 + p84 + p93 + p99 + p106 + p108 + -1'p408 + -1'p414 + -1'p415 + -1'p422 + -1'p432 + -1'p436 + -1'p451 + -1'p454 + -1'p459 + -1'p463 + -1'p469 + -1'p473 + -1'p483 + -1'p487 + -1'p491 + -1'p498 + -1'p502 + -1'p506 + -1'p510 + -1'p514 + -1'p520 + -1'p524 + -1'p528 + -1'p532 + -1'p541 + -1'p547 + -1'p554 + -1'p556 + -1'p564 + -1'p565 = 0
invariant :p140 + -1'p146 + -1'p332 + p342 + -1'p347 + p352 + p483 + -1'p487 + -1'p559 + p562 = 0
invariant :p346 + p347 = 1
invariant :p530 + p532 + -1'p536 + -1'p538 = 0
invariant :p286 + p287 = 1
invariant :p25 + p422 = 1
invariant :p376 + p377 = 1
invariant :p103 + p105 + -1'p106 + -1'p108 = 0
invariant :p321 + p322 = 1
invariant :p558 + p559 + -1'p564 + -1'p565 = 0
invariant :p301 + p302 = 1
invariant :p206 + p514 = 1
invariant :p128 + p473 = 1
invariant :p109 + p459 = 1
invariant :p154 + p487 = 1
invariant :p341 + p342 = 1
invariant :-1'p78 + -1'p82 + -1'p84 + p90 + -1'p100 + -1'p106 + p454 + p536 + p548 + p554 = 0
invariant :p160 + p491 = 1
invariant :p121 + p469 = 1
invariant :-1'p75 + -1'p82 + -1'p84 + p87 + -1'p91 + -1'p93 + p96 + p105 + -1'p106 + -1'p108 + p451 + -1'p535 + p536 + p538 + p542 + -1'p553 + p554 + p556 = 0
invariant :p386 + p387 = 1
invariant :p49 + p432 = 1
invariant :p381 + p382 = 1
invariant :p351 + p352 = 1
invariant :p34 + p44 + p47 = 1
invariant :p266 + p267 = 1
invariant :p72 + p82 + p91 + -1'p99 + p100 + p102 + p408 + p414 + p415 + p422 + p432 + p436 + p451 + p454 + p459 + p463 + p469 + p473 + p483 + p487 + p491 + p498 + p502 + p506 + p510 + p514 + p520 + p524 + p528 + p532 + p541 + p547 + p554 + p556 + p564 + p565 = 1
invariant :p396 + p397 = 1
invariant :-1'p91 + -1'p93 + p94 + p96 = 0
invariant :p391 + p392 = 1
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,11714,0.212957,10440,2,2619,5,19797,6,0,744,15648,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,1212,0.677663,21320,2,975,7,64724,9,1,3779,18777,2

System contains 1212 deadlocks (shown below if less than --print-limit option) !
FORMULA BusinessProcesses-PT-11-ReachabilityDeadlock-0 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
[ 1212 states ] showing 10 first states
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p109=1 p25=1 p55=1 p297=1 p287=1 p276=1 p282=1 p49=1 p307=1 p34=1 p414=1 p61=1 p292=1 p267=1 ]
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p109=1 p25=1 p55=1 p297=1 p287=1 p276=1 p282=1 p49=1 p307=1 p44=1 p414=1 p61=1 p292=1 p267=1 ]
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p109=1 p25=1 p55=1 p297=1 p287=1 p276=1 p282=1 p49=1 p307=1 p415=1 p34=1 p61=1 p292=1 p267=1 ]
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p109=1 p25=1 p55=1 p297=1 p287=1 p277=1 p282=1 p49=1 p307=1 p44=1 p414=1 p61=1 p292=1 p267=1 ]
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p109=1 p25=1 p55=1 p297=1 p287=1 p277=1 p282=1 p49=1 p307=1 p415=1 p34=1 p61=1 p292=1 p267=1 ]
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p109=1 p422=1 p55=1 p297=1 p287=1 p277=1 p282=1 p49=1 p307=1 p34=1 p61=1 p292=1 p267=1 ]
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p109=1 p422=1 p55=1 p297=1 p287=1 p277=1 p282=1 p49=1 p307=1 p44=1 p61=1 p292=1 p267=1 ]
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p272=1 p109=1 p25=1 p55=1 p297=1 p287=1 p276=1 p282=1 p49=1 p307=1 p34=1 p414=1 p61=1 p292=1 p267=1 ]
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p272=1 p109=1 p25=1 p55=1 p297=1 p287=1 p276=1 p282=1 p49=1 p307=1 p44=1 p414=1 p61=1 p292=1 p267=1 ]
[ p166=1 p357=1 p352=1 p346=1 p362=1 p397=1 p219=1 p212=1 p387=1 p392=1 p402=1 p206=1 p180=1 p200=1 p382=1 p372=1 p160=1 p186=1 p154=1 p367=1 p377=1 p148=1 p192=1 p317=1 p115=1 p121=1 p322=1 p302=1 p342=1 p337=1 p128=1 p332=1 p312=1 p146=1 p143=1 p327=1 p139=1 p272=1 p109=1 p25=1 p55=1 p297=1 p287=1 p276=1 p282=1 p49=1 p307=1 p415=1 p34=1 p61=1 p292=1 p267=1 ]
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]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.

BK_STOP 1527903127039

--------------------
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/ -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/ -smt -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss8m -Xms40m -Xmx8192m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6
Jun 02, 2018 1:32:03 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/, -smt]
Jun 02, 2018 1:32:03 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Jun 02, 2018 1:32:04 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 148 ms
Jun 02, 2018 1:32:04 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 567 places.
Jun 02, 2018 1:32:04 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 508 transitions.
Jun 02, 2018 1:32:04 AM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Found NUPN structural information;
Jun 02, 2018 1:32:04 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 31 ms
Jun 02, 2018 1:32:04 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 174 ms
Jun 02, 2018 1:32:04 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.simple.gal : 11 ms
Jun 02, 2018 1:32:04 AM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 508 transitions.
Jun 02, 2018 1:32:05 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/ReachabilityDeadlock.pnml.gal : 2 ms
Jun 02, 2018 1:32:05 AM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 125 transitions.
Jun 02, 2018 1:32:05 AM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver computeAndDeclareInvariants
INFO: Computed 69 place invariants in 27 ms
Jun 02, 2018 1:32:05 AM fr.lip6.move.gal.gal2smt.bmc.NextBMCSolver checkSat
WARNING: SMT solver unexpectedly returned 'unknown' answer, retrying.
Skipping mayMatrices nes/nds SMT solver raised an exception or timeout :(error "Failed to check-sat")
java.lang.RuntimeException: SMT solver raised an exception or timeout :(error "Failed to check-sat")
at fr.lip6.move.gal.gal2smt.bmc.NextBMCSolver.checkSat(NextBMCSolver.java:297)
at fr.lip6.move.gal.gal2smt.bmc.NextBMCSolver.checkSat(NextBMCSolver.java:305)
at fr.lip6.move.gal.gal2smt.bmc.KInductionSolver.init(KInductionSolver.java:116)
at fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver.init(NecessaryEnablingsolver.java:71)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printLabels(Gal2PinsTransformerNext.java:471)
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:830)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:71)
at java.lang.Thread.run(Thread.java:748)
Jun 02, 2018 1:32:05 AM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 799ms 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="BusinessProcesses-PT-11"
export BK_EXAMINATION="ReachabilityDeadlock"
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

tar xzf /home/mcc/BenchKit/INPUTS/BusinessProcesses-PT-11.tgz
mv BusinessProcesses-PT-11 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 itstools"
echo " Input is BusinessProcesses-PT-11, 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 r272-smll-152749149000278"
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 ;