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

About the Execution of 2021-gold for BridgeAndVehicles-COL-V20P10N10

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
614.004 57854.00 83681.00 536.50 FFTFTFFTFTFTTTFF 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.r028-tall-165251935900009.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-COL-V20P10N10, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r028-tall-165251935900009
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 564K
-rw-r--r-- 1 mcc users 7.3K Apr 29 22:45 CTLCardinality.txt
-rw-r--r-- 1 mcc users 69K Apr 29 22:45 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.8K Apr 29 22:43 CTLFireability.txt
-rw-r--r-- 1 mcc users 56K Apr 29 22:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.8K May 9 07:06 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K May 9 07:06 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K May 9 07:07 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 07:07 LTLFireability.xml
-rw-r--r-- 1 mcc users 15K Apr 29 22:57 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 143K Apr 29 22:57 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 15K Apr 29 22:55 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 113K Apr 29 22:55 ReachabilityFireability.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_pt
-rw-r--r-- 1 mcc users 10 May 10 09:33 instance
-rw-r--r-- 1 mcc users 5 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 39K 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

here is the order used to build the result vector(from text file)
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-00
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-01
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-02
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-03
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-04
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-05
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-06
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-07
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-08
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-09
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-10
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-11
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-12
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-13
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-14
FORMULA_NAME BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1655068388616

