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

About the Execution of Marcie for ViralEpidemic-PT-S03D1C1A02

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
11337.479 3600000.00 3600080.00 20.20 ????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.r481-tall-167912693101257.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 marcie
Input is ViralEpidemic-PT-S03D1C1A02, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 1
Run identifier is r481-tall-167912693101257
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 516K
-rw-r--r-- 1 mcc users 6.2K Feb 25 20:38 CTLCardinality.txt
-rw-r--r-- 1 mcc users 52K Feb 25 20:38 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.0K Feb 25 20:38 CTLFireability.txt
-rw-r--r-- 1 mcc users 62K Feb 25 20:38 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K Jan 29 11:41 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.8K Feb 25 17:26 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Feb 25 17:26 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 17:26 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 17:26 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 25 20:40 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 124K Feb 25 20:40 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 13K Feb 25 20:39 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 103K Feb 25 20:39 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 25 17:26 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 17:26 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 34K 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 ViralEpidemic-PT-S03D1C1A02-CTLCardinality-00
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-01
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-02
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-03
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-04
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-05
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-06
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-07
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-08
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-09
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-10
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-11
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-12
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-13
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-14
FORMULA_NAME ViralEpidemic-PT-S03D1C1A02-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679883697612

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=marcie
BK_EXAMINATION=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=ViralEpidemic-PT-S03D1C1A02
Not applying reductions.
Model is PT
CTLCardinality PT
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//../marcie/bin/marcie --net-file=model.pnml --mcc-file=CTLCardinality.xml --memory=6 --mcc-mode

parse successfull
net created successfully

Net: ViralEpidemic_PT_S03D1C1A02
(NrP: 66 NrTr: 91 NrArc: 208)

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

net check time: 0m 0.000sec

init dd package: 0m 2.903sec


RS generation: 2m32.394sec


-> reachability set: #nodes 1809533 (1.8e+06) #states 9,168,679,531 (9)



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

checking: AG [AX [EF [1<=dFactor13]]]
normalized: ~ [E [true U EX [~ [E [true U 1<=dFactor13]]]]]

abstracting: (1<=dFactor13)
states: 7,433,943,715 (9)

before gc: list nodes free: 499123

after gc: idd nodes used:1809676, unused:62190324; list nodes free:306044773
.MC time: 3m36.867sec

checking: EG [patient221<=0]
normalized: EG [patient221<=0]

abstracting: (patient221<=0)
states: 4,805,556,115 (9)

before gc: list nodes free: 773444

after gc: idd nodes used:4521323, unused:59478677; list nodes free:326665792

before gc: list nodes free: 794667

after gc: idd nodes used:15821336, unused:48178664; list nodes free:275997057
.
before gc: list nodes free: 2047546

after gc: idd nodes used:9035549, unused:54964451; list nodes free:313901382
MC time: 3m22.713sec

checking: AX [~ [[patient333<=0 & ~ [EG [EX [1<=cFactor231]]]]]]
normalized: ~ [EX [[patient333<=0 & ~ [EG [EX [1<=cFactor231]]]]]]

abstracting: (1<=cFactor231)
states: 4,805,556,115 (9)

before gc: list nodes free: 7480306

after gc: idd nodes used:14569789, unused:49430211; list nodes free:287036842
.MC time: 3m10.269sec

checking: AX [EG [~ [dFactor221<=patient133]]]
normalized: ~ [EX [~ [EG [~ [dFactor221<=patient133]]]]]

abstracting: (dFactor221<=patient133)
states: 6,649,957,344 (9)

before gc: list nodes free: 9329911

after gc: idd nodes used:8388192, unused:55611808; list nodes free:319250320
.
before gc: list nodes free: 672060

after gc: idd nodes used:6643172, unused:57356828; list nodes free:331329420
MC time: 2m59.508sec

checking: ~ [[EG [patient311<=1] & AF [~ [patient322<=patient113]]]]
normalized: ~ [[~ [EG [patient322<=patient113]] & EG [patient311<=1]]]

