fond
Model Checking Contest @ Petri Nets 2015
Bruxelles, Belgium, June 23, 2015
Execution of r162st-ebro-143319441200650
Last Updated
August 19, 2015

About the Execution of Marcie for S_LamportFastMutEx-PT-3

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
4101.730 21608.00 21056.00 30.10 TTTTTTTTTTTTTTTT normal

Execution Chart

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

Trace from the execution

Waiting for the VM to be ready (probing ssh)
...................
=====================================================================
Generated by BenchKit 2-2265
Executing tool marcie
Input is S_LamportFastMutEx-PT-3, examination is ReachabilityFireabilitySimple
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 1
Run identifier is r162st-ebro-143319441200650
=====================================================================


--------------------
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 LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-0
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-1
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-10
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-11
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-12
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-13
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-14
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-15
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-2
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-3
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-4
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-5
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-6
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-7
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-8
FORMULA_NAME LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-9

=== Now, execution of the tool begins

BK_START 1433378900632

Model: S_LamportFastMutEx-PT-3
reachability algorithm:
Saturation-based algorithm
variable ordering algorithm:
Calculated like in [Noa99]
--memory=6 --suppress --rs-algorithm=3 --place-order=5

Marcie rev. 1429:1432M (built: crohr on 2014-10-22)
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: marcie --net-file=model.pnml --mcc-file=ReachabilityFireabilitySimple.xml --memory=6 --suppress --rs-algorithm=3 --place-order=5

parse successfull
net created successfully

(NrP: 100 NrTr: 156 NrArc: 664)

net check time: 0m0sec

parse formulas successfull
formulas created successfully
place and transition orderings generation:0m0sec

init dd package: 0m5sec


RS generation: 0m2sec


-> reachability set: #nodes 5902 (5.9e+03) #states 19,742 (4)



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

