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

About the Execution of 2021-gold for BridgeAndVehicles-PT-V20P20N50

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
854.571 44768.00 57385.00 389.20 T 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.r029-tall-165251940300138.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 BridgeAndVehicles-PT-V20P20N50, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r029-tall-165251940300138
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 3.4M
-rw-r--r-- 1 mcc users 18K Apr 29 23:18 CTLCardinality.txt
-rw-r--r-- 1 mcc users 112K Apr 29 23:18 CTLCardinality.xml
-rw-r--r-- 1 mcc users 175K Apr 29 23:16 CTLFireability.txt
-rw-r--r-- 1 mcc users 671K Apr 29 23:16 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.1K May 9 07:07 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 9 07:07 LTLCardinality.xml
-rw-r--r-- 1 mcc users 123K May 9 07:07 LTLFireability.txt
-rw-r--r-- 1 mcc users 359K May 9 07:07 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.9K May 9 07:07 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K May 9 07:07 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 10 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 1.9M May 10 09:33 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 1652537630992

Running Version 0
[2022-05-14 14:13:52] [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-14 14:13:52] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-14 14:13:52] [INFO ] Load time of PNML (sax parser for PT used): 157 ms
[2022-05-14 14:13:52] [INFO ] Transformed 108 places.
[2022-05-14 14:13:52] [INFO ] Transformed 2228 transitions.
[2022-05-14 14:13:52] [INFO ] Parsed PT model containing 108 places and 2228 transitions in 218 ms.
Incomplete random walk after 10000 steps, including 57 resets, run finished after 211 ms. (steps per millisecond=47 ) properties (out of 108) seen :79
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 29) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 29) seen :0
Running SMT prover for 29 properties.
[2022-05-14 14:13:53] [INFO ] Flow matrix only has 290 transitions (discarded 1938 similar events)
// Phase 1: matrix 290 rows 108 cols
[2022-05-14 14:13:53] [INFO ] Computed 7 place invariants in 17 ms
[2022-05-14 14:13:53] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:29
[2022-05-14 14:13:53] [INFO ] [Nat]Absence check using 7 positive place invariants in 7 ms returned sat
[2022-05-14 14:13:53] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-14 14:13:54] [INFO ] [Nat]Absence check using state equation in 344 ms returned unsat :0 sat :29
[2022-05-14 14:13:54] [INFO ] State equation strengthened by 102 read => feed constraints.
[2022-05-14 14:13:54] [INFO ] [Nat]Added 102 Read/Feed constraints in 14 ms returned sat
Attempting to minimize the solution found.
Minimization took 345 ms.
[2022-05-14 14:13:54] [INFO ] SMT Verify possible in nat domain returned unsat :0 sat :29
Incomplete Parikh walk after 64500 steps, including 1573 resets, run finished after 308 ms. (steps per millisecond=209 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 95740 steps, including 2335 resets, run finished after 411 ms. (steps per millisecond=232 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 64570 steps, including 1574 resets, run finished after 270 ms. (steps per millisecond=239 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 95790 steps, including 2336 resets, run finished after 394 ms. (steps per millisecond=243 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 64620 steps, including 1576 resets, run finished after 260 ms. (steps per millisecond=248 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 95840 steps, including 2337 resets, run finished after 386 ms. (steps per millisecond=248 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 64670 steps, including 1577 resets, run finished after 260 ms. (steps per millisecond=248 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 95890 steps, including 2338 resets, run finished after 382 ms. (steps per millisecond=251 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 64720 steps, including 1578 resets, run finished after 254 ms. (steps per millisecond=254 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 95940 steps, including 2340 resets, run finished after 393 ms. (steps per millisecond=244 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 64770 steps, including 1579 resets, run finished after 254 ms. (steps per millisecond=255 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 95990 steps, including 2341 resets, run finished after 423 ms. (steps per millisecond=226 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 64820 steps, including 1580 resets, run finished after 280 ms. (steps per millisecond=231 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 96040 steps, including 2342 resets, run finished after 404 ms. (steps per millisecond=237 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 64870 steps, including 1582 resets, run finished after 262 ms. (steps per millisecond=247 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 96090 steps, including 2343 resets, run finished after 410 ms. (steps per millisecond=234 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 64920 steps, including 1583 resets, run finished after 281 ms. (steps per millisecond=231 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 96140 steps, including 2344 resets, run finished after 424 ms. (steps per millisecond=226 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 64970 steps, including 1584 resets, run finished after 282 ms. (steps per millisecond=230 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 96190 steps, including 2346 resets, run finished after 417 ms. (steps per millisecond=230 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 65020 steps, including 1585 resets, run finished after 285 ms. (steps per millisecond=228 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 96240 steps, including 2347 resets, run finished after 428 ms. (steps per millisecond=224 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 65070 steps, including 1587 resets, run finished after 297 ms. (steps per millisecond=219 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 96290 steps, including 2348 resets, run finished after 421 ms. (steps per millisecond=228 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 65120 steps, including 1588 resets, run finished after 282 ms. (steps per millisecond=230 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 96340 steps, including 2349 resets, run finished after 416 ms. (steps per millisecond=231 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 65170 steps, including 1589 resets, run finished after 286 ms. (steps per millisecond=227 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 96390 steps, including 2350 resets, run finished after 415 ms. (steps per millisecond=232 ) properties (out of 29) seen :0 could not realise parikh vector
Incomplete Parikh walk after 65220 steps, including 1590 resets, run finished after 277 ms. (steps per millisecond=235 ) properties (out of 29) seen :0 could not realise parikh vector
Support contains 29 out of 108 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 108/108 places, 2228/2228 transitions.
Graph (complete) has 882 edges and 108 vertex of which 106 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.13 ms
Discarding 2 places :
Also discarding 0 output transitions
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 2 place count 105 transition count 2227
Iterating global reduction 0 with 1 rules applied. Total rules applied 3 place count 105 transition count 2227
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 3 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 3 rules applied. Total rules applied 6 place count 103 transition count 2226
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 5 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 10 place count 101 transition count 2224
Applied a total of 10 rules in 487 ms. Remains 101 /108 variables (removed 7) and now considering 2224/2228 (removed 4) transitions.
Finished structural reductions, in 1 iterations. Remains : 101/108 places, 2224/2228 transitions.
[2022-05-14 14:14:05] [INFO ] Flatten gal took : 304 ms
[2022-05-14 14:14:05] [INFO ] Flatten gal took : 136 ms
[2022-05-14 14:14:06] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6099723790385331565.gal : 53 ms
[2022-05-14 14:14:06] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality3895599995725205809.prop : 1 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/ReachabilityCardinality6099723790385331565.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality3895599995725205809.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/ReachabilityCardinality6099723790385331565.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality3895599995725205809.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality3895599995725205809.prop.
SDD proceeding with computation,29 properties remain. new max is 4
SDD size :1 after 2
SDD proceeding with computation,29 properties remain. new max is 8
SDD size :2 after 6
SDD proceeding with computation,29 properties remain. new max is 16
SDD size :6 after 12
SDD proceeding with computation,29 properties remain. new max is 32
SDD size :12 after 20
SDD proceeding with computation,29 properties remain. new max is 64
SDD size :20 after 30
SDD proceeding with computation,29 properties remain. new max is 128
SDD size :30 after 56
SDD proceeding with computation,29 properties remain. new max is 256
SDD size :56 after 110
SDD proceeding with computation,29 properties remain. new max is 512
SDD size :110 after 240
SDD proceeding with computation,29 properties remain. new max is 1024
SDD size :924 after 934
SDD proceeding with computation,29 properties remain. new max is 2048
SDD size :934 after 1130
Detected timeout of ITS tools.
[2022-05-14 14:14:21] [INFO ] Flatten gal took : 93 ms
[2022-05-14 14:14:21] [INFO ] Applying decomposition
[2022-05-14 14:14:21] [INFO ] Flatten gal took : 73 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/graph15411433312015187609.txt, -o, /tmp/graph15411433312015187609.bin, -w, /tmp/graph15411433312015187609.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/graph15411433312015187609.bin, -l, -1, -v, -w, /tmp/graph15411433312015187609.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-05-14 14:14:21] [INFO ] Decomposing Gal with order
[2022-05-14 14:14:21] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-14 14:14:22] [INFO ] Removed a total of 4275 redundant transitions.
[2022-05-14 14:14:22] [INFO ] Flatten gal took : 767 ms
[2022-05-14 14:14:22] [INFO ] Fuse similar labels procedure discarded/fused a total of 297 labels/synchronizations in 32 ms.
[2022-05-14 14:14:22] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6787580340800862173.gal : 2 ms
[2022-05-14 14:14:22] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality13161753224191537110.prop : 0 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/ReachabilityCardinality6787580340800862173.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality13161753224191537110.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/ReachabilityCardinality6787580340800862173.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality13161753224191537110.prop --nowitness
Loading property file /tmp/ReachabilityCardinality13161753224191537110.prop.
SDD proceeding with computation,29 properties remain. new max is 4
SDD size :1 after 16
SDD proceeding with computation,29 properties remain. new max is 8
SDD size :16 after 41
SDD proceeding with computation,29 properties remain. new max is 16
SDD size :41 after 86
SDD proceeding with computation,29 properties remain. new max is 32
SDD size :86 after 123
SDD proceeding with computation,29 properties remain. new max is 64
SDD size :123 after 176
SDD proceeding with computation,29 properties remain. new max is 128
SDD size :176 after 887
SDD proceeding with computation,29 properties remain. new max is 256
SDD size :887 after 2140
SDD proceeding with computation,29 properties remain. new max is 512
SDD size :2140 after 5819
SDD proceeding with computation,29 properties remain. new max is 1024
SDD size :15075 after 24294
SDD proceeding with computation,29 properties remain. new max is 2048
SDD size :204635 after 204920
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst\_mod\_flat,1.48936e+06,11.8468,262344,1342,6925,116222,281342,183,355401,426,2.63751e+06,0
Total reachable state count : 1489362

Verifying 29 reachability properties.
Invariant property smplace_79 is true.
FORMULA StableMarking TRUE TECHNIQUES RANDOM_WALK DECISION_DIAGRAMS COLLATERAL_PROCESSING TOPOLOGICAL USE_NUPN
ITS tools runner thread asked to quit. Dying gracefully.

BK_STOP 1652537675760

--------------------
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="BridgeAndVehicles-PT-V20P20N50"
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 BridgeAndVehicles-PT-V20P20N50, 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 r029-tall-165251940300138"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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