Running Version 0
[2022-06-12 21:13:10] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -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, 3600]
[2022-06-12 21:13:10] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:13:10] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
[2022-06-12 21:13:10] [WARNING] Using fallBack plugin, rng conformance not checked
[2022-06-12 21:13:10] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 574 ms
[2022-06-12 21:13:10] [INFO ] Imported 15 HL places and 11 HL transitions for a total of 68 PT places and 19578.0 transition bindings in 17 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 16 ms.
Working with output stream class java.io.PrintStream
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2022-06-12 21:13:11] [INFO ] Built PT skeleton of HLPN with 15 places and 11 transitions in 3 ms.
[2022-06-12 21:13:11] [INFO ] Skeletonized HLPN properties in 1 ms.
Successfully produced net in file /tmp/petri1000_17701403320231703918.dot
Reduce places removed 3 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce redundant transitions removed 1 transitions.
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 1 ms. (steps per millisecond=0 )
[2022-06-12 21:13:11] [INFO ] Flatten gal took : 15 ms
[2022-06-12 21:13:11] [INFO ] Flatten gal took : 2 ms
[2022-06-12 21:13:11] [INFO ] Unfolded HLPN to a Petri net with 68 places and 548 transitions in 19 ms.
[2022-06-12 21:13:11] [INFO ] Unfolded HLPN properties in 2 ms.
Successfully produced net in file /tmp/petri1001_14082466362328402057.dot
[2022-06-12 21:13:11] [INFO ] Initial state test concluded for 1 properties.
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 56 resets, run finished after 314 ms. (steps per millisecond=31 ) properties (out of 14) seen :8
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10000 steps, including 22 resets, run finished after 529 ms. (steps per millisecond=18 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10000 steps, including 26 resets, run finished after 307 ms. (steps per millisecond=32 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10000 steps, including 22 resets, run finished after 535 ms. (steps per millisecond=18 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 23 resets, run finished after 739 ms. (steps per millisecond=13 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10000 steps, including 20 resets, run finished after 717 ms. (steps per millisecond=13 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10000 steps, including 23 resets, run finished after 197 ms. (steps per millisecond=50 ) properties (out of 6) seen :0
Running SMT prover for 6 properties.
[2022-06-12 21:13:14] [INFO ] Flow matrix only has 130 transitions (discarded 418 similar events)
// Phase 1: matrix 130 rows 68 cols
[2022-06-12 21:13:14] [INFO ] Computed 7 place invariants in 16 ms
[2022-06-12 21:13:14] [INFO ] [Real]Absence check using 7 positive place invariants in 8 ms returned unsat
[2022-06-12 21:13:14] [INFO ] [Real]Absence check using 7 positive place invariants in 4 ms returned unsat
[2022-06-12 21:13:14] [INFO ] [Real]Absence check using 7 positive place invariants in 4 ms returned unsat
[2022-06-12 21:13:14] [INFO ] [Real]Absence check using 7 positive place invariants in 5 ms returned unsat
[2022-06-12 21:13:14] [INFO ] [Real]Absence check using 7 positive place invariants in 6 ms returned sat
[2022-06-12 21:13:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:13:14] [INFO ] [Real]Absence check using state equation in 34 ms returned sat
[2022-06-12 21:13:14] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:13:15] [INFO ] [Nat]Absence check using 7 positive place invariants in 5 ms returned sat
[2022-06-12 21:13:15] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:13:15] [INFO ] [Nat]Absence check using state equation in 37 ms returned sat
[2022-06-12 21:13:15] [INFO ] State equation strengthened by 22 read => feed constraints.
[2022-06-12 21:13:15] [INFO ] [Nat]Added 22 Read/Feed constraints in 7 ms returned sat
[2022-06-12 21:13:15] [INFO ] Deduced a trap composed of 5 places in 54 ms of which 2 ms to minimize.
[2022-06-12 21:13:15] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 83 ms
[2022-06-12 21:13:15] [INFO ] Computed and/alt/rep : 50/98/50 causal constraints (skipped 77 transitions) in 33 ms.
[2022-06-12 21:13:15] [INFO ] Added : 43 causal constraints over 12 iterations in 258 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 8 ms.
[2022-06-12 21:13:15] [INFO ] [Real]Absence check using 7 positive place invariants in 3 ms returned unsat
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-14 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-04 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-01 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-00 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 6 Parikh solutions to 1 different solutions.
Incomplete Parikh walk after 55000 steps, including 1016 resets, run finished after 748 ms. (steps per millisecond=73 ) properties (out of 1) seen :0 could not realise parikh vector
Support contains 62 out of 68 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 68/68 places, 548/548 transitions.
Graph (complete) has 562 edges and 68 vertex of which 66 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.4 ms
Discarding 2 places :
Also discarding 0 output transitions
Applied a total of 1 rules in 50 ms. Remains 66 /68 variables (removed 2) and now considering 548/548 (removed 0) transitions.
[2022-06-12 21:13:16] [INFO ] Flow matrix only has 130 transitions (discarded 418 similar events)
// Phase 1: matrix 130 rows 66 cols
[2022-06-12 21:13:16] [INFO ] Computed 5 place invariants in 5 ms
[2022-06-12 21:13:16] [INFO ] Dead Transitions using invariants and state equation in 186 ms returned []
Finished structural reductions, in 1 iterations. Remains : 66/68 places, 548/548 transitions.
[2022-06-12 21:13:16] [INFO ] Flatten gal took : 56 ms
[2022-06-12 21:13:16] [INFO ] Flatten gal took : 48 ms
[2022-06-12 21:13:16] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality13983610620047944228.gal : 17 ms
[2022-06-12 21:13:16] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality5080056042720283903.prop : 8 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/ReachabilityCardinality13983610620047944228.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality5080056042720283903.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/ReachabilityCardinality13983610620047944228.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality5080056042720283903.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality5080056042720283903.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 2
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :2 after 8
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :8 after 20
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :20 after 40
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :40 after 70
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :70 after 168
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :168 after 561
SDD proceeding with computation,1 properties remain. new max is 512
SDD size :561 after 1982
SDD proceeding with computation,1 properties remain. new max is 1024
SDD size :4992 after 5338
SDD proceeding with computation,1 properties remain. new max is 2048
SDD size :5338 after 5851
Detected timeout of ITS tools.
[2022-06-12 21:13:31] [INFO ] Flatten gal took : 45 ms
[2022-06-12 21:13:31] [INFO ] Applying decomposition
[2022-06-12 21:13:31] [INFO ] Flatten gal took : 44 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/graph13995393678042407771.txt, -o, /tmp/graph13995393678042407771.bin, -w, /tmp/graph13995393678042407771.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/graph13995393678042407771.bin, -l, -1, -v, -w, /tmp/graph13995393678042407771.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 21:13:32] [INFO ] Decomposing Gal with order
[2022-06-12 21:13:32] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-12 21:13:32] [INFO ] Removed a total of 1101 redundant transitions.
[2022-06-12 21:13:32] [INFO ] Flatten gal took : 271 ms
[2022-06-12 21:13:32] [INFO ] Fuse similar labels procedure discarded/fused a total of 223 labels/synchronizations in 15 ms.
[2022-06-12 21:13:32] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality10114367877524891586.gal : 2 ms
[2022-06-12 21:13:32] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality15651142205209540416.prop : 16 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/ReachabilityCardinality10114367877524891586.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality15651142205209540416.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/ReachabilityCardinality10114367877524891586.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality15651142205209540416.prop --nowitness
Loading property file /tmp/ReachabilityCardinality15651142205209540416.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :124 after 182
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :182 after 198
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :6220 after 6221
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin3883928953052671988
[2022-06-12 21:13:47] [INFO ] Built C files in 36ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin3883928953052671988
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/ltsmin3883928953052671988]
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/ltsmin3883928953052671988] 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/ltsmin3883928953052671988] 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)
Incomplete random walk after 1000000 steps, including 5633 resets, run finished after 9061 ms. (steps per millisecond=110 ) properties (out of 1) seen :0
Interrupted Best-First random walk after 72161 steps, including 149 resets, run timeout after 5001 ms. (steps per millisecond=14 ) properties seen :{}
Finished probabilistic random walk after 499275 steps, run visited all 1 properties in 2692 ms. (steps per millisecond=185 )
Probabilistic random walk after 499275 steps, saw 124764 distinct states, run finished after 2693 ms. (steps per millisecond=185 ) properties seen :{0=1}
FORMULA BridgeAndVehicles-COL-V20P10N10-ReachabilityFireability-10 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
All properties solved without resorting to model-checking.

BK_STOP 1655068446470

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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 ReachabilityFireability -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 3600 -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-COL-V20P10N10"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="gold2021"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
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-COL-V20P10N10, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r028-tall-165251935900009"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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