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

About the Execution of Marcie+red for ERK-PT-001000

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
0.000 529692.00 0.00 0.00 F?T??T???F??TTF? normal

Execution Chart

Sorry, for this execution, no execution chart could be reported.

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r170-tall-167838856600026.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 ERK-PT-001000, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r170-tall-167838856600026
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 376K
-rw-r--r-- 1 mcc users 7.5K Feb 26 16:42 CTLCardinality.txt
-rw-r--r-- 1 mcc users 76K Feb 26 16:42 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.5K Feb 26 16:41 CTLFireability.txt
-rw-r--r-- 1 mcc users 40K Feb 26 16:41 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.0K Feb 25 16:03 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 16:03 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Feb 25 16:03 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 16:03 LTLFireability.xml
-rw-r--r-- 1 mcc users 9.4K Feb 26 16:43 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 86K Feb 26 16:43 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 5.1K Feb 26 16:42 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 39K Feb 26 16:42 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:03 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:03 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 7 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 6.7K Mar 5 18:22 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 ERK-PT-001000-CTLFireability-00
FORMULA_NAME ERK-PT-001000-CTLFireability-01
FORMULA_NAME ERK-PT-001000-CTLFireability-02
FORMULA_NAME ERK-PT-001000-CTLFireability-03
FORMULA_NAME ERK-PT-001000-CTLFireability-04
FORMULA_NAME ERK-PT-001000-CTLFireability-05
FORMULA_NAME ERK-PT-001000-CTLFireability-06
FORMULA_NAME ERK-PT-001000-CTLFireability-07
FORMULA_NAME ERK-PT-001000-CTLFireability-08
FORMULA_NAME ERK-PT-001000-CTLFireability-09
FORMULA_NAME ERK-PT-001000-CTLFireability-10
FORMULA_NAME ERK-PT-001000-CTLFireability-11
FORMULA_NAME ERK-PT-001000-CTLFireability-12
FORMULA_NAME ERK-PT-001000-CTLFireability-13
FORMULA_NAME ERK-PT-001000-CTLFireability-14
FORMULA_NAME ERK-PT-001000-CTLFireability-15

=== Now, execution of the tool begins

