fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r071-tall-165254780600275
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for Diffusion2D-PT-D10N150

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
419.079 38611.00 49435.00 1142.90 FFTFTFFTTTFTFFTF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2022-input.r071-tall-165254780600275.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-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 gold2021
Input is Diffusion2D-PT-D10N150, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r071-tall-165254780600275
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 736K
-rw-r--r-- 1 mcc users 8.4K Apr 30 05:12 CTLCardinality.txt
-rw-r--r-- 1 mcc users 82K Apr 30 05:12 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.2K Apr 30 05:10 CTLFireability.txt
-rw-r--r-- 1 mcc users 51K Apr 30 05:10 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.5K May 9 07:37 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K May 9 07:37 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K May 9 07:37 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 9 07:37 LTLFireability.xml
-rw-r--r-- 1 mcc users 9.5K Apr 30 05:13 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 85K Apr 30 05:13 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 14K Apr 30 05:13 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 109K Apr 30 05:13 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K May 9 07:37 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 9 07:37 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 8 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 255K May 10 09:33 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-D10N150-ReachabilityCardinality-00
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-01
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-02
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-03
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-04
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-05
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-06
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-07
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-08
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-09
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-10
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-11
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-12
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-13
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-14
FORMULA_NAME Diffusion2D-PT-D10N150-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655070510403

