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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
946.052 73067.00 90086.00 449.90 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 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-165254780600304.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-D40N010, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r071-tall-165254780600304
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 4.9M
-rw-r--r-- 1 mcc users 7.4K Apr 30 05:07 CTLCardinality.txt
-rw-r--r-- 1 mcc users 68K Apr 30 05:07 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.5K Apr 30 05:07 CTLFireability.txt
-rw-r--r-- 1 mcc users 40K Apr 30 05:07 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.0K May 9 07:38 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 9 07:38 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K May 9 07:38 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K 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 4.7M 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-D40N010-UpperBounds-00
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-01
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-02
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-03
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-04
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-05
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-06
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-07
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-08
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-09
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-10
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-11
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-12
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-13
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-14
FORMULA_NAME Diffusion2D-PT-D40N010-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1652592372868

Running Version 0
[2022-05-15 05:26:14] [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:26:14] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-15 05:26:14] [INFO ] Load time of PNML (sax parser for PT used): 281 ms
[2022-05-15 05:26:14] [INFO ] Transformed 1600 places.
[2022-05-15 05:26:14] [INFO ] Transformed 12324 transitions.
[2022-05-15 05:26:14] [INFO ] Parsed PT model containing 1600 places and 12324 transitions in 372 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 7 ms.
// Phase 1: matrix 12324 rows 1600 cols
[2022-05-15 05:26:15] [INFO ] Computed 1 place invariants in 163 ms
Incomplete random walk after 10000 steps, including 2 resets, run finished after 57 ms. (steps per millisecond=175 ) properties (out of 16) seen :50
FORMULA Diffusion2D-PT-D40N010-UpperBounds-12 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-11 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties (out of 14) 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 14) 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 14) 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 14) 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 14) 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 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=1000 ) properties (out of 14) 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 14) 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 14) 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 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=2000 ) properties (out of 14) 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 14) 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 14) 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 14) seen :0
// Phase 1: matrix 12324 rows 1600 cols
[2022-05-15 05:26:15] [INFO ] Computed 1 place invariants in 81 ms
[2022-05-15 05:26:16] [INFO ] [Real]Absence check using 1 positive place invariants in 25 ms returned sat
[2022-05-15 05:26:16] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:17] [INFO ] [Real]Absence check using state equation in 1905 ms returned sat
[2022-05-15 05:26:18] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:26:18] [INFO ] [Nat]Absence check using 1 positive place invariants in 19 ms returned sat
[2022-05-15 05:26:18] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:20] [INFO ] [Nat]Absence check using state equation in 2079 ms returned sat
[2022-05-15 05:26:21] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 685 ms.
[2022-05-15 05:26:21] [INFO ] [Real]Absence check using 1 positive place invariants in 19 ms returned sat
[2022-05-15 05:26:21] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:23] [INFO ] [Real]Absence check using state equation in 2150 ms returned sat
[2022-05-15 05:26:25] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 611 ms.
[2022-05-15 05:26:25] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:26:25] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:27] [INFO ] [Real]Absence check using state equation in 1936 ms returned sat
[2022-05-15 05:26:28] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 573 ms.
[2022-05-15 05:26:28] [INFO ] [Real]Absence check using 1 positive place invariants in 19 ms returned sat
[2022-05-15 05:26:28] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:30] [INFO ] [Real]Absence check using state equation in 2133 ms returned sat
[2022-05-15 05:26:30] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:26:30] [INFO ] [Nat]Absence check using 1 positive place invariants in 17 ms returned sat
[2022-05-15 05:26:30] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:32] [INFO ] [Nat]Absence check using state equation in 2065 ms returned sat
[2022-05-15 05:26:33] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 534 ms.
[2022-05-15 05:26:33] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:26:33] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:36] [INFO ] [Real]Absence check using state equation in 2882 ms returned sat
[2022-05-15 05:26:36] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:26:37] [INFO ] [Nat]Absence check using 1 positive place invariants in 17 ms returned sat
[2022-05-15 05:26:37] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:38] [INFO ] [Nat]Absence check using state equation in 1894 ms returned sat
[2022-05-15 05:26:39] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 533 ms.
[2022-05-15 05:26:39] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:26:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:41] [INFO ] [Real]Absence check using state equation in 1864 ms returned sat
[2022-05-15 05:26:42] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:26:42] [INFO ] [Nat]Absence check using 1 positive place invariants in 18 ms returned sat
[2022-05-15 05:26:42] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:44] [INFO ] [Nat]Absence check using state equation in 1952 ms returned sat
[2022-05-15 05:26:44] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 555 ms.
[2022-05-15 05:26:45] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:26:45] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:47] [INFO ] [Real]Absence check using state equation in 2465 ms returned sat
[2022-05-15 05:26:47] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:26:47] [INFO ] [Nat]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:26:47] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:50] [INFO ] [Nat]Absence check using state equation in 2470 ms returned sat
[2022-05-15 05:26:51] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 493 ms.
[2022-05-15 05:26:51] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:26:51] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:53] [INFO ] [Real]Absence check using state equation in 2143 ms returned sat
[2022-05-15 05:26:53] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:26:53] [INFO ] [Nat]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:26:53] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:55] [INFO ] [Nat]Absence check using state equation in 2141 ms returned sat
[2022-05-15 05:26:56] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 566 ms.
[2022-05-15 05:26:56] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:26:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:26:59] [INFO ] [Real]Absence check using state equation in 2596 ms returned sat
[2022-05-15 05:27:00] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 534 ms.
[2022-05-15 05:27:00] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:27:00] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:27:02] [INFO ] [Real]Absence check using state equation in 1927 ms returned sat
[2022-05-15 05:27:03] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 531 ms.
[2022-05-15 05:27:03] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:27:03] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:27:05] [INFO ] [Real]Absence check using state equation in 1997 ms returned sat
[2022-05-15 05:27:05] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:27:05] [INFO ] [Nat]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:27:05] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:27:07] [INFO ] [Nat]Absence check using state equation in 1883 ms returned sat
[2022-05-15 05:27:08] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 632 ms.
[2022-05-15 05:27:08] [INFO ] [Real]Absence check using 1 positive place invariants in 16 ms returned sat
[2022-05-15 05:27:08] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:27:11] [INFO ] [Real]Absence check using state equation in 2548 ms returned sat
[2022-05-15 05:27:11] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:27:11] [INFO ] [Nat]Absence check using 1 positive place invariants in 17 ms returned sat
[2022-05-15 05:27:11] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:27:14] [INFO ] [Nat]Absence check using state equation in 2532 ms returned sat
[2022-05-15 05:27:15] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 506 ms.
[2022-05-15 05:27:15] [INFO ] [Real]Absence check using 1 positive place invariants in 18 ms returned sat
[2022-05-15 05:27:15] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:27:17] [INFO ] [Real]Absence check using state equation in 2595 ms returned sat
[2022-05-15 05:27:18] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:27:18] [INFO ] [Nat]Absence check using 1 positive place invariants in 18 ms returned sat
[2022-05-15 05:27:18] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:27:20] [INFO ] [Nat]Absence check using state equation in 2514 ms returned sat
[2022-05-15 05:27:21] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 540 ms.
[2022-05-15 05:27:21] [INFO ] [Real]Absence check using 1 positive place invariants in 15 ms returned sat
[2022-05-15 05:27:21] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:27:23] [INFO ] [Real]Absence check using state equation in 1934 ms returned sat
[2022-05-15 05:27:24] [INFO ] Computed and/alt/rep : 12316/96188/12316 causal constraints (skipped 0 transitions) in 530 ms.
Current structural bounds on expressions (after SMT) : [10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10] Max seen :[0, 1, 1, 8, 9, 0, 0, 0, 7, 3, 0, 0, 0, 1]
Support contains 14 out of 1600 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1600/1600 places, 12324/12324 transitions.
Graph (trivial) has 12108 edges and 1600 vertex of which 1586 / 1600 are part of one of the 1 SCC in 27 ms
Free SCC test removed 1585 places
Drop transitions removed 12108 transitions
Ensure Unique test removed 186 transitions
Reduce isomorphic transitions removed 12294 transitions.
Drop transitions removed 3 transitions
Redundant transition composition rules discarded 3 transitions
Iterating global reduction 0 with 3 rules applied. Total rules applied 4 place count 15 transition count 27
Applied a total of 4 rules in 57 ms. Remains 15 /1600 variables (removed 1585) and now considering 27/12324 (removed 12297) transitions.
Finished structural reductions, in 1 iterations. Remains : 15/1600 places, 27/12324 transitions.
// Phase 1: matrix 27 rows 15 cols
[2022-05-15 05:27:24] [INFO ] Computed 1 place invariants in 0 ms
Incomplete random walk after 1000003 steps, including 2 resets, run finished after 247 ms. (steps per millisecond=4048 ) properties (out of 14) seen :140
FORMULA Diffusion2D-PT-D40N010-UpperBounds-15 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-14 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-13 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-10 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-09 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-08 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-07 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-06 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-05 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-04 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-03 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-02 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-01 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D40N010-UpperBounds-00 10 TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.

BK_STOP 1652592445935

--------------------
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-D40N010"
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-D40N010, 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-165254780600304"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/Diffusion2D-PT-D40N010.tgz
mv Diffusion2D-PT-D40N010 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 '' UpperBounds.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
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 ;