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

About the Execution of Marcie+red for RwMutex-PT-r1000w0010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
10223.787 368518.00 399609.00 1563.60 ???????????????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.r362-smll-167891812400185.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 RwMutex-PT-r1000w0010, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r362-smll-167891812400185
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.7M
-rw-r--r-- 1 mcc users 6.2K Feb 25 22:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 64K Feb 25 22:58 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.6K Feb 25 22:53 CTLFireability.txt
-rw-r--r-- 1 mcc users 39K Feb 25 22:53 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.8K Feb 25 16:49 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 16:49 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 25 16:49 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Feb 25 16:49 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 25 23:09 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 147K Feb 25 23:09 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 12K Feb 25 23:03 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 101K Feb 25 23:03 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 16:49 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 16:49 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 11 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 2.2M 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 RwMutex-PT-r1000w0010-CTLCardinality-00
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-01
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-02
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-03
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-04
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-05
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-06
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-07
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-08
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-09
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-10
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-11
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-12
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-13
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-14
FORMULA_NAME RwMutex-PT-r1000w0010-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679007288165

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=RwMutex-PT-r1000w0010
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-16 22:54:51] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2023-03-16 22:54:51] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-16 22:54:52] [INFO ] Load time of PNML (sax parser for PT used): 774 ms
[2023-03-16 22:54:52] [INFO ] Transformed 3020 places.
[2023-03-16 22:54:52] [INFO ] Transformed 2020 transitions.
[2023-03-16 22:54:52] [INFO ] Found NUPN structural information;
[2023-03-16 22:54:52] [INFO ] Parsed PT model containing 3020 places and 2020 transitions and 26040 arcs in 1022 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 21 ms.
Support contains 104 out of 3020 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 401 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
// Phase 1: matrix 2020 rows 3020 cols
[2023-03-16 22:54:52] [INFO ] Computed 2010 place invariants in 81 ms
[2023-03-16 22:54:54] [INFO ] Implicit Places using invariants in 1494 ms returned []
[2023-03-16 22:54:54] [INFO ] Invariant cache hit.
[2023-03-16 22:55:25] [INFO ] Performed 1582/3020 implicitness test of which 0 returned IMPLICIT in 30 seconds.
[2023-03-16 22:55:55] [INFO ] Performed 2054/3020 implicitness test of which 0 returned IMPLICIT in 60 seconds.
[2023-03-16 22:56:07] [INFO ] Implicit Places using invariants and state equation in 73434 ms returned []
Implicit Place search using SMT with State Equation took 74976 ms to find 0 implicit places.
[2023-03-16 22:56:07] [INFO ] Invariant cache hit.
[2023-03-16 22:56:08] [INFO ] Dead Transitions using invariants and state equation in 860 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 76244 ms. Remains : 3020/3020 places, 2020/2020 transitions.
Support contains 104 out of 3020 places after structural reductions.
[2023-03-16 22:56:12] [INFO ] Flatten gal took : 3171 ms
[2023-03-16 22:56:12] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA RwMutex-PT-r1000w0010-CTLCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-16 22:56:14] [INFO ] Flatten gal took : 2616 ms
[2023-03-16 22:56:15] [INFO ] Input system was already deterministic with 2020 transitions.
Support contains 87 out of 3020 places (down from 104) after GAL structural reductions.
Finished random walk after 4397 steps, including 1 resets, run visited all 48 properties in 1331 ms. (steps per millisecond=3 )
[2023-03-16 22:56:19] [INFO ] Flatten gal took : 2874 ms
[2023-03-16 22:56:22] [INFO ] Flatten gal took : 2465 ms
[2023-03-16 22:56:22] [INFO ] Input system was already deterministic with 2020 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 196 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 197 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:56:25] [INFO ] Flatten gal took : 2444 ms
[2023-03-16 22:56:27] [INFO ] Flatten gal took : 2421 ms
[2023-03-16 22:56:28] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Drop transitions removed 991 transitions
Trivial Post-agglo rules discarded 991 transitions
Performed 991 trivial Post agglomeration. Transition count delta: 991
Iterating post reduction 0 with 991 rules applied. Total rules applied 991 place count 3020 transition count 1029
Reduce places removed 1982 places and 0 transitions.
Iterating post reduction 1 with 1982 rules applied. Total rules applied 2973 place count 1038 transition count 1029
Applied a total of 2973 rules in 1136 ms. Remains 1038 /3020 variables (removed 1982) and now considering 1029/2020 (removed 991) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 1141 ms. Remains : 1038/3020 places, 1029/2020 transitions.
[2023-03-16 22:56:31] [INFO ] Flatten gal took : 2354 ms
[2023-03-16 22:56:34] [INFO ] Flatten gal took : 2578 ms
[2023-03-16 22:56:34] [INFO ] Input system was already deterministic with 1029 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 151 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 153 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:56:37] [INFO ] Flatten gal took : 2595 ms
[2023-03-16 22:56:39] [INFO ] Flatten gal took : 2450 ms
[2023-03-16 22:56:40] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 140 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 141 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:56:43] [INFO ] Flatten gal took : 2774 ms
[2023-03-16 22:56:46] [INFO ] Flatten gal took : 3057 ms
[2023-03-16 22:56:46] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 147 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 147 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:56:49] [INFO ] Flatten gal took : 2649 ms
[2023-03-16 22:56:52] [INFO ] Flatten gal took : 2802 ms
[2023-03-16 22:56:52] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 235 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 235 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:56:55] [INFO ] Flatten gal took : 2550 ms
[2023-03-16 22:56:57] [INFO ] Flatten gal took : 2461 ms
[2023-03-16 22:56:58] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 139 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 139 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:57:00] [INFO ] Flatten gal took : 2464 ms
[2023-03-16 22:57:03] [INFO ] Flatten gal took : 2474 ms
[2023-03-16 22:57:03] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 136 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 136 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:57:06] [INFO ] Flatten gal took : 2618 ms
[2023-03-16 22:57:08] [INFO ] Flatten gal took : 2398 ms
[2023-03-16 22:57:09] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Drop transitions removed 997 transitions
Trivial Post-agglo rules discarded 997 transitions
Performed 997 trivial Post agglomeration. Transition count delta: 997
Iterating post reduction 0 with 997 rules applied. Total rules applied 997 place count 3020 transition count 1023
Reduce places removed 1994 places and 0 transitions.
Iterating post reduction 1 with 1994 rules applied. Total rules applied 2991 place count 1026 transition count 1023
Applied a total of 2991 rules in 511 ms. Remains 1026 /3020 variables (removed 1994) and now considering 1023/2020 (removed 997) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 512 ms. Remains : 1026/3020 places, 1023/2020 transitions.
[2023-03-16 22:57:12] [INFO ] Flatten gal took : 2607 ms
[2023-03-16 22:57:14] [INFO ] Flatten gal took : 2488 ms
[2023-03-16 22:57:15] [INFO ] Input system was already deterministic with 1023 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Drop transitions removed 998 transitions
Trivial Post-agglo rules discarded 998 transitions
Performed 998 trivial Post agglomeration. Transition count delta: 998
Iterating post reduction 0 with 998 rules applied. Total rules applied 998 place count 3020 transition count 1022
Reduce places removed 1996 places and 0 transitions.
Iterating post reduction 1 with 1996 rules applied. Total rules applied 2994 place count 1024 transition count 1022
Applied a total of 2994 rules in 350 ms. Remains 1024 /3020 variables (removed 1996) and now considering 1022/2020 (removed 998) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 350 ms. Remains : 1024/3020 places, 1022/2020 transitions.
[2023-03-16 22:57:17] [INFO ] Flatten gal took : 2466 ms
[2023-03-16 22:57:20] [INFO ] Flatten gal took : 2509 ms
[2023-03-16 22:57:20] [INFO ] Input system was already deterministic with 1022 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Drop transitions removed 1006 transitions
Trivial Post-agglo rules discarded 1006 transitions
Performed 1006 trivial Post agglomeration. Transition count delta: 1006
Iterating post reduction 0 with 1006 rules applied. Total rules applied 1006 place count 3020 transition count 1014
Reduce places removed 3008 places and 0 transitions.
Ensure Unique test removed 1004 transitions
Reduce isomorphic transitions removed 1004 transitions.
Iterating post reduction 1 with 4012 rules applied. Total rules applied 5018 place count 12 transition count 10
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 2 with 1 rules applied. Total rules applied 5019 place count 12 transition count 9
Ensure Unique test removed 4 places
Iterating post reduction 2 with 4 rules applied. Total rules applied 5023 place count 8 transition count 9
Applied a total of 5023 rules in 46 ms. Remains 8 /3020 variables (removed 3012) and now considering 9/2020 (removed 2011) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 47 ms. Remains : 8/3020 places, 9/2020 transitions.
[2023-03-16 22:57:20] [INFO ] Flatten gal took : 0 ms
[2023-03-16 22:57:20] [INFO ] Flatten gal took : 1 ms
[2023-03-16 22:57:20] [INFO ] Input system was already deterministic with 9 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 154 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 154 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:57:23] [INFO ] Flatten gal took : 2525 ms
[2023-03-16 22:57:25] [INFO ] Flatten gal took : 2557 ms
[2023-03-16 22:57:26] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 155 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 156 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:57:29] [INFO ] Flatten gal took : 2492 ms
[2023-03-16 22:57:31] [INFO ] Flatten gal took : 2521 ms
[2023-03-16 22:57:31] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 233 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 234 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:57:34] [INFO ] Flatten gal took : 2641 ms
[2023-03-16 22:57:37] [INFO ] Flatten gal took : 2560 ms
[2023-03-16 22:57:37] [INFO ] Input system was already deterministic with 2020 transitions.
Starting structural reductions in LTL mode, iteration 0 : 3020/3020 places, 2020/2020 transitions.
Applied a total of 0 rules in 202 ms. Remains 3020 /3020 variables (removed 0) and now considering 2020/2020 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 202 ms. Remains : 3020/3020 places, 2020/2020 transitions.
[2023-03-16 22:57:40] [INFO ] Flatten gal took : 2420 ms
[2023-03-16 22:57:42] [INFO ] Flatten gal took : 2425 ms
[2023-03-16 22:57:43] [INFO ] Input system was already deterministic with 2020 transitions.
[2023-03-16 22:57:45] [INFO ] Flatten gal took : 2434 ms
[2023-03-16 22:57:48] [INFO ] Flatten gal took : 2434 ms
[2023-03-16 22:57:48] [INFO ] Export to MCC of 15 properties in file /home/mcc/execution/CTLCardinality.sr.xml took 3 ms.
[2023-03-16 22:57:48] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 3020 places, 2020 transitions and 26040 arcs took 29 ms.
Total runtime 177002 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: 3020 NrTr: 2020 NrArc: 26040)

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

net check time: 0m 0.006sec

init dd package: 0m 3.258sec


before gc: list nodes free: 25267

after gc: idd nodes used:31164385, unused:32835615; list nodes free:149103841

before gc: list nodes free: 1273945

after gc: idd nodes used:62293984, unused:1706016; list nodes free:8955106

RS generation: 2m27.321sec


-> last computed set: #nodes 62292966 (6.2e+07) #states 32,768 (4)


CANNOT_COMPUTE


BK_STOP 1679007656683

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

idd.cc:820: DD Exception: No free nodes

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="RwMutex-PT-r1000w0010"
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 RwMutex-PT-r1000w0010, 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 r362-smll-167891812400185"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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