Running Version 0
[2022-06-12 21:48:32] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2022-06-12 21:48:32] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:48:32] [INFO ] Load time of PNML (sax parser for PT used): 70 ms
[2022-06-12 21:48:32] [INFO ] Transformed 100 places.
[2022-06-12 21:48:32] [INFO ] Transformed 684 transitions.
[2022-06-12 21:48:32] [INFO ] Parsed PT model containing 100 places and 684 transitions in 110 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 12 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10119 steps, including 2 resets, run finished after 9 ms. (steps per millisecond=1124 ) properties (out of 16) seen :7
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 52 ms. (steps per millisecond=192 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 23 ms. (steps per millisecond=434 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties (out of 9) seen :1
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 32 ms. (steps per millisecond=312 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 39 ms. (steps per millisecond=256 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
// Phase 1: matrix 684 rows 100 cols
[2022-06-12 21:48:32] [INFO ] Computed 1 place invariants in 21 ms
[2022-06-12 21:48:32] [INFO ] [Real]Absence check using 1 positive place invariants in 3 ms returned sat
[2022-06-12 21:48:32] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:33] [INFO ] [Real]Absence check using state equation in 123 ms returned sat
[2022-06-12 21:48:33] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:48:33] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2022-06-12 21:48:33] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:33] [INFO ] [Nat]Absence check using state equation in 93 ms returned sat
[2022-06-12 21:48:33] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 51 ms.
[2022-06-12 21:48:38] [INFO ] Added : 355 causal constraints over 71 iterations in 4853 ms. Result :unknown
[2022-06-12 21:48:38] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2022-06-12 21:48:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:38] [INFO ] [Real]Absence check using state equation in 93 ms returned sat
[2022-06-12 21:48:38] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:48:38] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2022-06-12 21:48:38] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:38] [INFO ] [Nat]Absence check using state equation in 84 ms returned sat
[2022-06-12 21:48:38] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 80 ms.
[2022-06-12 21:48:43] [INFO ] Added : 380 causal constraints over 76 iterations in 4870 ms. Result :unknown
[2022-06-12 21:48:43] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2022-06-12 21:48:43] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:43] [INFO ] [Real]Absence check using state equation in 93 ms returned sat
[2022-06-12 21:48:43] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:48:43] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2022-06-12 21:48:43] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:43] [INFO ] [Nat]Absence check using state equation in 89 ms returned sat
[2022-06-12 21:48:43] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 56 ms.
[2022-06-12 21:48:48] [INFO ] Added : 390 causal constraints over 78 iterations in 4878 ms. Result :unknown
[2022-06-12 21:48:48] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned unsat
[2022-06-12 21:48:48] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2022-06-12 21:48:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:48] [INFO ] [Real]Absence check using state equation in 84 ms returned sat
[2022-06-12 21:48:48] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 38 ms.
[2022-06-12 21:48:48] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:48:48] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2022-06-12 21:48:48] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:48] [INFO ] [Nat]Absence check using state equation in 82 ms returned sat
[2022-06-12 21:48:48] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 38 ms.
[2022-06-12 21:48:53] [INFO ] Added : 364 causal constraints over 73 iterations in 4881 ms. Result :unknown
[2022-06-12 21:48:53] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned unsat
[2022-06-12 21:48:53] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2022-06-12 21:48:53] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:53] [INFO ] [Real]Absence check using state equation in 73 ms returned sat
[2022-06-12 21:48:53] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 51 ms.
[2022-06-12 21:48:54] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:48:54] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2022-06-12 21:48:54] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:54] [INFO ] [Nat]Absence check using state equation in 77 ms returned sat
[2022-06-12 21:48:54] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 32 ms.
[2022-06-12 21:48:59] [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 ... while checking expression at index 6
[2022-06-12 21:48:59] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2022-06-12 21:48:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:59] [INFO ] [Real]Absence check using state equation in 80 ms returned sat
[2022-06-12 21:48:59] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:48:59] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2022-06-12 21:48:59] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:48:59] [INFO ] [Nat]Absence check using state equation in 79 ms returned sat
[2022-06-12 21:48:59] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 31 ms.
[2022-06-12 21:49:04] [INFO ] Added : 370 causal constraints over 74 iterations in 4888 ms. Result :unknown
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-10 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-03 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 8 Parikh solutions to 6 different solutions.
Incomplete Parikh walk after 193300 steps, including 105 resets, run finished after 556 ms. (steps per millisecond=347 ) properties (out of 6) seen :2 could not realise parikh vector
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 215900 steps, including 108 resets, run finished after 536 ms. (steps per millisecond=402 ) properties (out of 4) seen :2 could not realise parikh vector
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 136100 steps, including 111 resets, run finished after 353 ms. (steps per millisecond=385 ) properties (out of 2) seen :0 could not realise parikh vector
Incomplete Parikh walk after 122000 steps, including 118 resets, run finished after 261 ms. (steps per millisecond=467 ) properties (out of 2) seen :0 could not realise parikh vector
Incomplete Parikh walk after 244800 steps, including 107 resets, run finished after 554 ms. (steps per millisecond=441 ) properties (out of 2) seen :1 could not realise parikh vector
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 1 out of 100 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 100/100 places, 684/684 transitions.
Graph (trivial) has 674 edges and 100 vertex of which 99 / 100 are part of one of the 1 SCC in 57 ms
Free SCC test removed 98 places
Drop transitions removed 674 transitions
Ensure Unique test removed 8 transitions
Reduce isomorphic transitions removed 682 transitions.
Applied a total of 1 rules in 76 ms. Remains 2 /100 variables (removed 98) and now considering 2/684 (removed 682) transitions.
Finished structural reductions, in 1 iterations. Remains : 2/100 places, 2/684 transitions.
[2022-06-12 21:49:06] [INFO ] Flatten gal took : 15 ms
[2022-06-12 21:49:06] [INFO ] Flatten gal took : 1 ms
[2022-06-12 21:49:06] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6830324683760088034.gal : 2 ms
[2022-06-12 21:49:06] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality7964374975794504787.prop : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality6830324683760088034.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality7964374975794504787.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality6830324683760088034.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality7964374975794504787.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality7964374975794504787.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :4 after 5
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :9 after 10
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :18 after 19
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :35 after 36
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :68 after 69
Invariant property Diffusion2D-PT-D10N150-ReachabilityCardinality-12 does not hold.
FORMULA Diffusion2D-PT-D10N150-ReachabilityCardinality-12 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Found states matching all0 target predicate
Will report total states built up to this point. Computation was interrupted after 65 fixpoint passes
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst,134,0.033998,4260,2,136,17,935,6,0,13,664,0
Total reachable state count : 134

Verifying 1 reachability properties.
Invariant property Diffusion2D-PT-D10N150-ReachabilityCardinality-12 does not hold.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D10N150-ReachabilityCardinality-12,1,0.034179,4260,2,3,17,935,7,0,16,664,0
All properties solved without resorting to model-checking.

BK_STOP 1655070549014

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityCardinality -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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-D10N150"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="gold2021"
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 gold2021"
echo " Input is Diffusion2D-PT-D10N150, 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 r071-tall-165254780600275"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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