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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
3717.588 3600000.00 111641.00 305.00 TTTTFFTFTTTTTFFT 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-162048902300100.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-D40N150, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r094-tall-162048902300100
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 5.0M
-rw-r--r-- 1 mcc users 18K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 116K May 10 09:42 CTLCardinality.xml
-rw-r--r-- 1 mcc users 16K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 97K 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.9K Mar 28 16:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Mar 28 16:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Mar 28 16:03 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 28 16:03 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Mar 23 10:20 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 23 10:20 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Mar 22 17:58 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K Mar 22 17:58 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 22 09:11 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K 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 4.7M 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-D40N150-ReachabilityFireability-00
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-01
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-02
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-03
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-04
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-05
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-06
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-07
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-08
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-09
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-10
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-11
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-12
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-13
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-14
FORMULA_NAME Diffusion2D-PT-D40N150-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1620731510058

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
[2021-05-11 11:11:51] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -timeout, 3600, -rebuildPNML]
[2021-05-11 11:11:51] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-11 11:11:51] [INFO ] Load time of PNML (sax parser for PT used): 283 ms
[2021-05-11 11:11:51] [INFO ] Transformed 1600 places.
[2021-05-11 11:11:52] [INFO ] Transformed 12324 transitions.
[2021-05-11 11:11:52] [INFO ] Parsed PT model containing 1600 places and 12324 transitions in 355 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 107 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10118 steps, including 0 resets, run finished after 18 ms. (steps per millisecond=562 ) properties seen :[0, 0, 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, 0, 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 15 ms. (steps per millisecond=666 ) properties seen :[0, 0, 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 12 ms. (steps per millisecond=833 ) properties seen :[0, 0, 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 12 ms. (steps per millisecond=833 ) properties seen :[0, 0, 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 13 ms. (steps per millisecond=769 ) properties seen :[0, 0, 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 10 ms. (steps per millisecond=1000 ) properties seen :[0, 0, 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 6 ms. (steps per millisecond=1666 ) properties seen :[0, 0, 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 13 ms. (steps per millisecond=769 ) properties seen :[0, 0, 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 7 ms. (steps per millisecond=1428 ) properties seen :[0, 0, 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, 0, 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 9 ms. (steps per millisecond=1111 ) properties seen :[0, 0, 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 10 ms. (steps per millisecond=1000 ) properties seen :[0, 0, 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 10 ms. (steps per millisecond=1000 ) properties seen :[0, 0, 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 8 ms. (steps per millisecond=1250 ) properties seen :[0, 0, 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 6 ms. (steps per millisecond=1666 ) properties seen :[0, 0, 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 11 ms. (steps per millisecond=909 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Interrupted probabilistic random walk after 6773413 steps, run timeout after 30001 ms. (steps per millisecond=225 ) properties seen :[0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]
Probabilistic random walk after 6773413 steps, saw 143789 distinct states, run finished after 30001 ms. (steps per millisecond=225 ) properties seen :[0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-04 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-01 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
// Phase 1: matrix 12324 rows 1600 cols
[2021-05-11 11:12:22] [INFO ] Computed 1 place invariants in 176 ms
[2021-05-11 11:12:22] [INFO ] [Real]Absence check using 1 positive place invariants in 32 ms returned sat
[2021-05-11 11:12:22] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:12:27] [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 (= s430 (- (+ t3284 t3293 t6707 t6714 t6721) (+ t3288 t3289 t3290 t3291 t3292)))") while checking expression at index 0
[2021-05-11 11:12:27] [INFO ] [Real]Absence check using 1 positive place invariants in 22 ms returned sat
[2021-05-11 11:12:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:12:32] [INFO ] [Real]Absence check using state equation in 4829 ms returned (error "Solver has unexpectedly terminated")
[2021-05-11 11:12:32] [INFO ] [Real]Absence check using 1 positive place invariants in 24 ms returned sat
[2021-05-11 11:12:32] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:12:37] [INFO ] [Real]Absence check using state equation in 4831 ms returned (error "Solver has unexpectedly terminated")
[2021-05-11 11:12:37] [INFO ] [Real]Absence check using 1 positive place invariants in 22 ms returned sat
[2021-05-11 11:12:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:12:42] [INFO ] [Real]Absence check using state equation in 4855 ms returned (error "Solver has unexpectedly terminated")
[2021-05-11 11:12:42] [INFO ] [Real]Absence check using 1 positive place invariants in 24 ms returned sat
[2021-05-11 11:12:42] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:12:47] [INFO ] [Real]Absence check using state equation in 4816 ms returned (error "Solver has unexpectedly terminated")
[2021-05-11 11:12:47] [INFO ] [Real]Absence check using 1 positive place invariants in 23 ms returned sat
[2021-05-11 11:12:47] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:12:52] [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 (= s451 (- (+ t2905 t2917 t2924 t3412 t3432 t3724 t3736 t3743) (+ t3421 t3422 t3423 t3424 t3425 t3426 t3427 t3428)))") while checking expression at index 5
[2021-05-11 11:12:52] [INFO ] [Real]Absence check using 1 positive place invariants in 23 ms returned sat
[2021-05-11 11:12:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:12:57] [INFO ] [Real]Absence check using state equation in 4856 ms returned (error "Failed to check-sat")
[2021-05-11 11:12:57] [INFO ] [Real]Absence check using 1 positive place invariants in 23 ms returned sat
[2021-05-11 11:12:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:13:02] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-11 11:13:02] [INFO ] [Real]Absence check using state equation in 4856 ms returned (error "Failed to check-sat")
[2021-05-11 11:13:02] [INFO ] [Real]Absence check using 1 positive place invariants in 23 ms returned sat
[2021-05-11 11:13:02] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:13:07] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-11 11:13:07] [INFO ] [Real]Absence check using state equation in 4860 ms returned (error "Failed to check-sat")
[2021-05-11 11:13:07] [INFO ] [Real]Absence check using 1 positive place invariants in 23 ms returned sat
[2021-05-11 11:13:07] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:13:12] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-11 11:13:12] [INFO ] [Real]Absence check using state equation in 4858 ms returned unknown
[2021-05-11 11:13:12] [INFO ] [Real]Absence check using 1 positive place invariants in 23 ms returned sat
[2021-05-11 11:13:12] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:13:17] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-11 11:13:17] [INFO ] [Real]Absence check using state equation in 4865 ms returned (error "Failed to check-sat")
[2021-05-11 11:13:17] [INFO ] [Real]Absence check using 1 positive place invariants in 23 ms returned sat
[2021-05-11 11:13:17] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 11:13:22] [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 (= s445 (- (+ t2865 t2872 t2879 t3372 t3387 t3684 t3691 t3698) (+ t3376 t3377 t3378 t3379 t3380 t3381 t3382 t3383)))") while checking expression at index 11
Support contains 36 out of 1600 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1600/1600 places, 12324/12324 transitions.
Graph (trivial) has 11770 edges and 1600 vertex of which 1564 / 1600 are part of one of the 1 SCC in 39 ms
Free SCC test removed 1563 places
Drop transitions removed 11770 transitions
Ensure Unique test removed 472 transitions
Reduce isomorphic transitions removed 12242 transitions.
Iterating post reduction 0 with 12242 rules applied. Total rules applied 12243 place count 37 transition count 82
Drop transitions removed 13 transitions
Redundant transition composition rules discarded 13 transitions
Iterating global reduction 1 with 13 rules applied. Total rules applied 12256 place count 37 transition count 69
Applied a total of 12256 rules in 142 ms. Remains 37 /1600 variables (removed 1563) and now considering 69/12324 (removed 12255) transitions.
Finished structural reductions, in 1 iterations. Remains : 37/1600 places, 69/12324 transitions.
Incomplete random walk after 1000108 steps, including 0 resets, run finished after 179 ms. (steps per millisecond=5587 ) properties seen :[1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1]
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-07 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Finished Best-First random walk after 14838 steps, including 0 resets, run visited all 3 properties in 17 ms. (steps per millisecond=872 )
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Diffusion2D-PT-D40N150-ReachabilityFireability-03 TRUE 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-D40N150"
export BK_EXAMINATION="ReachabilityFireability"
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-D40N150, examination is ReachabilityFireability"
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-162048902300100"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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