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

About the Execution of Marcie+red for Echo-PT-d03r05

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
8609.012 3600000.00 3666310.00 8685.00 TFTF?FFFFTTTTFFT 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.r170-tall-167838856700094.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 Echo-PT-d03r05, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r170-tall-167838856700094
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.2M
-rw-r--r-- 1 mcc users 6.6K Feb 25 14:05 CTLCardinality.txt
-rw-r--r-- 1 mcc users 69K Feb 25 14:05 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.7K Feb 25 14:04 CTLFireability.txt
-rw-r--r-- 1 mcc users 41K Feb 25 14:04 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.9K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:03 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 16:03 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 16:03 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 16:03 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Feb 25 14:07 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 109K Feb 25 14:07 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.3K Feb 25 14:06 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 82K Feb 25 14:06 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:03 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:03 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 7 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 716K Mar 5 18:22 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 Echo-PT-d03r05-ReachabilityCardinality-00
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-01
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-02
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-03
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-04
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-05
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-06
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-07
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-08
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-09
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-10
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-11
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-12
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-13
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-14
FORMULA_NAME Echo-PT-d03r05-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678479469058

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=Echo-PT-d03r05
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-10 20:17:50] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-10 20:17:50] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-10 20:17:50] [INFO ] Load time of PNML (sax parser for PT used): 134 ms
[2023-03-10 20:17:50] [INFO ] Transformed 1445 places.
[2023-03-10 20:17:51] [INFO ] Transformed 1190 transitions.
[2023-03-10 20:17:51] [INFO ] Found NUPN structural information;
[2023-03-10 20:17:51] [INFO ] Parsed PT model containing 1445 places and 1190 transitions and 8260 arcs in 424 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 15 ms.
Working with output stream class java.io.PrintStream
FORMULA Echo-PT-d03r05-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Echo-PT-d03r05-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 39 resets, run finished after 390 ms. (steps per millisecond=25 ) properties (out of 14) seen :13
FORMULA Echo-PT-d03r05-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Echo-PT-d03r05-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 113 ms. (steps per millisecond=88 ) properties (out of 1) seen :0
Running SMT prover for 1 properties.
// Phase 1: matrix 1190 rows 1445 cols
[2023-03-10 20:17:51] [INFO ] Computed 725 place invariants in 107 ms
[2023-03-10 20:17:52] [INFO ] After 465ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-10 20:17:52] [INFO ] [Nat]Absence check using 108 positive place invariants in 34 ms returned sat
[2023-03-10 20:17:52] [INFO ] [Nat]Absence check using 108 positive and 617 generalized place invariants in 221 ms returned sat
[2023-03-10 20:18:11] [INFO ] After 19576ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0
Parikh walk visited 0 properties in 1 ms.
Support contains 62 out of 1445 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1445/1445 places, 1190/1190 transitions.
Graph (complete) has 5918 edges and 1445 vertex of which 1308 are kept as prefixes of interest. Removing 137 places using SCC suffix rule.9 ms
Discarding 137 places :
Also discarding 1 output transitions
Drop transitions removed 1 transitions
Drop transitions removed 6 transitions
Reduce isomorphic transitions removed 6 transitions.
Iterating post reduction 0 with 6 rules applied. Total rules applied 7 place count 1308 transition count 1183
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 8 place count 1307 transition count 1182
Applied a total of 8 rules in 301 ms. Remains 1307 /1445 variables (removed 138) and now considering 1182/1190 (removed 8) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 310 ms. Remains : 1307/1445 places, 1182/1190 transitions.
Incomplete random walk after 10000 steps, including 40 resets, run finished after 194 ms. (steps per millisecond=51 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 78 ms. (steps per millisecond=128 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 501294 steps, run timeout after 3001 ms. (steps per millisecond=167 ) properties seen :{}
Probabilistic random walk after 501294 steps, saw 83491 distinct states, run finished after 3002 ms. (steps per millisecond=166 ) properties seen :0
Running SMT prover for 1 properties.
// Phase 1: matrix 1182 rows 1307 cols
[2023-03-10 20:18:17] [INFO ] Computed 589 place invariants in 1728 ms
[2023-03-10 20:18:17] [INFO ] After 321ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-10 20:18:17] [INFO ] [Nat]Absence check using 5 positive place invariants in 18 ms returned sat
[2023-03-10 20:18:19] [INFO ] [Nat]Absence check using 5 positive and 584 generalized place invariants in 1403 ms returned sat
[2023-03-10 20:18:32] [INFO ] After 13144ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-10 20:18:35] [INFO ] After 16526ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 1525 ms.
[2023-03-10 20:18:37] [INFO ] After 19978ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 5 ms.
Support contains 62 out of 1307 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1307/1307 places, 1182/1182 transitions.
Applied a total of 0 rules in 40 ms. Remains 1307 /1307 variables (removed 0) and now considering 1182/1182 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 41 ms. Remains : 1307/1307 places, 1182/1182 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1307/1307 places, 1182/1182 transitions.
Applied a total of 0 rules in 39 ms. Remains 1307 /1307 variables (removed 0) and now considering 1182/1182 (removed 0) transitions.
[2023-03-10 20:18:37] [INFO ] Invariant cache hit.
[2023-03-10 20:18:49] [INFO ] Implicit Places using invariants in 11834 ms returned [611, 712, 738, 759, 861]
Discarding 5 places :
Implicit Place search using SMT only with invariants took 11845 ms to find 5 implicit places.
Starting structural reductions in REACHABILITY mode, iteration 1 : 1302/1307 places, 1182/1182 transitions.
Applied a total of 0 rules in 41 ms. Remains 1302 /1302 variables (removed 0) and now considering 1182/1182 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 2 iterations and 11928 ms. Remains : 1302/1307 places, 1182/1182 transitions.
Incomplete random walk after 10000 steps, including 40 resets, run finished after 141 ms. (steps per millisecond=70 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 74 ms. (steps per millisecond=135 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 522406 steps, run timeout after 3001 ms. (steps per millisecond=174 ) properties seen :{}
Probabilistic random walk after 522406 steps, saw 85834 distinct states, run finished after 3001 ms. (steps per millisecond=174 ) properties seen :0
Running SMT prover for 1 properties.
// Phase 1: matrix 1182 rows 1302 cols
[2023-03-10 20:18:54] [INFO ] Computed 584 place invariants in 1547 ms
[2023-03-10 20:18:54] [INFO ] After 223ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-10 20:18:54] [INFO ] [Nat]Absence check using 5 positive place invariants in 7 ms returned sat
[2023-03-10 20:18:55] [INFO ] [Nat]Absence check using 5 positive and 579 generalized place invariants in 566 ms returned sat
[2023-03-10 20:19:15] [INFO ] After 20516ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0
Parikh walk visited 0 properties in 0 ms.
Support contains 62 out of 1302 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1302/1302 places, 1182/1182 transitions.
Applied a total of 0 rules in 39 ms. Remains 1302 /1302 variables (removed 0) and now considering 1182/1182 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 39 ms. Remains : 1302/1302 places, 1182/1182 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1302/1302 places, 1182/1182 transitions.
Applied a total of 0 rules in 32 ms. Remains 1302 /1302 variables (removed 0) and now considering 1182/1182 (removed 0) transitions.
[2023-03-10 20:19:15] [INFO ] Invariant cache hit.
[2023-03-10 20:19:24] [INFO ] Implicit Places using invariants in 9384 ms returned [731]
Discarding 1 places :
Implicit Place search using SMT only with invariants took 9388 ms to find 1 implicit places.
Starting structural reductions in REACHABILITY mode, iteration 1 : 1301/1302 places, 1182/1182 transitions.
Applied a total of 0 rules in 37 ms. Remains 1301 /1301 variables (removed 0) and now considering 1182/1182 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 2 iterations and 9458 ms. Remains : 1301/1302 places, 1182/1182 transitions.
Incomplete random walk after 10000 steps, including 40 resets, run finished after 133 ms. (steps per millisecond=75 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 86 ms. (steps per millisecond=116 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 531453 steps, run timeout after 3001 ms. (steps per millisecond=177 ) properties seen :{}
Probabilistic random walk after 531453 steps, saw 87103 distinct states, run finished after 3001 ms. (steps per millisecond=177 ) properties seen :0
Running SMT prover for 1 properties.
// Phase 1: matrix 1182 rows 1301 cols
[2023-03-10 20:19:29] [INFO ] Computed 583 place invariants in 1583 ms
[2023-03-10 20:19:29] [INFO ] After 196ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-10 20:19:29] [INFO ] [Nat]Absence check using 5 positive place invariants in 23 ms returned sat
[2023-03-10 20:19:31] [INFO ] [Nat]Absence check using 5 positive and 578 generalized place invariants in 2149 ms returned sat
[2023-03-10 20:19:43] [INFO ] After 11578ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-10 20:19:45] [INFO ] After 13310ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 2347 ms.
[2023-03-10 20:19:47] [INFO ] After 18349ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 1 ms.
Support contains 62 out of 1301 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1301/1301 places, 1182/1182 transitions.
Applied a total of 0 rules in 31 ms. Remains 1301 /1301 variables (removed 0) and now considering 1182/1182 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 31 ms. Remains : 1301/1301 places, 1182/1182 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1301/1301 places, 1182/1182 transitions.
Applied a total of 0 rules in 30 ms. Remains 1301 /1301 variables (removed 0) and now considering 1182/1182 (removed 0) transitions.
[2023-03-10 20:19:47] [INFO ] Invariant cache hit.
[2023-03-10 20:19:59] [INFO ] Implicit Places using invariants in 12032 ms returned []
[2023-03-10 20:19:59] [INFO ] Invariant cache hit.
[2023-03-10 20:22:40] [INFO ] Performed 291/1301 implicitness test of which 0 returned IMPLICIT in 157 seconds.
[2023-03-10 20:22:40] [INFO ] Timeout of Implicit test with SMT after 157 seconds.
[2023-03-10 20:22:40] [INFO ] Implicit Places using invariants and state equation in 160034 ms returned []
Implicit Place search using SMT with State Equation took 172068 ms to find 0 implicit places.
[2023-03-10 20:22:40] [INFO ] Redundant transitions in 73 ms returned []
[2023-03-10 20:22:40] [INFO ] Invariant cache hit.
[2023-03-10 20:23:40] [INFO ] Performed 995/1182 'is it Dead' test of which 0 returned DEAD in 58 seconds.
[2023-03-10 20:23:40] [INFO ] Dead Transitions using invariants and state equation in 60022 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 232209 ms. Remains : 1301/1301 places, 1182/1182 transitions.
Applied a total of 0 rules in 29 ms. Remains 1301 /1301 variables (removed 0) and now considering 1182/1182 (removed 0) transitions.
Running SMT prover for 1 properties.
[2023-03-10 20:23:40] [INFO ] Invariant cache hit.
[2023-03-10 20:23:40] [INFO ] After 326ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-10 20:23:40] [INFO ] [Nat]Absence check using 5 positive place invariants in 22 ms returned sat
[2023-03-10 20:23:42] [INFO ] [Nat]Absence check using 5 positive and 578 generalized place invariants in 2204 ms returned sat
[2023-03-10 20:23:54] [INFO ] After 11753ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-10 20:24:04] [INFO ] After 20887ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :0
[2023-03-10 20:24:04] [INFO ] After 23580ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0
[2023-03-10 20:24:04] [INFO ] Export to MCC of 1 properties in file /home/mcc/execution/ReachabilityCardinality.sr.xml took 7 ms.
[2023-03-10 20:24:04] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 1301 places, 1182 transitions and 7540 arcs took 9 ms.
[2023-03-10 20:24:04] [INFO ] Flatten gal took : 266 ms
Total runtime 374080 ms.
There are residual formulas that ITS could not solve within timeout
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: Echo_PT_d03r05
(NrP: 1301 NrTr: 1182 NrArc: 7540)

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

net check time: 0m 0.001sec

init dd package: 0m 2.762sec

TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393216 kB
MemFree: 7539784 kB
After kill :
MemTotal: 16393216 kB
MemFree: 16100020 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
ok
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.014sec

472575 964816 3293118 2896260

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="Echo-PT-d03r05"
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 Echo-PT-d03r05, 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 r170-tall-167838856700094"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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