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

About the Execution of 2023-gold for ShieldPPPt-PT-010B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
436.235 7669.00 19438.00 237.00 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.r374-tall-171683790800388.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 ShieldPPPt-PT-010B, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r374-tall-171683790800388
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 572K
-rw-r--r-- 1 mcc users 5.7K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 60K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.2K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 47K 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:16 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 19 16:35 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Apr 23 07:54 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 23 07:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Apr 11 14:33 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 121K Apr 11 14:33 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 4.6K Apr 11 14:33 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 31K Apr 11 14:33 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 23 07:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Apr 23 07:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:43 equiv_col
-rw-r--r-- 1 mcc users 5 May 18 16:43 instance
-rw-r--r-- 1 mcc users 6 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 185K 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 1716929965974

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=ShieldPPPt-PT-010B
Not applying reductions.
Model is PT
StableMarking PT
Running Version 202304061127
[2024-05-28 20:59:27] [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-28 20:59:27] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-28 20:59:27] [INFO ] Load time of PNML (sax parser for PT used): 88 ms
[2024-05-28 20:59:27] [INFO ] Transformed 783 places.
[2024-05-28 20:59:27] [INFO ] Transformed 713 transitions.
[2024-05-28 20:59:27] [INFO ] Found NUPN structural information;
[2024-05-28 20:59:27] [INFO ] Parsed PT model containing 783 places and 713 transitions and 1786 arcs in 168 ms.
Structural test allowed to assert that 284 places are NOT stable. Took 16 ms.
[2024-05-28 20:59:28] [INFO ] Flatten gal took : 193 ms
[2024-05-28 20:59:28] [INFO ] Flatten gal took : 58 ms
[2024-05-28 20:59:28] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality3444514290116922424.gal : 36 ms
[2024-05-28 20:59:28] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality10109011526521924017.prop : 3 ms
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/ReachabilityCardinality3444514290116922424.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality10109011526521924017.prop' '--nowitness' '--gen-order' 'FOLLOW'

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 ...329
Loading property file /tmp/ReachabilityCardinality10109011526521924017.prop.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 737 ms. (steps per millisecond=13 ) properties (out of 499) seen :498
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 16 ms. (steps per millisecond=625 ) properties (out of 1) seen :0
Running SMT prover for 1 properties.
// Phase 1: matrix 713 rows 783 cols
[2024-05-28 20:59:28] [INFO ] Computed 111 invariants in 17 ms
SDD proceeding with computation,499 properties remain. new max is 4
SDD size :1 after 5
[2024-05-28 20:59:29] [INFO ] After 382ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2024-05-28 20:59:29] [INFO ] [Nat]Absence check using 111 positive place invariants in 27 ms returned sat
SDD proceeding with computation,499 properties remain. new max is 8
SDD size :5 after 10
SDD proceeding with computation,499 properties remain. new max is 16
SDD size :10 after 12
SDD proceeding with computation,499 properties remain. new max is 32
SDD size :12 after 19
[2024-05-28 20:59:29] [INFO ] After 236ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
SDD proceeding with computation,499 properties remain. new max is 64
SDD size :19 after 289
[2024-05-28 20:59:29] [INFO ] Deduced a trap composed of 20 places in 231 ms of which 5 ms to minimize.
SDD proceeding with computation,499 properties remain. new max is 128
SDD size :289 after 7515
[2024-05-28 20:59:30] [INFO ] Deduced a trap composed of 19 places in 155 ms of which 1 ms to minimize.
[2024-05-28 20:59:30] [INFO ] Deduced a trap composed of 20 places in 143 ms of which 1 ms to minimize.
SDD proceeding with computation,499 properties remain. new max is 256
SDD size :7515 after 1.93828e+08
[2024-05-28 20:59:30] [INFO ] Deduced a trap composed of 27 places in 138 ms of which 1 ms to minimize.
SDD proceeding with computation,499 properties remain. new max is 512
SDD size :1.93828e+08 after 3.61401e+15
[2024-05-28 20:59:30] [INFO ] Deduced a trap composed of 23 places in 125 ms of which 0 ms to minimize.
Invariant property smplace_768 does not hold.
Invariant property smplace_767 does not hold.
Invariant property smplace_766 does not hold.
Invariant property smplace_765 does not hold.
Invariant property smplace_764 does not hold.
Invariant property smplace_763 does not hold.
Invariant property smplace_762 does not hold.
Invariant property smplace_737 does not hold.
Invariant property smplace_691 does not hold.
Invariant property smplace_690 does not hold.
Invariant property smplace_689 does not hold.
Invariant property smplace_688 does not hold.
Invariant property smplace_687 does not hold.
Invariant property smplace_686 does not hold.
Invariant property smplace_685 does not hold.
Invariant property smplace_660 does not hold.
Invariant property smplace_659 does not hold.
Invariant property smplace_657 does not hold.
Invariant property smplace_656 does not hold.
Invariant property smplace_582 does not hold.
Invariant property smplace_580 does not hold.
Invariant property smplace_579 does not hold.
[2024-05-28 20:59:30] [INFO ] Deduced a trap composed of 24 places in 113 ms of which 0 ms to minimize.
[2024-05-28 20:59:30] [INFO ] Deduced a trap composed of 26 places in 135 ms of which 0 ms to minimize.
[2024-05-28 20:59:30] [INFO ] Deduced a trap composed of 19 places in 105 ms of which 1 ms to minimize.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 28 places in 97 ms of which 1 ms to minimize.
SDD proceeding with computation,477 properties remain. new max is 512
SDD size :3.61401e+15 after 1.96785e+29
Invariant property smplace_614 does not hold.
Invariant property smplace_613 does not hold.
Invariant property smplace_612 does not hold.
Invariant property smplace_611 does not hold.
Invariant property smplace_610 does not hold.
Invariant property smplace_609 does not hold.
Invariant property smplace_608 does not hold.
Invariant property smplace_583 does not hold.
Invariant property smplace_537 does not hold.
Invariant property smplace_536 does not hold.
Invariant property smplace_535 does not hold.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 18 places in 98 ms of which 1 ms to minimize.
Invariant property smplace_534 does not hold.
Invariant property smplace_533 does not hold.
Invariant property smplace_532 does not hold.
Invariant property smplace_531 does not hold.
Invariant property smplace_506 does not hold.
Invariant property smplace_505 does not hold.
Invariant property smplace_503 does not hold.
Invariant property smplace_502 does not hold.
Invariant property smplace_460 does not hold.
Invariant property smplace_459 does not hold.
Invariant property smplace_458 does not hold.
Invariant property smplace_457 does not hold.
Invariant property smplace_456 does not hold.
Invariant property smplace_455 does not hold.
Invariant property smplace_454 does not hold.
Invariant property smplace_429 does not hold.
Invariant property smplace_428 does not hold.
Invariant property smplace_426 does not hold.
Invariant property smplace_425 does not hold.
Invariant property smplace_383 does not hold.
Invariant property smplace_382 does not hold.
Invariant property smplace_381 does not hold.
Invariant property smplace_380 does not hold.
Invariant property smplace_379 does not hold.
Invariant property smplace_378 does not hold.
Invariant property smplace_377 does not hold.
Invariant property smplace_352 does not hold.
Invariant property smplace_351 does not hold.
Invariant property smplace_349 does not hold.
Invariant property smplace_348 does not hold.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 24 places in 87 ms of which 1 ms to minimize.
Invariant property smplace_306 does not hold.
Invariant property smplace_305 does not hold.
Invariant property smplace_304 does not hold.
Invariant property smplace_303 does not hold.
Invariant property smplace_302 does not hold.
Invariant property smplace_301 does not hold.
Invariant property smplace_300 does not hold.
Invariant property smplace_275 does not hold.
Invariant property smplace_274 does not hold.
Invariant property smplace_272 does not hold.
Invariant property smplace_271 does not hold.
Invariant property smplace_229 does not hold.
Invariant property smplace_228 does not hold.
Invariant property smplace_227 does not hold.
Invariant property smplace_226 does not hold.
Invariant property smplace_225 does not hold.
Invariant property smplace_224 does not hold.
Invariant property smplace_223 does not hold.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 22 places in 79 ms of which 0 ms to minimize.
Invariant property smplace_198 does not hold.
Invariant property smplace_197 does not hold.
Invariant property smplace_195 does not hold.
Invariant property smplace_194 does not hold.
Invariant property smplace_152 does not hold.
Invariant property smplace_151 does not hold.
Invariant property smplace_150 does not hold.
Invariant property smplace_149 does not hold.
Invariant property smplace_148 does not hold.
Invariant property smplace_147 does not hold.
Invariant property smplace_146 does not hold.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 22 places in 64 ms of which 1 ms to minimize.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 23 places in 62 ms of which 0 ms to minimize.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 26 places in 57 ms of which 0 ms to minimize.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 24 places in 47 ms of which 1 ms to minimize.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 29 places in 46 ms of which 1 ms to minimize.
Invariant property smplace_121 does not hold.
Invariant property smplace_120 does not hold.
Invariant property smplace_118 does not hold.
Invariant property smplace_117 does not hold.
Invariant property smplace_87 does not hold.
Invariant property smplace_86 does not hold.
Invariant property smplace_85 does not hold.
Invariant property smplace_84 does not hold.
Invariant property smplace_83 does not hold.
Invariant property smplace_82 does not hold.
Invariant property smplace_81 does not hold.
Invariant property smplace_80 does not hold.
Invariant property smplace_75 does not hold.
Invariant property smplace_74 does not hold.
Invariant property smplace_73 does not hold.
Invariant property smplace_72 does not hold.
Invariant property smplace_71 does not hold.
Invariant property smplace_70 does not hold.
Invariant property smplace_69 does not hold.
Invariant property smplace_63 does not hold.
Invariant property smplace_53 does not hold.
Invariant property smplace_52 does not hold.
Invariant property smplace_51 does not hold.
Invariant property smplace_50 does not hold.
Invariant property smplace_49 does not hold.
Invariant property smplace_47 does not hold.
Invariant property smplace_44 does not hold.
Invariant property smplace_43 does not hold.
Invariant property smplace_42 does not hold.
Invariant property smplace_41 does not hold.
Invariant property smplace_40 does not hold.
Invariant property smplace_37 does not hold.
Invariant property smplace_36 does not hold.
Invariant property smplace_35 does not hold.
Invariant property smplace_34 does not hold.
Invariant property smplace_33 does not hold.
Invariant property smplace_32 does not hold.
Invariant property smplace_23 does not hold.
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 30 places in 80 ms of which 1 ms to minimize.
Invariant property smplace_22 does not hold.
Invariant property smplace_12 does not hold.
Invariant property smplace_11 does not hold.
SDD proceeding with computation,366 properties remain. new max is 512
SDD size :1.96785e+29 after 1.96785e+29
[2024-05-28 20:59:31] [INFO ] Deduced a trap composed of 20 places in 55 ms of which 0 ms to minimize.
[2024-05-28 20:59:32] [INFO ] Trap strengthening (SAT) tested/added 20/19 trap constraints in 2369 ms
[2024-05-28 20:59:32] [INFO ] After 2623ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Invariant property smplace_68 does not hold.
Invariant property smplace_62 does not hold.
Invariant property smplace_61 does not hold.
Invariant property smplace_60 does not hold.
Invariant property smplace_59 does not hold.
Invariant property smplace_58 does not hold.
Invariant property smplace_46 does not hold.
Minimization took 24 ms.
Invariant property smplace_39 does not hold.
[2024-05-28 20:59:32] [INFO ] After 2833ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Invariant property smplace_30 does not hold.
Invariant property smplace_29 does not hold.
Invariant property smplace_28 does not hold.
Invariant property smplace_27 does not hold.
Invariant property smplace_26 does not hold.
Invariant property smplace_25 does not hold.
SDD proceeding with computation,352 properties remain. new max is 512
SDD size :1.96785e+29 after 1.96785e+29
SDD proceeding with computation,352 properties remain. new max is 1024
SDD size :1.96785e+29 after 1.96785e+29
Parikh walk visited 0 properties in 190 ms.
Support contains 1 out of 783 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 783/783 places, 713/713 transitions.
Drop transitions removed 192 transitions
Trivial Post-agglo rules discarded 192 transitions
Performed 192 trivial Post agglomeration. Transition count delta: 192
Iterating post reduction 0 with 192 rules applied. Total rules applied 192 place count 783 transition count 521
Reduce places removed 192 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Drop transitions removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 1 with 194 rules applied. Total rules applied 386 place count 591 transition count 519
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 387 place count 590 transition count 519
Performed 40 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 40 Pre rules applied. Total rules applied 387 place count 590 transition count 479
Deduced a syphon composed of 40 places in 1 ms
Reduce places removed 40 places and 0 transitions.
Iterating global reduction 3 with 80 rules applied. Total rules applied 467 place count 550 transition count 479
Discarding 70 places :
Symmetric choice reduction at 3 with 70 rule applications. Total rules 537 place count 480 transition count 409
Iterating global reduction 3 with 70 rules applied. Total rules applied 607 place count 480 transition count 409
Performed 30 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 30 Pre rules applied. Total rules applied 607 place count 480 transition count 379
Deduced a syphon composed of 30 places in 1 ms
Reduce places removed 30 places and 0 transitions.
Iterating global reduction 3 with 60 rules applied. Total rules applied 667 place count 450 transition count 379
Performed 169 Post agglomeration using F-continuation condition.Transition count delta: 169
Deduced a syphon composed of 169 places in 1 ms
Reduce places removed 169 places and 0 transitions.
Iterating global reduction 3 with 338 rules applied. Total rules applied 1005 place count 281 transition count 210
Performed 28 Post agglomeration using F-continuation condition.Transition count delta: 0
Deduced a syphon composed of 28 places in 1 ms
Reduce places removed 28 places and 0 transitions.
Iterating global reduction 3 with 56 rules applied. Total rules applied 1061 place count 253 transition count 210
Free-agglomeration rule applied 1 times.
Iterating global reduction 3 with 1 rules applied. Total rules applied 1062 place count 253 transition count 209
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 3 with 1 rules applied. Total rules applied 1063 place count 252 transition count 209
Partial Free-agglomeration rule applied 29 times.
Drop transitions removed 29 transitions
Iterating global reduction 4 with 29 rules applied. Total rules applied 1092 place count 252 transition count 209
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 4 with 1 rules applied. Total rules applied 1093 place count 251 transition count 208
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 4 with 1 rules applied. Total rules applied 1094 place count 250 transition count 208
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 5 with 2 Pre rules applied. Total rules applied 1094 place count 250 transition count 206
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 5 with 4 rules applied. Total rules applied 1098 place count 248 transition count 206
Applied a total of 1098 rules in 161 ms. Remains 248 /783 variables (removed 535) and now considering 206/713 (removed 507) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 162 ms. Remains : 248/783 places, 206/713 transitions.
Finished random walk after 760 steps, including 0 resets, run visited all 1 properties in 5 ms. (steps per millisecond=152 )
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 500 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK MARKED_SUFFIX_TEST TOPOLOGICAL
Total runtime 4848 ms.
SDD proceeding with computation,352 properties remain. new max is 2048
SDD size :1.96785e+29 after 1.96785e+29
SDD proceeding with computation,352 properties remain. new max is 4096
SDD size :1.96785e+29 after 1.96785e+29

BK_STOP 1716929973643

--------------------
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:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ 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="ShieldPPPt-PT-010B"
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 ShieldPPPt-PT-010B, 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 r374-tall-171683790800388"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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