BK_START 1678463982162

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=CTLFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=ERK-PT-001000
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-10 15:59:43] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLFireability, -timeout, 360, -rebuildPNML]
[2023-03-10 15:59:43] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-10 15:59:43] [INFO ] Load time of PNML (sax parser for PT used): 20 ms
[2023-03-10 15:59:43] [INFO ] Transformed 11 places.
[2023-03-10 15:59:43] [INFO ] Transformed 11 transitions.
[2023-03-10 15:59:43] [INFO ] Parsed PT model containing 11 places and 11 transitions and 34 arcs in 75 ms.
Parsed 16 properties from file /home/mcc/execution/CTLFireability.xml in 9 ms.
Initial state reduction rules removed 2 formulas.
FORMULA ERK-PT-001000-CTLFireability-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ERK-PT-001000-CTLFireability-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ERK-PT-001000-CTLFireability-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 11 out of 11 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 8 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
// Phase 1: matrix 11 rows 11 cols
[2023-03-10 15:59:43] [INFO ] Computed 5 place invariants in 6 ms
[2023-03-10 15:59:44] [INFO ] Implicit Places using invariants in 343 ms returned []
[2023-03-10 15:59:44] [INFO ] Invariant cache hit.
[2023-03-10 15:59:44] [INFO ] Implicit Places using invariants and state equation in 37 ms returned []
Implicit Place search using SMT with State Equation took 405 ms to find 0 implicit places.
[2023-03-10 15:59:44] [INFO ] Invariant cache hit.
[2023-03-10 15:59:44] [INFO ] Dead Transitions using invariants and state equation in 44 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 459 ms. Remains : 11/11 places, 11/11 transitions.
Support contains 11 out of 11 places after structural reductions.
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 14 ms
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 3 ms
[2023-03-10 15:59:44] [INFO ] Input system was already deterministic with 11 transitions.
Incomplete random walk after 10014 steps, including 2 resets, run finished after 22 ms. (steps per millisecond=455 ) properties (out of 21) seen :7
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 61 ms. (steps per millisecond=163 ) properties (out of 14) seen :11
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 62 ms. (steps per millisecond=161 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 45 ms. (steps per millisecond=222 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 57 ms. (steps per millisecond=175 ) properties (out of 3) seen :0
Running SMT prover for 3 properties.
[2023-03-10 15:59:44] [INFO ] Invariant cache hit.
[2023-03-10 15:59:44] [INFO ] [Real]Absence check using 5 positive place invariants in 1 ms returned sat
[2023-03-10 15:59:44] [INFO ] After 38ms SMT Verify possible using all constraints in real domain returned unsat :2 sat :0 real:1
[2023-03-10 15:59:44] [INFO ] [Nat]Absence check using 5 positive place invariants in 2 ms returned sat
[2023-03-10 15:59:44] [INFO ] After 8ms SMT Verify possible using state equation in natural domain returned unsat :2 sat :1
[2023-03-10 15:59:44] [INFO ] After 14ms SMT Verify possible using trap constraints in natural domain returned unsat :2 sat :1
Attempting to minimize the solution found.
Minimization took 7 ms.
[2023-03-10 15:59:44] [INFO ] After 64ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :1
Fused 3 Parikh solutions to 1 different solutions.
Finished Parikh walk after 4000 steps, including 0 resets, run visited all 1 properties in 16 ms. (steps per millisecond=250 )
Parikh walk visited 1 properties in 17 ms.
Successfully simplified 2 atomic propositions for a total of 13 simplifications.
[2023-03-10 15:59:44] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 3 ms
FORMULA ERK-PT-001000-CTLFireability-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 3 ms
[2023-03-10 15:59:44] [INFO ] Input system was already deterministic with 11 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Starting structural reductions in LTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 1 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 11/11 places, 11/11 transitions.
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:44] [INFO ] Input system was already deterministic with 11 transitions.
Starting structural reductions in LTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 1 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 11/11 places, 11/11 transitions.
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 2 ms
[2023-03-10 15:59:44] [INFO ] Input system was already deterministic with 11 transitions.
Starting structural reductions in LTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 1 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 11/11 places, 11/11 transitions.
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 2 ms
[2023-03-10 15:59:44] [INFO ] Input system was already deterministic with 11 transitions.
Starting structural reductions in LTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 0 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 0 ms. Remains : 11/11 places, 11/11 transitions.
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:44] [INFO ] Input system was already deterministic with 11 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 4 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 4 ms. Remains : 11/11 places, 11/11 transitions.
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:44] [INFO ] Input system was already deterministic with 11 transitions.
Starting structural reductions in LTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 0 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 0 ms. Remains : 11/11 places, 11/11 transitions.
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:44] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Input system was already deterministic with 11 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 1 Pre rules applied. Total rules applied 0 place count 11 transition count 10
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 3 rules applied. Total rules applied 3 place count 9 transition count 10
Applied a total of 3 rules in 4 ms. Remains 9 /11 variables (removed 2) and now considering 10/11 (removed 1) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 4 ms. Remains : 9/11 places, 10/11 transitions.
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 0 ms
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Input system was already deterministic with 10 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 1 Pre rules applied. Total rules applied 0 place count 11 transition count 10
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 3 rules applied. Total rules applied 3 place count 9 transition count 10
Applied a total of 3 rules in 1 ms. Remains 9 /11 variables (removed 2) and now considering 10/11 (removed 1) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 1 ms. Remains : 9/11 places, 10/11 transitions.
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Input system was already deterministic with 10 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 1 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 1 ms. Remains : 11/11 places, 11/11 transitions.
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Input system was already deterministic with 11 transitions.
Starting structural reductions in LTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 1 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 11/11 places, 11/11 transitions.
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 0 ms
[2023-03-10 15:59:45] [INFO ] Input system was already deterministic with 11 transitions.
Starting structural reductions in SI_CTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 1 Pre rules applied. Total rules applied 0 place count 11 transition count 10
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 3 rules applied. Total rules applied 3 place count 9 transition count 10
Applied a total of 3 rules in 1 ms. Remains 9 /11 variables (removed 2) and now considering 10/11 (removed 1) transitions.
Finished structural reductions in SI_CTL mode , in 1 iterations and 2 ms. Remains : 9/11 places, 10/11 transitions.
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 0 ms
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Input system was already deterministic with 10 transitions.
Starting structural reductions in LTL mode, iteration 0 : 11/11 places, 11/11 transitions.
Applied a total of 0 rules in 0 ms. Remains 11 /11 variables (removed 0) and now considering 11/11 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 11/11 places, 11/11 transitions.
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Input system was already deterministic with 11 transitions.
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Flatten gal took : 1 ms
[2023-03-10 15:59:45] [INFO ] Export to MCC of 12 properties in file /home/mcc/execution/CTLFireability.sr.xml took 2 ms.
[2023-03-10 15:59:45] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 11 places, 11 transitions and 34 arcs took 0 ms.
Total runtime 1489 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=CTLFireability.xml --memory=6 --mcc-mode

