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

About the Execution of Smart+red for RingSingleMessageInMbox-PT-d1m005

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
8707.619 3600000.00 3644060.00 24741.90 TTTFTFTTFFTTFTFT 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.r331-tall-167889205000838.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 smartxred
Input is RingSingleMessageInMbox-PT-d1m005, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r331-tall-167889205000838
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 6.2M
-rw-r--r-- 1 mcc users 6.7K Feb 26 05:20 CTLCardinality.txt
-rw-r--r-- 1 mcc users 67K Feb 26 05:20 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.5K Feb 26 05:15 CTLFireability.txt
-rw-r--r-- 1 mcc users 45K Feb 26 05:15 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.9K Feb 25 16:46 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 16:46 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Feb 25 16:46 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:46 LTLFireability.xml
-rw-r--r-- 1 mcc users 6.9K Feb 26 05:26 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 60K Feb 26 05:26 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.7K Feb 26 05:22 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 70K Feb 26 05:22 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 25 16:46 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 16:46 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 7 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 5.8M 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 RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-00
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-01
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-02
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-03
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-04
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-05
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-06
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-07
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-08
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-09
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-10
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-11
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-12
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-13
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-14
FORMULA_NAME RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1679159187077

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=smartxred
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=RingSingleMessageInMbox-PT-d1m005
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-18 17:06:28] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-18 17:06:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-18 17:06:29] [INFO ] Load time of PNML (sax parser for PT used): 488 ms
[2023-03-18 17:06:29] [INFO ] Transformed 6690 places.
[2023-03-18 17:06:29] [INFO ] Transformed 11934 transitions.
[2023-03-18 17:06:29] [INFO ] Parsed PT model containing 6690 places and 11934 transitions and 47736 arcs in 879 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 17 ms.
Working with output stream class java.io.PrintStream
Deduced a syphon composed of 4305 places in 30 ms
Reduce places removed 4305 places and 0 transitions.
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 1560 resets, run finished after 1017 ms. (steps per millisecond=9 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10000 steps, including 64 resets, run finished after 37 ms. (steps per millisecond=270 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 58 resets, run finished after 39 ms. (steps per millisecond=256 ) properties (out of 6) seen :1
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 53 resets, run finished after 36 ms. (steps per millisecond=277 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 64 resets, run finished after 45 ms. (steps per millisecond=222 ) properties (out of 5) seen :1
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 67 resets, run finished after 36 ms. (steps per millisecond=277 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 106 resets, run finished after 49 ms. (steps per millisecond=204 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
// Phase 1: matrix 11934 rows 2385 cols
[2023-03-18 17:06:32] [INFO ] Computed 5 place invariants in 949 ms
[2023-03-18 17:06:32] [INFO ] [Real]Absence check using 2 positive place invariants in 37 ms returned sat
[2023-03-18 17:06:32] [INFO ] [Real]Absence check using 2 positive and 3 generalized place invariants in 52 ms returned sat
[2023-03-18 17:06:32] [INFO ] After 674ms SMT Verify possible using all constraints in real domain returned unsat :2 sat :0 real:2
[2023-03-18 17:06:33] [INFO ] [Nat]Absence check using 2 positive place invariants in 36 ms returned sat
[2023-03-18 17:06:33] [INFO ] [Nat]Absence check using 2 positive and 3 generalized place invariants in 58 ms returned sat
[2023-03-18 17:06:33] [INFO ] After 501ms SMT Verify possible using all constraints in natural domain returned unsat :4 sat :0
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-09 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-05 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-03 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 4 Parikh solutions to 0 different solutions.
Parikh walk visited 0 properties in 0 ms.
All properties solved without resorting to model-checking.
Total runtime 4540 ms.
======================================================
========== this is Smart for the MCC'2018 ============
======================================================
Running RingSingleMessageInMbox (PT), instance d1m005
Examination ReachabilityCardinality
Parser /home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//parser/Cardinality.jar
Model checker /home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//rem_exec//smart

GOT IT HERE. BS
Petri model created: 6690 places, 11934 transitions, 47736 arcs.
Final Score: 7943996.272
Took : 166 seconds
Reachability Cardinality file is: ReachabilityCardinality.xml
READY TO PARSE. BS
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-00 (reachable &!potential( ( ( (! ( (tk(P2998)) <= (tk(P1678)) )) & (! ( ( ( ( 2 ) <= (tk(P4996)) ) | ( ( 3 ) <= (tk(P5982)) ) ) & ( (tk(P4015)) <= ( 1 ) ) )) ) | ( ( ( (! ( (! ( (tk(P1177)) <= ( 2 ) )) & ( ( ( (tk(P4896)) <= ( 4 ) ) & ( (tk(P424)) <= ( 2 ) ) ) | (! ( (tk(P6448)) <= ( 3 ) )) ) )) & (! ( ( ( ( ( (tk(P3229)) <= ( 5 ) ) | ( ( 3 ) <= (tk(P3394)) ) ) | (! ( (tk(P6203)) <= (tk(P3241)) )) ) & (! ( ( (tk(P2073)) <= (tk(P2980)) ) | ( (tk(P833)) <= (tk(P1566)) ) )) ) | ( (tk(P6657)) <= ( 2 ) ) )) ) & ( ( 3 ) <= (tk(P5066)) ) ) | ( ( ( ( ( (tk(P3758)) <= ( 3 ) ) & ( (tk(P3850)) <= (tk(P4461)) ) ) | (! ( ( (tk(P93)) <= (tk(P4842)) ) & (! ( (tk(P1793)) <= ( 0 ) )) )) ) | ( ( ( ( (tk(P1095)) <= ( 1 ) ) | ( ( ( ( 3 ) <= (tk(P4381)) ) | ( ( 3 ) <= (tk(P5533)) ) ) | (! ( (tk(P5102)) <= ( 3 ) )) ) ) & ( ( 3 ) <= (tk(P5740)) ) ) & ( ( (tk(P1148)) <= ( 3 ) ) & ( ( ( ( ( 3 ) <= (tk(P5915)) ) & ( (tk(P4283)) <= ( 4 ) ) ) & ( ( 2 ) <= (tk(P909)) ) ) | ( ( 5 ) <= (tk(P6476)) ) ) ) ) ) | ( ( ( ( ( ( (tk(P2925)) <= (tk(P4138)) ) | ( (tk(P1721)) <= (tk(P1867)) ) ) | ( (tk(P6077)) <= ( 3 ) ) ) & (! ( (! ( (tk(P2077)) <= ( 3 ) )) | (! ( (tk(P5754)) <= ( 3 ) )) )) ) & ( ( ( ( ( ( 1 ) <= (tk(P2019)) ) & ( (tk(P4725)) <= ( 0 ) ) ) & ( ( ( 3 ) <= (tk(P5550)) ) | ( (tk(P691)) <= (tk(P4905)) ) ) ) & ( (tk(P2252)) <= (tk(P478)) ) ) & ( ( (! ( (tk(P4113)) <= ( 4 ) )) & ( ( (tk(P138)) <= ( 3 ) ) & ( ( 1 ) <= (tk(P459)) ) ) ) | ( ( (tk(P2471)) <= ( 4 ) ) & ( (tk(P1682)) <= ( 1 ) ) ) ) ) ) | ( ( ( (tk(P2432)) <= ( 1 ) ) & ( (tk(P5279)) <= (tk(P6506)) ) ) & (! ( ( ( 2 ) <= (tk(P2063)) ) | ( (tk(P2039)) <= ( 2 ) ) )) ) ) ) ) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-01 (reachable &!potential( ( (tk(P3120)) <= ( 0 ) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-02 (reachable &!potential( (! ( ( 5 ) <= (tk(P3218)) ))))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-03 (reachable & potential(( ( (! ( (tk(P6185)) <= (tk(P5487)) )) | (! ( (! ( (tk(P5743)) <= ( 2 ) )) & ( ( 5 ) <= (tk(P4775)) ) )) ) & ( ( 2 ) <= (tk(P4578)) ) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-04 (reachable & potential((! ( (tk(P4237)) <= (tk(P657)) ))))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-05 (reachable & potential((! ( (tk(P153)) <= ( 2 ) ))))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-06 (reachable &!potential( ( (tk(P4690)) <= (tk(P3034)) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-07 (reachable & potential(( ( ( 2 ) <= (tk(P4104)) ) | (! ( ( ( ( ( (tk(P6288)) <= ( 5 ) ) | ( (tk(P3495)) <= (tk(P6037)) ) ) & ( ( (! ( ( ( 4 ) <= (tk(P22)) ) & ( (tk(P1886)) <= (tk(P5918)) ) )) & ( ( ( (tk(P4030)) <= ( 4 ) ) & ( (tk(P6138)) <= (tk(P5119)) ) ) & ( (tk(P3756)) <= (tk(P3650)) ) ) ) & ( ( ( ( (tk(P3501)) <= (tk(P3522)) ) | ( (tk(P6096)) <= (tk(P1488)) ) ) & ( ( (tk(P692)) <= ( 5 ) ) & ( (tk(P6571)) <= ( 4 ) ) ) ) | (! ( ( 2 ) <= (tk(P4177)) )) ) ) ) | (! ( (tk(P609)) <= (tk(P1601)) )) ) & (! ( ( 1 ) <= (tk(P5280)) )) )) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-08 (reachable & potential((! ( (tk(P1458)) <= (tk(P10)) ))))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-09 (reachable & potential(( ( ( (tk(P6201)) <= ( 1 ) ) | ( ( 4 ) <= (tk(P3074)) ) ) & ( ( 3 ) <= (tk(P4339)) ) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-10 (reachable &!potential( ( ( (! ( ( ( ( ( (tk(P5735)) <= ( 2 ) ) & ( ( 3 ) <= (tk(P3653)) ) ) | (! ( ( 1 ) <= (tk(P4363)) )) ) | (! ( ( (tk(P3325)) <= (tk(P359)) ) & ( ( 4 ) <= (tk(P6175)) ) )) ) & ( ( 3 ) <= (tk(P3748)) ) )) | ( (tk(P4602)) <= (tk(P5653)) ) ) | (! ( (tk(P2581)) <= (tk(P2850)) )) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-11 (reachable &!potential( ( (tk(P2556)) <= ( 1 ) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-12 (reachable & potential(( ( 4 ) <= (tk(P6294)) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-13 (reachable &!potential( (! ( ( ( ( (! ( ( 3 ) <= (tk(P5165)) )) & (! ( (tk(P4577)) <= (tk(P1049)) )) ) | ( ( (! ( ( ( (tk(P2700)) <= (tk(P4249)) ) & ( ( 2 ) <= (tk(P899)) ) ) & ( (tk(P5723)) <= ( 4 ) ) )) & ( (tk(P4642)) <= (tk(P181)) ) ) | (! ( (tk(P3069)) <= ( 4 ) )) ) ) & (! ( ( 2 ) <= (tk(P3474)) )) ) & (! ( ( ( 2 ) <= (tk(P825)) ) | ( (tk(P1609)) <= (tk(P1286)) ) )) ))))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-14 (reachable & potential(( ( ( ( ( (! ( ( ( ( (tk(P5684)) <= ( 1 ) ) & ( (tk(P1621)) <= ( 4 ) ) ) & ( (tk(P2865)) <= ( 5 ) ) ) & ( ( 5 ) <= (tk(P3189)) ) )) & (! ( ( 4 ) <= (tk(P2655)) )) ) & (! ( (tk(P208)) <= (tk(P4305)) )) ) & ( ( (tk(P1233)) <= ( 1 ) ) & ( (tk(P1595)) <= (tk(P5073)) ) ) ) & (! ( ( (! ( (tk(P1953)) <= (tk(P2960)) )) & ( ( ( (tk(P1636)) <= ( 0 ) ) & ( ( ( 1 ) <= (tk(P1055)) ) | ( ( 1 ) <= (tk(P5501)) ) ) ) | ( ( ( (tk(P2751)) <= ( 2 ) ) | ( ( 4 ) <= (tk(P1227)) ) ) & (! ( ( 4 ) <= (tk(P4488)) )) ) ) ) | ( ( ( ( ( (tk(P4164)) <= (tk(P2257)) ) & ( ( 5 ) <= (tk(P451)) ) ) & (! ( ( 4 ) <= (tk(P3867)) )) ) | ( (tk(P3302)) <= (tk(P4783)) ) ) | ( (tk(P6590)) <= (tk(P2371)) ) ) )) ) & ( ( ( 5 ) <= (tk(P5881)) ) | ( (tk(P2693)) <= (tk(P408)) ) ) )))
PROPERTY: RingSingleMessageInMbox-PT-d1m005-ReachabilityCardinality-15 (reachable &!potential( ( (tk(P1965)) <= ( 5 ) )))
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393232 kB
MemFree: 7435148 kB
After kill :
MemTotal: 16393232 kB
MemFree: 16096852 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 ReachabilityCardinality -timeout 360 -rebuildPNML
Caught signal 15, terminating.

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-d1m005"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="smartxred"
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 smartxred"
echo " Input is RingSingleMessageInMbox-PT-d1m005, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r331-tall-167889205000838"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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