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

About the Execution of LoLa+red for StigmergyCommit-PT-06a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
305.995 26671.00 41549.00 511.10 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/mcc2023-input.r455-smll-167912647400461.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 lolaxred
Input is StigmergyCommit-PT-06a, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r455-smll-167912647400461
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.3M
-rw-r--r-- 1 mcc users 9.5K Feb 26 11:04 CTLCardinality.txt
-rw-r--r-- 1 mcc users 110K Feb 26 11:04 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.0K Feb 26 11:02 CTLFireability.txt
-rw-r--r-- 1 mcc users 55K Feb 26 11:02 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Feb 25 17:12 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 17:12 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 25 17:12 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 17:12 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Feb 26 11:05 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 122K Feb 26 11:05 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.6K Feb 26 11:04 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 72K Feb 26 11:04 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 17:12 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 17:12 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 4 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 1.8M Mar 5 18:23 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-06a-UpperBounds-00
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-01
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-02
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-03
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-04
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-05
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-06
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-07
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-08
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-09
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-10
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-11
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-12
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-13
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-14
FORMULA_NAME StigmergyCommit-PT-06a-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1679251427803

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=lolaxred
BK_EXAMINATION=UpperBounds
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=StigmergyCommit-PT-06a
Applying reductions before tool lola
Invoking reducer
Running Version 202303021504
[2023-03-19 18:43:51] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -timeout, 360, -rebuildPNML]
[2023-03-19 18:43:51] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-19 18:43:52] [INFO ] Load time of PNML (sax parser for PT used): 555 ms
[2023-03-19 18:43:52] [INFO ] Transformed 256 places.
[2023-03-19 18:43:52] [INFO ] Transformed 2816 transitions.
[2023-03-19 18:43:52] [INFO ] Found NUPN structural information;
[2023-03-19 18:43:52] [INFO ] Parsed PT model containing 256 places and 2816 transitions and 35321 arcs in 731 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 11 ms.
Ensure Unique test removed 2229 transitions
Reduce redundant transitions removed 2229 transitions.
Normalized transition count is 566 out of 587 initially.
// Phase 1: matrix 566 rows 256 cols
[2023-03-19 18:43:52] [INFO ] Computed 8 place invariants in 31 ms
Incomplete random walk after 10000 steps, including 3 resets, run finished after 168 ms. (steps per millisecond=59 ) properties (out of 16) seen :10
FORMULA StigmergyCommit-PT-06a-UpperBounds-15 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-12 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-09 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-08 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-06 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-05 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-04 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-03 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-01 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-00 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 14 ms. (steps per millisecond=714 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 12 ms. (steps per millisecond=833 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 13 ms. (steps per millisecond=769 ) properties (out of 6) seen :1
FORMULA StigmergyCommit-PT-06a-UpperBounds-13 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 13 ms. (steps per millisecond=769 ) properties (out of 5) seen :0
[2023-03-19 18:43:52] [INFO ] Flow matrix only has 566 transitions (discarded 21 similar events)
// Phase 1: matrix 566 rows 256 cols
[2023-03-19 18:43:52] [INFO ] Computed 8 place invariants in 9 ms
[2023-03-19 18:43:53] [INFO ] [Real]Absence check using 8 positive place invariants in 21 ms returned sat
[2023-03-19 18:43:53] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-19 18:43:53] [INFO ] [Real]Absence check using state equation in 342 ms returned sat
[2023-03-19 18:43:53] [INFO ] Solution in real domain found non-integer solution.
[2023-03-19 18:43:53] [INFO ] [Nat]Absence check using 8 positive place invariants in 15 ms returned sat
[2023-03-19 18:43:53] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-19 18:43:54] [INFO ] [Nat]Absence check using state equation in 286 ms returned sat
[2023-03-19 18:43:54] [INFO ] State equation strengthened by 351 read => feed constraints.
[2023-03-19 18:43:54] [INFO ] [Nat]Added 351 Read/Feed constraints in 209 ms returned sat
[2023-03-19 18:43:54] [INFO ] Deduced a trap composed of 18 places in 338 ms of which 7 ms to minimize.
[2023-03-19 18:43:54] [INFO ] Deduced a trap composed of 18 places in 252 ms of which 1 ms to minimize.
[2023-03-19 18:43:55] [INFO ] Deduced a trap composed of 16 places in 161 ms of which 2 ms to minimize.
[2023-03-19 18:43:55] [INFO ] Deduced a trap composed of 16 places in 146 ms of which 3 ms to minimize.
[2023-03-19 18:43:55] [INFO ] Deduced a trap composed of 17 places in 137 ms of which 0 ms to minimize.
[2023-03-19 18:43:55] [INFO ] Deduced a trap composed of 17 places in 135 ms of which 1 ms to minimize.
[2023-03-19 18:43:55] [INFO ] Deduced a trap composed of 16 places in 82 ms of which 1 ms to minimize.
[2023-03-19 18:43:55] [INFO ] Deduced a trap composed of 17 places in 117 ms of which 1 ms to minimize.
[2023-03-19 18:43:56] [INFO ] Deduced a trap composed of 16 places in 93 ms of which 1 ms to minimize.
[2023-03-19 18:43:56] [INFO ] Deduced a trap composed of 16 places in 123 ms of which 1 ms to minimize.
[2023-03-19 18:43:56] [INFO ] Deduced a trap composed of 16 places in 86 ms of which 1 ms to minimize.
[2023-03-19 18:43:56] [INFO ] Trap strengthening (SAT) tested/added 12/11 trap constraints in 2078 ms
[2023-03-19 18:43:56] [INFO ] Computed and/alt/rep : 289/366/289 causal constraints (skipped 276 transitions) in 93 ms.
[2023-03-19 18:43:57] [INFO ] Added : 56 causal constraints over 12 iterations in 676 ms. Result :sat
Minimization took 137 ms.
[2023-03-19 18:43:57] [INFO ] [Real]Absence check using 8 positive place invariants in 9 ms returned sat
[2023-03-19 18:43:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-19 18:43:57] [INFO ] [Real]Absence check using state equation in 237 ms returned sat
[2023-03-19 18:43:57] [INFO ] Solution in real domain found non-integer solution.
[2023-03-19 18:43:57] [INFO ] [Nat]Absence check using 8 positive place invariants in 13 ms returned sat
[2023-03-19 18:43:57] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-19 18:43:57] [INFO ] [Nat]Absence check using state equation in 238 ms returned sat
[2023-03-19 18:43:58] [INFO ] [Nat]Added 351 Read/Feed constraints in 125 ms returned sat
[2023-03-19 18:43:58] [INFO ] Deduced a trap composed of 17 places in 304 ms of which 1 ms to minimize.
[2023-03-19 18:43:58] [INFO ] Deduced a trap composed of 17 places in 237 ms of which 1 ms to minimize.
[2023-03-19 18:43:58] [INFO ] Deduced a trap composed of 18 places in 253 ms of which 2 ms to minimize.
[2023-03-19 18:43:59] [INFO ] Deduced a trap composed of 16 places in 197 ms of which 1 ms to minimize.
[2023-03-19 18:43:59] [INFO ] Deduced a trap composed of 16 places in 152 ms of which 0 ms to minimize.
[2023-03-19 18:43:59] [INFO ] Deduced a trap composed of 16 places in 117 ms of which 1 ms to minimize.
[2023-03-19 18:43:59] [INFO ] Deduced a trap composed of 16 places in 82 ms of which 1 ms to minimize.
[2023-03-19 18:43:59] [INFO ] Deduced a trap composed of 16 places in 156 ms of which 1 ms to minimize.
[2023-03-19 18:44:00] [INFO ] Deduced a trap composed of 16 places in 117 ms of which 0 ms to minimize.
[2023-03-19 18:44:00] [INFO ] Deduced a trap composed of 16 places in 81 ms of which 1 ms to minimize.
[2023-03-19 18:44:00] [INFO ] Trap strengthening (SAT) tested/added 11/10 trap constraints in 2123 ms
[2023-03-19 18:44:00] [INFO ] Computed and/alt/rep : 289/366/289 causal constraints (skipped 276 transitions) in 204 ms.
[2023-03-19 18:44:01] [INFO ] Added : 57 causal constraints over 12 iterations in 1001 ms. Result :sat
Minimization took 185 ms.
[2023-03-19 18:44:01] [INFO ] [Real]Absence check using 8 positive place invariants in 9 ms returned sat
[2023-03-19 18:44:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-19 18:44:01] [INFO ] [Real]Absence check using state equation in 206 ms returned sat
[2023-03-19 18:44:01] [INFO ] Solution in real domain found non-integer solution.
[2023-03-19 18:44:01] [INFO ] [Nat]Absence check using 8 positive place invariants in 11 ms returned sat
[2023-03-19 18:44:01] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-19 18:44:02] [INFO ] [Nat]Absence check using state equation in 220 ms returned sat
[2023-03-19 18:44:02] [INFO ] [Nat]Added 351 Read/Feed constraints in 121 ms returned sat
[2023-03-19 18:44:02] [INFO ] Deduced a trap composed of 18 places in 230 ms of which 1 ms to minimize.
[2023-03-19 18:44:02] [INFO ] Deduced a trap composed of 17 places in 147 ms of which 0 ms to minimize.
[2023-03-19 18:44:02] [INFO ] Deduced a trap composed of 16 places in 129 ms of which 0 ms to minimize.
[2023-03-19 18:44:02] [INFO ] Deduced a trap composed of 17 places in 137 ms of which 1 ms to minimize.
[2023-03-19 18:44:03] [INFO ] Deduced a trap composed of 16 places in 136 ms of which 1 ms to minimize.
[2023-03-19 18:44:03] [INFO ] Deduced a trap composed of 16 places in 106 ms of which 0 ms to minimize.
[2023-03-19 18:44:03] [INFO ] Deduced a trap composed of 16 places in 132 ms of which 1 ms to minimize.
[2023-03-19 18:44:03] [INFO ] Deduced a trap composed of 16 places in 96 ms of which 0 ms to minimize.
[2023-03-19 18:44:03] [INFO ] Trap strengthening (SAT) tested/added 9/8 trap constraints in 1477 ms
[2023-03-19 18:44:03] [INFO ] Computed and/alt/rep : 289/366/289 causal constraints (skipped 276 transitions) in 105 ms.
[2023-03-19 18:44:04] [INFO ] Added : 54 causal constraints over 11 iterations in 932 ms. Result :sat
Minimization took 224 ms.
[2023-03-19 18:44:04] [INFO ] [Real]Absence check using 8 positive place invariants in 13 ms returned sat
[2023-03-19 18:44:04] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-19 18:44:05] [INFO ] [Real]Absence check using state equation in 263 ms returned sat
[2023-03-19 18:44:05] [INFO ] Solution in real domain found non-integer solution.
[2023-03-19 18:44:05] [INFO ] [Nat]Absence check using 8 positive place invariants in 14 ms returned sat
[2023-03-19 18:44:05] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-19 18:44:05] [INFO ] [Nat]Absence check using state equation in 263 ms returned sat
[2023-03-19 18:44:05] [INFO ] [Nat]Added 351 Read/Feed constraints in 216 ms returned sat
[2023-03-19 18:44:06] [INFO ] Deduced a trap composed of 16 places in 231 ms of which 1 ms to minimize.
[2023-03-19 18:44:06] [INFO ] Deduced a trap composed of 17 places in 208 ms of which 1 ms to minimize.
[2023-03-19 18:44:06] [INFO ] Deduced a trap composed of 17 places in 200 ms of which 0 ms to minimize.
[2023-03-19 18:44:06] [INFO ] Deduced a trap composed of 18 places in 168 ms of which 1 ms to minimize.
[2023-03-19 18:44:07] [INFO ] Deduced a trap composed of 16 places in 200 ms of which 1 ms to minimize.
[2023-03-19 18:44:07] [INFO ] Deduced a trap composed of 16 places in 166 ms of which 2 ms to minimize.
[2023-03-19 18:44:07] [INFO ] Deduced a trap composed of 16 places in 106 ms of which 1 ms to minimize.
[2023-03-19 18:44:07] [INFO ] Deduced a trap composed of 16 places in 97 ms of which 1 ms to minimize.
[2023-03-19 18:44:07] [INFO ] Deduced a trap composed of 17 places in 97 ms of which 0 ms to minimize.
[2023-03-19 18:44:07] [INFO ] Deduced a trap composed of 16 places in 70 ms of which 1 ms to minimize.
[2023-03-19 18:44:07] [INFO ] Deduced a trap composed of 16 places in 68 ms of which 1 ms to minimize.
[2023-03-19 18:44:07] [INFO ] Trap strengthening (SAT) tested/added 12/11 trap constraints in 2096 ms
[2023-03-19 18:44:08] [INFO ] Computed and/alt/rep : 289/366/289 causal constraints (skipped 276 transitions) in 73 ms.
[2023-03-19 18:44:08] [INFO ] Added : 60 causal constraints over 12 iterations in 962 ms. Result :sat
Minimization took 211 ms.
[2023-03-19 18:44:09] [INFO ] [Real]Absence check using 8 positive place invariants in 12 ms returned sat
[2023-03-19 18:44:09] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-19 18:44:09] [INFO ] [Real]Absence check using state equation in 266 ms returned sat
[2023-03-19 18:44:09] [INFO ] Solution in real domain found non-integer solution.
[2023-03-19 18:44:09] [INFO ] [Nat]Absence check using 8 positive place invariants in 13 ms returned sat
[2023-03-19 18:44:09] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-19 18:44:09] [INFO ] [Nat]Absence check using state equation in 263 ms returned sat
[2023-03-19 18:44:10] [INFO ] [Nat]Added 351 Read/Feed constraints in 133 ms returned sat
[2023-03-19 18:44:10] [INFO ] Deduced a trap composed of 18 places in 313 ms of which 1 ms to minimize.
[2023-03-19 18:44:10] [INFO ] Deduced a trap composed of 17 places in 256 ms of which 1 ms to minimize.
[2023-03-19 18:44:11] [INFO ] Deduced a trap composed of 16 places in 217 ms of which 1 ms to minimize.
[2023-03-19 18:44:11] [INFO ] Deduced a trap composed of 17 places in 162 ms of which 1 ms to minimize.
[2023-03-19 18:44:11] [INFO ] Deduced a trap composed of 17 places in 158 ms of which 1 ms to minimize.
[2023-03-19 18:44:11] [INFO ] Deduced a trap composed of 16 places in 113 ms of which 0 ms to minimize.
[2023-03-19 18:44:11] [INFO ] Deduced a trap composed of 16 places in 131 ms of which 1 ms to minimize.
[2023-03-19 18:44:11] [INFO ] Deduced a trap composed of 16 places in 132 ms of which 5 ms to minimize.
[2023-03-19 18:44:12] [INFO ] Deduced a trap composed of 16 places in 83 ms of which 0 ms to minimize.
[2023-03-19 18:44:12] [INFO ] Trap strengthening (SAT) tested/added 10/9 trap constraints in 2010 ms
[2023-03-19 18:44:12] [INFO ] Computed and/alt/rep : 289/366/289 causal constraints (skipped 276 transitions) in 85 ms.
[2023-03-19 18:44:12] [INFO ] Added : 62 causal constraints over 13 iterations in 841 ms. Result :sat
Minimization took 109 ms.
Current structural bounds on expressions (after SMT) : [1, 1, 1, 1, 1] Max seen :[0, 0, 0, 0, 0]
FORMULA StigmergyCommit-PT-06a-UpperBounds-14 1 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-10 1 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-11 1 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-07 1 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA StigmergyCommit-PT-06a-UpperBounds-02 1 TECHNIQUES TOPOLOGICAL PARIKH_WALK
All properties solved without resorting to model-checking.
Total runtime 21890 ms.
ITS solved all properties within timeout

BK_STOP 1679251454474

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

+ 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//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination UpperBounds -timeout 360 -rebuildPNML

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-06a"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="lolaxred"
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 lolaxred"
echo " Input is StigmergyCommit-PT-06a, 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 r455-smll-167912647400461"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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