abstracting: (patient311<=1)
states: 9,168,679,531 (9)

EG iterations: 0
abstracting: (patient322<=patient113)
states: 6,881,845,603 (9)

before gc: list nodes free: 18332210

after gc: idd nodes used:15800270, unused:48199730; list nodes free:284136705
MC time: 2m47.627sec

checking: EX [EF [[1<=patient221 & [AX [~ [cFactor0<=0]] & patient123<=patient332]]]]
normalized: EX [E [true U [1<=patient221 & [patient123<=patient332 & ~ [EX [cFactor0<=0]]]]]]

abstracting: (cFactor0<=0)
states: 13,123,116 (7)
.abstracting: (patient123<=patient332)
states: 6,881,845,603 (9)
abstracting: (1<=patient221)
states: 4,363,123,416 (9)

before gc: list nodes free: 20269155

after gc: idd nodes used:10128666, unused:53871334; list nodes free:314725341
MC time: 2m36.222sec

checking: ~ [A [AF [patient211<=dFactor0] U AF [EG [E [1<=cFactor212 U 1<=dFactor12]]]]]
normalized: ~ [[~ [EG [EG [~ [EG [E [1<=cFactor212 U 1<=dFactor12]]]]]] & ~ [E [EG [~ [EG [E [1<=cFactor212 U 1<=dFactor12]]]] U [EG [~ [patient211<=dFactor0]] & EG [~ [EG [E [1<=cFactor212 U 1<=dFactor12]]]]]]]]]

abstracting: (1<=dFactor12)
states: 7,433,943,715 (9)
abstracting: (1<=cFactor212)
states: 4,805,556,115 (9)

before gc: list nodes free: 37091791

after gc: idd nodes used:8516221, unused:55483779; list nodes free:322334989
MC time: 2m27.339sec

checking: [EX [[1<=patient12 | AF [AF [[1<=patient122 & dFactor13<=patient333]]]]] | EG [patient133<=0]]
normalized: [EG [patient133<=0] | EX [[1<=patient12 | ~ [EG [EG [~ [[1<=patient122 & dFactor13<=patient333]]]]]]]]

abstracting: (dFactor13<=patient333)
states: 5,493,330,084 (9)
abstracting: (1<=patient122)
states: 4,363,123,416 (9)

before gc: list nodes free: 55746946

after gc: idd nodes used:15610307, unused:48389693; list nodes free:287146246
MC time: 2m17.285sec

checking: EG [A [1<=patient3 U [~ [EG [EG [patient23<=dFactor12]]] | ~ [patient13<=patient313]]]]
normalized: EG [[~ [EG [~ [[~ [patient13<=patient313] | ~ [EG [EG [patient23<=dFactor12]]]]]]] & ~ [E [~ [[~ [patient13<=patient313] | ~ [EG [EG [patient23<=dFactor12]]]]] U [~ [1<=patient3] & ~ [[~ [patient13<=patient313] | ~ [EG [EG [patient23<=dFactor12]]]]]]]]]]

abstracting: (patient23<=dFactor12)
states: 9,067,924,673 (9)

before gc: list nodes free: 21139391

after gc: idd nodes used:11855314, unused:52144686; list nodes free:306397741

before gc: list nodes free: 16970023

after gc: idd nodes used:22452036, unused:41547964; list nodes free:251008798
MC time: 2m25.325sec

checking: A [EX [A [1<=patient121 U ~ [[1<=patient222 & ~ [dFactor13<=patient121]]]]] U cFactor12<=0]
normalized: [~ [EG [~ [cFactor12<=0]]] & ~ [E [~ [cFactor12<=0] U [~ [EX [[~ [EG [[1<=patient222 & ~ [dFactor13<=patient121]]]] & ~ [E [[1<=patient222 & ~ [dFactor13<=patient121]] U [~ [1<=patient121] & [1<=patient222 & ~ [dFactor13<=patient121]]]]]]]] & ~ [cFactor12<=0]]]]]

