fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r362-smll-167891812600294
Last Updated
May 14, 2023

About the Execution of Marcie+red for SafeBus-PT-20

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
5672.483 3600000.00 3647300.00 10147.20 TFTTFFFFFFTFTTFF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r362-smll-167891812600294.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool marciexred
Input is SafeBus-PT-20, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r362-smll-167891812600294
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 21M
-rw-r--r-- 1 mcc users 94K Feb 26 02:45 CTLCardinality.txt
-rw-r--r-- 1 mcc users 478K Feb 26 02:45 CTLCardinality.xml
-rw-r--r-- 1 mcc users 709K Feb 26 02:36 CTLFireability.txt
-rw-r--r-- 1 mcc users 2.9M Feb 26 02:36 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K Jan 29 11:41 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 38K Feb 25 16:49 LTLCardinality.txt
-rw-r--r-- 1 mcc users 150K Feb 25 16:49 LTLCardinality.xml
-rw-r--r-- 1 mcc users 102K Feb 25 16:49 LTLFireability.txt
-rw-r--r-- 1 mcc users 391K Feb 25 16:49 LTLFireability.xml
-rw-r--r-- 1 mcc users 85K Feb 26 04:06 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 483K Feb 26 04:06 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 1.5M Feb 26 04:00 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 5.8M Feb 26 04:00 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 7.0K Feb 25 16:49 UpperBounds.txt
-rw-r--r-- 1 mcc users 20K Feb 25 16:49 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 3 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 7.8M Mar 5 18:23 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 SafeBus-PT-20-ReachabilityCardinality-00
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-01
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-02
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-03
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-04
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-05
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-06
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-07
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-08
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-09
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-10
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-11
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-12
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-13
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-14
FORMULA_NAME SafeBus-PT-20-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1679113129430

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=marciexred
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=SafeBus-PT-20
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-18 04:18:53] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-18 04:18:53] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-18 04:18:54] [INFO ] Load time of PNML (sax parser for PT used): 758 ms
[2023-03-18 04:18:54] [INFO ] Transformed 1026 places.
[2023-03-18 04:18:54] [INFO ] Transformed 10461 transitions.
[2023-03-18 04:18:54] [INFO ] Parsed PT model containing 1026 places and 10461 transitions and 77364 arcs in 961 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 72 ms.
Working with output stream class java.io.PrintStream
Reduce places removed 20 places and 0 transitions.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1621 ms. (steps per millisecond=6 ) properties (out of 16) seen :4
FORMULA SafeBus-PT-20-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SafeBus-PT-20-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SafeBus-PT-20-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SafeBus-PT-20-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 161 ms. (steps per millisecond=62 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 350 ms. (steps per millisecond=28 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 298 ms. (steps per millisecond=33 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 185 ms. (steps per millisecond=54 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 398 ms. (steps per millisecond=25 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 850 ms. (steps per millisecond=11 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 267 ms. (steps per millisecond=37 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 198 ms. (steps per millisecond=50 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 250 ms. (steps per millisecond=40 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 268 ms. (steps per millisecond=37 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 238 ms. (steps per millisecond=42 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 319 ms. (steps per millisecond=31 ) properties (out of 12) seen :0
Running SMT prover for 12 properties.
[2023-03-18 04:19:00] [INFO ] Flow matrix only has 2482 transitions (discarded 7979 similar events)
// Phase 1: matrix 2482 rows 1006 cols
[2023-03-18 04:19:00] [INFO ] Computed 85 place invariants in 318 ms
[2023-03-18 04:19:03] [INFO ] [Real]Absence check using 44 positive place invariants in 61 ms returned sat
[2023-03-18 04:19:03] [INFO ] [Real]Absence check using 44 positive and 41 generalized place invariants in 70 ms returned sat
[2023-03-18 04:19:03] [INFO ] After 1210ms SMT Verify possible using all constraints in real domain returned unsat :3 sat :0 real:9
[2023-03-18 04:19:04] [INFO ] [Nat]Absence check using 44 positive place invariants in 49 ms returned sat
[2023-03-18 04:19:04] [INFO ] [Nat]Absence check using 44 positive and 41 generalized place invariants in 44 ms returned sat
[2023-03-18 04:19:06] [INFO ] After 2262ms SMT Verify possible using state equation in natural domain returned unsat :11 sat :1
[2023-03-18 04:19:06] [INFO ] State equation strengthened by 421 read => feed constraints.
[2023-03-18 04:19:08] [INFO ] After 2013ms SMT Verify possible using 421 Read/Feed constraints in natural domain returned unsat :11 sat :1
[2023-03-18 04:19:10] [INFO ] After 4085ms SMT Verify possible using trap constraints in natural domain returned unsat :11 sat :1
Attempting to minimize the solution found.
Minimization took 913 ms.
[2023-03-18 04:19:11] [INFO ] After 8263ms SMT Verify possible using all constraints in natural domain returned unsat :11 sat :1
FORMULA SafeBus-PT-20-ReachabilityCardinality-14 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-11 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-08 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-07 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-05 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-04 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-03 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-01 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA SafeBus-PT-20-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 12 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 9 ms.
Support contains 54 out of 1006 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1006/1006 places, 10461/10461 transitions.
Free-agglomeration rule (complex) applied 17 times.
Iterating global reduction 0 with 17 rules applied. Total rules applied 17 place count 1006 transition count 10444
Reduce places removed 17 places and 0 transitions.
Iterating post reduction 0 with 17 rules applied. Total rules applied 34 place count 989 transition count 10444
Applied a total of 34 rules in 12832 ms. Remains 989 /1006 variables (removed 17) and now considering 10444/10461 (removed 17) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 12840 ms. Remains : 989/1006 places, 10444/10461 transitions.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 443 ms. (steps per millisecond=22 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 124 ms. (steps per millisecond=80 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 47145 steps, run timeout after 3001 ms. (steps per millisecond=15 ) properties seen :{}
Probabilistic random walk after 47145 steps, saw 32799 distinct states, run finished after 3008 ms. (steps per millisecond=15 ) properties seen :0
Running SMT prover for 1 properties.
[2023-03-18 04:19:28] [INFO ] Flow matrix only has 2465 transitions (discarded 7979 similar events)
// Phase 1: matrix 2465 rows 989 cols
[2023-03-18 04:19:28] [INFO ] Computed 85 place invariants in 132 ms
[2023-03-18 04:19:28] [INFO ] After 199ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-18 04:19:28] [INFO ] [Nat]Absence check using 44 positive place invariants in 37 ms returned sat
[2023-03-18 04:19:28] [INFO ] [Nat]Absence check using 44 positive and 41 generalized place invariants in 44 ms returned sat
[2023-03-18 04:19:32] [INFO ] After 3417ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-18 04:19:32] [INFO ] State equation strengthened by 421 read => feed constraints.
[2023-03-18 04:19:35] [INFO ] After 2731ms SMT Verify possible using 421 Read/Feed constraints in natural domain returned unsat :0 sat :1
[2023-03-18 04:19:36] [INFO ] After 4370ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 693 ms.
[2023-03-18 04:19:37] [INFO ] After 8961ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 10 ms.
Support contains 54 out of 989 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 989/989 places, 10444/10444 transitions.
Applied a total of 0 rules in 5656 ms. Remains 989 /989 variables (removed 0) and now considering 10444/10444 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 5660 ms. Remains : 989/989 places, 10444/10444 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 989/989 places, 10444/10444 transitions.
Applied a total of 0 rules in 5957 ms. Remains 989 /989 variables (removed 0) and now considering 10444/10444 (removed 0) transitions.
[2023-03-18 04:19:49] [INFO ] Flow matrix only has 2465 transitions (discarded 7979 similar events)
[2023-03-18 04:19:49] [INFO ] Invariant cache hit.
[2023-03-18 04:19:53] [INFO ] Implicit Places using invariants in 4331 ms returned [926, 927, 928, 929, 930, 931, 932, 933, 934, 935, 936, 937, 938, 939, 940, 941, 942, 943, 944, 945]
Discarding 20 places :
Implicit Place search using SMT only with invariants took 4354 ms to find 20 implicit places.
Starting structural reductions in REACHABILITY mode, iteration 1 : 969/989 places, 10444/10444 transitions.
Applied a total of 0 rules in 5815 ms. Remains 969 /969 variables (removed 0) and now considering 10444/10444 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 2 iterations and 16129 ms. Remains : 969/989 places, 10444/10444 transitions.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 392 ms. (steps per millisecond=25 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 106 ms. (steps per millisecond=94 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 54842 steps, run timeout after 3001 ms. (steps per millisecond=18 ) properties seen :{}
Probabilistic random walk after 54842 steps, saw 38007 distinct states, run finished after 3005 ms. (steps per millisecond=18 ) properties seen :0
Running SMT prover for 1 properties.
[2023-03-18 04:20:03] [INFO ] Flow matrix only has 2465 transitions (discarded 7979 similar events)
// Phase 1: matrix 2465 rows 969 cols
[2023-03-18 04:20:03] [INFO ] Computed 65 place invariants in 37 ms
[2023-03-18 04:20:03] [INFO ] After 189ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-18 04:20:03] [INFO ] [Nat]Absence check using 24 positive place invariants in 31 ms returned sat
[2023-03-18 04:20:03] [INFO ] [Nat]Absence check using 24 positive and 41 generalized place invariants in 41 ms returned sat
[2023-03-18 04:20:05] [INFO ] After 2036ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-18 04:20:05] [INFO ] State equation strengthened by 421 read => feed constraints.
[2023-03-18 04:20:07] [INFO ] After 1810ms SMT Verify possible using 421 Read/Feed constraints in natural domain returned unsat :0 sat :1
[2023-03-18 04:20:10] [INFO ] After 4211ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 3747 ms.
[2023-03-18 04:20:13] [INFO ] After 10565ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 5 ms.
Support contains 54 out of 969 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 969/969 places, 10444/10444 transitions.
Applied a total of 0 rules in 5660 ms. Remains 969 /969 variables (removed 0) and now considering 10444/10444 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 5660 ms. Remains : 969/969 places, 10444/10444 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 969/969 places, 10444/10444 transitions.
Applied a total of 0 rules in 5782 ms. Remains 969 /969 variables (removed 0) and now considering 10444/10444 (removed 0) transitions.
[2023-03-18 04:20:25] [INFO ] Flow matrix only has 2465 transitions (discarded 7979 similar events)
[2023-03-18 04:20:25] [INFO ] Invariant cache hit.
[2023-03-18 04:20:29] [INFO ] Implicit Places using invariants in 4117 ms returned []
Implicit Place search using SMT only with invariants took 4119 ms to find 0 implicit places.
[2023-03-18 04:20:29] [INFO ] Flow matrix only has 2465 transitions (discarded 7979 similar events)
[2023-03-18 04:20:29] [INFO ] Invariant cache hit.
[2023-03-18 04:20:41] [INFO ] Dead Transitions using invariants and state equation in 12012 ms found 400 transitions.
Found 400 dead transitions using SMT.
Drop transitions removed 400 transitions
Dead transitions reduction (with SMT) removed 400 transitions
Starting structural reductions in REACHABILITY mode, iteration 1 : 969/969 places, 10044/10444 transitions.
Applied a total of 0 rules in 5107 ms. Remains 969 /969 variables (removed 0) and now considering 10044/10044 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 2 iterations and 27038 ms. Remains : 969/969 places, 10044/10444 transitions.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 443 ms. (steps per millisecond=22 ) properties (out of 1) seen :0
Finished Best-First random walk after 6941 steps, including 2 resets, run visited all 1 properties in 107 ms. (steps per millisecond=64 )
FORMULA SafeBus-PT-20-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
All properties solved without resorting to model-checking.
Total runtime 113825 ms.
timeout --kill-after=10s --signal=SIGINT 1m for testing only

Marcie built on Linux at 2019-11-18.
A model checker for Generalized Stochastic Petri nets

authors: Alex Tovchigrechko (IDD package and CTL model checking)

Martin Schwarick (Symbolic numerical analysis and CSL model checking)

Christian Rohr (Simulative and approximative numerical model checking)

marcie@informatik.tu-cottbus.de

called as: /home/mcc/BenchKit/bin//../reducer/bin//../../marcie/bin/marcie --net-file=model.pnml --mcc-file=ReachabilityCardinality.xml --memory=6 --mcc-mode

parse successfull
net created successfully

Net: SafeBus_PT_20
(NrP: 1026 NrTr: 10461 NrArc: 77364)

parse formulas
formulas created successfully
place and transition orderings generation:0m 6.972sec

net check time: 0m 0.022sec

init dd package: 0m 3.334sec

TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393216 kB
MemFree: 10453560 kB
After kill :
MemTotal: 16393216 kB
MemFree: 16079172 kB

BK_TIME_CONFINEMENT_REACHED

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

+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -timeout 360 -rebuildPNML
check for maximal unmarked siphon
ok
check for constant places
msgl_1
msgl_2
msgl_3
msgl_4
msgl_5
msgl_6
msgl_7
msgl_8
msgl_9
msgl_10
msgl_11
msgl_12
msgl_13
msgl_14
msgl_15
msgl_16
msgl_17
msgl_18
msgl_19
msgl_20
found 20 constant places
check if there are places and transitions
ok
check if there are transitions without pre-places
ok
check if at least one transition is enabled in m0
ok
check if there are transitions that can never fire
ok


initing FirstDep: 0m 0.265sec

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="SafeBus-PT-20"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="marciexred"
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-5348"
echo " Executing tool marciexred"
echo " Input is SafeBus-PT-20, 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 r362-smll-167891812600294"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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