fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r234-tall-165286037800098
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for ShieldIIPs-PT-050B

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
701.168 64354.00 83078.00 462.70 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.r234-tall-165286037800098.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 gold2021
Input is ShieldIIPs-PT-050B, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r234-tall-165286037800098
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.1M
-rw-r--r-- 1 mcc users 7.3K Apr 29 15:03 CTLCardinality.txt
-rw-r--r-- 1 mcc users 78K Apr 29 15:03 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.7K Apr 29 15:02 CTLFireability.txt
-rw-r--r-- 1 mcc users 53K Apr 29 15:02 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.6K May 9 08:49 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 9 08:49 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 9 08:49 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 9 08:49 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 9 08:49 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 08:49 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 5 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 846K May 10 09:34 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 1653032487080

Running Version 0
[2022-05-20 07:41:28] [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-05-20 07:41:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-20 07:41:28] [INFO ] Load time of PNML (sax parser for PT used): 184 ms
[2022-05-20 07:41:29] [INFO ] Transformed 3003 places.
[2022-05-20 07:41:29] [INFO ] Transformed 2953 transitions.
[2022-05-20 07:41:29] [INFO ] Found NUPN structural information;
[2022-05-20 07:41:29] [INFO ] Parsed PT model containing 3003 places and 2953 transitions in 356 ms.
Structural test allowed to assert that 1352 places are NOT stable. Took 23 ms.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 609 ms. (steps per millisecond=16 ) properties (out of 1651) seen :881
Running SMT prover for 770 properties.
// Phase 1: matrix 2953 rows 3003 cols
[2022-05-20 07:41:29] [INFO ] Computed 451 place invariants in 50 ms
[2022-05-20 07:41:55] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
Fused 770 Parikh solutions to 1 different solutions.
Support contains 770 out of 3003 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 3003/3003 places, 2953/2953 transitions.
Drop transitions removed 229 transitions
Trivial Post-agglo rules discarded 229 transitions
Performed 229 trivial Post agglomeration. Transition count delta: 229
Iterating post reduction 0 with 229 rules applied. Total rules applied 229 place count 3003 transition count 2724
Reduce places removed 229 places and 0 transitions.
Iterating post reduction 1 with 229 rules applied. Total rules applied 458 place count 2774 transition count 2724
Performed 210 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 210 Pre rules applied. Total rules applied 458 place count 2774 transition count 2514
Deduced a syphon composed of 210 places in 8 ms
Reduce places removed 210 places and 0 transitions.
Iterating global reduction 2 with 420 rules applied. Total rules applied 878 place count 2564 transition count 2514
Discarding 146 places :
Symmetric choice reduction at 2 with 146 rule applications. Total rules 1024 place count 2418 transition count 2368
Iterating global reduction 2 with 146 rules applied. Total rules applied 1170 place count 2418 transition count 2368
Performed 88 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 88 Pre rules applied. Total rules applied 1170 place count 2418 transition count 2280
Deduced a syphon composed of 88 places in 18 ms
Reduce places removed 88 places and 0 transitions.
Iterating global reduction 2 with 176 rules applied. Total rules applied 1346 place count 2330 transition count 2280
Performed 668 Post agglomeration using F-continuation condition.Transition count delta: 668
Deduced a syphon composed of 668 places in 5 ms
Reduce places removed 668 places and 0 transitions.
Iterating global reduction 2 with 1336 rules applied. Total rules applied 2682 place count 1662 transition count 1612
Renaming transitions due to excessive name length > 1024 char.
Partial Free-agglomeration rule applied 197 times.
Drop transitions removed 197 transitions
Iterating global reduction 2 with 197 rules applied. Total rules applied 2879 place count 1662 transition count 1612
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 2 with 1 rules applied. Total rules applied 2880 place count 1661 transition count 1611
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 2881 place count 1660 transition count 1611
Applied a total of 2881 rules in 821 ms. Remains 1660 /3003 variables (removed 1343) and now considering 1611/2953 (removed 1342) transitions.
Finished structural reductions, in 1 iterations. Remains : 1660/3003 places, 1611/2953 transitions.
[2022-05-20 07:41:56] [INFO ] Flatten gal took : 161 ms
[2022-05-20 07:41:56] [INFO ] Flatten gal took : 98 ms
[2022-05-20 07:41:56] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality3066208083369806499.gal : 41 ms
[2022-05-20 07:41:56] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality15656595912612763370.prop : 3 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality3066208083369806499.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality15656595912612763370.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality3066208083369806499.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality15656595912612763370.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality15656595912612763370.prop.
SDD proceeding with computation,770 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,770 properties remain. new max is 8
SDD size :5 after 10
SDD proceeding with computation,770 properties remain. new max is 16
SDD size :10 after 19
SDD proceeding with computation,770 properties remain. new max is 32
SDD size :19 after 36
Invariant property smplace_1213 does not hold.
Invariant property smplace_1170 does not hold.
Invariant property smplace_1159 does not hold.
Invariant property smplace_1155 does not hold.
Invariant property smplace_1154 does not hold.
Invariant property smplace_1138 does not hold.
Invariant property smplace_1137 does not hold.
Invariant property smplace_1111 does not hold.
Invariant property smplace_1100 does not hold.
Invariant property smplace_1096 does not hold.
Invariant property smplace_1095 does not hold.
Invariant property smplace_1079 does not hold.
Invariant property smplace_1078 does not hold.
Invariant property smplace_1020 does not hold.
SDD proceeding with computation,756 properties remain. new max is 32
SDD size :36 after 69
Invariant property smplace_1052 does not hold.
Invariant property smplace_1041 does not hold.
Invariant property smplace_1037 does not hold.
Invariant property smplace_1036 does not hold.
Invariant property smplace_1019 does not hold.
Invariant property smplace_993 does not hold.
Invariant property smplace_982 does not hold.
Invariant property smplace_978 does not hold.
Invariant property smplace_977 does not hold.
Invariant property smplace_961 does not hold.
Invariant property smplace_960 does not hold.
Invariant property smplace_934 does not hold.
Invariant property smplace_923 does not hold.
Invariant property smplace_919 does not hold.
Invariant property smplace_918 does not hold.
Invariant property smplace_902 does not hold.
Invariant property smplace_901 does not hold.
Invariant property smplace_875 does not hold.
Invariant property smplace_864 does not hold.
Invariant property smplace_860 does not hold.
Invariant property smplace_859 does not hold.
Invariant property smplace_843 does not hold.
Invariant property smplace_842 does not hold.
Invariant property smplace_816 does not hold.
Invariant property smplace_805 does not hold.
Invariant property smplace_801 does not hold.
Invariant property smplace_800 does not hold.
Invariant property smplace_784 does not hold.
Invariant property smplace_783 does not hold.
Invariant property smplace_757 does not hold.
Invariant property smplace_746 does not hold.
Invariant property smplace_742 does not hold.
Invariant property smplace_741 does not hold.
Invariant property smplace_725 does not hold.
Invariant property smplace_724 does not hold.
Invariant property smplace_698 does not hold.
Invariant property smplace_687 does not hold.
Invariant property smplace_683 does not hold.
Invariant property smplace_682 does not hold.
Invariant property smplace_666 does not hold.
Invariant property smplace_665 does not hold.
Invariant property smplace_639 does not hold.
Invariant property smplace_628 does not hold.
Invariant property smplace_624 does not hold.
Invariant property smplace_623 does not hold.
Invariant property smplace_607 does not hold.
Invariant property smplace_606 does not hold.
Invariant property smplace_580 does not hold.
Invariant property smplace_569 does not hold.
Invariant property smplace_565 does not hold.
Invariant property smplace_564 does not hold.
Invariant property smplace_548 does not hold.
Invariant property smplace_547 does not hold.
Invariant property smplace_521 does not hold.
Invariant property smplace_510 does not hold.
Invariant property smplace_506 does not hold.
Invariant property smplace_505 does not hold.
Invariant property smplace_489 does not hold.
Invariant property smplace_488 does not hold.
Invariant property smplace_462 does not hold.
Invariant property smplace_451 does not hold.
Invariant property smplace_447 does not hold.
Invariant property smplace_446 does not hold.
Invariant property smplace_430 does not hold.
Invariant property smplace_429 does not hold.
Invariant property smplace_371 does not hold.
SDD proceeding with computation,690 properties remain. new max is 32
SDD size :69 after 102
Invariant property smplace_403 does not hold.
Invariant property smplace_392 does not hold.
Invariant property smplace_388 does not hold.
Invariant property smplace_387 does not hold.
Invariant property smplace_370 does not hold.
Invariant property smplace_344 does not hold.
Invariant property smplace_333 does not hold.
Invariant property smplace_329 does not hold.
Invariant property smplace_328 does not hold.
Invariant property smplace_312 does not hold.
Invariant property smplace_311 does not hold.
Invariant property smplace_285 does not hold.
Invariant property smplace_274 does not hold.
Invariant property smplace_270 does not hold.
Invariant property smplace_269 does not hold.
Invariant property smplace_253 does not hold.
Invariant property smplace_252 does not hold.
Invariant property smplace_226 does not hold.
Invariant property smplace_215 does not hold.
Invariant property smplace_211 does not hold.
Invariant property smplace_210 does not hold.
Invariant property smplace_194 does not hold.
Invariant property smplace_193 does not hold.
Invariant property smplace_167 does not hold.
Invariant property smplace_156 does not hold.
Invariant property smplace_152 does not hold.
Invariant property smplace_151 does not hold.
Invariant property smplace_135 does not hold.
Invariant property smplace_134 does not hold.
Invariant property smplace_108 does not hold.
Invariant property smplace_97 does not hold.
Invariant property smplace_93 does not hold.
Invariant property smplace_92 does not hold.
Invariant property smplace_76 does not hold.
Invariant property smplace_75 does not hold.
Invariant property smplace_73 does not hold.
Invariant property smplace_52 does not hold.
Invariant property smplace_51 does not hold.
SDD proceeding with computation,652 properties remain. new max is 32
SDD size :102 after 125
Invariant property smplace_107 does not hold.
Invariant property smplace_104 does not hold.
Invariant property smplace_103 does not hold.
Invariant property smplace_102 does not hold.
Invariant property smplace_89 does not hold.
Invariant property smplace_88 does not hold.
Invariant property smplace_83 does not hold.
Invariant property smplace_82 does not hold.
Invariant property smplace_79 does not hold.
Invariant property smplace_72 does not hold.
Invariant property smplace_69 does not hold.
Invariant property smplace_68 does not hold.
Invariant property smplace_67 does not hold.
Invariant property smplace_66 does not hold.
Invariant property smplace_63 does not hold.
Invariant property smplace_62 does not hold.
SDD proceeding with computation,636 properties remain. new max is 32
SDD size :125 after 219
Invariant property smplace_81 does not hold.
SDD proceeding with computation,635 properties remain. new max is 32
SDD size :219 after 346
SDD proceeding with computation,635 properties remain. new max is 64
SDD size :346 after 549
Invariant property smplace_96 does not hold.
Invariant property smplace_70 does not hold.
Invariant property smplace_65 does not hold.
SDD proceeding with computation,632 properties remain. new max is 64
SDD size :549 after 1225
Invariant property smplace_95 does not hold.
SDD proceeding with computation,631 properties remain. new max is 64
SDD size :1225 after 1813
SDD proceeding with computation,631 properties remain. new max is 128
SDD size :1813 after 2725
Invariant property smplace_106 does not hold.
Invariant property smplace_80 does not hold.
SDD proceeding with computation,629 properties remain. new max is 128
SDD size :2725 after 6953
SDD proceeding with computation,629 properties remain. new max is 256
SDD size :6953 after 9909
Invariant property smplace_132 does not hold.
Invariant property smplace_78 does not hold.
SDD proceeding with computation,627 properties remain. new max is 256
SDD size :9909 after 37581
SDD proceeding with computation,627 properties remain. new max is 512
SDD size :37581 after 47181
Invariant property smplace_166 does not hold.
Invariant property smplace_142 does not hold.
Invariant property smplace_131 does not hold.
SDD proceeding with computation,624 properties remain. new max is 512
SDD size :47181 after 354390
Invariant property smplace_163 does not hold.
Invariant property smplace_162 does not hold.
Invariant property smplace_161 does not hold.
Invariant property smplace_155 does not hold.
Invariant property smplace_154 does not hold.
Invariant property smplace_148 does not hold.
Invariant property smplace_147 does not hold.
Invariant property smplace_141 does not hold.
Invariant property smplace_140 does not hold.
Invariant property smplace_138 does not hold.
Invariant property smplace_129 does not hold.
Invariant property smplace_128 does not hold.
Invariant property smplace_127 does not hold.
Invariant property smplace_126 does not hold.
Invariant property smplace_125 does not hold.
Invariant property smplace_124 does not hold.
Invariant property smplace_122 does not hold.
Invariant property smplace_121 does not hold.
Invariant property smplace_105 does not hold.
Invariant property smplace_94 does not hold.
SDD proceeding with computation,604 properties remain. new max is 512
SDD size :354390 after 5.94854e+07
Detected timeout of ITS tools.
[2022-05-20 07:42:11] [INFO ] Flatten gal took : 89 ms
[2022-05-20 07:42:11] [INFO ] Applying decomposition
[2022-05-20 07:42:11] [INFO ] Flatten gal took : 72 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph10817943645926734137.txt, -o, /tmp/graph10817943645926734137.bin, -w, /tmp/graph10817943645926734137.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph10817943645926734137.bin, -l, -1, -v, -w, /tmp/graph10817943645926734137.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-05-20 07:42:11] [INFO ] Decomposing Gal with order
[2022-05-20 07:42:12] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 07:42:12] [INFO ] Removed a total of 1114 redundant transitions.
[2022-05-20 07:42:12] [INFO ] Flatten gal took : 168 ms
[2022-05-20 07:42:12] [INFO ] Fuse similar labels procedure discarded/fused a total of 344 labels/synchronizations in 48 ms.
[2022-05-20 07:42:12] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality18009169768953129557.gal : 15 ms
[2022-05-20 07:42:12] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality1746222847098184324.prop : 2 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality18009169768953129557.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality1746222847098184324.prop, --nowitness], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality18009169768953129557.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality1746222847098184324.prop --nowitness
Loading property file /tmp/ReachabilityCardinality1746222847098184324.prop.
SDD proceeding with computation,604 properties remain. new max is 4
SDD size :1 after 1
SDD proceeding with computation,604 properties remain. new max is 8
SDD size :1 after 1
SDD proceeding with computation,604 properties remain. new max is 16
SDD size :1 after 1
SDD proceeding with computation,604 properties remain. new max is 32
SDD size :1 after 1
SDD proceeding with computation,604 properties remain. new max is 64
SDD size :1 after 1
SDD proceeding with computation,604 properties remain. new max is 128
SDD size :1 after 1
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin12632977510433428466
[2022-05-20 07:42:27] [INFO ] Built C files in 53ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin12632977510433428466
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin12632977510433428466]
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin12632977510433428466] killed by timeout after 1 SECONDS
java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin12632977510433428466] killed by timeout after 1 SECONDS
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:79)
at java.base/java.lang.Thread.run(Thread.java:834)
Finished random walk after 95367 steps, including 16 resets, run visited all 604 properties in 1320 ms. (steps per millisecond=72 )
Able to resolve query StableMarking after proving 1652 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK MARKED_SUFFIX_TEST DECISION_DIAGRAMS COLLATERAL_PROCESSING TOPOLOGICAL

BK_STOP 1653032551434

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

+ 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
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -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=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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="ShieldIIPs-PT-050B"
export BK_EXAMINATION="StableMarking"
export BK_TOOL="gold2021"
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 gold2021"
echo " Input is ShieldIIPs-PT-050B, 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 r234-tall-165286037800098"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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