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

About the Execution of Marcie+red for SieveSingleMsgMbox-PT-d0m96

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
12091.352 1497739.00 1515844.00 363.90 FTTFFFTFTTTTFTTT normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2023-input.r426-tajo-167905978900393.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2023-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool marciexred
Input is SieveSingleMsgMbox-PT-d0m96, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r426-tajo-167905978900393
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 440K
-rw-r--r-- 1 mcc users 5.4K Feb 26 10:25 CTLCardinality.txt
-rw-r--r-- 1 mcc users 52K Feb 26 10:25 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Feb 26 10:24 CTLFireability.txt
-rw-r--r-- 1 mcc users 64K Feb 26 10:24 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Feb 25 17:05 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 17:05 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 17:05 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Feb 25 17:05 LTLFireability.xml
-rw-r--r-- 1 mcc users 8.6K Feb 26 10:26 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 85K Feb 26 10:26 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.4K Feb 26 10:25 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 62K Feb 26 10:25 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 17:05 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 17:05 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 57K 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 SieveSingleMsgMbox-PT-d0m96-CTLCardinality-00
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-01
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-02
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-03
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-04
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-05
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-06
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-07
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-08
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-09
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-10
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-11
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-12
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-13
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-14
FORMULA_NAME SieveSingleMsgMbox-PT-d0m96-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679351486651

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=SieveSingleMsgMbox-PT-d0m96
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-20 22:31:28] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2023-03-20 22:31:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-20 22:31:28] [INFO ] Load time of PNML (sax parser for PT used): 46 ms
[2023-03-20 22:31:28] [INFO ] Transformed 262 places.
[2023-03-20 22:31:28] [INFO ] Transformed 73 transitions.
[2023-03-20 22:31:28] [INFO ] Parsed PT model containing 262 places and 73 transitions and 292 arcs in 109 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 12 ms.
Deduced a syphon composed of 190 places in 1 ms
Reduce places removed 190 places and 0 transitions.
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 12 out of 72 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 72/72 places, 73/73 transitions.
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 70 transition count 73
Discarding 5 places :
Symmetric choice reduction at 1 with 5 rule applications. Total rules 7 place count 65 transition count 68
Iterating global reduction 1 with 5 rules applied. Total rules applied 12 place count 65 transition count 68
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 13 place count 64 transition count 67
Iterating global reduction 1 with 1 rules applied. Total rules applied 14 place count 64 transition count 67
Applied a total of 14 rules in 18 ms. Remains 64 /72 variables (removed 8) and now considering 67/73 (removed 6) transitions.
// Phase 1: matrix 67 rows 64 cols
[2023-03-20 22:31:28] [INFO ] Computed 5 place invariants in 13 ms
[2023-03-20 22:31:28] [INFO ] Implicit Places using invariants in 216 ms returned []
[2023-03-20 22:31:28] [INFO ] Invariant cache hit.
[2023-03-20 22:31:28] [INFO ] State equation strengthened by 27 read => feed constraints.
[2023-03-20 22:31:28] [INFO ] Implicit Places using invariants and state equation in 134 ms returned []
Implicit Place search using SMT with State Equation took 376 ms to find 0 implicit places.
[2023-03-20 22:31:28] [INFO ] Invariant cache hit.
[2023-03-20 22:31:28] [INFO ] Dead Transitions using invariants and state equation in 67 ms found 0 transitions.
Starting structural reductions in LTL mode, iteration 1 : 64/72 places, 67/73 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 463 ms. Remains : 64/72 places, 67/73 transitions.
Support contains 12 out of 64 places after structural reductions.
[2023-03-20 22:31:29] [INFO ] Initial state reduction rules for CTL removed 4 formulas.
[2023-03-20 22:31:29] [INFO ] Flatten gal took : 24 ms
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-20 22:31:29] [INFO ] Flatten gal took : 13 ms
[2023-03-20 22:31:29] [INFO ] Input system was already deterministic with 67 transitions.
Support contains 8 out of 64 places (down from 12) after GAL structural reductions.
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 2268 resets, run finished after 323 ms. (steps per millisecond=30 ) properties (out of 5) seen :1
Incomplete Best-First random walk after 10001 steps, including 1023 resets, run finished after 95 ms. (steps per millisecond=105 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10000 steps, including 501 resets, run finished after 65 ms. (steps per millisecond=153 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 1085 resets, run finished after 77 ms. (steps per millisecond=129 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 1020 resets, run finished after 94 ms. (steps per millisecond=106 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
[2023-03-20 22:31:29] [INFO ] Invariant cache hit.
[2023-03-20 22:31:29] [INFO ] [Real]Absence check using 2 positive place invariants in 1 ms returned sat
[2023-03-20 22:31:29] [INFO ] [Real]Absence check using 2 positive and 3 generalized place invariants in 1 ms returned sat
[2023-03-20 22:31:29] [INFO ] After 57ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:3
[2023-03-20 22:31:29] [INFO ] [Nat]Absence check using 2 positive place invariants in 6 ms returned sat
[2023-03-20 22:31:29] [INFO ] [Nat]Absence check using 2 positive and 3 generalized place invariants in 1 ms returned sat
[2023-03-20 22:31:29] [INFO ] After 22ms SMT Verify possible using state equation in natural domain returned unsat :3 sat :1
[2023-03-20 22:31:29] [INFO ] State equation strengthened by 27 read => feed constraints.
[2023-03-20 22:31:29] [INFO ] After 13ms SMT Verify possible using 27 Read/Feed constraints in natural domain returned unsat :3 sat :1
[2023-03-20 22:31:29] [INFO ] After 21ms SMT Verify possible using trap constraints in natural domain returned unsat :3 sat :1
Attempting to minimize the solution found.
Minimization took 7 ms.
[2023-03-20 22:31:29] [INFO ] After 106ms SMT Verify possible using all constraints in natural domain returned unsat :3 sat :1
Fused 4 Parikh solutions to 1 different solutions.
Finished Parikh walk after 29 steps, including 1 resets, run visited all 1 properties in 1 ms. (steps per millisecond=29 )
Parikh walk visited 1 properties in 4 ms.
Successfully simplified 3 atomic propositions for a total of 3 simplifications.
FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 5 ms
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 6 ms
[2023-03-20 22:31:30] [INFO ] Input system was already deterministic with 67 transitions.
Computed a total of 8 stabilizing places and 11 stable transitions
Graph (complete) has 198 edges and 64 vertex of which 63 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.1 ms
Starting structural reductions in LTL mode, iteration 0 : 64/64 places, 67/67 transitions.
Discarding 5 places :
Symmetric choice reduction at 0 with 5 rule applications. Total rules 5 place count 59 transition count 62
Iterating global reduction 0 with 5 rules applied. Total rules applied 10 place count 59 transition count 62
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 11 place count 59 transition count 61
Applied a total of 11 rules in 4 ms. Remains 59 /64 variables (removed 5) and now considering 61/67 (removed 6) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 4 ms. Remains : 59/64 places, 61/67 transitions.
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 4 ms
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 5 ms
[2023-03-20 22:31:30] [INFO ] Input system was already deterministic with 61 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 64/64 places, 67/67 transitions.
Discarding 4 places :
Symmetric choice reduction at 0 with 4 rule applications. Total rules 4 place count 60 transition count 63
Iterating global reduction 0 with 4 rules applied. Total rules applied 8 place count 60 transition count 63
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 9 place count 60 transition count 62
Applied a total of 9 rules in 11 ms. Remains 60 /64 variables (removed 4) and now considering 62/67 (removed 5) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 11 ms. Remains : 60/64 places, 62/67 transitions.
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 3 ms
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 4 ms
[2023-03-20 22:31:30] [INFO ] Input system was already deterministic with 62 transitions.
Starting structural reductions in LTL mode, iteration 0 : 64/64 places, 67/67 transitions.
Discarding 5 places :
Symmetric choice reduction at 0 with 5 rule applications. Total rules 5 place count 59 transition count 62
Iterating global reduction 0 with 5 rules applied. Total rules applied 10 place count 59 transition count 62
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 11 place count 59 transition count 61
Applied a total of 11 rules in 4 ms. Remains 59 /64 variables (removed 5) and now considering 61/67 (removed 6) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 4 ms. Remains : 59/64 places, 61/67 transitions.
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 3 ms
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 4 ms
[2023-03-20 22:31:30] [INFO ] Input system was already deterministic with 61 transitions.
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 5 ms
[2023-03-20 22:31:30] [INFO ] Flatten gal took : 4 ms
[2023-03-20 22:31:30] [INFO ] Export to MCC of 3 properties in file /home/mcc/execution/CTLCardinality.sr.xml took 1 ms.
[2023-03-20 22:31:30] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 64 places, 67 transitions and 265 arcs took 1 ms.
Total runtime 1846 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: 64 NrTr: 67 NrArc: 265)

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

net check time: 0m 0.000sec

init dd package: 0m 3.149sec


RS generation: 21m23.478sec


-> reachability set: #nodes 302206 (3.0e+05) #states 1,482,413,399,157 (12)



starting MCC model checker
--------------------------

checking: AX [1<=0]
normalized: ~ [EX [~ [1<=0]]]

abstracting: (1<=0)
states: 0
.-> the formula is FALSE

FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-05 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 2m 0.043sec

checking: E [p43<=0 U AF [EX [0<=0]]]
normalized: E [p43<=0 U ~ [EG [~ [EX [0<=0]]]]]

abstracting: (0<=0)
states: 1,482,413,399,157 (12)
..
EG iterations: 1
abstracting: (p43<=0)
states: 1,388,457,785,205 (12)
-> the formula is TRUE

FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-13 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 1m17.484sec

checking: EG [[p5<=0 & [p7<=20 | [19<=p20 | p14<=22]]]]
normalized: EG [[p5<=0 & [p7<=20 | [19<=p20 | p14<=22]]]]

abstracting: (p14<=22)
states: 1,482,413,399,157 (12)
abstracting: (19<=p20)
states: 0
abstracting: (p7<=20)
states: 1,482,413,399,157 (12)
abstracting: (p5<=0)
states: 1,370,963,507,409 (12)
.
EG iterations: 1
-> the formula is TRUE

FORMULA SieveSingleMsgMbox-PT-d0m96-CTLCardinality-11 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m 1.990sec

totally nodes used: 19221246 (1.9e+07)
number of garbage collections: 0
fire ops cache: hits/miss/sum: 4281803847 740067436 726903987
used/not used/entry size/cache size: 67100732 8132 16 1024MB
basic ops cache: hits/miss/sum: 45117544 2892954 48010498
used/not used/entry size/cache size: 4052603 12724613 12 192MB
unary ops cache: hits/miss/sum: 0 0 0
used/not used/entry size/cache size: 0 16777216 8 128MB
abstract ops cache: hits/miss/sum: 0 0 0
used/not used/entry size/cache size: 0 16777216 12 192MB
state nr cache: hits/miss/sum: 6275028 377333 6652361
used/not used/entry size/cache size: 368956 8019652 32 256MB
max state cache: hits/miss/sum: 0 0 0
used/not used/entry size/cache size: 0 8388608 32 256MB
uniqueHash elements/entry size/size: 67108864 4 256MB
0 52166041
1 12326035
2 2124766
3 304606
4 61147
5 18263
6 26122
7 10322
8 13018
9 7959
>= 10 50585

Total processing time: 24m54.004sec


BK_STOP 1679352984390

--------------------
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.000sec

50658 171229 510390 508683 302887
iterations count:513857 (7669), effective:17051 (254)

initing FirstDep: 0m 0.000sec


iterations count:67 (1), effective:0 (0)

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="SieveSingleMsgMbox-PT-d0m96"
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 SieveSingleMsgMbox-PT-d0m96, 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 r426-tajo-167905978900393"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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