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

About the Execution of 2021-gold for DNAwalker-PT-12ringLLLarge

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
278.508 24330.00 30945.00 344.60 1 2 2 2 2 1 2 2 2 2 2 2 2 2 1 2 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-165254780500172.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 DNAwalker-PT-12ringLLLarge, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r071-tall-165254780500172
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 348K
-rw-r--r-- 1 mcc users 6.4K Apr 29 18:15 CTLCardinality.txt
-rw-r--r-- 1 mcc users 69K Apr 29 18:15 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.1K Apr 29 18:14 CTLFireability.txt
-rw-r--r-- 1 mcc users 44K Apr 29 18:14 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.8K May 9 07:34 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 07:34 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 9 07:34 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 9 07:34 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 9 07:34 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 9 07:34 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 14 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 135K 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 DNAwalker-PT-12ringLLLarge-UpperBounds-00
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-01
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-02
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-03
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-04
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-05
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-06
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-07
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-08
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-09
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-10
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-11
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-12
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-13
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-14
FORMULA_NAME DNAwalker-PT-12ringLLLarge-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1652591140035

Running Version 0
[2022-05-15 05:05:41] [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:05:41] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-15 05:05:41] [INFO ] Load time of PNML (sax parser for PT used): 60 ms
[2022-05-15 05:05:41] [INFO ] Transformed 33 places.
[2022-05-15 05:05:41] [INFO ] Transformed 312 transitions.
[2022-05-15 05:05:41] [INFO ] Parsed PT model containing 33 places and 312 transitions in 99 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 7 ms.
Normalized transition count is 311 out of 312 initially.
// Phase 1: matrix 311 rows 33 cols
[2022-05-15 05:05:41] [INFO ] Computed 0 place invariants in 19 ms
Incomplete random walk after 10000 steps, including 782 resets, run finished after 65 ms. (steps per millisecond=153 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10000 steps, including 60 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 16) seen :28
Incomplete Best-First random walk after 10001 steps, including 55 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 55 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 63 resets, run finished after 10 ms. (steps per millisecond=1000 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 54 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 57 resets, run finished after 14 ms. (steps per millisecond=714 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 61 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 51 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 48 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 53 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 56 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10000 steps, including 125 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties (out of 16) seen :17
Incomplete Best-First random walk after 10000 steps, including 56 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 51 resets, run finished after 22 ms. (steps per millisecond=454 ) properties (out of 16) seen :29
Incomplete Best-First random walk after 10001 steps, including 55 resets, run finished after 8 ms. (steps per millisecond=1250 ) properties (out of 16) seen :28
Incomplete Best-First random walk after 10001 steps, including 51 resets, run finished after 7 ms. (steps per millisecond=1428 ) properties (out of 16) seen :29
[2022-05-15 05:05:42] [INFO ] Flow matrix only has 311 transitions (discarded 1 similar events)
// Phase 1: matrix 311 rows 33 cols
[2022-05-15 05:05:42] [INFO ] Computed 0 place invariants in 5 ms
[2022-05-15 05:05:42] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:42] [INFO ] [Real]Absence check using state equation in 85 ms returned unsat
[2022-05-15 05:05:42] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:42] [INFO ] [Real]Absence check using state equation in 56 ms returned sat
[2022-05-15 05:05:42] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:42] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:45] [INFO ] [Nat]Absence check using state equation in 2629 ms returned unsat
[2022-05-15 05:05:45] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:45] [INFO ] [Real]Absence check using state equation in 40 ms returned sat
[2022-05-15 05:05:45] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:45] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:45] [INFO ] [Nat]Absence check using state equation in 290 ms returned unsat
[2022-05-15 05:05:45] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:45] [INFO ] [Real]Absence check using state equation in 39 ms returned sat
[2022-05-15 05:05:45] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:45] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:45] [INFO ] [Nat]Absence check using state equation in 187 ms returned unsat
[2022-05-15 05:05:45] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:45] [INFO ] [Real]Absence check using state equation in 42 ms returned sat
[2022-05-15 05:05:45] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:45] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:46] [INFO ] [Nat]Absence check using state equation in 867 ms returned unsat
[2022-05-15 05:05:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:46] [INFO ] [Real]Absence check using state equation in 36 ms returned unsat
[2022-05-15 05:05:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:46] [INFO ] [Real]Absence check using state equation in 39 ms returned sat
[2022-05-15 05:05:46] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:46] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:47] [INFO ] [Nat]Absence check using state equation in 357 ms returned unsat
[2022-05-15 05:05:47] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:47] [INFO ] [Real]Absence check using state equation in 39 ms returned sat
[2022-05-15 05:05:47] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:47] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:50] [INFO ] [Nat]Absence check using state equation in 3044 ms returned unknown
[2022-05-15 05:05:50] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:50] [INFO ] [Real]Absence check using state equation in 40 ms returned sat
[2022-05-15 05:05:50] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:50] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:51] [INFO ] [Nat]Absence check using state equation in 1025 ms returned unsat
[2022-05-15 05:05:51] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:51] [INFO ] [Real]Absence check using state equation in 45 ms returned sat
[2022-05-15 05:05:51] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:51] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:52] [INFO ] [Nat]Absence check using state equation in 891 ms returned unsat
[2022-05-15 05:05:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:52] [INFO ] [Real]Absence check using state equation in 38 ms returned sat
[2022-05-15 05:05:52] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:52] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:52] [INFO ] [Nat]Absence check using state equation in 207 ms returned unsat
[2022-05-15 05:05:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:52] [INFO ] [Real]Absence check using state equation in 35 ms returned sat
[2022-05-15 05:05:52] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:52] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:53] [INFO ] [Nat]Absence check using state equation in 818 ms returned unsat
[2022-05-15 05:05:53] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:53] [INFO ] [Real]Absence check using state equation in 39 ms returned sat
[2022-05-15 05:05:53] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:53] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:55] [INFO ] [Nat]Absence check using state equation in 2036 ms returned unsat
[2022-05-15 05:05:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:55] [INFO ] [Real]Absence check using state equation in 38 ms returned sat
[2022-05-15 05:05:55] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:55] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:56] [INFO ] [Nat]Absence check using state equation in 198 ms returned unsat
[2022-05-15 05:05:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:56] [INFO ] [Real]Absence check using state equation in 29 ms returned unsat
[2022-05-15 05:05:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:56] [INFO ] [Real]Absence check using state equation in 38 ms returned sat
[2022-05-15 05:05:56] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:05:56] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:05:58] [INFO ] [Nat]Absence check using state equation in 2484 ms returned unsat
Current structural bounds on expressions (after SMT) : [1, 2, 2, 2, 2, 1, 2, -1, 2, 2, 2, 2, 2, 2, 1, 2] Max seen :[1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2]
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-15 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-14 1 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-13 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-12 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-11 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-10 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-09 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-08 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-06 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-05 1 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-04 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-03 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-02 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-01 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-00 1 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
Support contains 1 out of 33 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 33/33 places, 312/312 transitions.
Graph (complete) has 304 edges and 33 vertex of which 32 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.7 ms
Discarding 1 places :
Also discarding 1 output transitions
Drop transitions removed 1 transitions
Drop transitions removed 21 transitions
Reduce isomorphic transitions removed 21 transitions.
Iterating post reduction 0 with 21 rules applied. Total rules applied 22 place count 32 transition count 290
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 23 place count 31 transition count 289
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 24 place count 30 transition count 288
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 25 place count 29 transition count 287
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 26 place count 28 transition count 286
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 27 place count 27 transition count 285
Applied a total of 27 rules in 90 ms. Remains 27 /33 variables (removed 6) and now considering 285/312 (removed 27) transitions.
// Phase 1: matrix 285 rows 27 cols
[2022-05-15 05:05:58] [INFO ] Computed 0 place invariants in 2 ms
[2022-05-15 05:05:58] [INFO ] Dead Transitions using invariants and state equation in 115 ms returned []
Finished structural reductions, in 1 iterations. Remains : 27/33 places, 285/312 transitions.
// Phase 1: matrix 285 rows 27 cols
[2022-05-15 05:05:58] [INFO ] Computed 0 place invariants in 3 ms
Incomplete random walk after 1000000 steps, including 77650 resets, run finished after 3073 ms. (steps per millisecond=325 ) properties (out of 1) seen :2
Incomplete Best-First random walk after 1000001 steps, including 7570 resets, run finished after 639 ms. (steps per millisecond=1564 ) properties (out of 1) seen :2
// Phase 1: matrix 285 rows 27 cols
[2022-05-15 05:06:02] [INFO ] Computed 0 place invariants in 9 ms
[2022-05-15 05:06:02] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-15 05:06:02] [INFO ] [Real]Absence check using state equation in 36 ms returned sat
[2022-05-15 05:06:02] [INFO ] Solution in real domain found non-integer solution.
[2022-05-15 05:06:02] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-15 05:06:03] [INFO ] [Nat]Absence check using state equation in 528 ms returned unsat
Current structural bounds on expressions (after SMT) : [2] Max seen :[2]
FORMULA DNAwalker-PT-12ringLLLarge-UpperBounds-07 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
All properties solved without resorting to model-checking.

BK_STOP 1652591164365

--------------------
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="DNAwalker-PT-12ringLLLarge"
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 DNAwalker-PT-12ringLLLarge, 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-165254780500172"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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