fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r305-smll-165463878400067
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for StigmergyCommit-PT-07b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
848.640 67675.00 92588.00 358.30 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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.r305-smll-165463878400067.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 StigmergyCommit-PT-07b, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r305-smll-165463878400067
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 12M
-rw-r--r-- 1 mcc users 8.8K May 30 15:00 CTLCardinality.txt
-rw-r--r-- 1 mcc users 98K May 30 15:00 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.3K May 30 14:59 CTLFireability.txt
-rw-r--r-- 1 mcc users 58K May 30 14:59 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.8K May 25 13:01 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 25 13:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K May 25 13:01 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 25 13:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 29 12:20 NewModel
-rw-r--r-- 1 mcc users 12K May 30 15:01 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 121K May 30 15:01 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.0K May 30 15:00 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 56K May 30 15:00 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 25 13:01 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 25 13:01 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 29 12:20 equiv_col
-rw-r--r-- 1 mcc users 4 May 29 12:20 instance
-rw-r--r-- 1 mcc users 6 May 29 12:20 iscolored
-rw-r--r-- 1 mcc users 12M May 29 12:20 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 StigmergyCommit-PT-07b-UpperBounds-00
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-01
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-02
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-03
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-04
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-05
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-06
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-07
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-08
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-09
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-10
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-11
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-12
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-13
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-14
FORMULA_NAME StigmergyCommit-PT-07b-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1654720108750

