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

About the Execution of Marcie+red for ShieldPPPs-PT-005A

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
10114.695 3600000.00 3643024.00 130.20 TF??TF?????????? 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.r394-oct2-167903717900417.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 backing_fmt=qcow2 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 ShieldPPPs-PT-005A, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r394-oct2-167903717900417
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 580K
-rw-r--r-- 1 mcc users 7.4K Feb 26 01:51 CTLCardinality.txt
-rw-r--r-- 1 mcc users 89K Feb 26 01:51 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.0K Feb 26 01:49 CTLFireability.txt
-rw-r--r-- 1 mcc users 56K Feb 26 01:49 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 3.7K Feb 25 16:58 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 16:58 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 16:58 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:58 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 26 01:53 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 147K Feb 26 01:53 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 11K Feb 26 01:52 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 102K Feb 26 01:52 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:58 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 16:58 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 44K 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 ShieldPPPs-PT-005A-CTLCardinality-00
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-01
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-02
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-03
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-04
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-05
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-06
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-07
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-08
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-09
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-10
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-11
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-12
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-13
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-14
FORMULA_NAME ShieldPPPs-PT-005A-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679511981836

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=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=ShieldPPPs-PT-005A
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-22 19:06:24] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2023-03-22 19:06:24] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-22 19:06:24] [INFO ] Load time of PNML (sax parser for PT used): 55 ms
[2023-03-22 19:06:24] [INFO ] Transformed 158 places.
[2023-03-22 19:06:24] [INFO ] Transformed 133 transitions.
[2023-03-22 19:06:24] [INFO ] Found NUPN structural information;
[2023-03-22 19:06:24] [INFO ] Parsed PT model containing 158 places and 133 transitions and 506 arcs in 154 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 12 ms.
FORMULA ShieldPPPs-PT-005A-CTLCardinality-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 86 out of 158 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 17 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
// Phase 1: matrix 133 rows 158 cols
[2023-03-22 19:06:24] [INFO ] Computed 56 place invariants in 10 ms
[2023-03-22 19:06:25] [INFO ] Implicit Places using invariants in 443 ms returned []
[2023-03-22 19:06:25] [INFO ] Invariant cache hit.
[2023-03-22 19:06:25] [INFO ] Implicit Places using invariants and state equation in 220 ms returned []
Implicit Place search using SMT with State Equation took 694 ms to find 0 implicit places.
[2023-03-22 19:06:25] [INFO ] Invariant cache hit.
[2023-03-22 19:06:25] [INFO ] Dead Transitions using invariants and state equation in 151 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 865 ms. Remains : 158/158 places, 133/133 transitions.
Support contains 86 out of 158 places after structural reductions.
[2023-03-22 19:06:25] [INFO ] Flatten gal took : 51 ms
[2023-03-22 19:06:25] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA ShieldPPPs-PT-005A-CTLCardinality-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-22 19:06:25] [INFO ] Flatten gal took : 16 ms
[2023-03-22 19:06:25] [INFO ] Input system was already deterministic with 133 transitions.
Support contains 77 out of 158 places (down from 86) after GAL structural reductions.
Finished random walk after 1241 steps, including 3 resets, run visited all 60 properties in 55 ms. (steps per millisecond=22 )
[2023-03-22 19:06:25] [INFO ] Flatten gal took : 8 ms
[2023-03-22 19:06:25] [INFO ] Flatten gal took : 8 ms
[2023-03-22 19:06:25] [INFO ] Input system was already deterministic with 133 transitions.
Computed a total of 1 stabilizing places and 1 stable transitions
Starting structural reductions in SI_CTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Reduce places removed 1 places and 1 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 156 transition count 131
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 4 place count 155 transition count 130
Applied a total of 4 rules in 26 ms. Remains 155 /158 variables (removed 3) and now considering 130/133 (removed 3) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 26 ms. Remains : 155/158 places, 130/133 transitions.
[2023-03-22 19:06:25] [INFO ] Flatten gal took : 7 ms
[2023-03-22 19:06:25] [INFO ] Flatten gal took : 7 ms
[2023-03-22 19:06:25] [INFO ] Input system was already deterministic with 130 transitions.
Finished random walk after 92 steps, including 0 resets, run visited all 1 properties in 1 ms. (steps per millisecond=92 )
FORMULA ShieldPPPs-PT-005A-CTLCardinality-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Starting structural reductions in SI_CTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 1 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 4 place count 156 transition count 131
Applied a total of 4 rules in 9 ms. Remains 156 /158 variables (removed 2) and now considering 131/133 (removed 2) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 9 ms. Remains : 156/158 places, 131/133 transitions.
[2023-03-22 19:06:25] [INFO ] Flatten gal took : 7 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 8 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 131 transitions.
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 2 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 3 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 7 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 7 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 1 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 4 place count 156 transition count 131
Applied a total of 4 rules in 8 ms. Remains 156 /158 variables (removed 2) and now considering 131/133 (removed 2) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 8 ms. Remains : 156/158 places, 131/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 7 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 131 transitions.
Finished random walk after 124 steps, including 0 resets, run visited all 1 properties in 2 ms. (steps per millisecond=62 )
FORMULA ShieldPPPs-PT-005A-CTLCardinality-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 4 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 4 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 9 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 8 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 2 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 157 transition count 132
Applied a total of 2 rules in 7 ms. Remains 157 /158 variables (removed 1) and now considering 132/133 (removed 1) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 7 ms. Remains : 157/158 places, 132/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 132 transitions.
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 2 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 7 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 1 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 1 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 2 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 4 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 4 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 5 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 5 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 2 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 5 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
Starting structural reductions in LTL mode, iteration 0 : 158/158 places, 133/133 transitions.
Applied a total of 0 rules in 3 ms. Remains 158 /158 variables (removed 0) and now considering 133/133 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 3 ms. Remains : 158/158 places, 133/133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 5 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 5 ms
[2023-03-22 19:06:26] [INFO ] Input system was already deterministic with 133 transitions.
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 7 ms
[2023-03-22 19:06:26] [INFO ] Flatten gal took : 6 ms
[2023-03-22 19:06:26] [INFO ] Export to MCC of 12 properties in file /home/mcc/execution/CTLCardinality.sr.xml took 2 ms.
[2023-03-22 19:06:26] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 158 places, 133 transitions and 506 arcs took 1 ms.
Total runtime 2114 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=CTLCardinality.xml --memory=6 --mcc-mode