abstracting: (cFactor12<=0)
states: 1,734,735,816 (9)
abstracting: (dFactor13<=patient121)
states: 5,272,346,544 (9)
abstracting: (1<=patient222)
states: 4,363,123,416 (9)
abstracting: (1<=patient121)
states: 4,363,123,416 (9)
abstracting: (dFactor13<=patient121)
states: 5,272,346,544 (9)
abstracting: (1<=patient222)
states: 4,363,123,416 (9)

before gc: list nodes free: 43072330

after gc: idd nodes used:13928939, unused:50071061; list nodes free:296631859
MC time: 1m59.777sec

checking: ~ [EG [[patient112<=patient12 & AF [[[AX [1<=dFactor0] | 1<=dFactor0] | ~ [EF [1<=patient123]]]]]]]
normalized: ~ [EG [[patient112<=patient12 & ~ [EG [~ [[~ [E [true U 1<=patient123]] | [1<=dFactor0 | ~ [EX [~ [1<=dFactor0]]]]]]]]]]]

abstracting: (1<=dFactor0)
states: 9,155,556,415 (9)
.abstracting: (1<=dFactor0)
states: 9,155,556,415 (9)
abstracting: (1<=patient123)
states: 4,363,123,416 (9)

before gc: list nodes free: 44040834

after gc: idd nodes used:14184131, unused:49815869; list nodes free:295398832
MC time: 2m 9.040sec

checking: A [1<=cFactor11 U [1<=dFactor223 & [EX [EX [~ [1<=patient113]]] & [EG [[[cFactor231<=dFactor222 | patient121<=patient13] | ~ [1<=patient121]]] & [AF [AF [1<=patient1]] | 1<=patient213]]]]]
normalized: [~ [EG [~ [[1<=dFactor223 & [[[1<=patient213 | ~ [EG [EG [~ [1<=patient1]]]]] & EG [[~ [1<=patient121] | [cFactor231<=dFactor222 | patient121<=patient13]]]] & EX [EX [~ [1<=patient113]]]]]]]] & ~ [E [~ [[1<=dFactor223 & [[[1<=patient213 | ~ [EG [EG [~ [1<=patient1]]]]] & EG [[~ [1<=patient121] | [cFactor231<=dFactor222 | patient121<=patient13]]]] & EX [EX [~ [1<=patient113]]]]]] U [~ [1<=cFactor11] & ~ [[1<=dFactor223 & [[[1<=patient213 | ~ [EG [EG [~ [1<=patient1]]]]] & EG [[~ [1<=patient121] | [cFactor231<=dFactor222 | patient121<=patient13]]]] & EX [EX [~ [1<=patient113]]]]]]]]]]

abstracting: (1<=patient113)
states: 4,363,123,416 (9)
MC time: 1m44.031sec

checking: ~ [E [[[[patient233<=1 & dFactor233<=cFactor11] & EF [~ [patient11<=0]]] & AX [[~ [patient33<=cFactor233] | patient322<=1]]] U ~ [[AG [~ [[1<=patient333 & 1<=patient212]]] | EF [[E [patient32<=0 U patient11<=patient11] & ~ [patient233<=cFactor13]]]]]]]
normalized: ~ [E [[~ [EX [~ [[patient322<=1 | ~ [patient33<=cFactor233]]]]] & [E [true U ~ [patient11<=0]] & [patient233<=1 & dFactor233<=cFactor11]]] U ~ [[E [true U [~ [patient233<=cFactor13] & E [patient32<=0 U patient11<=patient11]]] | ~ [E [true U [1<=patient333 & 1<=patient212]]]]]]]

abstracting: (1<=patient212)

before gc: list nodes free: 25262537

after gc: idd nodes used:15235967, unused:48764033; list nodes free:290426172
states: 4,363,123,416 (9)
abstracting: (1<=patient333)
states: 4,363,123,416 (9)
MC time: 1m37.802sec

