fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r133-smll-167819410200109
Last Updated
May 14, 2023

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
285.520 21805.00 31916.00 462.90 350 350 350 350 350 350 350 350 350 350 350 350 350 350 350 350 normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r133-smll-167819410200109.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool itstools
Input is Diffusion2D-PT-D05N350, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r133-smll-167819410200109
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 552K
-rw-r--r-- 1 mcc users 8.6K Feb 26 04:16 CTLCardinality.txt
-rw-r--r-- 1 mcc users 86K Feb 26 04:16 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.1K Feb 26 04:13 CTLFireability.txt
-rw-r--r-- 1 mcc users 51K Feb 26 04:13 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.1K Feb 25 15:57 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 15:57 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Feb 25 15:57 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 15:57 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 26 04:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 129K Feb 26 04:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 12K Feb 26 04:16 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 88K Feb 26 04:16 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 15:57 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 15:57 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 8 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 55K Mar 5 18:22 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-D05N350-UpperBounds-00
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-01
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-02
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-03
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-04
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-05
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-06
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-07
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-08
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-09
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-10
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-11
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-12
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-13
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-14
FORMULA_NAME Diffusion2D-PT-D05N350-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1678291569498

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=UpperBounds
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=Diffusion2D-PT-D05N350
Not applying reductions.
Model is PT
UpperBounds PT
Running Version 202303021504
[2023-03-08 16:06:12] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2023-03-08 16:06:12] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-08 16:06:12] [INFO ] Load time of PNML (sax parser for PT used): 87 ms
[2023-03-08 16:06:12] [INFO ] Transformed 25 places.
[2023-03-08 16:06:12] [INFO ] Transformed 144 transitions.
[2023-03-08 16:06:12] [INFO ] Parsed PT model containing 25 places and 144 transitions and 288 arcs in 242 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 11 ms.
// Phase 1: matrix 144 rows 25 cols
[2023-03-08 16:06:12] [INFO ] Computed 1 place invariants in 13 ms
Incomplete random walk after 10181 steps, including 2 resets, run finished after 11 ms. (steps per millisecond=925 ) properties (out of 16) seen :2100
FORMULA Diffusion2D-PT-D05N350-UpperBounds-15 350 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-09 350 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-07 350 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-03 350 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-02 350 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-00 350 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 21 ms. (steps per millisecond=476 ) properties (out of 10) seen :23
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 18 ms. (steps per millisecond=555 ) properties (out of 10) seen :22
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 16 ms. (steps per millisecond=625 ) properties (out of 10) seen :25
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 13 ms. (steps per millisecond=769 ) properties (out of 10) seen :25
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 10) seen :197
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 13 ms. (steps per millisecond=769 ) properties (out of 10) seen :24
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 16 ms. (steps per millisecond=625 ) properties (out of 10) seen :197
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties (out of 10) seen :23
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=1666 ) properties (out of 10) seen :197
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties (out of 10) seen :34
[2023-03-08 16:06:13] [INFO ] Invariant cache hit.
[2023-03-08 16:06:13] [INFO ] [Real]Absence check using 1 positive place invariants in 6 ms returned sat
[2023-03-08 16:06:13] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:13] [INFO ] [Real]Absence check using state equation in 99 ms returned sat
[2023-03-08 16:06:13] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 64 ms.
[2023-03-08 16:06:13] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:13] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-08 16:06:13] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:13] [INFO ] [Nat]Absence check using state equation in 134 ms returned sat
[2023-03-08 16:06:14] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 65 ms.
[2023-03-08 16:06:14] [INFO ] Added : 128 causal constraints over 26 iterations in 646 ms. Result :sat
Minimization took 131 ms.
[2023-03-08 16:06:14] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:14] [INFO ] [Real]Absence check using state equation in 39 ms returned sat
[2023-03-08 16:06:14] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 17 ms.
[2023-03-08 16:06:14] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:14] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:14] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:14] [INFO ] [Nat]Absence check using state equation in 42 ms returned sat
[2023-03-08 16:06:14] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 17 ms.
[2023-03-08 16:06:15] [INFO ] Added : 128 causal constraints over 27 iterations in 562 ms. Result :sat
Minimization took 154 ms.
[2023-03-08 16:06:15] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-08 16:06:15] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:15] [INFO ] [Real]Absence check using state equation in 52 ms returned sat
[2023-03-08 16:06:15] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 17 ms.
[2023-03-08 16:06:15] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:15] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:15] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:15] [INFO ] [Nat]Absence check using state equation in 31 ms returned sat
[2023-03-08 16:06:15] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 15 ms.
[2023-03-08 16:06:16] [INFO ] Added : 128 causal constraints over 26 iterations in 476 ms. Result :sat
Minimization took 233 ms.
[2023-03-08 16:06:16] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-08 16:06:16] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:16] [INFO ] [Real]Absence check using state equation in 34 ms returned sat
[2023-03-08 16:06:16] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 15 ms.
[2023-03-08 16:06:16] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:16] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-08 16:06:16] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:16] [INFO ] [Nat]Absence check using state equation in 42 ms returned sat
[2023-03-08 16:06:16] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 16 ms.
[2023-03-08 16:06:17] [INFO ] Added : 129 causal constraints over 26 iterations in 493 ms. Result :sat
Minimization took 119 ms.
[2023-03-08 16:06:17] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:17] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:17] [INFO ] [Real]Absence check using state equation in 41 ms returned sat
[2023-03-08 16:06:17] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 21 ms.
[2023-03-08 16:06:17] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:17] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:17] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:17] [INFO ] [Nat]Absence check using state equation in 41 ms returned sat
[2023-03-08 16:06:17] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 21 ms.
[2023-03-08 16:06:18] [INFO ] Added : 128 causal constraints over 27 iterations in 543 ms. Result :sat
Minimization took 118 ms.
[2023-03-08 16:06:18] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:18] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:18] [INFO ] [Real]Absence check using state equation in 38 ms returned sat
[2023-03-08 16:06:18] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 22 ms.
[2023-03-08 16:06:18] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:18] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:18] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:18] [INFO ] [Nat]Absence check using state equation in 42 ms returned sat
[2023-03-08 16:06:18] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 22 ms.
[2023-03-08 16:06:19] [INFO ] Added : 128 causal constraints over 26 iterations in 771 ms. Result :sat
Minimization took 203 ms.
[2023-03-08 16:06:19] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-08 16:06:19] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:19] [INFO ] [Real]Absence check using state equation in 36 ms returned sat
[2023-03-08 16:06:19] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 13 ms.
[2023-03-08 16:06:19] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:19] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:19] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:19] [INFO ] [Nat]Absence check using state equation in 40 ms returned sat
[2023-03-08 16:06:19] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 14 ms.
[2023-03-08 16:06:20] [INFO ] Added : 129 causal constraints over 26 iterations in 709 ms. Result :sat
Minimization took 196 ms.
[2023-03-08 16:06:20] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:20] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:20] [INFO ] [Real]Absence check using state equation in 28 ms returned sat
[2023-03-08 16:06:20] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 13 ms.
[2023-03-08 16:06:20] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:20] [INFO ] [Nat]Absence check using 1 positive place invariants in 0 ms returned sat
[2023-03-08 16:06:20] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:20] [INFO ] [Nat]Absence check using state equation in 34 ms returned sat
[2023-03-08 16:06:20] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 14 ms.
[2023-03-08 16:06:21] [INFO ] Added : 129 causal constraints over 27 iterations in 748 ms. Result :sat
Minimization took 196 ms.
[2023-03-08 16:06:21] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:21] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:21] [INFO ] [Real]Absence check using state equation in 38 ms returned sat
[2023-03-08 16:06:21] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 21 ms.
[2023-03-08 16:06:21] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:21] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-08 16:06:21] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:21] [INFO ] [Nat]Absence check using state equation in 38 ms returned sat
[2023-03-08 16:06:21] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 19 ms.
[2023-03-08 16:06:22] [INFO ] Added : 128 causal constraints over 26 iterations in 556 ms. Result :sat
Minimization took 132 ms.
[2023-03-08 16:06:22] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-08 16:06:22] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:22] [INFO ] [Real]Absence check using state equation in 41 ms returned sat
[2023-03-08 16:06:22] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 20 ms.
[2023-03-08 16:06:22] [INFO ] Solution in real domain found non-integer solution.
[2023-03-08 16:06:22] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-08 16:06:22] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-08 16:06:22] [INFO ] [Nat]Absence check using state equation in 45 ms returned sat
[2023-03-08 16:06:22] [INFO ] Computed and/alt/rep : 136/848/136 causal constraints (skipped 0 transitions) in 22 ms.
[2023-03-08 16:06:23] [INFO ] Added : 128 causal constraints over 26 iterations in 832 ms. Result :sat
Minimization took 247 ms.
Current structural bounds on expressions (after SMT) : [350, 350, 350, 350, 350, 350, 350, 350, 350, 350] Max seen :[11, 6, 14, 11, 197, 9, 197, 17, 197, 19]
FORMULA Diffusion2D-PT-D05N350-UpperBounds-14 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-13 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-12 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-11 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-10 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-08 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-06 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-05 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-04 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D05N350-UpperBounds-01 350 TECHNIQUES TOPOLOGICAL PARIKH_WALK
All properties solved without resorting to model-checking.
Total runtime 17748 ms.

BK_STOP 1678291591303

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution UpperBounds -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination UpperBounds -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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-D05N350"
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-5348"
echo " Executing tool itstools"
echo " Input is Diffusion2D-PT-D05N350, 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 r133-smll-167819410200109"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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