Running Version 0
[2022-06-08 20:28:31] [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-06-08 20:28:31] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-08 20:28:33] [INFO ] Load time of PNML (sax parser for PT used): 1240 ms
[2022-06-08 20:28:33] [INFO ] Transformed 2443 places.
[2022-06-08 20:28:33] [INFO ] Transformed 15956 transitions.
[2022-06-08 20:28:33] [INFO ] Found NUPN structural information;
[2022-06-08 20:28:33] [INFO ] Parsed PT model containing 2443 places and 15956 transitions in 1447 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 12 ms.
// Phase 1: matrix 15956 rows 2443 cols
[2022-06-08 20:28:34] [INFO ] Computed 9 place invariants in 594 ms
Incomplete random walk after 10000 steps, including 65 resets, run finished after 228 ms. (steps per millisecond=43 ) properties (out of 16) seen :5
FORMULA StigmergyCommit-PT-07b-UpperBounds-14 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-11 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-10 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-08 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-04 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 8 resets, run finished after 46 ms. (steps per millisecond=217 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 8 resets, run finished after 28 ms. (steps per millisecond=357 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 8 resets, run finished after 30 ms. (steps per millisecond=333 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 8 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 21 ms. (steps per millisecond=476 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 20 ms. (steps per millisecond=500 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 19 ms. (steps per millisecond=526 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 20 ms. (steps per millisecond=500 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 21 ms. (steps per millisecond=476 ) properties (out of 11) seen :0
// Phase 1: matrix 15956 rows 2443 cols
[2022-06-08 20:28:35] [INFO ] Computed 9 place invariants in 608 ms
[2022-06-08 20:28:36] [INFO ] [Real]Absence check using 9 positive place invariants in 80 ms returned sat
[2022-06-08 20:28:36] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:28:40] [INFO ] [Real]Absence check using state equation in 4088 ms returned unknown
[2022-06-08 20:28:41] [INFO ] [Real]Absence check using 9 positive place invariants in 70 ms returned sat
[2022-06-08 20:28:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:28:45] [INFO ] [Real]Absence check using state equation in 4321 ms returned unknown
[2022-06-08 20:28:46] [INFO ] [Real]Absence check using 9 positive place invariants in 78 ms returned sat
[2022-06-08 20:28:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:28:50] [INFO ] [Real]Absence check using state equation in 4359 ms returned unknown
[2022-06-08 20:28:51] [INFO ] [Real]Absence check using 9 positive place invariants in 91 ms returned sat
[2022-06-08 20:28:51] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:28:55] [INFO ] [Real]Absence check using state equation in 4319 ms returned unknown
[2022-06-08 20:28:56] [INFO ] [Real]Absence check using 9 positive place invariants in 76 ms returned sat
[2022-06-08 20:28:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:29:00] [INFO ] [Real]Absence check using state equation in 4305 ms returned unknown
[2022-06-08 20:29:01] [INFO ] [Real]Absence check using 9 positive place invariants in 74 ms returned sat
[2022-06-08 20:29:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:29:05] [INFO ] [Real]Absence check using state equation in 4304 ms returned unknown
[2022-06-08 20:29:06] [INFO ] [Real]Absence check using 9 positive place invariants in 83 ms returned sat
[2022-06-08 20:29:06] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:29:10] [INFO ] [Real]Absence check using state equation in 4301 ms returned unknown
[2022-06-08 20:29:11] [INFO ] [Real]Absence check using 9 positive place invariants in 73 ms returned sat
[2022-06-08 20:29:11] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:29:15] [INFO ] [Real]Absence check using state equation in 4431 ms returned unknown
[2022-06-08 20:29:16] [INFO ] [Real]Absence check using 9 positive place invariants in 72 ms returned sat
[2022-06-08 20:29:16] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:29:20] [INFO ] [Real]Absence check using state equation in 4440 ms returned unknown
[2022-06-08 20:29:21] [INFO ] [Real]Absence check using 9 positive place invariants in 74 ms returned sat
[2022-06-08 20:29:21] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:29:25] [INFO ] [Real]Absence check using state equation in 4468 ms returned unknown
[2022-06-08 20:29:26] [INFO ] [Real]Absence check using 9 positive place invariants in 82 ms returned sat
[2022-06-08 20:29:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 20:29:30] [INFO ] [Real]Absence check using state equation in 4416 ms returned unknown
Current structural bounds on expressions (after SMT) : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] Max seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Support contains 11 out of 2443 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 2443/2443 places, 15956/15956 transitions.
Graph (trivial) has 2406 edges and 2443 vertex of which 162 / 2443 are part of one of the 23 SCC in 36 ms
Free SCC test removed 139 places
Drop transitions removed 177 transitions
Reduce isomorphic transitions removed 177 transitions.
Graph (complete) has 3980 edges and 2304 vertex of which 2290 are kept as prefixes of interest. Removing 14 places using SCC suffix rule.98 ms
Discarding 14 places :
Also discarding 7 output transitions
Drop transitions removed 7 transitions
Drop transitions removed 7 transitions
Reduce isomorphic transitions removed 7 transitions.
Drop transitions removed 1826 transitions
Trivial Post-agglo rules discarded 1826 transitions
Performed 1826 trivial Post agglomeration. Transition count delta: 1826
Iterating post reduction 0 with 1833 rules applied. Total rules applied 1835 place count 2290 transition count 13939
Reduce places removed 1826 places and 0 transitions.
Ensure Unique test removed 37 transitions
Reduce isomorphic transitions removed 37 transitions.
Drop transitions removed 23 transitions
Trivial Post-agglo rules discarded 23 transitions
Performed 23 trivial Post agglomeration. Transition count delta: 23
Iterating post reduction 1 with 1886 rules applied. Total rules applied 3721 place count 464 transition count 13879
Reduce places removed 23 places and 0 transitions.
Performed 6 Post agglomeration using F-continuation condition.Transition count delta: 6
Iterating post reduction 2 with 29 rules applied. Total rules applied 3750 place count 441 transition count 13873
Reduce places removed 6 places and 0 transitions.
Iterating post reduction 3 with 6 rules applied. Total rules applied 3756 place count 435 transition count 13873
Performed 81 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 81 Pre rules applied. Total rules applied 3756 place count 435 transition count 13792
Deduced a syphon composed of 81 places in 10 ms
Reduce places removed 81 places and 0 transitions.
Iterating global reduction 4 with 162 rules applied. Total rules applied 3918 place count 354 transition count 13792
Discarding 97 places :
Symmetric choice reduction at 4 with 97 rule applications. Total rules 4015 place count 257 transition count 13695
Iterating global reduction 4 with 97 rules applied. Total rules applied 4112 place count 257 transition count 13695
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 1 Pre rules applied. Total rules applied 4112 place count 257 transition count 13694
Deduced a syphon composed of 1 places in 9 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 4 with 2 rules applied. Total rules applied 4114 place count 256 transition count 13694
Discarding 54 places :
Symmetric choice reduction at 4 with 54 rule applications. Total rules 4168 place count 202 transition count 1031
Iterating global reduction 4 with 54 rules applied. Total rules applied 4222 place count 202 transition count 1031
Ensure Unique test removed 25 transitions
Reduce isomorphic transitions removed 25 transitions.
Iterating post reduction 4 with 25 rules applied. Total rules applied 4247 place count 202 transition count 1006
Discarding 12 places :
Symmetric choice reduction at 5 with 12 rule applications. Total rules 4259 place count 190 transition count 994
Iterating global reduction 5 with 12 rules applied. Total rules applied 4271 place count 190 transition count 994
Discarding 12 places :
Symmetric choice reduction at 5 with 12 rule applications. Total rules 4283 place count 178 transition count 982
Iterating global reduction 5 with 12 rules applied. Total rules applied 4295 place count 178 transition count 982
Ensure Unique test removed 11 transitions
Reduce isomorphic transitions removed 11 transitions.
Iterating post reduction 5 with 11 rules applied. Total rules applied 4306 place count 178 transition count 971
Performed 26 Post agglomeration using F-continuation condition.Transition count delta: 26
Deduced a syphon composed of 26 places in 1 ms
Reduce places removed 26 places and 0 transitions.
Iterating global reduction 6 with 52 rules applied. Total rules applied 4358 place count 152 transition count 945
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 6 with 1 rules applied. Total rules applied 4359 place count 152 transition count 944
Discarding 8 places :
Symmetric choice reduction at 7 with 8 rule applications. Total rules 4367 place count 144 transition count 936
Iterating global reduction 7 with 8 rules applied. Total rules applied 4375 place count 144 transition count 936
Discarding 8 places :
Symmetric choice reduction at 7 with 8 rule applications. Total rules 4383 place count 136 transition count 928
Iterating global reduction 7 with 8 rules applied. Total rules applied 4391 place count 136 transition count 928
Discarding 8 places :
Symmetric choice reduction at 7 with 8 rule applications. Total rules 4399 place count 128 transition count 920
Iterating global reduction 7 with 8 rules applied. Total rules applied 4407 place count 128 transition count 920
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: -15
Deduced a syphon composed of 4 places in 0 ms
Reduce places removed 4 places and 0 transitions.
Iterating global reduction 7 with 8 rules applied. Total rules applied 4415 place count 124 transition count 935
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 7 with 1 rules applied. Total rules applied 4416 place count 124 transition count 934
Free-agglomeration rule applied 46 times.
Iterating global reduction 8 with 46 rules applied. Total rules applied 4462 place count 124 transition count 888
Reduce places removed 46 places and 0 transitions.
Drop transitions removed 2 transitions
Ensure Unique test removed 127 transitions
Reduce isomorphic transitions removed 129 transitions.
Iterating post reduction 8 with 175 rules applied. Total rules applied 4637 place count 78 transition count 759
Renaming transitions due to excessive name length > 1024 char.
Discarding 8 places :
Symmetric choice reduction at 9 with 8 rule applications. Total rules 4645 place count 70 transition count 751
Iterating global reduction 9 with 8 rules applied. Total rules applied 4653 place count 70 transition count 751
Drop transitions removed 264 transitions
Redundant transition composition rules discarded 264 transitions
Iterating global reduction 9 with 264 rules applied. Total rules applied 4917 place count 70 transition count 487
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 9 with 2 rules applied. Total rules applied 4919 place count 69 transition count 486
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: -3
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 9 with 2 rules applied. Total rules applied 4921 place count 68 transition count 489
Free-agglomeration rule (complex) applied 3 times.
Iterating global reduction 9 with 3 rules applied. Total rules applied 4924 place count 68 transition count 486
Reduce places removed 3 places and 0 transitions.
Iterating post reduction 9 with 3 rules applied. Total rules applied 4927 place count 65 transition count 486
Partial Free-agglomeration rule applied 10 times.
Drop transitions removed 10 transitions
Iterating global reduction 10 with 10 rules applied. Total rules applied 4937 place count 65 transition count 486
Drop transitions removed 6 transitions
Redundant transition composition rules discarded 6 transitions
Iterating global reduction 10 with 6 rules applied. Total rules applied 4943 place count 65 transition count 480
Applied a total of 4943 rules in 3389 ms. Remains 65 /2443 variables (removed 2378) and now considering 480/15956 (removed 15476) transitions.
Finished structural reductions, in 1 iterations. Remains : 65/2443 places, 480/15956 transitions.
// Phase 1: matrix 480 rows 65 cols
[2022-06-08 20:29:34] [INFO ] Computed 9 place invariants in 4 ms
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 1086 ms. (steps per millisecond=920 ) properties (out of 11) seen :11
FORMULA StigmergyCommit-PT-07b-UpperBounds-15 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-13 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-12 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-09 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-07 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-06 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-05 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-03 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-02 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-01 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-07b-UpperBounds-00 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.

BK_STOP 1654720176425

--------------------
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="StigmergyCommit-PT-07b"
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 StigmergyCommit-PT-07b, 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 r305-smll-165463878400067"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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