fond
Model Checking Contest 2018
8th edition, Bratislava, Slovakia, June 26, 2018
Execution of r102-smll-152658632900124
Last Updated
June 26, 2018

About the Execution of Irma.full for HypercubeGrid-PT-C5K3P3B15

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
6689.650 227222.00 449022.00 832.60 ???????????????? 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)
......................
/home/mcc/execution
total 14M
-rw-r--r-- 1 mcc users 4.2K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 19K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.8K May 15 18:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 15 18:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 15 18:50 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.9K May 15 18:50 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 2.9K May 15 18:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 11K May 15 18:54 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 15 18:54 LTLFireability.txt
-rw-r--r-- 1 mcc users 8.5K May 15 18:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 5.4K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 23K May 15 18:54 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 117 May 15 18:54 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 355 May 15 18:54 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 3.9K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K May 15 18:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 15 18:50 equiv_col
-rw-r--r-- 1 mcc users 10 May 15 18:50 instance
-rw-r--r-- 1 mcc users 6 May 15 18:50 iscolored
-rwxr-xr-x 1 mcc users 14M May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool irma4mcc-full
Input is HypercubeGrid-PT-C5K3P3B15, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r102-smll-152658632900124
=====================================================================


--------------------
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 HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-00
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-01
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-02
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-03
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-04
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-05
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-06
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-07
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-08
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-09
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-10
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-11
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-12
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-13
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-14
FORMULA_NAME HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1526717468226


BK_STOP 1526717695448

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

Prefix is 65b80f64.
Reading known information in /usr/share/mcc4mcc/65b80f64-known.json.
Reading learned information in /usr/share/mcc4mcc/65b80f64-learned.json.
Reading value translations in /usr/share/mcc4mcc/65b80f64-values.json.
Using directory /home/mcc/execution for input, as it contains a model.pnml file.
Using HypercubeGrid-PT-C5K3P3B15 as instance name.
Using HypercubeGrid as model name.
Using algorithm or tool bmdt.
Model characteristics are: {'Examination': 'ReachabilityCardinality', 'Place/Transition': True, 'Colored': False, 'Relative-Time': 1, 'Relative-Memory': 1, 'Ordinary': True, 'Simple Free Choice': False, 'Extended Free Choice': False, 'State Machine': False, 'Marked Graph': False, 'Connected': True, 'Strongly Connected': True, 'Source Place': False, 'Sink Place': False, 'Source Transition': False, 'Sink Transition': False, 'Loop Free': True, 'Conservative': True, 'Sub-Conservative': True, 'Nested Units': False, 'Safe': False, 'Deadlock': False, 'Reversible': False, 'Quasi Live': True, 'Live': False}.
Known tools are: [{'Time': 296488, 'Memory': 4764.4, 'Tool': 'lola'}, {'Time': 304787, 'Memory': 4915.59, 'Tool': 'lola'}].
Learned tools are: [{'Tool': 'lola'}].
Learned tool lola is 1.0x far from the best tool lola.
ReachabilityCardinality lola HypercubeGrid-PT-C5K3P3B15...
----- Start make prepare stderr -----

Time: 3600 - MCC
----- Start make prepare stdout -----
===========================================================================================
HypercubeGrid-PT-C5K3P3B15: translating PT Petri net model.pnml into LoLA format
===========================================================================================
translating PT Petri net complete


