fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r333-tall-171679077500017
Last Updated
July 7, 2024

About the Execution of GreatSPN+red for RingSingleMessageInMbox-PT-d0m010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
268.207 6330.00 15008.00 72.50 TTFFFTFTFFFFTTFF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r333-tall-171679077500017.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.................
=====================================================================
Generated by BenchKit 2-5568
Executing tool greatspnxred
Input is RingSingleMessageInMbox-PT-d0m010, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r333-tall-171679077500017
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 504K
-rw-r--r-- 1 mcc users 7.0K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 74K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.1K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 44K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Apr 23 07:48 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Apr 23 07:48 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Apr 23 07:48 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Apr 23 07:48 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Apr 12 23:59 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 114K Apr 12 23:59 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.7K Apr 12 23:59 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 86K Apr 12 23:59 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Apr 23 07:48 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Apr 23 07:48 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:43 equiv_col
-rw-r--r-- 1 mcc users 7 May 18 16:43 instance
-rw-r--r-- 1 mcc users 6 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 64K May 18 16:43 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 RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-00
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-01
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-02
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-03
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-04
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-05
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-06
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-07
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-08
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-09
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-10
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-11
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2023-12
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2023-13
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2023-14
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2023-15

=== Now, execution of the tool begins

BK_START 1716792026116

