fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r094-tall-162048902300067
Last Updated
Jun 28, 2021

About the Execution of 2020-gold for Diffusion2D-PT-D20N150

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
823.195 3600000.00 83423.00 460.20 TFFTFTFFFFTFTTTT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2021-input.r094-tall-162048902300067.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool gold2020
Input is Diffusion2D-PT-D20N150, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r094-tall-162048902300067
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.5M
-rw-r--r-- 1 mcc users 19K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 129K May 10 09:42 CTLCardinality.xml
-rw-r--r-- 1 mcc users 9.4K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 54K May 10 09:42 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.5K Mar 28 16:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 21K Mar 28 16:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Mar 28 16:02 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 28 16:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Mar 23 10:19 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 16K Mar 23 10:19 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Mar 22 17:57 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 22 17:57 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 22 09:11 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 22 09:11 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 8 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 1.2M May 5 16:51 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 Diffusion2D-PT-D20N150-ReachabilityCardinality-00
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-01
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-02
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-03
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-04
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-05
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-06
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-07
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-08
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-09
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-10
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-11
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-12
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-13
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-14
FORMULA_NAME Diffusion2D-PT-D20N150-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1620729372030

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
[2021-05-11 10:36:14] [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]
[2021-05-11 10:36:14] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-11 10:36:14] [INFO ] Load time of PNML (sax parser for PT used): 185 ms
[2021-05-11 10:36:14] [INFO ] Transformed 400 places.
[2021-05-11 10:36:14] [INFO ] Transformed 2964 transitions.
[2021-05-11 10:36:14] [INFO ] Parsed PT model containing 400 places and 2964 transitions in 265 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 49 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10117 steps, including 0 resets, run finished after 8 ms. (steps per millisecond=1264 ) properties seen :[0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 20 ms. (steps per millisecond=500 ) properties seen :[0, 0, 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 14 ms. (steps per millisecond=714 ) properties seen :[0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 11 ms. (steps per millisecond=909 ) properties seen :[0, 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 13 ms. (steps per millisecond=769 ) properties seen :[0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 10 ms. (steps per millisecond=1000 ) properties seen :[0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties seen :[0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties seen :[0, 0, 0, 0, 1, 0, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 20 ms. (steps per millisecond=500 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 6 ms. (steps per millisecond=1666 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 6 ms. (steps per millisecond=1666 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0]
// Phase 1: matrix 2964 rows 400 cols
[2021-05-11 10:36:14] [INFO ] Computed 1 place invariants in 39 ms
[2021-05-11 10:36:14] [INFO ] [Real]Absence check using 1 positive place invariants in 13 ms returned sat
[2021-05-11 10:36:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:16] [INFO ] [Real]Absence check using state equation in 1436 ms returned sat
[2021-05-11 10:36:16] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 355 ms.
[2021-05-11 10:36:17] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 10:36:17] [INFO ] [Nat]Absence check using 1 positive place invariants in 25 ms returned sat
[2021-05-11 10:36:17] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:18] [INFO ] [Nat]Absence check using state equation in 1414 ms returned sat
[2021-05-11 10:36:19] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 143 ms.
[2021-05-11 10:36:22] [INFO ] Added : 165 causal constraints over 33 iterations in 3438 ms. Result :(error "Failed to check-sat")
[2021-05-11 10:36:22] [INFO ] [Real]Absence check using 1 positive place invariants in 7 ms returned sat
[2021-05-11 10:36:22] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:23] [INFO ] [Real]Absence check using state equation in 1314 ms returned sat
[2021-05-11 10:36:23] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 10:36:23] [INFO ] [Nat]Absence check using 1 positive place invariants in 18 ms returned sat
[2021-05-11 10:36:23] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:25] [INFO ] [Nat]Absence check using state equation in 1466 ms returned sat
[2021-05-11 10:36:25] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 170 ms.
[2021-05-11 10:36:28] [INFO ] Added : 175 causal constraints over 35 iterations in 3445 ms. Result :(error "Failed to check-sat")
[2021-05-11 10:36:28] [INFO ] [Real]Absence check using 1 positive place invariants in 7 ms returned sat
[2021-05-11 10:36:28] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:30] [INFO ] [Real]Absence check using state equation in 1316 ms returned sat
[2021-05-11 10:36:30] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 150 ms.
[2021-05-11 10:36:30] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 10:36:30] [INFO ] [Nat]Absence check using 1 positive place invariants in 14 ms returned sat
[2021-05-11 10:36:30] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:31] [INFO ] [Nat]Absence check using state equation in 1279 ms returned sat
[2021-05-11 10:36:32] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 162 ms.
[2021-05-11 10:36:35] [INFO ] Added : 190 causal constraints over 38 iterations in 3632 ms. Result :(error "Failed to check-sat")
[2021-05-11 10:36:35] [INFO ] [Real]Absence check using 1 positive place invariants in 6 ms returned sat
[2021-05-11 10:36:35] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:36] [INFO ] [Real]Absence check using state equation in 1288 ms returned sat
[2021-05-11 10:36:37] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 150 ms.
[2021-05-11 10:36:37] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 10:36:37] [INFO ] [Nat]Absence check using 1 positive place invariants in 15 ms returned sat
[2021-05-11 10:36:37] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:38] [INFO ] [Nat]Absence check using state equation in 1299 ms returned sat
[2021-05-11 10:36:38] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 149 ms.
[2021-05-11 10:36:42] [INFO ] Added : 190 causal constraints over 38 iterations in 3611 ms. Result :(error "Failed to check-sat")
[2021-05-11 10:36:42] [INFO ] [Real]Absence check using 1 positive place invariants in 6 ms returned sat
[2021-05-11 10:36:42] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:43] [INFO ] [Real]Absence check using state equation in 1316 ms returned sat
[2021-05-11 10:36:43] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 10:36:43] [INFO ] [Nat]Absence check using 1 positive place invariants in 16 ms returned sat
[2021-05-11 10:36:43] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:45] [INFO ] [Nat]Absence check using state equation in 1266 ms returned sat
[2021-05-11 10:36:45] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 141 ms.
[2021-05-11 10:36:48] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream closed (=> (> t277 0) (or (and (> t118 0) (< o118 o277)) (and (> t125 0) (< o125 o277)) (and (> t132 0) (< o132 o277)) (and (> t272 0) (< o272 o277)) (and (> t287 0) (< o287 o277)) (and (> t424 0) (< o424 o277)) (and (> t431 0) (< o431 o277)) (and (> t438 0) (< o438 o277))))") while checking expression at index 4
[2021-05-11 10:36:48] [INFO ] [Real]Absence check using 1 positive place invariants in 7 ms returned sat
[2021-05-11 10:36:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:50] [INFO ] [Real]Absence check using state equation in 1305 ms returned sat
[2021-05-11 10:36:50] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 10:36:50] [INFO ] [Nat]Absence check using 1 positive place invariants in 11 ms returned sat
[2021-05-11 10:36:50] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:51] [INFO ] [Nat]Absence check using state equation in 1330 ms returned sat
[2021-05-11 10:36:51] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 141 ms.
[2021-05-11 10:36:55] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Broken pipe (=> (> t286 0) (or (and (> t126 0) (< o126 o286)) (and (> t133 0) (< o133 o286)) (and (> t140 0) (< o140 o286)) (and (> t280 0) (< o280 o286)) (and (> t295 0) (< o295 o286)) (and (> t432 0) (< o432 o286)) (and (> t439 0) (< o439 o286)) (and (> t446 0) (< o446 o286))))") while checking expression at index 5
[2021-05-11 10:36:55] [INFO ] [Real]Absence check using 1 positive place invariants in 7 ms returned sat
[2021-05-11 10:36:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:56] [INFO ] [Real]Absence check using state equation in 1351 ms returned sat
[2021-05-11 10:36:56] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 10:36:56] [INFO ] [Nat]Absence check using 1 positive place invariants in 10 ms returned sat
[2021-05-11 10:36:56] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 10:36:58] [INFO ] [Nat]Absence check using state equation in 1341 ms returned sat
[2021-05-11 10:36:58] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 145 ms.
[2021-05-11 10:37:01] [INFO ] Added : 190 causal constraints over 38 iterations in 3583 ms. Result :unknown
[2021-05-11 10:37:01] [INFO ] [Real]Absence check using 1 positive place invariants in 6 ms returned sat
[2021-05-11 10:37:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 10:37:02] [INFO ] [Real]Absence check using state equation in 1297 ms returned sat
[2021-05-11 10:37:03] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 142 ms.
[2021-05-11 10:37:03] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 10:37:03] [INFO ] [Nat]Absence check using 1 positive place invariants in 15 ms returned sat
[2021-05-11 10:37:03] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 10:37:04] [INFO ] [Nat]Absence check using state equation in 1310 ms returned sat
[2021-05-11 10:37:04] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 144 ms.
[2021-05-11 10:37:08] [INFO ] Added : 185 causal constraints over 37 iterations in 3600 ms. Result :(error "Failed to check-sat")
[2021-05-11 10:37:08] [INFO ] [Real]Absence check using 1 positive place invariants in 6 ms returned sat
[2021-05-11 10:37:08] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 10:37:09] [INFO ] [Real]Absence check using state equation in 1328 ms returned sat
[2021-05-11 10:37:10] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 147 ms.
[2021-05-11 10:37:10] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 10:37:10] [INFO ] [Nat]Absence check using 1 positive place invariants in 14 ms returned sat
[2021-05-11 10:37:10] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 10:37:11] [INFO ] [Nat]Absence check using state equation in 1350 ms returned sat
[2021-05-11 10:37:11] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints in 150 ms.
[2021-05-11 10:37:15] [INFO ] Added : 185 causal constraints over 37 iterations in 3593 ms. Result :(error "Failed to check-sat")
Incomplete Parikh walk after 581000 steps, including 177 resets, run finished after 2304 ms. (steps per millisecond=252 ) properties seen :[1, 1, 0, 0, 1, 1, 1, 1, 0] could not realise parikh vector
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-11 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-02 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 7 out of 400 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 400/400 places, 2964/2964 transitions.
Graph (trivial) has 2854 edges and 400 vertex of which 393 / 400 are part of one of the 1 SCC in 22 ms
Free SCC test removed 392 places
Drop transitions removed 2854 transitions
Ensure Unique test removed 94 transitions
Reduce isomorphic transitions removed 2948 transitions.
Iterating post reduction 0 with 2948 rules applied. Total rules applied 2949 place count 8 transition count 16
Drop transitions removed 3 transitions
Redundant transition composition rules discarded 3 transitions
Iterating global reduction 1 with 3 rules applied. Total rules applied 2952 place count 8 transition count 13
Applied a total of 2952 rules in 39 ms. Remains 8 /400 variables (removed 392) and now considering 13/2964 (removed 2951) transitions.
Finished structural reductions, in 1 iterations. Remains : 8/400 places, 13/2964 transitions.
Incomplete random walk after 1000143 steps, including 0 resets, run finished after 117 ms. (steps per millisecond=8548 ) properties seen :[0, 1, 1]
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Finished Best-First random walk after 44 steps, including 0 resets, run visited all 1 properties in 1 ms. (steps per millisecond=44 )
FORMULA Diffusion2D-PT-D20N150-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
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="Diffusion2D-PT-D20N150"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="gold2020"
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-4028"
echo " Executing tool gold2020"
echo " Input is Diffusion2D-PT-D20N150, 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 r094-tall-162048902300067"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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