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

About the Execution of Marcie+red for Peterson-PT-2

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
324.972 11261.00 20502.00 469.40 1 3 3 1 3 1 3 3 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.r266-smll-167863541200605.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 marciexred
Input is Peterson-PT-2, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r266-smll-167863541200605
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 868K
-rw-r--r-- 1 mcc users 13K Feb 25 22:04 CTLCardinality.txt
-rw-r--r-- 1 mcc users 79K Feb 25 22:04 CTLCardinality.xml
-rw-r--r-- 1 mcc users 22K Feb 25 22:01 CTLFireability.txt
-rw-r--r-- 1 mcc users 124K Feb 25 22:01 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 9.2K Feb 25 16:31 LTLCardinality.txt
-rw-r--r-- 1 mcc users 38K Feb 25 16:31 LTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Feb 25 16:31 LTLFireability.txt
-rw-r--r-- 1 mcc users 31K Feb 25 16:31 LTLFireability.xml
-rw-r--r-- 1 mcc users 24K Feb 25 22:07 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 152K Feb 25 22:07 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 33K Feb 25 22:06 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 185K Feb 25 22:06 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 16:31 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.8K Feb 25 16:31 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 2 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 100K 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 Peterson-PT-2-UpperBounds-00
FORMULA_NAME Peterson-PT-2-UpperBounds-01
FORMULA_NAME Peterson-PT-2-UpperBounds-02
FORMULA_NAME Peterson-PT-2-UpperBounds-03
FORMULA_NAME Peterson-PT-2-UpperBounds-04
FORMULA_NAME Peterson-PT-2-UpperBounds-05
FORMULA_NAME Peterson-PT-2-UpperBounds-06
FORMULA_NAME Peterson-PT-2-UpperBounds-07
FORMULA_NAME Peterson-PT-2-UpperBounds-08
FORMULA_NAME Peterson-PT-2-UpperBounds-09
FORMULA_NAME Peterson-PT-2-UpperBounds-10
FORMULA_NAME Peterson-PT-2-UpperBounds-11
FORMULA_NAME Peterson-PT-2-UpperBounds-12
FORMULA_NAME Peterson-PT-2-UpperBounds-13
FORMULA_NAME Peterson-PT-2-UpperBounds-14
FORMULA_NAME Peterson-PT-2-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1679188711247

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=marciexred
BK_EXAMINATION=UpperBounds
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=Peterson-PT-2
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-19 01:18:34] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -timeout, 360, -rebuildPNML]
[2023-03-19 01:18:34] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-19 01:18:34] [INFO ] Load time of PNML (sax parser for PT used): 74 ms
[2023-03-19 01:18:34] [INFO ] Transformed 102 places.
[2023-03-19 01:18:34] [INFO ] Transformed 126 transitions.
[2023-03-19 01:18:34] [INFO ] Found NUPN structural information;
[2023-03-19 01:18:34] [INFO ] Parsed PT model containing 102 places and 126 transitions and 384 arcs in 179 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 7 ms.
FORMULA Peterson-PT-2-UpperBounds-11 1 TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Peterson-PT-2-UpperBounds-09 1 TECHNIQUES TOPOLOGICAL INITIAL_STATE
Normalized transition count is 120 out of 126 initially.
// Phase 1: matrix 120 rows 102 cols
[2023-03-19 01:18:34] [INFO ] Computed 11 place invariants in 17 ms
Incomplete random walk after 10000 steps, including 2 resets, run finished after 56 ms. (steps per millisecond=178 ) properties (out of 14) seen :23
FORMULA Peterson-PT-2-UpperBounds-15 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-14 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-13 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-12 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-10 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 22 ms. (steps per millisecond=454 ) properties (out of 9) seen :16
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 19 ms. (steps per millisecond=526 ) properties (out of 9) seen :16
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 19 ms. (steps per millisecond=526 ) properties (out of 9) seen :14
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 20 ms. (steps per millisecond=500 ) properties (out of 9) seen :15
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 16 ms. (steps per millisecond=625 ) properties (out of 9) seen :16
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 14 ms. (steps per millisecond=714 ) properties (out of 9) seen :17
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=1000 ) properties (out of 9) seen :7
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=1000 ) properties (out of 9) seen :10
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=1000 ) properties (out of 9) seen :17
[2023-03-19 01:18:34] [INFO ] Flow matrix only has 120 transitions (discarded 6 similar events)
// Phase 1: matrix 120 rows 102 cols
[2023-03-19 01:18:34] [INFO ] Computed 11 place invariants in 9 ms
[2023-03-19 01:18:35] [INFO ] [Real]Absence check using 8 positive place invariants in 12 ms returned sat
[2023-03-19 01:18:35] [INFO ] [Real]Absence check using 8 positive and 3 generalized place invariants in 2 ms returned sat
[2023-03-19 01:18:35] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-19 01:18:35] [INFO ] [Real]Absence check using state equation in 128 ms returned sat
[2023-03-19 01:18:35] [INFO ] Solution in real domain found non-integer solution.
[2023-03-19 01:18:35] [INFO ] [Nat]Absence check using 8 positive place invariants in 7 ms returned sat
[2023-03-19 01:18:35] [INFO ] [Nat]Absence check using 8 positive and 3 generalized place invariants in 2 ms returned sat
[2023-03-19 01:18:35] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-19 01:18:35] [INFO ] [Nat]Absence check using state equation in 99 ms returned sat
[2023-03-19 01:18:35] [INFO ] State equation strengthened by 22 read => feed constraints.
[2023-03-19 01:18:35] [INFO ] [Nat]Added 22 Read/Feed constraints in 12 ms returned sat
[2023-03-19 01:18:35] [INFO ] Deduced a trap composed of 8 places in 123 ms of which 5 ms to minimize.
[2023-03-19 01:18:35] [INFO ] Deduced a trap composed of 29 places in 110 ms of which 1 ms to minimize.
[2023-03-19 01:18:36] [INFO ] Deduced a trap composed of 22 places in 83 ms of which 1 ms to minimize.
[2023-03-19 01:18:36] [INFO ] Deduced a trap composed of 22 places in 93 ms of which 18 ms to minimize.
[2023-03-19 01:18:36] [INFO ] Deduced a trap composed of 11 places in 85 ms of which 1 ms to minimize.
[2023-03-19 01:18:36] [INFO ] Deduced a trap composed of 8 places in 75 ms of which 1 ms to minimize.
[2023-03-19 01:18:36] [INFO ] Deduced a trap composed of 12 places in 202 ms of which 3 ms to minimize.
[2023-03-19 01:18:36] [INFO ] Deduced a trap composed of 29 places in 99 ms of which 1 ms to minimize.
[2023-03-19 01:18:36] [INFO ] Deduced a trap composed of 27 places in 104 ms of which 0 ms to minimize.
[2023-03-19 01:18:36] [INFO ] Deduced a trap composed of 25 places in 49 ms of which 1 ms to minimize.
[2023-03-19 01:18:36] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 10 trap constraints in 1285 ms
[2023-03-19 01:18:37] [INFO ] [Real]Absence check using 8 positive place invariants in 6 ms returned unsat
[2023-03-19 01:18:37] [INFO ] [Real]Absence check using 8 positive place invariants in 6 ms returned unsat
[2023-03-19 01:18:37] [INFO ] [Real]Absence check using 8 positive place invariants in 7 ms returned sat
[2023-03-19 01:18:37] [INFO ] [Real]Absence check using 8 positive and 3 generalized place invariants in 3 ms returned sat
[2023-03-19 01:18:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-19 01:18:37] [INFO ] [Real]Absence check using state equation in 62 ms returned sat
[2023-03-19 01:18:37] [INFO ] Solution in real domain found non-integer solution.
[2023-03-19 01:18:37] [INFO ] [Nat]Absence check using 8 positive place invariants in 7 ms returned sat
[2023-03-19 01:18:37] [INFO ] [Nat]Absence check using 8 positive and 3 generalized place invariants in 1 ms returned sat
[2023-03-19 01:18:37] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-19 01:18:37] [INFO ] [Nat]Absence check using state equation in 80 ms returned sat
[2023-03-19 01:18:37] [INFO ] [Nat]Added 22 Read/Feed constraints in 12 ms returned sat
[2023-03-19 01:18:37] [INFO ] Deduced a trap composed of 8 places in 68 ms of which 1 ms to minimize.
[2023-03-19 01:18:37] [INFO ] Deduced a trap composed of 29 places in 79 ms of which 1 ms to minimize.
[2023-03-19 01:18:37] [INFO ] Deduced a trap composed of 22 places in 71 ms of which 1 ms to minimize.
[2023-03-19 01:18:37] [INFO ] Deduced a trap composed of 22 places in 74 ms of which 1 ms to minimize.
[2023-03-19 01:18:37] [INFO ] Deduced a trap composed of 11 places in 72 ms of which 1 ms to minimize.
[2023-03-19 01:18:37] [INFO ] Deduced a trap composed of 8 places in 77 ms of which 1 ms to minimize.
[2023-03-19 01:18:38] [INFO ] Deduced a trap composed of 12 places in 62 ms of which 0 ms to minimize.
[2023-03-19 01:18:38] [INFO ] Deduced a trap composed of 29 places in 102 ms of which 1 ms to minimize.
[2023-03-19 01:18:38] [INFO ] Deduced a trap composed of 27 places in 73 ms of which 1 ms to minimize.
[2023-03-19 01:18:38] [INFO ] Deduced a trap composed of 25 places in 67 ms of which 1 ms to minimize.
[2023-03-19 01:18:38] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 10 trap constraints in 893 ms
[2023-03-19 01:18:38] [INFO ] [Real]Absence check using 8 positive place invariants in 4 ms returned unsat
[2023-03-19 01:18:38] [INFO ] [Real]Absence check using 8 positive place invariants in 7 ms returned sat
[2023-03-19 01:18:38] [INFO ] [Real]Absence check using 8 positive and 3 generalized place invariants in 1 ms returned sat
[2023-03-19 01:18:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-19 01:18:38] [INFO ] [Real]Absence check using state equation in 69 ms returned sat
[2023-03-19 01:18:38] [INFO ] Solution in real domain found non-integer solution.
[2023-03-19 01:18:38] [INFO ] [Nat]Absence check using 8 positive place invariants in 6 ms returned sat
[2023-03-19 01:18:38] [INFO ] [Nat]Absence check using 8 positive and 3 generalized place invariants in 2 ms returned sat
[2023-03-19 01:18:38] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-19 01:18:38] [INFO ] [Nat]Absence check using state equation in 57 ms returned sat
[2023-03-19 01:18:38] [INFO ] [Nat]Added 22 Read/Feed constraints in 7 ms returned sat
[2023-03-19 01:18:38] [INFO ] Deduced a trap composed of 8 places in 48 ms of which 1 ms to minimize.
[2023-03-19 01:18:38] [INFO ] Deduced a trap composed of 29 places in 49 ms of which 1 ms to minimize.
[2023-03-19 01:18:38] [INFO ] Deduced a trap composed of 22 places in 53 ms of which 1 ms to minimize.
[2023-03-19 01:18:38] [INFO ] Deduced a trap composed of 22 places in 54 ms of which 1 ms to minimize.
[2023-03-19 01:18:39] [INFO ] Deduced a trap composed of 11 places in 52 ms of which 1 ms to minimize.
[2023-03-19 01:18:39] [INFO ] Deduced a trap composed of 8 places in 45 ms of which 1 ms to minimize.
[2023-03-19 01:18:39] [INFO ] Deduced a trap composed of 12 places in 48 ms of which 0 ms to minimize.
[2023-03-19 01:18:39] [INFO ] Deduced a trap composed of 29 places in 47 ms of which 0 ms to minimize.
[2023-03-19 01:18:39] [INFO ] Deduced a trap composed of 27 places in 48 ms of which 1 ms to minimize.
[2023-03-19 01:18:39] [INFO ] Deduced a trap composed of 25 places in 60 ms of which 1 ms to minimize.
[2023-03-19 01:18:39] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 10 trap constraints in 657 ms
[2023-03-19 01:18:39] [INFO ] [Real]Absence check using 8 positive place invariants in 6 ms returned unsat
[2023-03-19 01:18:39] [INFO ] [Real]Absence check using 8 positive place invariants in 4 ms returned unsat
[2023-03-19 01:18:39] [INFO ] [Real]Absence check using 8 positive place invariants in 5 ms returned sat
[2023-03-19 01:18:39] [INFO ] [Real]Absence check using 8 positive and 3 generalized place invariants in 2 ms returned sat
[2023-03-19 01:18:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-19 01:18:39] [INFO ] [Real]Absence check using state equation in 69 ms returned sat
[2023-03-19 01:18:39] [INFO ] Solution in real domain found non-integer solution.
[2023-03-19 01:18:39] [INFO ] [Nat]Absence check using 8 positive place invariants in 15 ms returned sat
[2023-03-19 01:18:39] [INFO ] [Nat]Absence check using 8 positive and 3 generalized place invariants in 2 ms returned sat
[2023-03-19 01:18:39] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-19 01:18:39] [INFO ] [Nat]Absence check using state equation in 58 ms returned sat
[2023-03-19 01:18:39] [INFO ] [Nat]Added 22 Read/Feed constraints in 5 ms returned sat
[2023-03-19 01:18:39] [INFO ] Computed and/alt/rep : 111/188/111 causal constraints (skipped 6 transitions) in 14 ms.
[2023-03-19 01:18:40] [INFO ] Deduced a trap composed of 8 places in 74 ms of which 1 ms to minimize.
[2023-03-19 01:18:40] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 104 ms
[2023-03-19 01:18:40] [INFO ] Added : 53 causal constraints over 11 iterations in 347 ms. Result :sat
Minimization took 47 ms.
Current structural bounds on expressions (after SMT) : [1, 3, 3, 1, 3, 1, 3, 3, 1] Max seen :[1, 3, 3, 1, 3, 1, 3, 3, 0]
FORMULA Peterson-PT-2-UpperBounds-07 3 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-06 3 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-05 1 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-04 3 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-03 1 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-02 3 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-01 3 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
FORMULA Peterson-PT-2-UpperBounds-00 1 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
Support contains 1 out of 102 places. Attempting structural reductions.
Drop transitions removed 1 transitions
Starting structural reductions in REACHABILITY mode, iteration 0 : 102/102 places, 125/125 transitions.
Drop transitions removed 36 transitions
Trivial Post-agglo rules discarded 36 transitions
Performed 36 trivial Post agglomeration. Transition count delta: 36
Iterating post reduction 0 with 36 rules applied. Total rules applied 36 place count 102 transition count 89
Reduce places removed 36 places and 0 transitions.
Iterating post reduction 1 with 36 rules applied. Total rules applied 72 place count 66 transition count 89
Performed 18 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 18 Pre rules applied. Total rules applied 72 place count 66 transition count 71
Deduced a syphon composed of 18 places in 0 ms
Reduce places removed 18 places and 0 transitions.
Iterating global reduction 2 with 36 rules applied. Total rules applied 108 place count 48 transition count 71
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: 5
Deduced a syphon composed of 5 places in 0 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 2 with 10 rules applied. Total rules applied 118 place count 43 transition count 66
Applied a total of 118 rules in 46 ms. Remains 43 /102 variables (removed 59) and now considering 66/125 (removed 59) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 47 ms. Remains : 43/102 places, 66/125 transitions.
Normalized transition count is 60 out of 66 initially.
// Phase 1: matrix 60 rows 43 cols
[2023-03-19 01:18:40] [INFO ] Computed 11 place invariants in 2 ms
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 1123 ms. (steps per millisecond=890 ) properties (out of 1) seen :1
FORMULA Peterson-PT-2-UpperBounds-08 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.
Total runtime 7165 ms.
ITS solved all properties within timeout

BK_STOP 1679188722508

--------------------
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="Peterson-PT-2"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="marciexred"
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 marciexred"
echo " Input is Peterson-PT-2, 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 r266-smll-167863541200605"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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