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

About the Execution of 2021-gold for HypertorusGrid-PT-d4k3p2b08

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
2689.220 121075.00 212674.00 751.10 TFTFTTTTTTFFTTFT 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.r143-tall-165271830100024.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 HypertorusGrid-PT-d4k3p2b08, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r143-tall-165271830100024
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 3.3M
-rw-r--r-- 1 mcc users 9.2K Apr 30 09:06 CTLCardinality.txt
-rw-r--r-- 1 mcc users 80K Apr 30 09:06 CTLCardinality.xml
-rw-r--r-- 1 mcc users 9.2K Apr 30 08:57 CTLFireability.txt
-rw-r--r-- 1 mcc users 67K Apr 30 08:57 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.6K May 9 08:05 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 9 08:05 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.2K May 9 08:05 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 9 08:05 LTLFireability.xml
-rw-r--r-- 1 mcc users 17K Apr 30 09:50 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 138K Apr 30 09:50 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 14K Apr 30 09:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 84K Apr 30 09:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K May 9 08:05 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K May 9 08:05 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 10 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rwxr-xr-x 1 mcc users 2.8M 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

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

=== Now, execution of the tool begins

BK_START 1655068531184

Running Version 0
[2022-06-12 21:15:32] [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:15:32] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:15:33] [INFO ] Load time of PNML (sax parser for PT used): 198 ms
[2022-06-12 21:15:33] [INFO ] Transformed 2025 places.
[2022-06-12 21:15:33] [INFO ] Transformed 5184 transitions.
[2022-06-12 21:15:33] [INFO ] Parsed PT model containing 2025 places and 5184 transitions in 266 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 13 ms.
Working with output stream class java.io.PrintStream
[2022-06-12 21:15:33] [INFO ] Initial state test concluded for 1 properties.
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1840 ms. (steps per millisecond=5 ) properties (out of 15) seen :9
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-11 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 244 ms. (steps per millisecond=40 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 239 ms. (steps per millisecond=41 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 228 ms. (steps per millisecond=43 ) properties (out of 6) seen :1
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 229 ms. (steps per millisecond=43 ) properties (out of 5) seen :1
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 220 ms. (steps per millisecond=45 ) properties (out of 4) seen :1
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 226 ms. (steps per millisecond=44 ) properties (out of 3) seen :1
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Running SMT prover for 2 properties.
// Phase 1: matrix 5184 rows 2025 cols
[2022-06-12 21:15:36] [INFO ] Computed 730 place invariants in 357 ms
[2022-06-12 21:15:37] [INFO ] [Real]Absence check using 729 positive place invariants in 214 ms returned sat
[2022-06-12 21:15:37] [INFO ] [Real]Absence check using 729 positive and 1 generalized place invariants in 10 ms returned sat
[2022-06-12 21:15:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:15:39] [INFO ] [Real]Absence check using state equation in 1631 ms returned sat
[2022-06-12 21:15:39] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:15:39] [INFO ] [Nat]Absence check using 729 positive place invariants in 170 ms returned sat
[2022-06-12 21:15:39] [INFO ] [Nat]Absence check using 729 positive and 1 generalized place invariants in 45 ms returned sat
[2022-06-12 21:15:39] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:15:41] [INFO ] [Nat]Absence check using state equation in 1475 ms returned sat
[2022-06-12 21:15:41] [INFO ] Computed and/alt/rep : 4536/4536/4536 causal constraints (skipped 0 transitions) in 283 ms.
[2022-06-12 21:15:44] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream close... while checking expression at index 0
[2022-06-12 21:15:44] [INFO ] [Real]Absence check using 729 positive place invariants in 163 ms returned sat
[2022-06-12 21:15:44] [INFO ] [Real]Absence check using 729 positive and 1 generalized place invariants in 45 ms returned sat
[2022-06-12 21:15:44] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:15:46] [INFO ] [Real]Absence check using state equation in 1525 ms returned sat
[2022-06-12 21:15:46] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:15:46] [INFO ] [Nat]Absence check using 729 positive place invariants in 154 ms returned sat
[2022-06-12 21:15:46] [INFO ] [Nat]Absence check using 729 positive and 1 generalized place invariants in 40 ms returned sat
[2022-06-12 21:15:46] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:15:48] [INFO ] [Nat]Absence check using state equation in 1499 ms returned sat
[2022-06-12 21:15:48] [INFO ] Computed and/alt/rep : 4536/4536/4536 causal constraints (skipped 0 transitions) in 236 ms.
[2022-06-12 21:15:51] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream close... while checking expression at index 1
Fused 2 Parikh solutions to 1 different solutions.
Support contains 79 out of 2025 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 2025/2025 places, 5184/5184 transitions.
Applied a total of 0 rules in 341 ms. Remains 2025 /2025 variables (removed 0) and now considering 5184/5184 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 2025/2025 places, 5184/5184 transitions.
[2022-06-12 21:15:52] [INFO ] Flatten gal took : 415 ms
[2022-06-12 21:15:52] [INFO ] Flatten gal took : 215 ms
[2022-06-12 21:15:52] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6782337236799382115.gal : 70 ms
[2022-06-12 21:15:52] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality7502332535120533525.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/ReachabilityCardinality6782337236799382115.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality7502332535120533525.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/ReachabilityCardinality6782337236799382115.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality7502332535120533525.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality7502332535120533525.prop.
SDD proceeding with computation,2 properties remain. new max is 4
SDD size :1 after 4
SDD proceeding with computation,2 properties remain. new max is 8
SDD size :4 after 48
SDD proceeding with computation,2 properties remain. new max is 16
SDD size :48 after 76
SDD proceeding with computation,2 properties remain. new max is 32
SDD size :76 after 448
SDD proceeding with computation,2 properties remain. new max is 64
SDD size :448 after 5402
SDD proceeding with computation,2 properties remain. new max is 128
SDD size :5402 after 53076
SDD proceeding with computation,2 properties remain. new max is 256
SDD size :53076 after 64504
SDD proceeding with computation,2 properties remain. new max is 512
SDD size :64504 after 90846
SDD proceeding with computation,2 properties remain. new max is 1024
SDD size :90846 after 984557
SDD proceeding with computation,2 properties remain. new max is 2048
SDD size :984557 after 1.0738e+06
Detected timeout of ITS tools.
[2022-06-12 21:16:07] [INFO ] Flatten gal took : 224 ms
[2022-06-12 21:16:07] [INFO ] Applying decomposition
[2022-06-12 21:16:08] [INFO ] Flatten gal took : 188 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/graph10067550137272580852.txt, -o, /tmp/graph10067550137272580852.bin, -w, /tmp/graph10067550137272580852.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/graph10067550137272580852.bin, -l, -1, -v, -w, /tmp/graph10067550137272580852.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 21:16:08] [INFO ] Decomposing Gal with order
[2022-06-12 21:16:08] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-12 21:16:09] [INFO ] Removed a total of 7776 redundant transitions.
[2022-06-12 21:16:09] [INFO ] Flatten gal took : 481 ms
[2022-06-12 21:16:09] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 30 ms.
[2022-06-12 21:16:09] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality78641048293585104.gal : 35 ms
[2022-06-12 21:16:09] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality755072715902902250.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/ReachabilityCardinality78641048293585104.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality755072715902902250.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/ReachabilityCardinality78641048293585104.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality755072715902902250.prop --nowitness
Loading property file /tmp/ReachabilityCardinality755072715902902250.prop.
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin13537180578846001366
[2022-06-12 21:16:25] [INFO ] Built C files in 79ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin13537180578846001366
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/ltsmin13537180578846001366]
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/ltsmin13537180578846001366] 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/ltsmin13537180578846001366] 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)
Interrupted random walk after 212809 steps, including 1 resets, run timeout after 30001 ms. (steps per millisecond=7 ) properties seen :{}
Interrupted Best-First random walk after 209728 steps, including 0 resets, run timeout after 5004 ms. (steps per millisecond=41 ) properties seen :{}
Interrupted Best-First random walk after 216122 steps, including 0 resets, run timeout after 5001 ms. (steps per millisecond=43 ) properties seen :{1=1}
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Running SMT prover for 1 properties.
// Phase 1: matrix 5184 rows 2025 cols
[2022-06-12 21:17:06] [INFO ] Computed 730 place invariants in 100 ms
[2022-06-12 21:17:06] [INFO ] [Real]Absence check using 729 positive place invariants in 190 ms returned sat
[2022-06-12 21:17:06] [INFO ] [Real]Absence check using 729 positive and 1 generalized place invariants in 7 ms returned sat
[2022-06-12 21:17:06] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:17:08] [INFO ] [Real]Absence check using state equation in 1661 ms returned sat
[2022-06-12 21:17:08] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:17:08] [INFO ] [Nat]Absence check using 729 positive place invariants in 163 ms returned sat
[2022-06-12 21:17:08] [INFO ] [Nat]Absence check using 729 positive and 1 generalized place invariants in 39 ms returned sat
[2022-06-12 21:17:08] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:17:10] [INFO ] [Nat]Absence check using state equation in 1567 ms returned sat
[2022-06-12 21:17:10] [INFO ] Computed and/alt/rep : 4536/4536/4536 causal constraints (skipped 0 transitions) in 279 ms.
[2022-06-12 21:17:30] [INFO ] Added : 495 causal constraints over 99 iterations in 20038 ms.(timeout) Result :sat
Finished Parikh walk after 1123 steps, including 0 resets, run visited all 1 properties in 215 ms. (steps per millisecond=5 )
FORMULA HypertorusGrid-PT-d4k3p2b08-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
All properties solved without resorting to model-checking.

BK_STOP 1655068652259

--------------------
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
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
++ cut -d . -f 9
+ 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="HypertorusGrid-PT-d4k3p2b08"
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 HypertorusGrid-PT-d4k3p2b08, 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 r143-tall-165271830100024"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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