Invoking MCC driver with
BK_TOOL=greatspnxred
BK_EXAMINATION=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=RingSingleMessageInMbox-PT-d0m010
BK_MEMORY_CONFINEMENT=16384
Applying reductions before tool greatspn
Invoking reducer
Running Version 202405141337
[2024-05-27 06:40:27] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2024-05-27 06:40:27] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-27 06:40:27] [INFO ] Load time of PNML (sax parser for PT used): 64 ms
[2024-05-27 06:40:27] [INFO ] Transformed 385 places.
[2024-05-27 06:40:27] [INFO ] Transformed 59 transitions.
[2024-05-27 06:40:27] [INFO ] Parsed PT model containing 385 places and 59 transitions and 236 arcs in 161 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 14 ms.
Deduced a syphon composed of 329 places in 1 ms
Reduce places removed 329 places and 0 transitions.
Initial state reduction rules removed 2 formulas.
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2023-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 4 out of 56 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 56/56 places, 59/59 transitions.
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 54 transition count 59
Discarding 6 places :
Symmetric choice reduction at 1 with 6 rule applications. Total rules 8 place count 48 transition count 51
Iterating global reduction 1 with 6 rules applied. Total rules applied 14 place count 48 transition count 51
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 15 place count 47 transition count 50
Iterating global reduction 1 with 1 rules applied. Total rules applied 16 place count 47 transition count 50
Applied a total of 16 rules in 21 ms. Remains 47 /56 variables (removed 9) and now considering 50/59 (removed 9) transitions.
// Phase 1: matrix 50 rows 47 cols
[2024-05-27 06:40:27] [INFO ] Computed 3 invariants in 10 ms
[2024-05-27 06:40:27] [INFO ] Implicit Places using invariants in 205 ms returned []
[2024-05-27 06:40:27] [INFO ] Invariant cache hit.
[2024-05-27 06:40:27] [INFO ] State equation strengthened by 21 read => feed constraints.
[2024-05-27 06:40:27] [INFO ] Implicit Places using invariants and state equation in 119 ms returned []
Implicit Place search using SMT with State Equation took 352 ms to find 0 implicit places.
Running 49 sub problems to find dead transitions.
[2024-05-27 06:40:27] [INFO ] Invariant cache hit.
[2024-05-27 06:40:27] [INFO ] State equation strengthened by 21 read => feed constraints.
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/46 variables, 1/1 constraints. Problems are: Problem set: 0 solved, 49 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/46 variables, 0/1 constraints. Problems are: Problem set: 0 solved, 49 unsolved
At refinement iteration 2 (OVERLAPS) 1/47 variables, 2/3 constraints. Problems are: Problem set: 0 solved, 49 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/47 variables, 0/3 constraints. Problems are: Problem set: 0 solved, 49 unsolved
Problem TDEAD14 is UNSAT
Problem TDEAD15 is UNSAT
Problem TDEAD21 is UNSAT
Problem TDEAD22 is UNSAT
Problem TDEAD47 is UNSAT
At refinement iteration 4 (OVERLAPS) 50/97 variables, 47/50 constraints. Problems are: Problem set: 5 solved, 44 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/97 variables, 21/71 constraints. Problems are: Problem set: 5 solved, 44 unsolved
[2024-05-27 06:40:28] [INFO ] Deduced a trap composed of 15 places in 169 ms of which 10 ms to minimize.
Problem TDEAD43 is UNSAT
At refinement iteration 6 (INCLUDED_ONLY) 0/97 variables, 1/72 constraints. Problems are: Problem set: 6 solved, 43 unsolved
[2024-05-27 06:40:28] [INFO ] Deduced a trap composed of 27 places in 48 ms of which 2 ms to minimize.
At refinement iteration 7 (INCLUDED_ONLY) 0/97 variables, 1/73 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/97 variables, 0/73 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 9 (OVERLAPS) 0/97 variables, 0/73 constraints. Problems are: Problem set: 6 solved, 43 unsolved
No progress, stopping.
After SMT solving in domain Real declared 97/97 variables, and 73 constraints, problems are : Problem set: 6 solved, 43 unsolved in 1216 ms.
Refiners :[Positive P Invariants (semi-flows): 2/2 constraints, Generalized P Invariants (flows): 1/1 constraints, State Equation: 47/47 constraints, ReadFeed: 21/21 constraints, PredecessorRefiner: 49/49 constraints, Known Traps: 2/2 constraints]
Escalating to Integer solving :Problem set: 6 solved, 43 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/41 variables, 0/0 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 1 (OVERLAPS) 3/44 variables, 2/2 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 2 (INCLUDED_ONLY) 0/44 variables, 1/3 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/44 variables, 0/3 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 4 (OVERLAPS) 3/47 variables, 1/4 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/47 variables, 1/5 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/47 variables, 0/5 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 7 (OVERLAPS) 50/97 variables, 47/52 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/97 variables, 21/73 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 9 (INCLUDED_ONLY) 0/97 variables, 43/116 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 10 (INCLUDED_ONLY) 0/97 variables, 0/116 constraints. Problems are: Problem set: 6 solved, 43 unsolved
At refinement iteration 11 (OVERLAPS) 0/97 variables, 0/116 constraints. Problems are: Problem set: 6 solved, 43 unsolved
No progress, stopping.
After SMT solving in domain Int declared 97/97 variables, and 116 constraints, problems are : Problem set: 6 solved, 43 unsolved in 822 ms.
Refiners :[Positive P Invariants (semi-flows): 2/2 constraints, Generalized P Invariants (flows): 1/1 constraints, State Equation: 47/47 constraints, ReadFeed: 21/21 constraints, PredecessorRefiner: 43/49 constraints, Known Traps: 2/2 constraints]
After SMT, in 2133ms problems are : Problem set: 6 solved, 43 unsolved
Search for dead transitions found 6 dead transitions in 2154ms
Found 6 dead transitions using SMT.
Drop transitions (Dead Transitions using SMT only with invariants) removed 6 transitions
Dead transitions reduction (with SMT) removed 6 transitions
Starting structural reductions in LTL mode, iteration 1 : 47/56 places, 44/59 transitions.
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 0 with 4 rules applied. Total rules applied 4 place count 43 transition count 44
Deduced a syphon composed of 1 places in 0 ms
Applied a total of 4 rules in 1 ms. Remains 43 /47 variables (removed 4) and now considering 44/44 (removed 0) transitions.
// Phase 1: matrix 44 rows 43 cols
[2024-05-27 06:40:30] [INFO ] Computed 3 invariants in 2 ms
[2024-05-27 06:40:30] [INFO ] Implicit Places using invariants in 51 ms returned []
[2024-05-27 06:40:30] [INFO ] Invariant cache hit.
[2024-05-27 06:40:30] [INFO ] State equation strengthened by 19 read => feed constraints.
[2024-05-27 06:40:30] [INFO ] Implicit Places using invariants and state equation in 69 ms returned []
Implicit Place search using SMT with State Equation took 122 ms to find 0 implicit places.
Starting structural reductions in LTL mode, iteration 2 : 43/56 places, 44/59 transitions.
Finished structural reductions in LTL mode , in 2 iterations and 2687 ms. Remains : 43/56 places, 44/59 transitions.
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Support contains 3 out of 42 places after structural reductions.
[2024-05-27 06:40:30] [INFO ] Initial state reduction rules for CTL removed 4 formulas.
[2024-05-27 06:40:30] [INFO ] Flatten gal took : 36 ms
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2023-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2023-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2024-05-27 06:40:30] [INFO ] Flatten gal took : 7 ms
[2024-05-27 06:40:30] [INFO ] Input system was already deterministic with 44 transitions.
Support contains 2 out of 42 places (down from 3) after GAL structural reductions.
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2023-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
RANDOM walk for 40000 steps (8609 resets) in 789 ms. (50 steps per ms) remains 2/2 properties
BEST_FIRST walk for 40002 steps (3777 resets) in 420 ms. (95 steps per ms) remains 2/2 properties
BEST_FIRST walk for 40002 steps (3837 resets) in 199 ms. (200 steps per ms) remains 2/2 properties
Probably explored full state space saw : 27639 states, properties seen :1
Probabilistic random walk after 71445 steps, saw 27639 distinct states, run finished after 347 ms. (steps per millisecond=205 ) properties seen :1
Explored full state space saw : 27639 states, properties seen :0
Exhaustive walk after 71445 steps, saw 27639 distinct states, run finished after 49 ms. (steps per millisecond=1458 ) properties seen :0
Successfully simplified 1 atomic propositions for a total of 2 simplifications.
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2024-05-27 06:40:31] [INFO ] Flatten gal took : 5 ms
[2024-05-27 06:40:31] [INFO ] Flatten gal took : 10 ms
[2024-05-27 06:40:31] [INFO ] Input system was already deterministic with 44 transitions.
Computed a total of 4 stabilizing places and 9 stable transitions
Graph (complete) has 128 edges and 42 vertex of which 41 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.42 ms
Starting structural reductions in LTL mode, iteration 0 : 42/42 places, 44/44 transitions.
Applied a total of 0 rules in 2 ms. Remains 42 /42 variables (removed 0) and now considering 44/44 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 42/42 places, 44/44 transitions.
[2024-05-27 06:40:31] [INFO ] Flatten gal took : 9 ms
[2024-05-27 06:40:31] [INFO ] Flatten gal took : 4 ms
[2024-05-27 06:40:31] [INFO ] Input system was already deterministic with 44 transitions.
Starting structural reductions in LTL mode, iteration 0 : 42/42 places, 44/44 transitions.
Applied a total of 0 rules in 3 ms. Remains 42 /42 variables (removed 0) and now considering 44/44 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 3 ms. Remains : 42/42 places, 44/44 transitions.
[2024-05-27 06:40:31] [INFO ] Flatten gal took : 5 ms
[2024-05-27 06:40:31] [INFO ] Flatten gal took : 17 ms
[2024-05-27 06:40:31] [INFO ] Input system was already deterministic with 44 transitions.
[2024-05-27 06:40:31] [INFO ] Flatten gal took : 3 ms
[2024-05-27 06:40:31] [INFO ] Flatten gal took : 18 ms
[2024-05-27 06:40:31] [INFO ] Export to MCC of 2 properties in file /home/mcc/execution/CTLCardinality.sr.xml took 2 ms.
[2024-05-27 06:40:31] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 42 places, 44 transitions and 171 arcs took 1 ms.
Total runtime 4464 ms.
There are residual formulas that ITS could not solve within timeout
----------------------------------------------------------------------
GreatSPN-meddly tool, MCC 2023
----------------------------------------------------------------------