checking: [AF [dFactor12<=patient311] & AX [[[A [EF [1<=patient211] U [[1<=patient131 | 1<=cFactor213] & [patient332<=cFactor211 | cFactor232<=patient123]]] | [cFactor213<=1 | [patient21<=1 | cFactor13<=0]]] & EX [[~ [[patient12<=patient133 & 1<=dFactor212]] | patient1<=patient113]]]]]
normalized: [~ [EX [~ [[EX [[patient1<=patient113 | ~ [[patient12<=patient133 & 1<=dFactor212]]]] & [[cFactor213<=1 | [patient21<=1 | cFactor13<=0]] | [~ [EG [~ [[[patient332<=cFactor211 | cFactor232<=patient123] & [1<=patient131 | 1<=cFactor213]]]]] & ~ [E [~ [[[patient332<=cFactor211 | cFactor232<=patient123] & [1<=patient131 | 1<=cFactor213]]] U [~ [E [true U 1<=patient211]] & ~ [[[patient332<=cFactor211 | cFactor232<=patient123] & [1<=patient131 | 1<=cFactor213]]]]]]]]]]]] & ~ [EG [~ [dFactor12<=patient311]]]]

abstracting: (dFactor12<=patient311)
states: 5,272,346,544 (9)

before gc: list nodes free: 40216975

after gc: idd nodes used:23866508, unused:40133492; list nodes free:245887183
MC time: 1m31.393sec

checking: AX [A [[1<=dFactor222 | [patient212<=cFactor13 & [[[1<=patient213 | patient312<=1] & patient222<=0] | cFactor11<=dFactor223]]] U ~ [[[A [patient112<=patient113 U 1<=dFactor0] & ~ [[patient232<=0 | patient2<=1]]] | ~ [[[patient222<=dFactor213 & 1<=patient12] & ~ [patient313<=1]]]]]]]
normalized: ~ [EX [~ [[~ [EG [[~ [[~ [patient313<=1] & [patient222<=dFactor213 & 1<=patient12]]] | [~ [[patient232<=0 | patient2<=1]] & [~ [EG [~ [1<=dFactor0]]] & ~ [E [~ [1<=dFactor0] U [~ [patient112<=patient113] & ~ [1<=dFactor0]]]]]]]]] & ~ [E [[~ [[~ [patient313<=1] & [patient222<=dFactor213 & 1<=patient12]]] | [~ [[patient232<=0 | patient2<=1]] & [~ [EG [~ [1<=dFactor0]]] & ~ [E [~ [1<=dFactor0] U [~ [patient112<=patient113] & ~ [1<=dFactor0]]]]]]] U [~ [[1<=dFactor222 | [patient212<=cFactor13 & [cFactor11<=dFactor223 | [patient222<=0 & [1<=patient213 | patient312<=1]]]]]] & [~ [[~ [patient313<=1] & [patient222<=dFactor213 & 1<=patient12]]] | [~ [[patient232<=0 | patient2<=1]] & [~ [EG [~ [1<=dFactor0]]] & ~ [E [~ [1<=dFactor0] U [~ [patient112<=patient113] & ~ [1<=dFactor0]]]]]]]]]]]]]]

abstracting: (1<=dFactor0)
states: 9,155,556,415 (9)
abstracting: (patient112<=patient113)
states: 6,987,117,823 (9)
abstracting: (1<=dFactor0)
states: 9,155,556,415 (9)
abstracting: (1<=dFactor0)
states: 9,155,556,415 (9)
.
before gc: list nodes free: 28418960

after gc: idd nodes used:22633782, unused:41366218; list nodes free:252463816
MC time: 1m25.498sec

