fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r228-oct2-159033547800582
Last Updated
Jun 28, 2020

About the Execution of ITS-LoLa for ViralEpidemic-PT-S16D2C4A02

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15715.160 3600000.00 96430.00 70.40 TFFFFFFTFTTFTTFT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2020-input.r228-oct2-159033547800582.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2020-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.........................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itslola
Input is ViralEpidemic-PT-S16D2C4A02, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r228-oct2-159033547800582
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 6.3M
-rw-r--r-- 1 mcc users 4.6K May 14 05:33 CTLCardinality.txt
-rw-r--r-- 1 mcc users 22K May 14 05:33 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K May 13 23:32 CTLFireability.txt
-rw-r--r-- 1 mcc users 14K May 13 23:32 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.8K May 14 10:07 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K May 14 10:07 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K May 14 10:07 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 14 10:07 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 20:42 NewModel
-rw-r--r-- 1 mcc users 4.4K May 13 16:37 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K May 13 16:37 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.9K May 13 12:22 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 20K May 13 12:22 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K May 13 16:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K May 13 16:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 12 20:42 equiv_col
-rw-r--r-- 1 mcc users 11 May 12 20:42 instance
-rw-r--r-- 1 mcc users 6 May 12 20:42 iscolored
-rw-r--r-- 1 mcc users 6.1M May 12 20:42 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-S16D2C4A02-ReachabilityCardinality-00
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-01
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-02
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-03
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-04
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-05
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-06
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-07
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-08
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-09
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-10
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-11
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-12
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-13
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-14
FORMULA_NAME ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1591314192405

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
[2020-06-04 23:43:13] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -timeout, 3600, -rebuildPNML]
[2020-06-04 23:43:13] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-06-04 23:43:14] [INFO ] Load time of PNML (sax parser for PT used): 303 ms
[2020-06-04 23:43:14] [INFO ] Transformed 4915 places.
[2020-06-04 23:43:14] [INFO ] Transformed 9009 transitions.
[2020-06-04 23:43:14] [INFO ] Parsed PT model containing 4915 places and 9009 transitions in 362 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 58 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 12 resets, run finished after 505 ms. (steps per millisecond=19 ) properties seen :[0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 104 ms. (steps per millisecond=96 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 121 ms. (steps per millisecond=82 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 103 ms. (steps per millisecond=97 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 112 ms. (steps per millisecond=89 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 104 ms. (steps per millisecond=96 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 111 ms. (steps per millisecond=90 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 96 ms. (steps per millisecond=104 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 99 ms. (steps per millisecond=101 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 103 ms. (steps per millisecond=97 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 103 ms. (steps per millisecond=97 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 102 ms. (steps per millisecond=98 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 104 ms. (steps per millisecond=96 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
// Phase 1: matrix 9009 rows 4915 cols
[2020-06-04 23:43:16] [INFO ] Computed 1 place invariants in 459 ms
[2020-06-04 23:43:17] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 93 ms returned sat
[2020-06-04 23:43:17] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:43:21] [INFO ] [Real]Absence check using state equation in 4456 ms returned (error "Solver has unexpectedly terminated")
[2020-06-04 23:43:22] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 72 ms returned sat
[2020-06-04 23:43:22] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:43:26] [INFO ] SMT solver returned unknown. Retrying;
[2020-06-04 23:43:26] [INFO ] [Real]Absence check using state equation in 4607 ms returned (error "Failed to check-sat")
[2020-06-04 23:43:26] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 70 ms returned sat
[2020-06-04 23:43:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:43:30] [INFO ] [Real]Absence check using state equation in 4065 ms returned unsat
[2020-06-04 23:43:31] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 72 ms returned sat
[2020-06-04 23:43:31] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:43:36] [INFO ] [Real]Absence check using state equation in 4621 ms returned sat
[2020-06-04 23:43:36] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed") while checking expression at index 3
[2020-06-04 23:43:36] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 111 ms returned sat
[2020-06-04 23:43:36] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:43:41] [INFO ] SMT solver returned unknown. Retrying;
[2020-06-04 23:43:41] [INFO ] [Real]Absence check using state equation in 4287 ms returned (error "Failed to check-sat")
[2020-06-04 23:43:41] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 69 ms returned sat
[2020-06-04 23:43:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:43:46] [INFO ] SMT solver returned unknown. Retrying;
[2020-06-04 23:43:46] [INFO ] [Real]Absence check using state equation in 4607 ms returned (error "Failed to check-sat")
[2020-06-04 23:43:46] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 95 ms returned sat
[2020-06-04 23:43:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:43:51] [INFO ] SMT solver returned unknown. Retrying;
[2020-06-04 23:43:51] [INFO ] [Real]Absence check using state equation in 4603 ms returned unknown
[2020-06-04 23:43:51] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 71 ms returned sat
[2020-06-04 23:43:51] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:43:56] [INFO ] SMT solver returned unknown. Retrying;
[2020-06-04 23:43:56] [INFO ] [Real]Absence check using state equation in 4645 ms returned (error "Failed to check-sat")
[2020-06-04 23:43:57] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 106 ms returned sat
[2020-06-04 23:43:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:01] [INFO ] SMT solver returned unknown. Retrying;
[2020-06-04 23:44:01] [INFO ] [Real]Absence check using state equation in 4244 ms returned (error "Failed to check-sat")
[2020-06-04 23:44:01] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 70 ms returned sat
[2020-06-04 23:44:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:06] [INFO ] SMT solver returned unknown. Retrying;
[2020-06-04 23:44:06] [INFO ] [Real]Absence check using state equation in 4610 ms returned (error "Failed to check-sat")
[2020-06-04 23:44:06] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 74 ms returned sat
[2020-06-04 23:44:06] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:10] [INFO ] [Real]Absence check using state equation in 3857 ms returned unsat
[2020-06-04 23:44:11] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 104 ms returned sat
[2020-06-04 23:44:11] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:15] [INFO ] [Real]Absence check using state equation in 4194 ms returned (error "Failed to check-sat")
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-13 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-03 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Support contains 39 out of 4915 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 4915/4915 places, 9009/9009 transitions.
Discarding 4707 places :
Also discarding 7685 output transitions
Drop transitions removed 7685 transitions
Graph (complete) has 4368 edges and 4915 vertex of which 208 are kept as prefixes of interest. Removing 4707 places using SCC suffix rule.49 ms
Drop transitions removed 1142 transitions
Reduce isomorphic transitions removed 1142 transitions.
Iterating post reduction 0 with 1142 rules applied. Total rules applied 1143 place count 208 transition count 182
Performed 3 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 1 with 3 Pre rules applied. Total rules applied 1143 place count 208 transition count 179
Deduced a syphon composed of 3 places in 0 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 1 with 6 rules applied. Total rules applied 1149 place count 205 transition count 179
Symmetric choice reduction at 1 with 86 rule applications. Total rules 1235 place count 205 transition count 179
Deduced a syphon composed of 86 places in 0 ms
Reduce places removed 86 places and 87 transitions.
Iterating global reduction 1 with 172 rules applied. Total rules applied 1407 place count 119 transition count 92
Performed 9 Post agglomeration using F-continuation condition.Transition count delta: 9
Deduced a syphon composed of 9 places in 0 ms
Reduce places removed 9 places and 0 transitions.
Iterating global reduction 1 with 18 rules applied. Total rules applied 1425 place count 110 transition count 83
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 1426 place count 109 transition count 82
Ensure Unique test removed 2 places
Iterating post reduction 1 with 2 rules applied. Total rules applied 1428 place count 107 transition count 82
Applied a total of 1428 rules in 164 ms. Remains 107 /4915 variables (removed 4808) and now considering 82/9009 (removed 8927) transitions.
Finished structural reductions, in 1 iterations. Remains : 107/4915 places, 82/9009 transitions.
Incomplete random walk after 1000000 steps, including 12420 resets, run finished after 2685 ms. (steps per millisecond=372 ) properties seen :[0, 0, 0, 0, 1, 0, 0, 0, 1, 0]
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 1000001 steps, including 616 resets, run finished after 1115 ms. (steps per millisecond=896 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 1000001 steps, including 609 resets, run finished after 1110 ms. (steps per millisecond=900 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 1000001 steps, including 606 resets, run finished after 1048 ms. (steps per millisecond=954 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 1000001 steps, including 606 resets, run finished after 1021 ms. (steps per millisecond=979 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 1000001 steps, including 614 resets, run finished after 935 ms. (steps per millisecond=1069 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 1000001 steps, including 584 resets, run finished after 923 ms. (steps per millisecond=1083 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 1000001 steps, including 558 resets, run finished after 991 ms. (steps per millisecond=1009 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 1000001 steps, including 633 resets, run finished after 1015 ms. (steps per millisecond=985 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0]
// Phase 1: matrix 82 rows 107 cols
[2020-06-04 23:44:26] [INFO ] Computed 25 place invariants in 14 ms
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using 0 positive and 25 generalized place invariants in 111 ms returned sat
[2020-06-04 23:44:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using state equation in 32 ms returned unsat
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using 0 positive and 25 generalized place invariants in 6 ms returned sat
[2020-06-04 23:44:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using state equation in 29 ms returned unsat
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using 0 positive and 25 generalized place invariants in 6 ms returned sat
[2020-06-04 23:44:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using state equation in 15 ms returned unsat
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using 0 positive and 25 generalized place invariants in 9 ms returned sat
[2020-06-04 23:44:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using state equation in 25 ms returned unsat
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using 0 positive and 25 generalized place invariants in 11 ms returned sat
[2020-06-04 23:44:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using state equation in 33 ms returned unsat
[2020-06-04 23:44:26] [INFO ] [Real]Absence check using 0 positive and 25 generalized place invariants in 6 ms returned sat
[2020-06-04 23:44:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:27] [INFO ] [Real]Absence check using state equation in 10 ms returned unsat
[2020-06-04 23:44:27] [INFO ] [Real]Absence check using 0 positive and 25 generalized place invariants in 6 ms returned sat
[2020-06-04 23:44:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:27] [INFO ] [Real]Absence check using state equation in 28 ms returned unsat
[2020-06-04 23:44:27] [INFO ] [Real]Absence check using 0 positive and 25 generalized place invariants in 7 ms returned sat
[2020-06-04 23:44:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-06-04 23:44:27] [INFO ] [Real]Absence check using state equation in 11 ms returned unsat
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-11 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-06 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-05 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-02 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A02-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
All properties solved without resorting to model-checking.

--------------------
content from 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="ViralEpidemic-PT-S16D2C4A02"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="itslola"
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

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-4028"
echo " Executing tool itslola"
echo " Input is ViralEpidemic-PT-S16D2C4A02, 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 r228-oct2-159033547800582"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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