parse successfull
net created successfully

Net: Petri
(NrP: 158 NrTr: 133 NrArc: 506)

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

net check time: 0m 0.000sec

init dd package: 0m 2.963sec


before gc: list nodes free: 106013

after gc: idd nodes used:143001, unused:63856999; list nodes free:290841670

before gc: list nodes free: 265771

after gc: idd nodes used:149756, unused:63850244; list nodes free:290818487

before gc: list nodes free: 1082315

after gc: idd nodes used:571947, unused:63428053; list nodes free:293081009

before gc: list nodes free: 3503029

after gc: idd nodes used:593956, unused:63406044; list nodes free:292971978

before gc: list nodes free: 3374810

after gc: idd nodes used:618655, unused:63381345; list nodes free:292859590

before gc: list nodes free: 3555390

after gc: idd nodes used:603383, unused:63396617; list nodes free:292935696

before gc: list nodes free: 3752571

after gc: idd nodes used:625610, unused:63374390; list nodes free:292832431

before gc: list nodes free: 3533304

after gc: idd nodes used:629439, unused:63370561; list nodes free:292802778

before gc: list nodes free: 3345727

after gc: idd nodes used:629972, unused:63370028; list nodes free:292812146

before gc: list nodes free: 3279241

after gc: idd nodes used:638043, unused:63361957; list nodes free:292771314

before gc: list nodes free: 3436727

after gc: idd nodes used:626418, unused:63373582; list nodes free:292832556

before gc: list nodes free: 3878527

after gc: idd nodes used:636577, unused:63363423; list nodes free:292784615

before gc: list nodes free: 3555766

after gc: idd nodes used:669700, unused:63330300; list nodes free:292630677

before gc: list nodes free: 3743034

after gc: idd nodes used:667725, unused:63332275; list nodes free:292637032

before gc: list nodes free: 3691048

after gc: idd nodes used:660510, unused:63339490; list nodes free:292676948

before gc: list nodes free: 2608978

after gc: idd nodes used:1735499, unused:62264501; list nodes free:287741800

before gc: list nodes free: 2015752

after gc: idd nodes used:1744113, unused:62255887; list nodes free:291894440

before gc: list nodes free: 2076383

after gc: idd nodes used:1746429, unused:62253571; list nodes free:291883741
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393220 kB
MemFree: 6035784 kB
After kill :
MemTotal: 16393220 kB
MemFree: 16102384 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:
++ perl -pe 's/.*\.//g'
++ sed s/.jar//
++ 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 CTLCardinality -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.000sec

95591 621234 1742280

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="ShieldPPPs-PT-005A"
export BK_EXAMINATION="CTLCardinality"
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 ShieldPPPs-PT-005A, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r394-oct2-167903717900417"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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