parse successfull
net created successfully

Net: Petri
(NrP: 11 NrTr: 11 NrArc: 34)

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

net check time: 0m 0.000sec

init dd package: 0m 2.718sec


RS generation: 0m15.064sec


-> reachability set: #nodes 10011 (1.0e+04) #states 14,081,614,073,878,351 (16)



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

checking: AF [1<=p6]
normalized: ~ [EG [~ [1<=p6]]]

abstracting: (1<=p6)
states: 14,031,112,153,708,650 (16)
..
EG iterations: 2
-> the formula is FALSE

FORMULA ERK-PT-001000-CTLFireability-14 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 1m57.733sec

checking: E [EX [1<=p4] U ~ [EF [EG [[1<=p7 & [1<=p8 & 1<=p5]]]]]]
normalized: E [EX [1<=p4] U ~ [E [true U EG [[1<=p7 & [1<=p8 & 1<=p5]]]]]]

abstracting: (1<=p5)
states: 13,997,528,152,958,350 (16)
abstracting: (1<=p8)
states: 14,047,904,154,083,800 (16)
abstracting: (1<=p7)
states: 14,081,613,906,209,850 (16)
.
EG iterations: 1
abstracting: (1<=p4)
states: 14,047,904,154,083,800 (16)
.-> the formula is FALSE

FORMULA ERK-PT-001000-CTLFireability-00 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 3m53.282sec

checking: AG [[EF [1<=p6] | [p5<=0 | EF [[EG [1<=p4] | AG [p4<=0]]]]]]
normalized: ~ [E [true U ~ [[[p5<=0 | E [true U [~ [E [true U ~ [p4<=0]]] | EG [1<=p4]]]] | E [true U 1<=p6]]]]]

abstracting: (1<=p6)
states: 14,031,112,153,708,650 (16)
abstracting: (1<=p4)
states: 14,047,904,154,083,800 (16)
.
EG iterations: 1
abstracting: (p4<=0)
states: 33,709,919,794,551 (13)
abstracting: (p5<=0)
states: 84,085,920,920,001 (13)
-> the formula is TRUE

FORMULA ERK-PT-001000-CTLFireability-05 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT


BK_STOP 1678464511854

--------------------
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 CTLFireability -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


iterations count:24011 (2182), effective:8000 (727)

initing FirstDep: 0m 0.000sec


iterations count:49 (4), effective:12 (1)

iterations count:31 (2), effective:6 (0)

iterations count:32 (2), effective:6 (0)

iterations count:32 (2), effective:6 (0)
/home/mcc/BenchKit/bin//../reducer/bin//../../marcie/bin//../BenchKit_head.sh: line 16: 467 Killed ${MARCIE} --net-file=model.pnml --mcc-file=${BK_EXAMINATION}.xml ${MARCIE_CONFIG}

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="ERK-PT-001000"
export BK_EXAMINATION="CTLFireability"
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 ERK-PT-001000, examination is CTLFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r170-tall-167838856600026"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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