checking: [[[[~ [A [[EX [1<=cFactor213] | EX [patient22<=patient222]] U [[1<=patient1 | dFactor221<=1] & [1<=patient31 | cFactor231<=patient231]]]] & EX [[EF [1<=patient113] | EG [patient123<=1]]]] & EG [patient221<=patient233]] & ~ [EF [~ [E [[patient221<=1 | patient31<=cFactor12] U A [1<=dFactor211 U 1<=cFactor222]]]]]] & AF [1<=patient313]]
normalized: [~ [EG [~ [1<=patient313]]] & [~ [E [true U ~ [E [[patient221<=1 | patient31<=cFactor12] U [~ [EG [~ [1<=cFactor222]]] & ~ [E [~ [1<=cFactor222] U [~ [1<=dFactor211] & ~ [1<=cFactor222]]]]]]]]] & [EG [patient221<=patient233] & [EX [[EG [patient123<=1] | E [true U 1<=patient113]]] & ~ [[~ [EG [~ [[[1<=patient31 | cFactor231<=patient231] & [1<=patient1 | dFactor221<=1]]]]] & ~ [E [~ [[[1<=patient31 | cFactor231<=patient231] & [1<=patient1 | dFactor221<=1]]] U [~ [[EX [patient22<=patient222] | EX [1<=cFactor213]]] & ~ [[[1<=patient31 | cFactor231<=patient231] & [1<=patient1 | dFactor221<=1]]]]]]]]]]]]

abstracting: (dFactor221<=1)
states: 9,168,679,531 (9)
abstracting: (1<=patient1)
states: 4,380,646 (6)
abstracting: (cFactor231<=patient231)
states: 6,649,957,344 (9)
abstracting: (1<=patient31)
states: 727,187,236 (8)
abstracting: (1<=cFactor213)
states: 4,805,556,115 (9)
MC time: 1m20.240sec

checking: AG [AX [EF [1<=dFactor13]]]
normalized: ~ [E [true U EX [~ [E [true U 1<=dFactor13]]]]]

abstracting: (1<=dFactor13)
states: 7,433,943,715 (9)

before gc: list nodes free: 28634914

after gc: idd nodes used:19835508, unused:44164492; list nodes free:268374061

before gc: list nodes free: 54398728

after gc: idd nodes used:19835508, unused:44164492; list nodes free:268410685

before gc: list nodes free: 37204632

after gc: idd nodes used:24240664, unused:39759336; list nodes free:245701611
.
before gc: list nodes free: 26000854

after gc: idd nodes used:20318916, unused:43681084; list nodes free:266124413

before gc: list nodes free: 58938880

after gc: idd nodes used:20318916, unused:43681084; list nodes free:266154410
-> the formula is FALSE

FORMULA ViralEpidemic-PT-S03D1C1A02-CTLCardinality-04 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393916 kB
MemFree: 4882844 kB
After kill :
MemTotal: 16393916 kB
MemFree: 16173684 kB

BK_TIME_CONFINEMENT_REACHED

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

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


iterations count:3791 (41), effective:91 (1)

initing FirstDep: 0m 0.000sec


iterations count:91 (1), effective:0 (0)

sat_reach.icc:155: Timeout: after 215 sec


net_ddint.h:442: Timeout: after 201 sec


net_ddint.h:600: Timeout: after 188 sec


net_ddint.h:442: Timeout: after 177 sec


net_ddint.h:600: Timeout: after 165 sec


sat_reach.icc:155: Timeout: after 155 sec


sat_reach.icc:155: Timeout: after 145 sec


net_ddint.h:600: Timeout: after 136 sec


net_ddint.h:600: Timeout: after 127 sec


sat_reach.icc:155: Timeout: after 118 sec


sat_reach.icc:155: Timeout: after 111 sec


net_ddint.h:600: Timeout: after 103 sec


sat_reach.icc:155: Timeout: after 96 sec


net_ddint.h:600: Timeout: after 90 sec


iterations count:148 (1), effective:4 (0)

net_ddint.h:442: Timeout: after 84 sec


net_ddint.h:600: Timeout: after 79 sec


iterations count:91 (1), effective:0 (0)

iterations count:96 (1), effective:2 (0)

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="ViralEpidemic-PT-S03D1C1A02"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="marcie"
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 marcie"
echo " Input is ViralEpidemic-PT-S03D1C1A02, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 1"
echo " Run identifier is r481-tall-167912693101257"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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