fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r197-tajo-165281578900074
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for RERS17pb115-PT-7

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16246.991 427819.00 737664.00 28354.80 F??T?F?TFT??FFTF normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2022-input.r197-tajo-165281578900074.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2022-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
..........................
=====================================================================
Generated by BenchKit 2-4028
Executing tool gold2021
Input is RERS17pb115-PT-7, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r197-tajo-165281578900074
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 70M
-rw-r--r-- 1 mcc users 8.0K Apr 30 06:15 CTLCardinality.txt
-rw-r--r-- 1 mcc users 92K Apr 30 06:15 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.9K Apr 30 06:11 CTLFireability.txt
-rw-r--r-- 1 mcc users 32K Apr 30 06:11 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.7K May 9 08:34 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 08:34 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.2K May 9 08:34 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 9 08:34 LTLFireability.xml
-rw-r--r-- 1 mcc users 6.2K Apr 30 06:26 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 58K Apr 30 06:26 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 13K Apr 30 06:20 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 82K Apr 30 06:20 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 08:34 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K May 9 08:34 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 2 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 69M 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 RERS17pb115-PT-7-ReachabilityCardinality-00
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-01
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-02
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-03
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-04
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-05
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-06
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-07
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-08
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-09
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-10
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-11
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-12
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-13
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-14
FORMULA_NAME RERS17pb115-PT-7-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655098852346