checking for too many tokens
===========================================================================================
HypercubeGrid-PT-C5K3P3B15: translating PT formula ReachabilityCardinality into LoLA format
===========================================================================================
translating formula complete
touch formulae;
----- Start make result stderr -----
----- Start make result stdout -----
ReachabilityCardinality @ HypercubeGrid-PT-C5K3P3B15 @ 3539 seconds
Makefile:222: recipe for target 'verify' failed
make: [verify] Error 134 (ignored)
----- Start make result stdout -----
----- Start make result stderr -----
lola: LoLA will run for 3539 seconds at most (--timelimit)
lola: NET
lola: reading net from model.pnml.lola
lola: finished parsing
lola: closed net file model.pnml.lola
lola: 34263/65536 symbol table entries, 18076 collisions
lola: preprocessing...
lola: finding significant places
lola: 9153 places, 25110 transitions, 5669 significant places
lola: computing forward-conflicting sets
lola: computing back-conflicting sets
lola: 28593 transition conflict sets
lola: TASK
lola: reading formula from HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality.task
lola: A (G (((pi_d2_n1_2_4_3_3_1 <= pil_d5_n1_1_1_2_3_2) OR (po_d4_n1_3_3_1_2_1 <= pb_d2_n2_1_3_3_1_2) OR (pol_d4_n1_2_1_2_1_1 <= 1) OR (pil_d3_n1_2_1_1_3_1 + 1 <= pol_d1_n1_4_2_3_3_3)))) : E (F ((pol_d3_n1_3_2_1_3_2 + 1 <= pi_d3_n1_1_3_3_1_3))) : E (F (((pol_d1_n1_3_2_3_1_1 <= 1) AND (pb_d3_n2_3_1_2_3_3 <= 0) AND (pil_d4_n1_2_1_2_2_2 <= pi_d2_n1_1_2_2_1_3)))) : A (G ((1 <= pb_d4_n2_2_2_1_2_2))) : E (F (((1 <= po_d1_n1_4_1_1_3_3) AND (pb_d5_n1_2_3_1_1_1 <= pb_d2_n1_1_3_2_2_1) AND (pi_d4_n1_3_3_3_4_2 + 1 <= pb_d2_n2_1_3_3_3_3) AND ((3 <= pb_d2_n2_2_2_1_2_1) OR (pi_d5_n1_3_2_3_2_2 <= pol_d2_n1_3_4_2_1_2)) AND (pol_d2_n1_2_4_2_1_3 + 1 <= pil_d4_n1_3_1_3_2_1)))) : A (G (((pol_d2_n1_2_1_3_2_1 <= 2) OR (pi_d2_n1_2_4_2_2_3 <= 1) OR (3 <= po_d1_n1_2_2_1_2_3)))) : E (F ((((pol_d5_n1_1_1_1_3_3 <= pol_d5_n1_2_1_1_3_3) AND (pb_d4_n1_2_3_1_1_2 <= pol_d2_n1_2_4_3_3_2) AND ((2 <= pol_d5_n1_2_2_1_2_3) OR (po_d2_n1_3_3_1_1_1 <= po_d1_n1_4_2_2_1_2))) OR (2 <= po_d4_n1_2_1_3_1_1)))) : A (G (((3 <= po_d1_n1_2_1_3_2_2) OR (1 <= po_d4_n1_2_1_1_1_3) OR (1 <= pb_d5_n1_3_3_1_1_2) OR (po_d1_n1_1_1_3_1_3 <= pb_d2_n2_2_3_1_1_3) OR (pil_d4_n1_3_1_3_1_2 <= pol_d2_n1_3_4_1_3_1)))) : E (F (((2 <= pb_d4_n2_1_2_1_1_2) AND (3 <= pil_d1_n1_3_2_3_2_3) AND (1 <= pi_d5_n1_2_3_2_1_4)))) : A (G (((po_d3_n1_1_2_4_3_2 <= pol_d5_n1_1_1_1_3_4) OR ((2 <= po_d4_n1_3_2_3_4_2) AND (1 <= pil_d5_n1_3_1_3_3_1)) OR (2 <= po_d1_n1_3_2_2_2_2)))) : A (G (((po_d5_n1_3_3_3_1_1 <= pil_d1_n1_2_2_3_3_3) OR (pb_d5_n2_1_3_3_1_3 <= pb_d3_n2_3_2_3_1_1) OR (3 <= pbl_3_3_2_3_1) OR ((pil_d5_n1_1_2_1_3_4 + 1 <= pi_d4_n1_1_2_3_1_2) AND ((pi_d5_n1_1_2_1_3_2 <= pi_d3_n1_1_3_4_2_3) OR (2 <= pil_d2_n1_2_4_3_3_1)))))) : A (G (((pol_d4_n1_3_3_3_2_1 <= pb_d3_n1_2_3_2_3_3) OR (pil_d2_n1_2_3_2_1_3 <= pol_d1_n1_3_3_3_3_2)))) : E (F (((3 <= pol_d3_n1_2_2_4_3_2) AND (pil_d2_n1_2_4_3_3_1 <= pb_d4_n1_1_2_3_1_1) AND (pil_d1_n1_1_3_1_2_1 + 1 <= pol_d2_n1_2_3_1_1_3) AND ((po_d2_n1_2_1_3_3_2 + 1 <= pil_d3_n1_3_3_2_1_3) OR (pb_d1_n1_3_1_1_3_3 <= 0))))) : E (F (((3 <= pi_d1_n1_2_3_2_3_2) OR (2 <= po_d4_n1_3_2_2_4_2) OR (3 <= po_d2_n1_3_2_3_2_2) OR ((pb_d2_n2_2_1_3_2_2 <= pil_d3_n1_2_1_3_2_2) AND ((1 <= pb_d1_n2_1_2_3_3_3) OR (po_d2_n1_1_3_3_2_1 <= pb_d2_n2_2_1_3_3_2)))))) : E (F ((pil_d2_n1_2_2_1_2_1 + 1 <= po_d5_n1_3_2_1_3_1))) : A (G (((pb_d5_n1_2_1_1_2_1 + 1 <= po_d1_n1_1_3_2_1_3) OR (pil_d1_n1_1_1_3_2_3 + 1 <= pil_d3_n1_2_1_4_3_1) OR (pol_d2_n1_3_1_1_3_2 <= pol_d1_n1_1_3_1_3_3) OR (po_d5_n1_1_1_2_1_2 <= pil_d2_n1_1_1_3_1_3))))
lola: computing a collection of formulas
lola: RUNNING
lola: subprocess 0 will run for 221 seconds at most (--localtimelimit=-1)
lola: ========================================
lola: ...considering subproblem: A (G (((pi_d2_n1_2_4_3_3_1 <= pil_d5_n1_1_1_2_3_2) OR (po_d4_n1_3_3_1_2_1 <= pb_d2_n2_1_3_3_1_2) OR (pol_d4_n1_2_1_2_1_1 <= 1) OR (pil_d3_n1_2_1_1_3_1 + 1 <= pol_d1_n1_4_2_3_3_3))))
lola: ========================================
lola: SUBTASK
lola: checking invariance
lola: Planning: workflow for reachability check: stateequation||search (--findpath=off)
lola: STORE
lola: using a bit-perfect encoder (--encoder=bit)
lola: using 22676 bytes per marking, with 0 unused bits
lola: using a prefix tree store (--store=prefix)
lola: SEARCH (state space)
lola: state space: using reachability graph (--search=depth)
lola: state space: using reachability preserving stubborn set method with insertion algorithm (--stubborn=tarjan)
lola: RUNNING
lola: state equation: Generated DNF with 4 literals and 1 conjunctive subformulas
lola: state equation: write sara problem file to HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality.sara
lola: state equation: calling and running sara
sara: try reading problem file HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality.sara.
lola: sara is running 0 secs || 42867 markings, 43213 edges, 8573 markings/sec, 0 secs
lola: sara is running 5 secs || 73255 markings, 73635 edges, 6078 markings/sec, 5 secs
lola: sara is running 10 secs || 95338 markings, 95718 edges, 4417 markings/sec, 10 secs
lola: sara is running 15 secs || 113399 markings, 113896 edges, 3612 markings/sec, 15 secs
lola: sara is running 20 secs || 129713 markings, 130302 edges, 3263 markings/sec, 20 secs
lola: sara is running 25 secs || 145675 markings, 146309 edges, 3192 markings/sec, 25 secs
lola: sara is running 30 secs || 160749 markings, 161979 edges, 3015 markings/sec, 30 secs
lola: sara is running 35 secs || 175758 markings, 177205 edges, 3002 markings/sec, 35 secs
lola: sara is running 40 secs || 190823 markings, 192324 edges, 3013 markings/sec, 40 secs
lola: sara is running 45 secs || 205678 markings, 207274 edges, 2971 markings/sec, 45 secs
lola: sara is running 50 secs || 220568 markings, 222312 edges, 2978 markings/sec, 50 secs
lola: sara is running 55 secs || 235621 markings, 237511 edges, 3011 markings/sec, 55 secs
lola: sara is running 60 secs || 250813 markings, 252832 edges, 3038 markings/sec, 60 secs
lola: sara is running 65 secs || 265850 markings, 267966 edges, 3007 markings/sec, 65 secs
lola: sara is running 70 secs || 280956 markings, 283167 edges, 3021 markings/sec, 70 secs
lola: sara is running 75 secs || 295956 markings, 298360 edges, 3000 markings/sec, 75 secs
lola: sara is running 80 secs || 310911 markings, 313528 edges, 2991 markings/sec, 80 secs
lola: sara is running 85 secs || 325834 markings, 328653 edges, 2985 markings/sec, 85 secs
lola: sara is running 90 secs || 340762 markings, 344117 edges, 2986 markings/sec, 90 secs
lola: sara is running 95 secs || 355196 markings, 358644 edges, 2887 markings/sec, 95 secs
lola: sara is running 100 secs || 368558 markings, 372214 edges, 2672 markings/sec, 100 secs
lola: sara is running 105 secs || 382166 markings, 385984 edges, 2722 markings/sec, 105 secs
lola: sara is running 110 secs || 393817 markings, 398872 edges, 2330 markings/sec, 110 secs
lola: sara is running 115 secs || 405861 markings, 411466 edges, 2409 markings/sec, 115 secs
lola: sara is running 120 secs || 418164 markings, 423953 edges, 2461 markings/sec, 120 secs
lola: sara is running 125 secs || 430463 markings, 436394 edges, 2460 markings/sec, 125 secs
lola: sara is running 130 secs || 442770 markings, 448973 edges, 2461 markings/sec, 130 secs
lola: sara is running 135 secs || 455086 markings, 461560 edges, 2463 markings/sec, 135 secs
lola: sara is running 140 secs || 467378 markings, 474097 edges, 2458 markings/sec, 140 secs
lola: sara is running 145 secs || 479441 markings, 486695 edges, 2413 markings/sec, 145 secs
lola: sara is running 150 secs || 491067 markings, 498443 edges, 2325 markings/sec, 150 secs
lola: sara is running 155 secs || 502402 markings, 509796 edges, 2267 markings/sec, 155 secs
lola: sara is running 160 secs || 512559 markings, 520138 edges, 2031 markings/sec, 160 secs
lola: sara is running 165 secs || 522637 markings, 530662 edges, 2016 markings/sec, 165 secs
sara: place or transition ordering is non-deterministic
lola: sara is running 170 secs || 532808 markings, 540971 edges, 2034 markings/sec, 170 secs
lola: sara is running 175 secs || 542900 markings, 551414 edges, 2018 markings/sec, 175 secs
lola: sara is running 180 secs || 552977 markings, 561549 edges, 2015 markings/sec, 180 secs

