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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
9754.256 3600000.00 3648221.00 12246.90 ?T??????F??????? 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-167838856700049.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-d02r09, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r170-tall-167838856700049
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 772K
-rw-r--r-- 1 mcc users 7.6K Feb 25 14:08 CTLCardinality.txt
-rw-r--r-- 1 mcc users 82K Feb 25 14:08 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.3K Feb 25 14:07 CTLFireability.txt
-rw-r--r-- 1 mcc users 61K Feb 25 14:07 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.4K Feb 25 16:03 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 16:03 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Feb 25 16:03 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Feb 25 16:03 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Feb 25 14:10 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 114K Feb 25 14:10 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.6K Feb 25 14:09 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 76K Feb 25 14:09 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 303K 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-d02r09-CTLCardinality-00
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-01
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-02
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-03
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-04
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-05
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-06
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-07
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-08
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-09
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-10
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-11
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-12
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-13
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-14
FORMULA_NAME Echo-PT-d02r09-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1678464680620

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=Echo-PT-d02r09
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-10 16:11:22] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2023-03-10 16:11:22] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-10 16:11:22] [INFO ] Load time of PNML (sax parser for PT used): 121 ms
[2023-03-10 16:11:22] [INFO ] Transformed 735 places.
[2023-03-10 16:11:22] [INFO ] Transformed 570 transitions.
[2023-03-10 16:11:22] [INFO ] Found NUPN structural information;
[2023-03-10 16:11:22] [INFO ] Parsed PT model containing 735 places and 570 transitions and 3220 arcs in 196 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 27 ms.
Initial state reduction rules removed 1 formulas.
FORMULA Echo-PT-d02r09-CTLCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 124 out of 735 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 735/735 places, 570/570 transitions.
Reduce places removed 67 places and 0 transitions.
Iterating post reduction 0 with 67 rules applied. Total rules applied 67 place count 668 transition count 570
Applied a total of 67 rules in 64 ms. Remains 668 /735 variables (removed 67) and now considering 570/570 (removed 0) transitions.
// Phase 1: matrix 570 rows 668 cols
[2023-03-10 16:11:22] [INFO ] Computed 302 place invariants in 214 ms
[2023-03-10 16:11:24] [INFO ] Implicit Places using invariants in 2074 ms returned []
[2023-03-10 16:11:24] [INFO ] Invariant cache hit.
[2023-03-10 16:11:28] [INFO ] Implicit Places using invariants and state equation in 3557 ms returned []
Implicit Place search using SMT with State Equation took 5685 ms to find 0 implicit places.
[2023-03-10 16:11:28] [INFO ] Invariant cache hit.
[2023-03-10 16:11:29] [INFO ] Dead Transitions using invariants and state equation in 973 ms found 0 transitions.
Starting structural reductions in LTL mode, iteration 1 : 668/735 places, 570/570 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 6726 ms. Remains : 668/735 places, 570/570 transitions.
Support contains 124 out of 668 places after structural reductions.
[2023-03-10 16:11:29] [INFO ] Flatten gal took : 107 ms
[2023-03-10 16:11:29] [INFO ] Flatten gal took : 53 ms
[2023-03-10 16:11:29] [INFO ] Input system was already deterministic with 570 transitions.
Support contains 108 out of 668 places (down from 124) after GAL structural reductions.
Finished random walk after 4464 steps, including 27 resets, run visited all 56 properties in 174 ms. (steps per millisecond=25 )
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 48 ms
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 63 ms
[2023-03-10 16:11:30] [INFO ] Input system was already deterministic with 570 transitions.
Computed a total of 668 stabilizing places and 570 stable transitions
Complete graph has no SCC; deadlocks are unavoidable. place count 668 transition count 570
Detected that all paths lead to deadlock. Applying this knowledge to assert that all AP eventually converge (and all enablings converge to false).
AF dead knowledge conclusive for 2 formulas.
FORMULA Echo-PT-d02r09-CTLCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 14 places and 0 transitions.
Iterating post reduction 0 with 14 rules applied. Total rules applied 14 place count 654 transition count 570
Applied a total of 14 rules in 20 ms. Remains 654 /668 variables (removed 14) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 21 ms. Remains : 654/668 places, 570/570 transitions.
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 28 ms
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 30 ms
[2023-03-10 16:11:30] [INFO ] Input system was already deterministic with 570 transitions.
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 14 places and 0 transitions.
Iterating post reduction 0 with 14 rules applied. Total rules applied 14 place count 654 transition count 570
Applied a total of 14 rules in 16 ms. Remains 654 /668 variables (removed 14) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 16 ms. Remains : 654/668 places, 570/570 transitions.
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 28 ms
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 28 ms
[2023-03-10 16:11:30] [INFO ] Input system was already deterministic with 570 transitions.
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 12 places and 0 transitions.
Iterating post reduction 0 with 12 rules applied. Total rules applied 12 place count 656 transition count 570
Applied a total of 12 rules in 10 ms. Remains 656 /668 variables (removed 12) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 11 ms. Remains : 656/668 places, 570/570 transitions.
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 33 ms
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 26 ms
[2023-03-10 16:11:30] [INFO ] Input system was already deterministic with 570 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Graph (complete) has 1993 edges and 668 vertex of which 649 are kept as prefixes of interest. Removing 19 places using SCC suffix rule.8 ms
Discarding 19 places :
Also discarding 1 output transitions
Drop transitions removed 1 transitions
Reduce places removed 1 places and 1 transitions.
Applied a total of 1 rules in 96 ms. Remains 648 /668 variables (removed 20) and now considering 568/570 (removed 2) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 96 ms. Remains : 648/668 places, 568/570 transitions.
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 55 ms
[2023-03-10 16:11:30] [INFO ] Flatten gal took : 33 ms
[2023-03-10 16:11:31] [INFO ] Input system was already deterministic with 568 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Graph (complete) has 1993 edges and 668 vertex of which 651 are kept as prefixes of interest. Removing 17 places using SCC suffix rule.4 ms
Discarding 17 places :
Also discarding 1 output transitions
Drop transitions removed 1 transitions
Reduce places removed 1 places and 1 transitions.
Applied a total of 1 rules in 64 ms. Remains 650 /668 variables (removed 18) and now considering 568/570 (removed 2) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 65 ms. Remains : 650/668 places, 568/570 transitions.
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 35 ms
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 23 ms
[2023-03-10 16:11:31] [INFO ] Input system was already deterministic with 568 transitions.
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 14 places and 0 transitions.
Iterating post reduction 0 with 14 rules applied. Total rules applied 14 place count 654 transition count 570
Applied a total of 14 rules in 10 ms. Remains 654 /668 variables (removed 14) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 10 ms. Remains : 654/668 places, 570/570 transitions.
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 22 ms
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 36 ms
[2023-03-10 16:11:31] [INFO ] Input system was already deterministic with 570 transitions.
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 14 places and 0 transitions.
Iterating post reduction 0 with 14 rules applied. Total rules applied 14 place count 654 transition count 570
Applied a total of 14 rules in 14 ms. Remains 654 /668 variables (removed 14) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 14 ms. Remains : 654/668 places, 570/570 transitions.
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 23 ms
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 24 ms
[2023-03-10 16:11:31] [INFO ] Input system was already deterministic with 570 transitions.
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 12 places and 0 transitions.
Iterating post reduction 0 with 12 rules applied. Total rules applied 12 place count 656 transition count 570
Applied a total of 12 rules in 16 ms. Remains 656 /668 variables (removed 12) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 17 ms. Remains : 656/668 places, 570/570 transitions.
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 22 ms
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 23 ms
[2023-03-10 16:11:31] [INFO ] Input system was already deterministic with 570 transitions.
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 13 places and 0 transitions.
Iterating post reduction 0 with 13 rules applied. Total rules applied 13 place count 655 transition count 570
Applied a total of 13 rules in 17 ms. Remains 655 /668 variables (removed 13) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 18 ms. Remains : 655/668 places, 570/570 transitions.
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 46 ms
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 37 ms
[2023-03-10 16:11:31] [INFO ] Input system was already deterministic with 570 transitions.
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 14 places and 0 transitions.
Iterating post reduction 0 with 14 rules applied. Total rules applied 14 place count 654 transition count 570
Applied a total of 14 rules in 9 ms. Remains 654 /668 variables (removed 14) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 9 ms. Remains : 654/668 places, 570/570 transitions.
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 20 ms
[2023-03-10 16:11:31] [INFO ] Flatten gal took : 21 ms
[2023-03-10 16:11:31] [INFO ] Input system was already deterministic with 570 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Graph (complete) has 1993 edges and 668 vertex of which 649 are kept as prefixes of interest. Removing 19 places using SCC suffix rule.3 ms
Discarding 19 places :
Also discarding 1 output transitions
Drop transitions removed 1 transitions
Reduce places removed 1 places and 1 transitions.
Applied a total of 1 rules in 25 ms. Remains 648 /668 variables (removed 20) and now considering 568/570 (removed 2) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 26 ms. Remains : 648/668 places, 568/570 transitions.
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 20 ms
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 21 ms
[2023-03-10 16:11:32] [INFO ] Input system was already deterministic with 568 transitions.
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 13 places and 0 transitions.
Iterating post reduction 0 with 13 rules applied. Total rules applied 13 place count 655 transition count 570
Applied a total of 13 rules in 8 ms. Remains 655 /668 variables (removed 13) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 9 ms. Remains : 655/668 places, 570/570 transitions.
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 19 ms
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 21 ms
[2023-03-10 16:11:32] [INFO ] Input system was already deterministic with 570 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Graph (complete) has 1993 edges and 668 vertex of which 650 are kept as prefixes of interest. Removing 18 places using SCC suffix rule.3 ms
Discarding 18 places :
Also discarding 1 output transitions
Drop transitions removed 1 transitions
Reduce places removed 1 places and 1 transitions.
Applied a total of 1 rules in 23 ms. Remains 649 /668 variables (removed 19) and now considering 568/570 (removed 2) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 23 ms. Remains : 649/668 places, 568/570 transitions.
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 20 ms
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 21 ms
[2023-03-10 16:11:32] [INFO ] Input system was already deterministic with 568 transitions.
Starting structural reductions in LTL mode, iteration 0 : 668/668 places, 570/570 transitions.
Reduce places removed 13 places and 0 transitions.
Iterating post reduction 0 with 13 rules applied. Total rules applied 13 place count 655 transition count 570
Applied a total of 13 rules in 8 ms. Remains 655 /668 variables (removed 13) and now considering 570/570 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 8 ms. Remains : 655/668 places, 570/570 transitions.
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 20 ms
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 21 ms
[2023-03-10 16:11:32] [INFO ] Input system was already deterministic with 570 transitions.
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 21 ms
[2023-03-10 16:11:32] [INFO ] Flatten gal took : 21 ms
[2023-03-10 16:11:32] [INFO ] Export to MCC of 14 properties in file /home/mcc/execution/CTLCardinality.sr.xml took 3 ms.
[2023-03-10 16:11:32] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 668 places, 570 transitions and 2985 arcs took 4 ms.
Total runtime 10174 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: 668 NrTr: 570 NrArc: 2985)

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

net check time: 0m 0.000sec

init dd package: 0m 2.734sec

TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393232 kB
MemFree: 6394252 kB
After kill :
MemTotal: 16393232 kB
MemFree: 16101424 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 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.003sec

101716 450571 439166 1558137 1525941 1529708 1995611 1987523 2091496

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

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