About the Execution of 2021-gold for Diffusion2D-PT-D30N100
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-165254780600298.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-D30N100, examination is UpperBounds
    Time confinement is 3600 seconds
    Memory confinement is 16384 MBytes
    Number of cores is 4
    Run identifier is r071-tall-165254780600298
=====================================================================
--------------------
preparation of the directory to be used:
/home/mcc/execution
total 3.3M
-rw-r--r-- 1 mcc users 8.2K Apr 30 05:07 CTLCardinality.txt
-rw-r--r-- 1 mcc users  76K Apr 30 05:07 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.9K Apr 30 05:06 CTLFireability.txt
-rw-r--r-- 1 mcc users  43K Apr 30 05:06 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.1K May  9 07:38 LTLCardinality.txt
-rw-r--r-- 1 mcc users  25K May  9 07:38 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K May  9 07:38 LTLFireability.txt
-rw-r--r-- 1 mcc users  17K May  9 07:38 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.8K May  9 07:38 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K May  9 07:38 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 3.0M 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 positive values
NUM_VECTOR
here is the order used to build the result vector(from text file)
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-00
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-01
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-02
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-03
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-04
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-05
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-06
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-07
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-08
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-09
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-10
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-11
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-12
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-13
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-14
FORMULA_NAME Diffusion2D-PT-D30N100-UpperBounds-15
=== Now, execution of the tool begins
BK_START 1652592324046
Running Version 0
[2022-05-15 05:25:25] [INFO   ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -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-05-15 05:25:25] [INFO   ] Parsing pnml file : /home/mcc/execution/model.pnml 
[2022-05-15 05:25:25] [INFO   ] Load time of PNML (sax parser for PT used): 210 ms 
[2022-05-15 05:25:25] [INFO   ] Transformed 900 places. 
[2022-05-15 05:25:25] [INFO   ] Transformed 6844 transitions. 
[2022-05-15 05:25:25] [INFO   ] Parsed PT model containing 900 places and 6844 transitions in 278 ms. 
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 89 ms.
// Phase 1: matrix 6844 rows 900 cols
[2022-05-15 05:25:26] [INFO   ] Computed 1 place invariants in 65 ms 
Incomplete random walk after 10001  steps, including 2 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties (out of 16) seen :300
FORMULA Diffusion2D-PT-D30N100-UpperBounds-15 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-05 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-00 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 19 ms. (steps per millisecond=526 ) properties (out of 13) seen :1
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 13) seen :2
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 18 ms. (steps per millisecond=555 ) properties (out of 13) seen :2
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 13 ms. (steps per millisecond=769 ) properties (out of 13) 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 13) seen :1
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 13) seen :1
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 6 ms. (steps per millisecond=1666 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 6 ms. (steps per millisecond=1666 ) properties (out of 13) seen :1
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 6 ms. (steps per millisecond=1666 ) properties (out of 13) seen :2
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 6 ms. (steps per millisecond=1666 ) properties (out of 13) seen :1
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 5 ms. (steps per millisecond=2000 ) properties (out of 13) seen :1
Incomplete Best-First random walk after 10001  steps, including 2 resets, run finished after 5 ms. (steps per millisecond=2000 ) properties (out of 13) seen :1
// Phase 1: matrix 6844 rows 900 cols
[2022-05-15 05:25:26] [INFO   ] Computed 1 place invariants in 55 ms 
[2022-05-15 05:25:26] [INFO   ] [Real]Absence check using  1 positive place invariants in 15 ms returned sat 
[2022-05-15 05:25:26] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:27] [INFO   ] [Real]Absence check using state equation in 1097 ms returned sat 
[2022-05-15 05:25:27] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:27] [INFO   ] [Nat]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:27] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:28] [INFO   ] [Nat]Absence check using state equation in 1040 ms returned sat 
[2022-05-15 05:25:29] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 444 ms. 
[2022-05-15 05:25:29] [INFO   ] [Real]Absence check using  1 positive place invariants in 8 ms returned sat 
[2022-05-15 05:25:29] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:30] [INFO   ] [Real]Absence check using state equation in 1056 ms returned sat 
[2022-05-15 05:25:30] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:30] [INFO   ] [Nat]Absence check using  1 positive place invariants in 10 ms returned sat 
[2022-05-15 05:25:30] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:31] [INFO   ] [Nat]Absence check using state equation in 1016 ms returned sat 
[2022-05-15 05:25:32] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 442 ms. 
[2022-05-15 05:25:32] [INFO   ] [Real]Absence check using  1 positive place invariants in 8 ms returned sat 
[2022-05-15 05:25:32] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:33] [INFO   ] [Real]Absence check using state equation in 1044 ms returned sat 
[2022-05-15 05:25:33] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:33] [INFO   ] [Nat]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:33] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:34] [INFO   ] [Nat]Absence check using state equation in 1006 ms returned sat 
[2022-05-15 05:25:35] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 359 ms. 
[2022-05-15 05:25:35] [INFO   ] [Real]Absence check using  1 positive place invariants in 8 ms returned sat 
[2022-05-15 05:25:35] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:36] [INFO   ] [Real]Absence check using state equation in 859 ms returned sat 
[2022-05-15 05:25:36] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 349 ms. 
[2022-05-15 05:25:37] [INFO   ] [Real]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:37] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:38] [INFO   ] [Real]Absence check using state equation in 1046 ms returned sat 
[2022-05-15 05:25:38] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:38] [INFO   ] [Nat]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:38] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:39] [INFO   ] [Nat]Absence check using state equation in 1178 ms returned sat 
[2022-05-15 05:25:39] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 355 ms. 
[2022-05-15 05:25:40] [INFO   ] [Real]Absence check using  1 positive place invariants in 8 ms returned sat 
[2022-05-15 05:25:40] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:41] [INFO   ] [Real]Absence check using state equation in 1000 ms returned sat 
[2022-05-15 05:25:41] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:41] [INFO   ] [Nat]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:41] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:42] [INFO   ] [Nat]Absence check using state equation in 877 ms returned sat 
[2022-05-15 05:25:42] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 424 ms. 
[2022-05-15 05:25:42] [INFO   ] [Real]Absence check using  1 positive place invariants in 10 ms returned sat 
[2022-05-15 05:25:42] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:43] [INFO   ] [Real]Absence check using state equation in 1081 ms returned sat 
[2022-05-15 05:25:44] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:44] [INFO   ] [Nat]Absence check using  1 positive place invariants in 26 ms returned sat 
[2022-05-15 05:25:44] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:45] [INFO   ] [Nat]Absence check using state equation in 1513 ms returned sat 
[2022-05-15 05:25:46] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 322 ms. 
[2022-05-15 05:25:46] [INFO   ] [Real]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:46] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:47] [INFO   ] [Real]Absence check using state equation in 1052 ms returned sat 
[2022-05-15 05:25:47] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:47] [INFO   ] [Nat]Absence check using  1 positive place invariants in 10 ms returned sat 
[2022-05-15 05:25:47] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:48] [INFO   ] [Nat]Absence check using state equation in 1094 ms returned sat 
[2022-05-15 05:25:49] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 350 ms. 
[2022-05-15 05:25:49] [INFO   ] [Real]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:49] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:50] [INFO   ] [Real]Absence check using state equation in 1073 ms returned sat 
[2022-05-15 05:25:50] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:50] [INFO   ] [Nat]Absence check using  1 positive place invariants in 10 ms returned sat 
[2022-05-15 05:25:50] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:51] [INFO   ] [Nat]Absence check using state equation in 1094 ms returned sat 
[2022-05-15 05:25:52] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 286 ms. 
[2022-05-15 05:25:52] [INFO   ] [Real]Absence check using  1 positive place invariants in 8 ms returned sat 
[2022-05-15 05:25:52] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:53] [INFO   ] [Real]Absence check using state equation in 893 ms returned sat 
[2022-05-15 05:25:53] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 291 ms. 
[2022-05-15 05:25:53] [INFO   ] [Real]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:53] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:54] [INFO   ] [Real]Absence check using state equation in 871 ms returned sat 
[2022-05-15 05:25:54] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:54] [INFO   ] [Nat]Absence check using  1 positive place invariants in 10 ms returned sat 
[2022-05-15 05:25:54] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:55] [INFO   ] [Nat]Absence check using state equation in 880 ms returned sat 
[2022-05-15 05:25:56] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 315 ms. 
[2022-05-15 05:25:56] [INFO   ] [Real]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:56] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:57] [INFO   ] [Real]Absence check using state equation in 976 ms returned sat 
[2022-05-15 05:25:57] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:57] [INFO   ] [Nat]Absence check using  1 positive place invariants in 10 ms returned sat 
[2022-05-15 05:25:57] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:58] [INFO   ] [Nat]Absence check using state equation in 958 ms returned sat 
[2022-05-15 05:25:58] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 342 ms. 
[2022-05-15 05:25:58] [INFO   ] [Real]Absence check using  1 positive place invariants in 8 ms returned sat 
[2022-05-15 05:25:58] [INFO   ] [Real]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:25:59] [INFO   ] [Real]Absence check using state equation in 893 ms returned sat 
[2022-05-15 05:25:59] [INFO   ] Solution in real domain found non-integer solution. 
[2022-05-15 05:25:59] [INFO   ] [Nat]Absence check using  1 positive place invariants in 9 ms returned sat 
[2022-05-15 05:25:59] [INFO   ] [Nat]Adding state equation constraints to refine reachable states. 
[2022-05-15 05:26:00] [INFO   ] [Nat]Absence check using state equation in 905 ms returned sat 
[2022-05-15 05:26:01] [INFO   ] Computed and/alt/rep : 6836/52948/6836 causal constraints (skipped 0 transitions) in 318 ms. 
Current structural bounds on expressions (after SMT) : [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100] Max seen :[0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0]
Support contains 13 out of 900 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 900/900 places, 6844/6844 transitions.
Graph (trivial) has 6660 edges and 900 vertex of which 887 / 900 are part of one of the 1 SCC in 17 ms
Free SCC test removed 886 places 
Drop transitions removed 6660 transitions 
Ensure Unique test removed 158 transitions
Reduce isomorphic transitions removed 6818 transitions.
Applied a total of 1 rules in 41 ms. Remains 14 /900 variables (removed 886) and now considering 26/6844 (removed 6818) transitions.
Finished structural reductions, in 1 iterations. Remains : 14/900 places, 26/6844 transitions.
// Phase 1: matrix 26 rows 14 cols
[2022-05-15 05:26:01] [INFO   ] Computed 1 place invariants in 0 ms 
Incomplete random walk after 1000042  steps, including 2 resets, run finished after 135 ms. (steps per millisecond=7407 ) properties (out of 13) seen :1300
FORMULA Diffusion2D-PT-D30N100-UpperBounds-14 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-13 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-12 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-11 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-10 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-09 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-08 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-07 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-06 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-04 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-03 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-02 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D30N100-UpperBounds-01 100 TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.
BK_STOP 1652592362513
--------------------
content from stderr:
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution UpperBounds -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 UpperBounds -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-D30N100"
export BK_EXAMINATION="UpperBounds"
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-D30N100, examination is UpperBounds"
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-165254780600298"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"
tar xzf /home/mcc/BenchKit/INPUTS/Diffusion2D-PT-D30N100.tgz
mv Diffusion2D-PT-D30N100 execution
cd execution
if [ "UpperBounds" = "ReachabilityDeadlock" ] || [ "UpperBounds" = "UpperBounds" ] || [ "UpperBounds" = "QuasiLiveness" ] || [ "UpperBounds" = "StableMarking" ] || [ "UpperBounds" = "Liveness" ] || [ "UpperBounds" = "OneSafe" ] || [ "UpperBounds" = "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 [ "UpperBounds" = "UpperBounds" ] ; then
	echo "The expected result is a vector of positive values"
	echo NUM_VECTOR
elif [ "UpperBounds" != "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 "UpperBounds.txt" ] ; then
	echo "here is the order used to build the result vector(from text file)"
	for x in $(grep Property UpperBounds.txt | cut -d ' ' -f 2 | sort -u) ; do
		echo "FORMULA_NAME $x"
	done
elif [ -f "UpperBounds.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 '
		echo "FORMULA_NAME $x"
	done
elif [ "UpperBounds" = "ReachabilityDeadlock" ] || [ "UpperBounds" = "QuasiLiveness" ] || [ "UpperBounds" = "StableMarking" ] || [ "UpperBounds" = "Liveness" ] || [ "UpperBounds" = "OneSafe" ] ; then
	echo "FORMULA_NAME UpperBounds"
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 ;
