fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r301-smll-165463877000223
Last Updated
Jun 22, 2022

About the Execution of ITS-Tools for StigmergyElection-PT-08b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1300.432 381834.00 233204.00 1240.10 F normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2022-input.r301-smll-165463877000223.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-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 StigmergyElection-PT-08b, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r301-smll-165463877000223
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 12M
-rw-r--r-- 1 mcc users 6.8K May 30 14:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 73K May 30 14:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.8K May 30 14:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 52K May 30 14:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.9K May 25 13:05 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 25 13:05 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 25 13:05 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 25 13:05 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 29 12:20 NewModel
-rw-r--r-- 1 mcc users 12K May 30 14:56 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 132K May 30 14:56 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.4K May 30 14:55 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 71K May 30 14:55 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 25 13:05 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 25 13:05 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 29 12:20 equiv_col
-rw-r--r-- 1 mcc users 4 May 29 12:20 instance
-rw-r--r-- 1 mcc users 6 May 29 12:20 iscolored
-rw-r--r-- 1 mcc users 12M May 29 12:20 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 StableMarking

=== Now, execution of the tool begins

BK_START 1654653567579

Running Version 202205111006
[2022-06-08 01:59:30] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StableMarking, -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]
[2022-06-08 01:59:30] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-08 01:59:31] [INFO ] Load time of PNML (sax parser for PT used): 1296 ms
[2022-06-08 01:59:31] [INFO ] Transformed 1107 places.
[2022-06-08 01:59:31] [INFO ] Transformed 14564 transitions.
[2022-06-08 01:59:31] [INFO ] Found NUPN structural information;
[2022-06-08 01:59:31] [INFO ] Parsed PT model containing 1107 places and 14564 transitions in 1644 ms.
Graph (trivial) has 1130 edges and 1107 vertex of which 168 / 1107 are part of one of the 24 SCC in 26 ms
Free SCC test removed 144 places
Structural test allowed to assert that 710 places are NOT stable. Took 180 ms.
Ensure Unique test removed 160 transitions
Reduce redundant transitions removed 160 transitions.
Incomplete random walk after 10000 steps, including 72 resets, run finished after 1185 ms. (steps per millisecond=8 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=16 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=16 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=16 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 8 ms. (steps per millisecond=12 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=16 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=16 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 101 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Incomplete Best-First random walk after 100 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=25 ) properties (out of 397) seen :0
Interrupted probabilistic random walk after 41863 steps, run timeout after 3001 ms. (steps per millisecond=13 ) properties seen :{0=1, 1=1, 7=1, 8=1, 9=1, 11=1, 12=1, 13=1, 14=1, 49=1, 50=1, 56=1, 57=1, 58=1, 60=1, 61=1, 62=1, 98=1, 99=1, 105=1, 106=1, 107=1, 109=1, 110=1, 111=1, 147=1, 148=1, 154=1, 155=1, 156=1, 158=1, 159=1, 160=1, 196=1, 197=1, 203=1, 204=1, 205=1, 207=1, 208=1, 209=1, 245=1, 246=1, 252=1, 253=1, 254=1, 256=1, 257=1, 258=1, 294=1, 295=1, 301=1, 302=1, 303=1, 305=1, 306=1, 307=1, 343=1, 344=1, 350=1, 351=1, 352=1, 354=1, 355=1, 356=1, 391=1, 392=1, 395=1, 396=1}
Probabilistic random walk after 41863 steps, saw 11653 distinct states, run finished after 3005 ms. (steps per millisecond=13 ) properties seen :69
Running SMT prover for 328 properties.
[2022-06-08 01:59:36] [INFO ] Flow matrix only has 14381 transitions (discarded 23 similar events)
// Phase 1: matrix 14381 rows 963 cols
[2022-06-08 01:59:37] [INFO ] Computed 9 place invariants in 390 ms
[2022-06-08 01:59:50] [INFO ] After 11784ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:328
[2022-06-08 02:00:00] [INFO ] [Nat]Absence check using 9 positive place invariants in 34 ms returned sat
[2022-06-08 02:00:16] [INFO ] After 6854ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :328
[2022-06-08 02:00:16] [INFO ] State equation strengthened by 1 read => feed constraints.
[2022-06-08 02:00:16] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2022-06-08 02:00:16] [INFO ] After 25104ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0 real:328
Fused 328 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 1 ms.
Support contains 328 out of 963 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 963/963 places, 14404/14404 transitions.
Drop transitions removed 24 transitions
Reduce isomorphic transitions removed 24 transitions.
Drop transitions removed 475 transitions
Trivial Post-agglo rules discarded 475 transitions
Performed 475 trivial Post agglomeration. Transition count delta: 475
Iterating post reduction 0 with 499 rules applied. Total rules applied 499 place count 963 transition count 13905
Reduce places removed 475 places and 0 transitions.
Iterating post reduction 1 with 475 rules applied. Total rules applied 974 place count 488 transition count 13905
Performed 16 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 16 Pre rules applied. Total rules applied 974 place count 488 transition count 13889
Deduced a syphon composed of 16 places in 10 ms
Reduce places removed 16 places and 0 transitions.
Iterating global reduction 2 with 32 rules applied. Total rules applied 1006 place count 472 transition count 13889
Discarding 3 places :
Symmetric choice reduction at 2 with 3 rule applications. Total rules 1009 place count 469 transition count 13886
Iterating global reduction 2 with 3 rules applied. Total rules applied 1012 place count 469 transition count 13886
Performed 18 Post agglomeration using F-continuation condition.Transition count delta: 18
Deduced a syphon composed of 18 places in 8 ms
Reduce places removed 18 places and 0 transitions.
Iterating global reduction 2 with 36 rules applied. Total rules applied 1048 place count 451 transition count 13868
Performed 19 Post agglomeration using F-continuation condition.Transition count delta: -16
Deduced a syphon composed of 19 places in 20 ms
Reduce places removed 19 places and 0 transitions.
Iterating global reduction 2 with 38 rules applied. Total rules applied 1086 place count 432 transition count 13884
Free-agglomeration rule applied 62 times.
Iterating global reduction 2 with 62 rules applied. Total rules applied 1148 place count 432 transition count 13822
Reduce places removed 62 places and 0 transitions.
Iterating post reduction 2 with 62 rules applied. Total rules applied 1210 place count 370 transition count 13822
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 3 with 1 rules applied. Total rules applied 1211 place count 370 transition count 13821
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 4 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 3 with 2 rules applied. Total rules applied 1213 place count 369 transition count 13820
Applied a total of 1213 rules in 11755 ms. Remains 369 /963 variables (removed 594) and now considering 13820/14404 (removed 584) transitions.
Finished structural reductions, in 1 iterations. Remains : 369/963 places, 13820/14404 transitions.
Interrupted random walk after 12086 steps, including 9 resets, run timeout after 30033 ms. (steps per millisecond=0 ) properties seen 302
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 605 ms. (steps per millisecond=165 ) properties (out of 26) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 624 ms. (steps per millisecond=160 ) properties (out of 26) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 557 ms. (steps per millisecond=179 ) properties (out of 26) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 559 ms. (steps per millisecond=178 ) properties (out of 26) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 561 ms. (steps per millisecond=178 ) properties (out of 26) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 569 ms. (steps per millisecond=175 ) properties (out of 26) seen :13
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 602 ms. (steps per millisecond=166 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 554 ms. (steps per millisecond=180 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 567 ms. (steps per millisecond=176 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 551 ms. (steps per millisecond=181 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 554 ms. (steps per millisecond=180 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 561 ms. (steps per millisecond=178 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 557 ms. (steps per millisecond=179 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 549 ms. (steps per millisecond=182 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 549 ms. (steps per millisecond=182 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 551 ms. (steps per millisecond=181 ) properties (out of 13) seen :0
Running SMT prover for 13 properties.
// Phase 1: matrix 13820 rows 369 cols
[2022-06-08 02:01:07] [INFO ] Computed 9 place invariants in 134 ms
[2022-06-08 02:01:07] [INFO ] After 721ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:13
[2022-06-08 02:01:08] [INFO ] [Nat]Absence check using 9 positive place invariants in 7 ms returned sat
[2022-06-08 02:01:20] [INFO ] After 11865ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :13
[2022-06-08 02:01:20] [INFO ] State equation strengthened by 2234 read => feed constraints.
[2022-06-08 02:01:26] [INFO ] After 5541ms SMT Verify possible using 2234 Read/Feed constraints in natural domain returned unsat :0 sat :13
[2022-06-08 02:01:45] [INFO ] Deduced a trap composed of 2 places in 19341 ms of which 7 ms to minimize.
[2022-06-08 02:03:46] [INFO ] Deduced a trap composed of 0 places in 120149 ms of which 63 ms to minimize.
[2022-06-08 02:03:46] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 140194 ms
[2022-06-08 02:05:47] [INFO ] Deduced a trap composed of 0 places in 120155 ms of which 57 ms to minimize.
[2022-06-08 02:05:47] [INFO ] After 266804ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :13
Attempting to minimize the solution found.
Minimization took 9 ms.
[2022-06-08 02:05:47] [INFO ] After 279512ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :13
Finished Parikh walk after 2468 steps, including 568 resets, run visited all 13 properties in 1879 ms. (steps per millisecond=1 )
Parikh walk visited 13 properties in 1897 ms.
Able to resolve query StableMarking after proving 399 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK PROBABILISTIC_WALK PARIKH_WALK MARKED_SUFFIX_TEST TRIVIAL_UNMARKED_SCC_TEST BESTFIRST_WALK TOPOLOGICAL
Total runtime 379108 ms.

BK_STOP 1654653949413

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

+ export LANG=C
+ LANG=C
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ StableMarking = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution StableMarking -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination StableMarking -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=@none -Xss128m -Xms40m -Xmx8192m

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="StigmergyElection-PT-08b"
export BK_EXAMINATION="StableMarking"
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 StigmergyElection-PT-08b, examination is StableMarking"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r301-smll-165463877000223"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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