checking: EF [[[[IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]] | IS-FIREABLE [T_forod_13_3]] | IS-FIREABLE [T_forod_13_4]]]
normalized: E [true U [IS-FIREABLE [T_forod_13_4] | [[IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]] | IS-FIREABLE [T_forod_13_3]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-0 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m3sec

checking: EF [[[[[[[[[[[[IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]] | IS-FIREABLE [T_ynei_15_4]] | IS-FIREABLE [T_ynei_15_5]] | IS-FIREABLE [T_ynei_15_7]] | IS-FIREABLE [T_ynei_15_8]] | IS-FIREABLE [T_ynei_15_9]] | IS-FIREABLE [T_ynei_15_10]] | IS-FIREABLE [T_ynei_15_12]] | IS-FIREABLE [T_ynei_15_13]] | IS-FIREABLE [T_ynei_15_14]] | IS-FIREABLE [T_ynei_15_15]]]
normalized: E [true U [IS-FIREABLE [T_ynei_15_15] | [IS-FIREABLE [T_ynei_15_14] | [IS-FIREABLE [T_ynei_15_13] | [IS-FIREABLE [T_ynei_15_12] | [IS-FIREABLE [T_ynei_15_10] | [IS-FIREABLE [T_ynei_15_9] | [IS-FIREABLE [T_ynei_15_8] | [IS-FIREABLE [T_ynei_15_7] | [IS-FIREABLE [T_ynei_15_5] | [IS-FIREABLE [T_ynei_15_4] | [IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]]]]]]]]]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-1 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m3sec

checking: EF [[[[[[[[[[[[IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]] | IS-FIREABLE [T_ynei_15_4]] | IS-FIREABLE [T_ynei_15_5]] | IS-FIREABLE [T_ynei_15_7]] | IS-FIREABLE [T_ynei_15_8]] | IS-FIREABLE [T_ynei_15_9]] | IS-FIREABLE [T_ynei_15_10]] | IS-FIREABLE [T_ynei_15_12]] | IS-FIREABLE [T_ynei_15_13]] | IS-FIREABLE [T_ynei_15_14]] | IS-FIREABLE [T_ynei_15_15]]]
normalized: E [true U [IS-FIREABLE [T_ynei_15_15] | [IS-FIREABLE [T_ynei_15_14] | [IS-FIREABLE [T_ynei_15_13] | [IS-FIREABLE [T_ynei_15_12] | [IS-FIREABLE [T_ynei_15_10] | [IS-FIREABLE [T_ynei_15_9] | [IS-FIREABLE [T_ynei_15_8] | [IS-FIREABLE [T_ynei_15_7] | [IS-FIREABLE [T_ynei_15_5] | [IS-FIREABLE [T_ynei_15_4] | [IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]]]]]]]]]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-2 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[[[[[[[[[IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]] | IS-FIREABLE [T_ynei_15_4]] | IS-FIREABLE [T_ynei_15_5]] | IS-FIREABLE [T_ynei_15_7]] | IS-FIREABLE [T_ynei_15_8]] | IS-FIREABLE [T_ynei_15_9]] | IS-FIREABLE [T_ynei_15_10]] | IS-FIREABLE [T_ynei_15_12]] | IS-FIREABLE [T_ynei_15_13]] | IS-FIREABLE [T_ynei_15_14]] | IS-FIREABLE [T_ynei_15_15]]]
normalized: E [true U [IS-FIREABLE [T_ynei_15_15] | [IS-FIREABLE [T_ynei_15_14] | [IS-FIREABLE [T_ynei_15_13] | [IS-FIREABLE [T_ynei_15_12] | [IS-FIREABLE [T_ynei_15_10] | [IS-FIREABLE [T_ynei_15_9] | [IS-FIREABLE [T_ynei_15_8] | [IS-FIREABLE [T_ynei_15_7] | [IS-FIREABLE [T_ynei_15_5] | [IS-FIREABLE [T_ynei_15_4] | [IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]]]]]]]]]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-3 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[IS-FIREABLE [T_yeqi_15_1] | IS-FIREABLE [T_yeqi_15_6]] | IS-FIREABLE [T_yeqi_15_11]] | IS-FIREABLE [T_yeqi_15_16]]]
normalized: E [true U [IS-FIREABLE [T_yeqi_15_16] | [IS-FIREABLE [T_yeqi_15_11] | [IS-FIREABLE [T_yeqi_15_1] | IS-FIREABLE [T_yeqi_15_6]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-4 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m3sec

checking: EF [[[[IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]] | IS-FIREABLE [T_forod_13_3]] | IS-FIREABLE [T_forod_13_4]]]
normalized: E [true U [[[IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]] | IS-FIREABLE [T_forod_13_3]] | IS-FIREABLE [T_forod_13_4]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-5 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[[[[[[[[[IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]] | IS-FIREABLE [T_ynei_15_4]] | IS-FIREABLE [T_ynei_15_5]] | IS-FIREABLE [T_ynei_15_7]] | IS-FIREABLE [T_ynei_15_8]] | IS-FIREABLE [T_ynei_15_9]] | IS-FIREABLE [T_ynei_15_10]] | IS-FIREABLE [T_ynei_15_12]] | IS-FIREABLE [T_ynei_15_13]] | IS-FIREABLE [T_ynei_15_14]] | IS-FIREABLE [T_ynei_15_15]]]
normalized: E [true U [IS-FIREABLE [T_ynei_15_15] | [IS-FIREABLE [T_ynei_15_14] | [IS-FIREABLE [T_ynei_15_13] | [IS-FIREABLE [T_ynei_15_12] | [IS-FIREABLE [T_ynei_15_10] | [IS-FIREABLE [T_ynei_15_9] | [IS-FIREABLE [T_ynei_15_8] | [IS-FIREABLE [T_ynei_15_7] | [IS-FIREABLE [T_ynei_15_5] | [IS-FIREABLE [T_ynei_15_4] | [IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]]]]]]]]]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-6 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]] | IS-FIREABLE [T_forod_13_3]] | IS-FIREABLE [T_forod_13_4]]]
normalized: E [true U [IS-FIREABLE [T_forod_13_4] | [IS-FIREABLE [T_forod_13_3] | [IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-7 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]] | IS-FIREABLE [T_forod_13_3]] | IS-FIREABLE [T_forod_13_4]]]
normalized: E [true U [IS-FIREABLE [T_forod_13_4] | [IS-FIREABLE [T_forod_13_3] | [IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-8 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]] | IS-FIREABLE [T_forod_13_3]] | IS-FIREABLE [T_forod_13_4]]]
normalized: E [true U [IS-FIREABLE [T_forod_13_4] | [IS-FIREABLE [T_forod_13_3] | [IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-9 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[[[[[[[[[IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]] | IS-FIREABLE [T_ynei_15_4]] | IS-FIREABLE [T_ynei_15_5]] | IS-FIREABLE [T_ynei_15_7]] | IS-FIREABLE [T_ynei_15_8]] | IS-FIREABLE [T_ynei_15_9]] | IS-FIREABLE [T_ynei_15_10]] | IS-FIREABLE [T_ynei_15_12]] | IS-FIREABLE [T_ynei_15_13]] | IS-FIREABLE [T_ynei_15_14]] | IS-FIREABLE [T_ynei_15_15]]]
normalized: E [true U [IS-FIREABLE [T_ynei_15_15] | [IS-FIREABLE [T_ynei_15_14] | [IS-FIREABLE [T_ynei_15_13] | [IS-FIREABLE [T_ynei_15_12] | [IS-FIREABLE [T_ynei_15_10] | [IS-FIREABLE [T_ynei_15_9] | [IS-FIREABLE [T_ynei_15_8] | [IS-FIREABLE [T_ynei_15_7] | [IS-FIREABLE [T_ynei_15_5] | [IS-FIREABLE [T_ynei_15_4] | [IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]]]]]]]]]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-10 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[[[[[[[[[IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]] | IS-FIREABLE [T_ynei_15_4]] | IS-FIREABLE [T_ynei_15_5]] | IS-FIREABLE [T_ynei_15_7]] | IS-FIREABLE [T_ynei_15_8]] | IS-FIREABLE [T_ynei_15_9]] | IS-FIREABLE [T_ynei_15_10]] | IS-FIREABLE [T_ynei_15_12]] | IS-FIREABLE [T_ynei_15_13]] | IS-FIREABLE [T_ynei_15_14]] | IS-FIREABLE [T_ynei_15_15]]]
normalized: E [true U [IS-FIREABLE [T_ynei_15_15] | [IS-FIREABLE [T_ynei_15_14] | [IS-FIREABLE [T_ynei_15_13] | [IS-FIREABLE [T_ynei_15_12] | [IS-FIREABLE [T_ynei_15_10] | [IS-FIREABLE [T_ynei_15_9] | [IS-FIREABLE [T_ynei_15_8] | [IS-FIREABLE [T_ynei_15_7] | [IS-FIREABLE [T_ynei_15_5] | [IS-FIREABLE [T_ynei_15_4] | [IS-FIREABLE [T_ynei_15_2] | IS-FIREABLE [T_ynei_15_3]]]]]]]]]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-11 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[IS-FIREABLE [T_yeqi_15_1] | IS-FIREABLE [T_yeqi_15_6]] | IS-FIREABLE [T_yeqi_15_11]] | IS-FIREABLE [T_yeqi_15_16]]]
normalized: E [true U [IS-FIREABLE [T_yeqi_15_16] | [IS-FIREABLE [T_yeqi_15_11] | [IS-FIREABLE [T_yeqi_15_1] | IS-FIREABLE [T_yeqi_15_6]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-12 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[IS-FIREABLE [T_yeqi_15_1] | IS-FIREABLE [T_yeqi_15_6]] | IS-FIREABLE [T_yeqi_15_11]] | IS-FIREABLE [T_yeqi_15_16]]]
normalized: E [true U [IS-FIREABLE [T_yeqi_15_16] | [IS-FIREABLE [T_yeqi_15_11] | [IS-FIREABLE [T_yeqi_15_1] | IS-FIREABLE [T_yeqi_15_6]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-13 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]] | IS-FIREABLE [T_forod_13_3]] | IS-FIREABLE [T_forod_13_4]]]
normalized: E [true U [IS-FIREABLE [T_forod_13_4] | [IS-FIREABLE [T_forod_13_3] | [IS-FIREABLE [T_forod_13_1] | IS-FIREABLE [T_forod_13_2]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-14 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec

checking: EF [[[[IS-FIREABLE [T_yeqi_15_1] | IS-FIREABLE [T_yeqi_15_6]] | IS-FIREABLE [T_yeqi_15_11]] | IS-FIREABLE [T_yeqi_15_16]]]
normalized: E [true U [IS-FIREABLE [T_yeqi_15_16] | [IS-FIREABLE [T_yeqi_15_11] | [IS-FIREABLE [T_yeqi_15_1] | IS-FIREABLE [T_yeqi_15_6]]]]]

-> the formula is TRUE

FORMULA LamportFastMutEx-COL-3-ReachabilityFireabilitySimple-15 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m0sec


Total processing time: 0m21sec


BK_STOP 1433378922240

--------------------
content from stderr:

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: 0m0sec

337 573 876 1319 1397 1503 1904 2076 2364 2554 2872 3854 4043 4175 4424 4697 4821 4835 5296 5357 5557 5783 5870 6008
iterations count:24744 (158), effective:633 (4)

initing FirstDep: 0m0sec

2836 3124 3687 4192 4831 4902 6204 6513 6134 6277 6157 6200 5983
iterations count:13146 (84), effective:312 (2)
3393 4386 4660 4997 5751 5841 6755 6974 6932 7155 6865 6928 6561 5980 5949
iterations count:15917 (102), effective:360 (2)
3393 4386 4660 4997 5751 5841 6755 6974 6932 7155 6865 6928 6561 5980 5949
iterations count:15917 (102), effective:360 (2)
3393 4386 4660 4997 5751 5841 6755 6974 6932 7155 6865 6928 6561 5980 5949
iterations count:15917 (102), effective:360 (2)
2344 2966 3648 4441 4709 5257 6014 6236 5995 5981 5937 5767 5602 5751 6785
iterations count:15512 (99), effective:347 (2)
2836 3124 3687 4192 4831 4902 6204 6513 6134 6277 6157 6200 5983
iterations count:13146 (84), effective:312 (2)
3393 4386 4660 4997 5751 5841 6755 6974 6932 7155 6865 6928 6561 5980 5949
iterations count:15917 (102), effective:360 (2)
2836 3124 3687 4192 4831 4902 6204 6513 6134 6277 6157 6200 5983
iterations count:13146 (84), effective:312 (2)
2836 3124 3687 4192 4831 4902 6204 6513 6134 6277 6157 6200 5983
iterations count:13146 (84), effective:312 (2)
2836 3124 3687 4192 4831 4902 6204 6513 6134 6277 6157 6200 5983
iterations count:13146 (84), effective:312 (2)
3393 4386 4660 4997 5751 5841 6755 6974 6932 7155 6865 6928 6561 5980 5949
iterations count:15917 (102), effective:360 (2)
3393 4386 4660 4997 5751 5841 6755 6974 6932 7155 6865 6928 6561 5980 5949
iterations count:15917 (102), effective:360 (2)
2344 2966 3648 4441 4709 5257 6014 6236 5995 5981 5937 5767 5602 5751 6785
iterations count:15512 (99), effective:347 (2)
2344 2966 3648 4441 4709 5257 6014 6236 5995 5981 5937 5767 5602 5751 6785
iterations count:15512 (99), effective:347 (2)
2836 3124 3687 4192 4831 4902 6204 6513 6134 6277 6157 6200 5983
iterations count:13146 (84), effective:312 (2)
2344 2966 3648 4441 4709 5257 6014 6236 5995 5981 5937 5767 5602 5751 6785
iterations count:15512 (99), effective:347 (2)

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="S_LamportFastMutEx-PT-3"
export BK_EXAMINATION="ReachabilityFireabilitySimple"
export BK_TOOL="marcie"
export BK_RESULT_DIR="/users/gast00/fkordon/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"

# 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

tar xzf /home/mcc/BenchKit/INPUTS/S_LamportFastMutEx-PT-3.tgz
mv S_LamportFastMutEx-PT-3 execution

# this is for BenchKit: explicit launching of the test

cd execution
echo "====================================================================="
echo " Generated by BenchKit 2-2265"
echo " Executing tool marcie"
echo " Input is S_LamportFastMutEx-PT-3, examination is ReachabilityFireabilitySimple"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 1"
echo " Run identifier is r162st-ebro-143319441200650"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "ReachabilityFireabilitySimple" = "ReachabilityComputeBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityFireabilitySimple" != "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 "ReachabilityFireabilitySimple.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityFireabilitySimple.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityFireabilitySimple.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 '' ReachabilityFireabilitySimple.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
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 ;