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

About the Execution of ITS-Tools for Diffusion2D-PT-D20N150

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1791.527 157662.00 172405.00 308.50 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 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.r083-tall-162048875000131.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 itstools
Input is Diffusion2D-PT-D20N150, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r083-tall-162048875000131
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.5M
-rw-r--r-- 1 mcc users 19K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 129K May 5 16:58 CTLCardinality.xml
-rw-r--r-- 1 mcc users 9.4K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 54K May 5 16:58 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.5K Mar 28 16:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 21K Mar 28 16:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Mar 28 16:02 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 28 16:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Mar 23 10:19 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 16K Mar 23 10:19 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Mar 22 17:57 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 22 17:57 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 22 09:11 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 22 09:11 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 8 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 1.2M May 5 16:51 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of positive values
NUM_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-00
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-01
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-02
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-03
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-04
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-05
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-06
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-07
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-08
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-09
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-10
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-11
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-12
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-13
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-14
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1620546145195

Running Version 0
[2021-05-09 07:42:26] [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]
[2021-05-09 07:42:26] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-09 07:42:26] [INFO ] Load time of PNML (sax parser for PT used): 130 ms
[2021-05-09 07:42:26] [INFO ] Transformed 400 places.
[2021-05-09 07:42:26] [INFO ] Transformed 2964 transitions.
[2021-05-09 07:42:26] [INFO ] Parsed PT model containing 400 places and 2964 transitions in 178 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 6 ms.
// Phase 1: matrix 2964 rows 400 cols
[2021-05-09 07:42:26] [INFO ] Computed 1 place invariants in 41 ms
Incomplete random walk after 10121 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=1686 ) properties (out of 16) seen :300
FORMULA Diffusion2D-PT-D20N150-UpperBounds-11 150 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-03 150 TECHNIQUES TOPOLOGICAL RANDOM_WALK
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 :4
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 12 ms. (steps per millisecond=833 ) properties (out of 14) seen :1
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 14) seen :3
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 :2
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 7 ms. (steps per millisecond=1428 ) properties (out of 14) 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 14) seen :2
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties (out of 14) 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 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 :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 :3
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 :2
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 :1
// Phase 1: matrix 2964 rows 400 cols
[2021-05-09 07:42:27] [INFO ] Computed 1 place invariants in 20 ms
[2021-05-09 07:42:27] [INFO ] [Real]Absence check using 1 positive place invariants in 7 ms returned sat
[2021-05-09 07:42:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:27] [INFO ] [Real]Absence check using state equation in 485 ms returned sat
[2021-05-09 07:42:27] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 07:42:27] [INFO ] [Nat]Absence check using 1 positive place invariants in 5 ms returned sat
[2021-05-09 07:42:27] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:28] [INFO ] [Nat]Absence check using state equation in 396 ms returned sat
[2021-05-09 07:42:28] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 224 ms.
Minimization took 213 ms.
[2021-05-09 07:42:29] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:29] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:29] [INFO ] [Real]Absence check using state equation in 458 ms returned sat
[2021-05-09 07:42:29] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 07:42:29] [INFO ] [Nat]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:29] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:30] [INFO ] [Nat]Absence check using state equation in 460 ms returned sat
[2021-05-09 07:42:30] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 211 ms.
Minimization took 211 ms.
[2021-05-09 07:42:30] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:30] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:31] [INFO ] [Real]Absence check using state equation in 474 ms returned sat
[2021-05-09 07:42:31] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 07:42:31] [INFO ] [Nat]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:31] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:31] [INFO ] [Nat]Absence check using state equation in 424 ms returned sat
[2021-05-09 07:42:32] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 203 ms.
Minimization took 196 ms.
[2021-05-09 07:42:32] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:32] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:32] [INFO ] [Real]Absence check using state equation in 404 ms returned sat
[2021-05-09 07:42:33] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 174 ms.
Minimization took 219 ms.
[2021-05-09 07:42:33] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:33] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:33] [INFO ] [Real]Absence check using state equation in 431 ms returned sat
[2021-05-09 07:42:34] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 201 ms.
Minimization took 255 ms.
[2021-05-09 07:42:34] [INFO ] [Real]Absence check using 1 positive place invariants in 5 ms returned sat
[2021-05-09 07:42:34] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:34] [INFO ] [Real]Absence check using state equation in 386 ms returned sat
[2021-05-09 07:42:35] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 174 ms.
Minimization took 245 ms.
[2021-05-09 07:42:35] [INFO ] [Real]Absence check using 1 positive place invariants in 5 ms returned sat
[2021-05-09 07:42:35] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:35] [INFO ] [Real]Absence check using state equation in 388 ms returned sat
[2021-05-09 07:42:36] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 07:42:36] [INFO ] [Nat]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:36] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:36] [INFO ] [Nat]Absence check using state equation in 447 ms returned sat
[2021-05-09 07:42:36] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 182 ms.
Minimization took 246 ms.
[2021-05-09 07:42:37] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:37] [INFO ] [Real]Absence check using state equation in 470 ms returned sat
[2021-05-09 07:42:37] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 146 ms.
Minimization took 242 ms.
[2021-05-09 07:42:38] [INFO ] [Real]Absence check using 1 positive place invariants in 5 ms returned sat
[2021-05-09 07:42:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:38] [INFO ] [Real]Absence check using state equation in 410 ms returned sat
[2021-05-09 07:42:38] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 07:42:38] [INFO ] [Nat]Absence check using 1 positive place invariants in 5 ms returned sat
[2021-05-09 07:42:38] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:39] [INFO ] [Nat]Absence check using state equation in 379 ms returned sat
[2021-05-09 07:42:39] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 186 ms.
Minimization took 234 ms.
[2021-05-09 07:42:39] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:40] [INFO ] [Real]Absence check using state equation in 424 ms returned sat
[2021-05-09 07:42:40] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 07:42:40] [INFO ] [Nat]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:40] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:40] [INFO ] [Nat]Absence check using state equation in 371 ms returned sat
[2021-05-09 07:42:40] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 195 ms.
Minimization took 198 ms.
[2021-05-09 07:42:41] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:41] [INFO ] [Real]Absence check using state equation in 440 ms returned sat
[2021-05-09 07:42:41] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 07:42:41] [INFO ] [Nat]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:41] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:42] [INFO ] [Nat]Absence check using state equation in 397 ms returned sat
[2021-05-09 07:42:42] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 175 ms.
Minimization took 235 ms.
[2021-05-09 07:42:42] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:42] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:43] [INFO ] [Real]Absence check using state equation in 426 ms returned sat
[2021-05-09 07:42:43] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 170 ms.
Minimization took 241 ms.
[2021-05-09 07:42:43] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:43] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:44] [INFO ] [Real]Absence check using state equation in 402 ms returned sat
[2021-05-09 07:42:44] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 07:42:44] [INFO ] [Nat]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:44] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:44] [INFO ] [Nat]Absence check using state equation in 437 ms returned sat
[2021-05-09 07:42:44] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 177 ms.
Minimization took 219 ms.
[2021-05-09 07:42:45] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2021-05-09 07:42:45] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 07:42:45] [INFO ] [Real]Absence check using state equation in 390 ms returned sat
[2021-05-09 07:42:45] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 153 ms.
Minimization took 261 ms.
Current structural bounds on expressions (after SMT) : [150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150] Max seen :[0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 3, 0, 1]
Incomplete Parikh walk after 3360000 steps, including 144 resets, run finished after 20305 ms. (steps per millisecond=165 ) properties (out of 14) seen :1803 could not realise parikh vector
FORMULA Diffusion2D-PT-D20N150-UpperBounds-15 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-13 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-12 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-10 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-09 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-08 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-07 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-06 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-05 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-02 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-01 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-00 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 3495000 steps, including 151 resets, run finished after 19967 ms. (steps per millisecond=175 ) properties (out of 2) seen :153 could not realise parikh vector
FORMULA Diffusion2D-PT-D20N150-UpperBounds-14 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 3330000 steps, including 153 resets, run finished after 18299 ms. (steps per millisecond=181 ) properties (out of 1) seen :3 could not realise parikh vector
Incomplete Parikh walk after 3375000 steps, including 129 resets, run finished after 21027 ms. (steps per millisecond=160 ) properties (out of 1) seen :3 could not realise parikh vector
Incomplete Parikh walk after 2430000 steps, including 122 resets, run finished after 13504 ms. (steps per millisecond=179 ) properties (out of 1) seen :0 could not realise parikh vector
Incomplete Parikh walk after 3510000 steps, including 143 resets, run finished after 20920 ms. (steps per millisecond=167 ) properties (out of 1) seen :3 could not realise parikh vector
Incomplete Parikh walk after 3285000 steps, including 137 resets, run finished after 21908 ms. (steps per millisecond=149 ) properties (out of 1) seen :150 could not realise parikh vector
FORMULA Diffusion2D-PT-D20N150-UpperBounds-04 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
All properties solved without resorting to model-checking.

BK_STOP 1620546302857

--------------------
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-D20N150"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="itstools"
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 itstools"
echo " Input is Diffusion2D-PT-D20N150, 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 r083-tall-162048875000131"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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