Running Version 0
[2022-06-13 05:40:56] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -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-13 05:40:56] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-13 05:40:58] [INFO ] Load time of PNML (sax parser for PT used): 2815 ms
[2022-06-13 05:40:59] [INFO ] Transformed 1399 places.
[2022-06-13 05:40:59] [INFO ] Transformed 144369 transitions.
[2022-06-13 05:40:59] [INFO ] Parsed PT model containing 1399 places and 144369 transitions in 3562 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 14 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1434 ms. (steps per millisecond=6 ) properties (out of 16) seen :3
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 134 ms. (steps per millisecond=74 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 183 ms. (steps per millisecond=54 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 177 ms. (steps per millisecond=56 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 151 ms. (steps per millisecond=66 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 134 ms. (steps per millisecond=74 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 179 ms. (steps per millisecond=55 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 151 ms. (steps per millisecond=66 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 108 ms. (steps per millisecond=92 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 158 ms. (steps per millisecond=63 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 113 ms. (steps per millisecond=88 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 104 ms. (steps per millisecond=96 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 120 ms. (steps per millisecond=83 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 130 ms. (steps per millisecond=76 ) properties (out of 13) seen :0
Running SMT prover for 13 properties.
[2022-06-13 05:41:04] [INFO ] Flow matrix only has 81238 transitions (discarded 63131 similar events)
// Phase 1: matrix 81238 rows 1399 cols
[2022-06-13 05:41:05] [INFO ] Computed 37 place invariants in 731 ms
[2022-06-13 05:41:06] [INFO ] [Real]Absence check using 19 positive place invariants in 20 ms returned sat
[2022-06-13 05:41:06] [INFO ] [Real]Absence check using 19 positive and 18 generalized place invariants in 3 ms returned sat
[2022-06-13 05:41:06] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:13
[2022-06-13 05:41:06] [INFO ] [Nat]Absence check using 19 positive place invariants in 18 ms returned sat
[2022-06-13 05:41:06] [INFO ] [Nat]Absence check using 19 positive and 18 generalized place invariants in 3 ms returned sat
[2022-06-13 05:41:06] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-13 05:41:31] [INFO ] [Nat]Absence check using state equation in 24630 ms returned unsat :1 sat :12
[2022-06-13 05:41:37] [INFO ] State equation strengthened by 2277 read => feed constraints.
[2022-06-13 05:41:37] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-03 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 13 Parikh solutions to 1 different solutions.
Support contains 115 out of 1399 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1399/1399 places, 144369/144369 transitions.
Ensure Unique test removed 18 places
Iterating post reduction 0 with 18 rules applied. Total rules applied 18 place count 1381 transition count 144369
Applied a total of 18 rules in 2918 ms. Remains 1381 /1399 variables (removed 18) and now considering 144369/144369 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 1381/1399 places, 144369/144369 transitions.
[2022-06-13 05:41:49] [INFO ] Flatten gal took : 6151 ms
[2022-06-13 05:41:53] [INFO ] Flatten gal took : 4421 ms
[2022-06-13 05:41:54] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality3095614557116577174.gal : 471 ms
[2022-06-13 05:41:54] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality11826739745260164062.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/ReachabilityCardinality3095614557116577174.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality11826739745260164062.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/ReachabilityCardinality3095614557116577174.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality11826739745260164062.prop --nowitness --gen-order FOLLOW
Detected timeout of ITS tools.
[2022-06-13 05:42:14] [INFO ] Flatten gal took : 4294 ms
[2022-06-13 05:42:14] [INFO ] Applying decomposition
[2022-06-13 05:42:18] [INFO ] Flatten gal took : 4189 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/graph231419973920573690.txt, -o, /tmp/graph231419973920573690.bin, -w, /tmp/graph231419973920573690.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/graph231419973920573690.bin, -l, -1, -v, -w, /tmp/graph231419973920573690.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-13 05:42:31] [INFO ] Decomposing Gal with order
[2022-06-13 05:42:31] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-13 05:42:44] [INFO ] Removed a total of 435310 redundant transitions.
[2022-06-13 05:42:45] [INFO ] Flatten gal took : 8577 ms
[2022-06-13 05:43:30] [INFO ] Fuse similar labels procedure discarded/fused a total of 2803 labels/synchronizations in 32278 ms.
[2022-06-13 05:43:34] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality5813774834752498909.gal : 385 ms
[2022-06-13 05:43:34] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality18200646026278263461.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/ReachabilityCardinality5813774834752498909.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality18200646026278263461.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/ReachabilityCardinality5813774834752498909.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality18200646026278263461.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality18200646026278263461.prop.
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin5193215816969127900
[2022-06-13 05:43:51] [INFO ] Built C files in 1386ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin5193215816969127900
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/ltsmin5193215816969127900]
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/ltsmin5193215816969127900] 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/ltsmin5193215816969127900] 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 177150 steps, including 0 resets, run timeout after 30622 ms. (steps per millisecond=5 ) properties seen :{4=1, 9=1}
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Interrupted Best-First random walk after 916329 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=183 ) properties seen :{0=1}
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 342922 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=68 ) properties seen :{}
Interrupted Best-First random walk after 583597 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=116 ) properties seen :{}
Interrupted Best-First random walk after 727101 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=145 ) properties seen :{}
Interrupted Best-First random walk after 512228 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=102 ) properties seen :{}
Interrupted Best-First random walk after 704263 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=140 ) properties seen :{}
Interrupted Best-First random walk after 888303 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=177 ) properties seen :{}
Interrupted Best-First random walk after 696416 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=139 ) properties seen :{6=1}
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 912037 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=182 ) properties seen :{6=1}
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 951893 steps, including 2 resets, run timeout after 5001 ms. (steps per millisecond=190 ) properties seen :{6=1}
FORMULA RERS17pb115-PT-7-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Running SMT prover for 6 properties.
[2022-06-13 05:45:15] [INFO ] Flow matrix only has 81238 transitions (discarded 63131 similar events)
// Phase 1: matrix 81238 rows 1381 cols
[2022-06-13 05:45:16] [INFO ] Computed 19 place invariants in 797 ms
[2022-06-13 05:45:17] [INFO ] [Real]Absence check using 19 positive place invariants in 18 ms returned sat
[2022-06-13 05:45:17] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:6
[2022-06-13 05:45:18] [INFO ] [Nat]Absence check using 19 positive place invariants in 34 ms returned sat
[2022-06-13 05:45:18] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-13 05:45:48] [INFO ] [Nat]Absence check using state equation in 30559 ms returned unsat :0 sat :6
[2022-06-13 05:45:51] [INFO ] State equation strengthened by 2277 read => feed constraints.
[2022-06-13 05:47:23] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
Fused 6 Parikh solutions to 1 different solutions.
Support contains 47 out of 1381 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1381/1381 places, 144369/144369 transitions.
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 0 with 1 rules applied. Total rules applied 1 place count 1380 transition count 144368
Applied a total of 1 rules in 3596 ms. Remains 1380 /1381 variables (removed 1) and now considering 144368/144369 (removed 1) transitions.
Finished structural reductions, in 1 iterations. Remains : 1380/1381 places, 144368/144369 transitions.
[2022-06-13 05:47:32] [INFO ] Flatten gal took : 4754 ms
[2022-06-13 05:47:39] [INFO ] Flatten gal took : 7490 ms
[2022-06-13 05:47:40] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality5899265281341337130.gal : 548 ms
[2022-06-13 05:47:40] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality14046058427499066092.prop : 5 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/ReachabilityCardinality5899265281341337130.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality14046058427499066092.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/ReachabilityCardinality5899265281341337130.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality14046058427499066092.prop --nowitness --gen-order FOLLOW
ITS-tools command line returned an error code 137
[2022-06-13 05:47:50] [INFO ] Flatten gal took : 4886 ms
[2022-06-13 05:47:50] [INFO ] Applying decomposition
[2022-06-13 05:47:55] [INFO ] Flatten gal took : 4449 ms

BK_STOP 1655099280165

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -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 ReachabilityCardinality -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="RERS17pb115-PT-7"
export BK_EXAMINATION="ReachabilityCardinality"
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 RERS17pb115-PT-7, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r197-tajo-165281578900074"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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