fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r264-tall-171654373700353
Last Updated
July 7, 2024

About the Execution of 2023-gold for NoC3x3-PT-1B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
404.155 10224.00 26286.00 399.30 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/mcc2024-input.r264-tall-171654373700353.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
........................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5568
Executing tool gold2023
Input is NoC3x3-PT-1B, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r264-tall-171654373700353
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 832K
-rw-r--r-- 1 mcc users 7.5K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 84K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.0K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 57K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:43 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.5K May 19 07:12 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K May 19 16:11 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Apr 23 07:41 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Apr 23 07:41 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Apr 12 07:11 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 132K Apr 12 07:11 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.2K Apr 12 07:10 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 71K Apr 12 07:10 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 23 07:41 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Apr 23 07:41 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:43 equiv_col
-rw-r--r-- 1 mcc users 3 May 18 16:43 instance
-rw-r--r-- 1 mcc users 6 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 362K May 18 16:43 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 1716638883386

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=gold2023
BK_EXAMINATION=StableMarking
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=NoC3x3-PT-1B
Not applying reductions.
Model is PT
StableMarking PT
Running Version 202304061127
[2024-05-25 12:08:05] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StableMarking, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2024-05-25 12:08:05] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-25 12:08:05] [INFO ] Load time of PNML (sax parser for PT used): 97 ms
[2024-05-25 12:08:05] [INFO ] Transformed 1416 places.
[2024-05-25 12:08:05] [INFO ] Transformed 1640 transitions.
[2024-05-25 12:08:05] [INFO ] Found NUPN structural information;
[2024-05-25 12:08:05] [INFO ] Parsed PT model containing 1416 places and 1640 transitions and 3639 arcs in 189 ms.
Graph (trivial) has 1441 edges and 1416 vertex of which 916 / 1416 are part of one of the 20 SCC in 8 ms
Free SCC test removed 896 places
Structural test allowed to assert that 1127 places are NOT stable. Took 29 ms.
Ensure Unique test removed 1064 transitions
Reduce redundant transitions removed 1064 transitions.
[2024-05-25 12:08:05] [INFO ] Flatten gal took : 125 ms
[2024-05-25 12:08:05] [INFO ] Flatten gal took : 56 ms
[2024-05-25 12:08:06] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality14560368245448333178.gal : 46 ms
Incomplete random walk after 10000 steps, including 63 resets, run finished after 568 ms. (steps per millisecond=17 ) properties (out of 289) seen :268
[2024-05-25 12:08:06] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality10989658125190460449.prop : 4 ms
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 8 ms. (steps per millisecond=125 ) properties (out of 21) seen :0
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality14560368245448333178.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality10989658125190460449.prop' '--nowitness' '--gen-order' 'FOLLOW'
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 8 ms. (steps per millisecond=125 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 12 ms. (steps per millisecond=83 ) properties (out of 21) seen :0

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202304061127/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...330
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 11 ms. (steps per millisecond=91 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=142 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 8 ms. (steps per millisecond=125 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 21) seen :0
Loading property file /tmp/ReachabilityCardinality10989658125190460449.prop.
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=142 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 21) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 21) seen :0
Running SMT prover for 21 properties.
[2024-05-25 12:08:06] [INFO ] Flow matrix only has 557 transitions (discarded 19 similar events)
// Phase 1: matrix 557 rows 520 cols
[2024-05-25 12:08:06] [INFO ] Computed 40 invariants in 13 ms
SDD proceeding with computation,289 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,289 properties remain. new max is 8
SDD size :5 after 10
[2024-05-25 12:08:06] [INFO ] After 442ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:21
[2024-05-25 12:08:06] [INFO ] [Nat]Absence check using 40 positive place invariants in 17 ms returned sat
SDD proceeding with computation,289 properties remain. new max is 16
SDD size :10 after 19
SDD proceeding with computation,289 properties remain. new max is 32
SDD size :19 after 36
Invariant property smplace_81 does not hold.
Invariant property smplace_75 does not hold.
Invariant property smplace_73 does not hold.
Invariant property smplace_70 does not hold.
Invariant property smplace_63 does not hold.
Invariant property smplace_45 does not hold.
SDD proceeding with computation,283 properties remain. new max is 32
SDD size :36 after 70
Invariant property smplace_79 does not hold.
Invariant property smplace_77 does not hold.
Invariant property smplace_62 does not hold.
Invariant property smplace_61 does not hold.
Invariant property smplace_44 does not hold.
Invariant property smplace_43 does not hold.
SDD proceeding with computation,277 properties remain. new max is 32
SDD size :70 after 106
Invariant property smplace_59 does not hold.
Invariant property smplace_40 does not hold.
SDD proceeding with computation,275 properties remain. new max is 32
SDD size :106 after 168
SDD proceeding with computation,275 properties remain. new max is 64
SDD size :168 after 177
SDD proceeding with computation,275 properties remain. new max is 128
SDD size :177 after 290
SDD proceeding with computation,275 properties remain. new max is 256
SDD size :290 after 523
Invariant property smplace_92 does not hold.
Invariant property smplace_88 does not hold.
Invariant property smplace_71 does not hold.
Invariant property smplace_51 does not hold.
Invariant property smplace_41 does not hold.
SDD proceeding with computation,270 properties remain. new max is 256
SDD size :523 after 4940
Invariant property smplace_90 does not hold.
Invariant property smplace_50 does not hold.
Invariant property smplace_49 does not hold.
Invariant property smplace_46 does not hold.
SDD proceeding with computation,266 properties remain. new max is 256
SDD size :4940 after 8050
[2024-05-25 12:08:07] [INFO ] After 687ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :21
[2024-05-25 12:08:07] [INFO ] State equation strengthened by 1 read => feed constraints.
Invariant property smplace_47 does not hold.
SDD proceeding with computation,265 properties remain. new max is 256
SDD size :8050 after 10906
Invariant property smplace_103 does not hold.
Invariant property smplace_101 does not hold.
Invariant property smplace_99 does not hold.
Invariant property smplace_68 does not hold.
Invariant property smplace_57 does not hold.
Invariant property smplace_56 does not hold.
Invariant property smplace_55 does not hold.
Invariant property smplace_52 does not hold.
SDD proceeding with computation,257 properties remain. new max is 256
SDD size :10906 after 111632
Invariant property smplace_53 does not hold.
SDD proceeding with computation,256 properties remain. new max is 256
SDD size :111632 after 114174
Invariant property smplace_105 does not hold.
Invariant property smplace_67 does not hold.
Invariant property smplace_66 does not hold.
Invariant property smplace_64 does not hold.
SDD proceeding with computation,252 properties remain. new max is 256
SDD size :114174 after 119799
SDD proceeding with computation,252 properties remain. new max is 512
SDD size :119799 after 121582
SDD proceeding with computation,252 properties remain. new max is 1024
SDD size :121582 after 194984
[2024-05-25 12:08:08] [INFO ] After 446ms SMT Verify possible using 1 Read/Feed constraints in natural domain returned unsat :0 sat :21
Invariant property smplace_147 does not hold.
Invariant property smplace_145 does not hold.
Invariant property smplace_143 does not hold.
Invariant property smplace_141 does not hold.
Invariant property smplace_139 does not hold.
Invariant property smplace_136 does not hold.
Invariant property smplace_131 does not hold.
Invariant property smplace_130 does not hold.
Invariant property smplace_129 does not hold.
Invariant property smplace_114 does not hold.
Invariant property smplace_113 does not hold.
Invariant property smplace_112 does not hold.
Invariant property smplace_94 does not hold.
SDD proceeding with computation,239 properties remain. new max is 1024
SDD size :194984 after 8.81002e+06
[2024-05-25 12:08:08] [INFO ] Deduced a trap composed of 28 places in 89 ms of which 3 ms to minimize.
Invariant property smplace_110 does not hold.
SDD proceeding with computation,238 properties remain. new max is 1024
SDD size :8.81002e+06 after 2.44185e+07
[2024-05-25 12:08:08] [INFO ] Deduced a trap composed of 51 places in 94 ms of which 1 ms to minimize.
[2024-05-25 12:08:08] [INFO ] Deduced a trap composed of 18 places in 83 ms of which 1 ms to minimize.
[2024-05-25 12:08:08] [INFO ] Deduced a trap composed of 52 places in 93 ms of which 0 ms to minimize.
[2024-05-25 12:08:08] [INFO ] Deduced a trap composed of 42 places in 60 ms of which 1 ms to minimize.
[2024-05-25 12:08:08] [INFO ] Deduced a trap composed of 18 places in 65 ms of which 0 ms to minimize.
[2024-05-25 12:08:08] [INFO ] Trap strengthening (SAT) tested/added 7/6 trap constraints in 611 ms
[2024-05-25 12:08:09] [INFO ] Deduced a trap composed of 61 places in 70 ms of which 1 ms to minimize.
[2024-05-25 12:08:09] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 107 ms
[2024-05-25 12:08:09] [INFO ] Deduced a trap composed of 31 places in 80 ms of which 0 ms to minimize.
[2024-05-25 12:08:09] [INFO ] Deduced a trap composed of 31 places in 71 ms of which 1 ms to minimize.
[2024-05-25 12:08:09] [INFO ] Deduced a trap composed of 25 places in 64 ms of which 1 ms to minimize.
[2024-05-25 12:08:09] [INFO ] Deduced a trap composed of 67 places in 58 ms of which 1 ms to minimize.
[2024-05-25 12:08:09] [INFO ] Deduced a trap composed of 57 places in 58 ms of which 0 ms to minimize.
[2024-05-25 12:08:09] [INFO ] Trap strengthening (SAT) tested/added 6/5 trap constraints in 449 ms
[2024-05-25 12:08:09] [INFO ] Deduced a trap composed of 40 places in 49 ms of which 1 ms to minimize.
[2024-05-25 12:08:09] [INFO ] Deduced a trap composed of 65 places in 49 ms of which 0 ms to minimize.
[2024-05-25 12:08:09] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 175 ms
[2024-05-25 12:08:09] [INFO ] Deduced a trap composed of 52 places in 43 ms of which 0 ms to minimize.
[2024-05-25 12:08:09] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 77 ms
[2024-05-25 12:08:10] [INFO ] Deduced a trap composed of 23 places in 74 ms of which 1 ms to minimize.
[2024-05-25 12:08:10] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 111 ms
[2024-05-25 12:08:10] [INFO ] After 2571ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :21
Attempting to minimize the solution found.
Minimization took 460 ms.
[2024-05-25 12:08:10] [INFO ] After 4145ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :21
Parikh walk visited 0 properties in 1105 ms.
Support contains 17 out of 520 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 520/520 places, 576/576 transitions.
Drop transitions removed 20 transitions
Reduce isomorphic transitions removed 20 transitions.
Drop transitions removed 20 transitions
Trivial Post-agglo rules discarded 20 transitions
Performed 20 trivial Post agglomeration. Transition count delta: 20
Iterating post reduction 0 with 40 rules applied. Total rules applied 40 place count 520 transition count 536
Reduce places removed 20 places and 0 transitions.
Iterating post reduction 1 with 20 rules applied. Total rules applied 60 place count 500 transition count 536
Discarding 151 places :
Symmetric choice reduction at 2 with 151 rule applications. Total rules 211 place count 349 transition count 385
Iterating global reduction 2 with 151 rules applied. Total rules applied 362 place count 349 transition count 385
Performed 29 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 29 Pre rules applied. Total rules applied 362 place count 349 transition count 356
Deduced a syphon composed of 29 places in 2 ms
Reduce places removed 29 places and 0 transitions.
Iterating global reduction 2 with 58 rules applied. Total rules applied 420 place count 320 transition count 356
Discarding 14 places :
Symmetric choice reduction at 2 with 14 rule applications. Total rules 434 place count 306 transition count 339
Iterating global reduction 2 with 14 rules applied. Total rules applied 448 place count 306 transition count 339
Performed 66 Post agglomeration using F-continuation condition.Transition count delta: 66
Deduced a syphon composed of 66 places in 0 ms
Reduce places removed 66 places and 0 transitions.
Iterating global reduction 2 with 132 rules applied. Total rules applied 580 place count 240 transition count 273
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: -17
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 2 with 2 rules applied. Total rules applied 582 place count 239 transition count 290
Drop transitions removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 2 with 3 rules applied. Total rules applied 585 place count 239 transition count 287
Drop transitions removed 6 transitions
Redundant transition composition rules discarded 6 transitions
Iterating global reduction 3 with 6 rules applied. Total rules applied 591 place count 239 transition count 281
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: -11
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 3 with 2 rules applied. Total rules applied 593 place count 238 transition count 292
Free-agglomeration rule applied 104 times.
Iterating global reduction 3 with 104 rules applied. Total rules applied 697 place count 238 transition count 188
Reduce places removed 104 places and 0 transitions.
Drop transitions removed 20 transitions
Reduce isomorphic transitions removed 20 transitions.
Graph (complete) has 345 edges and 134 vertex of which 114 are kept as prefixes of interest. Removing 20 places using SCC suffix rule.1 ms
Discarding 20 places :
Also discarding 0 output transitions
Iterating post reduction 3 with 125 rules applied. Total rules applied 822 place count 114 transition count 168
Drop transitions removed 21 transitions
Reduce isomorphic transitions removed 21 transitions.
Iterating post reduction 4 with 21 rules applied. Total rules applied 843 place count 114 transition count 147
Applied a total of 843 rules in 145 ms. Remains 114 /520 variables (removed 406) and now considering 147/576 (removed 429) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 146 ms. Remains : 114/520 places, 147/576 transitions.
Finished random walk after 512 steps, including 0 resets, run visited all 17 properties in 7 ms. (steps per millisecond=73 )
Parikh walk visited 0 properties in 0 ms.
ITS runner failed with exception null
java.lang.InterruptedException
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Thread.join(Thread.java:1304)
at java.base/java.lang.Thread.join(Thread.java:1372)
at fr.lip6.move.gal.application.runner.AbstractRunner.join(AbstractRunner.java:27)
at fr.lip6.move.gal.application.runner.its.ITSRunner.join(ITSRunner.java:177)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.verifyWithSDD(GlobalPropertySolver.java:675)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.lambda$2(ReachabilitySolver.java:63)
at java.base/java.lang.Thread.run(Thread.java:833)
Able to resolve query StableMarking after proving 291 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK MARKED_SUFFIX_TEST DECISION_DIAGRAMS TRIVIAL_UNMARKED_SCC_TEST COLLATERAL_PROCESSING TOPOLOGICAL
Total runtime 6945 ms.

BK_STOP 1716638893610

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

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

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="NoC3x3-PT-1B"
export BK_EXAMINATION="StableMarking"
export BK_TOOL="gold2023"
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-5568"
echo " Executing tool gold2023"
echo " Input is NoC3x3-PT-1B, 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 r264-tall-171654373700353"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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