lola: sara is running 185 secs || 562561 markings, 571736 edges, 1917 markings/sec, 185 secs
lola: sara is running 190 secs || 572003 markings, 581602 edges, 1888 markings/sec, 190 secs
lola: sara is running 195 secs || 581298 markings, 591779 edges, 1859 markings/sec, 195 secs
lola: sara is running 200 secs || 590600 markings, 601104 edges, 1860 markings/sec, 200 secs
lola: sara is running 205 secs || 599624 markings, 610262 edges, 1805 markings/sec, 205 secs
lola: sara is running 210 secs || 608589 markings, 619299 edges, 1793 markings/sec, 210 secs
lola: sara is running 215 secs || 617443 markings, 628403 edges, 1771 markings/sec, 215 secs
lola: local time limit reached - aborting
lola: Child process aborted or communication problem between parent and child process
terminate called after throwing an instance of 'std::runtime_error'
what(): parse error at position 1: unexpected character, last read: '\ufffd'
Aborted (core dumped)
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-0 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-1 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-2 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-3 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-4 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-5 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-6 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-7 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-8 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-9 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-10 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-11 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-12 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-13 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-14 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
FORMULA HypercubeGrid-PT-C5K3P3B15-ReachabilityCardinality-15 CANNOT_COMPUTE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT STATE_COMPRESSION STUBBORN_SETS TOPOLOGICAL USE_NUPN
----- Kill lola and sara stdout -----
----- Kill lola and sara stderr -----
----- Finished stdout -----
----- Finished stderr -----

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="HypercubeGrid-PT-C5K3P3B15"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="irma4mcc-full"
export BK_RESULT_DIR="/tmp/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/HypercubeGrid-PT-C5K3P3B15.tgz
mv HypercubeGrid-PT-C5K3P3B15 execution
cd execution
pwd
ls -lh

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-3637"
echo " Executing tool irma4mcc-full"
echo " Input is HypercubeGrid-PT-C5K3P3B15, 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 r102-smll-152658632900124"
echo "====================================================================="
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
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 ;