Running RingSingleMessageInMbox-PT-d0m010

IS_COLORED=
IS_NUPN=

LOADING PETRI NET FILE /home/mcc/execution/406/model.pnml (PNML) ...
PNML VERSION 2009, P/T NET.
COLOR CLASSES: 0
CONSTANTS: 0
PLACES: 42
TRANSITIONS: 44
COLOR VARS: 0
MEASURES: 0
LOADING TIME: [User 0.000s, Sys 0.002s]


SAVING FILE /home/mcc/execution/406/model (.net / .def) ...
EXPORT TIME: [User 0.000s, Sys 0.000s]


----------------------------------------------------------------------
GreatSPN/Meddly.
Copyright (C) 1987-2022, University of Torino, Italy.
website: https://github.com/greatspn/SOURCES

Based on MEDDLY version 0.16.0
Copyright (C) 2009, Iowa State University Research Foundation, Inc.
website: http://meddly.sourceforge.net

Process ID: 542
MODEL NAME: /home/mcc/execution/406/model
42 places, 44 transitions.

Creating all event NSFs..
Creating all event NSFs..
Creating all event NSFs..
Split: SplitSubtract
Start RS construction.
Split: SplitSubtract
Start RS construction.
Split: SplitSubtract
Start RS construction.
Building monolithic NSF...
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-09 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-2024-11 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING UNFOLDING_TO_PT USE_NUPN TOPOLOGICAL
Ok.
EXITCODE: 0
----------------------------------------------------------------------

BK_STOP 1716792032446

--------------------
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.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination CTLCardinality -timeout 360 -rebuildPNML

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="RingSingleMessageInMbox-PT-d0m010"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="greatspnxred"
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-5568"
echo " Executing tool greatspnxred"
echo " Input is RingSingleMessageInMbox-PT-d0m010, 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 r333-tall-171679077500017"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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