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

About the Execution of ITS-Tools for StigmergyElection-PT-08a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
415.575 15510.00 32494.00 128.20 TTTTFFTTFTFTTFFF 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.r294-smll-165463872800350.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 itstools
Input is StigmergyElection-PT-08a, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r294-smll-165463872800350
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 5.8M
-rw-r--r-- 1 mcc users 7.5K May 30 14:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 84K May 30 14:58 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.8K May 30 14:55 CTLFireability.txt
-rw-r--r-- 1 mcc users 52K May 30 14:55 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.8K May 25 13:05 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 25 13:05 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K May 25 13:05 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 25 13:05 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 29 12:20 NewModel
-rw-r--r-- 1 mcc users 12K May 30 15:03 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 131K May 30 15:03 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.0K May 30 15:01 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 66K May 30 15:01 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 25 13:05 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 25 13:05 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 5.3M 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 booleans
BOOL_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-00
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-01
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-02
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-03
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-04
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-05
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-06
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-07
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-08
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-09
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-10
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-11
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-12
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-13
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-14
FORMULA_NAME StigmergyElection-PT-08a-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1654862224831

Running Version 202205111006
[2022-06-10 11:57:06] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -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-10 11:57:07] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-10 11:57:08] [INFO ] Load time of PNML (sax parser for PT used): 977 ms
[2022-06-10 11:57:08] [INFO ] Transformed 114 places.
[2022-06-10 11:57:08] [INFO ] Transformed 6882 transitions.
[2022-06-10 11:57:08] [INFO ] Found NUPN structural information;
[2022-06-10 11:57:08] [INFO ] Parsed PT model containing 114 places and 6882 transitions in 1268 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 26 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 6218 transitions
Reduce redundant transitions removed 6218 transitions.
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 5 resets, run finished after 1073 ms. (steps per millisecond=9 ) properties (out of 15) seen :5
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 128 ms. (steps per millisecond=78 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 30 ms. (steps per millisecond=333 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 33 ms. (steps per millisecond=303 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 42 ms. (steps per millisecond=238 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 69 ms. (steps per millisecond=144 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 25 ms. (steps per millisecond=400 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 22 ms. (steps per millisecond=454 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 19 ms. (steps per millisecond=526 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 37 ms. (steps per millisecond=270 ) properties (out of 10) seen :0
Running SMT prover for 10 properties.
[2022-06-10 11:57:10] [INFO ] Flow matrix only has 640 transitions (discarded 24 similar events)
// Phase 1: matrix 640 rows 114 cols
[2022-06-10 11:57:10] [INFO ] Computed 9 place invariants in 31 ms
[2022-06-10 11:57:11] [INFO ] After 621ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:10
[2022-06-10 11:57:11] [INFO ] [Nat]Absence check using 9 positive place invariants in 7 ms returned sat
[2022-06-10 11:57:11] [INFO ] After 603ms SMT Verify possible using state equation in natural domain returned unsat :6 sat :4
[2022-06-10 11:57:11] [INFO ] State equation strengthened by 549 read => feed constraints.
[2022-06-10 11:57:12] [INFO ] After 321ms SMT Verify possible using 549 Read/Feed constraints in natural domain returned unsat :6 sat :4
[2022-06-10 11:57:12] [INFO ] Deduced a trap composed of 12 places in 328 ms of which 12 ms to minimize.
[2022-06-10 11:57:12] [INFO ] Deduced a trap composed of 13 places in 305 ms of which 2 ms to minimize.
[2022-06-10 11:57:13] [INFO ] Deduced a trap composed of 13 places in 228 ms of which 1 ms to minimize.
[2022-06-10 11:57:13] [INFO ] Deduced a trap composed of 13 places in 249 ms of which 1 ms to minimize.
[2022-06-10 11:57:13] [INFO ] Deduced a trap composed of 12 places in 339 ms of which 1 ms to minimize.
[2022-06-10 11:57:14] [INFO ] Deduced a trap composed of 12 places in 251 ms of which 1 ms to minimize.
[2022-06-10 11:57:14] [INFO ] Deduced a trap composed of 12 places in 205 ms of which 1 ms to minimize.
[2022-06-10 11:57:14] [INFO ] Deduced a trap composed of 13 places in 255 ms of which 1 ms to minimize.
[2022-06-10 11:57:14] [INFO ] Deduced a trap composed of 12 places in 178 ms of which 0 ms to minimize.
[2022-06-10 11:57:15] [INFO ] Deduced a trap composed of 13 places in 176 ms of which 1 ms to minimize.
[2022-06-10 11:57:15] [INFO ] Deduced a trap composed of 12 places in 146 ms of which 1 ms to minimize.
[2022-06-10 11:57:15] [INFO ] Deduced a trap composed of 12 places in 226 ms of which 1 ms to minimize.
[2022-06-10 11:57:15] [INFO ] Deduced a trap composed of 12 places in 192 ms of which 1 ms to minimize.
[2022-06-10 11:57:16] [INFO ] Deduced a trap composed of 12 places in 144 ms of which 0 ms to minimize.
[2022-06-10 11:57:16] [INFO ] Deduced a trap composed of 12 places in 145 ms of which 1 ms to minimize.
[2022-06-10 11:57:16] [INFO ] Deduced a trap composed of 12 places in 145 ms of which 0 ms to minimize.
[2022-06-10 11:57:16] [INFO ] Deduced a trap composed of 12 places in 109 ms of which 1 ms to minimize.
[2022-06-10 11:57:16] [INFO ] Deduced a trap composed of 12 places in 177 ms of which 1 ms to minimize.
[2022-06-10 11:57:17] [INFO ] Deduced a trap composed of 12 places in 107 ms of which 0 ms to minimize.
[2022-06-10 11:57:17] [INFO ] Deduced a trap composed of 12 places in 85 ms of which 1 ms to minimize.
[2022-06-10 11:57:17] [INFO ] Deduced a trap composed of 12 places in 91 ms of which 1 ms to minimize.
[2022-06-10 11:57:17] [INFO ] Trap strengthening procedure interrupted after too many repetitions 5252 ms
[2022-06-10 11:57:17] [INFO ] Trap strengthening (SAT) tested/added 21/20 trap constraints in 5252 ms
[2022-06-10 11:57:17] [INFO ] Deduced a trap composed of 12 places in 188 ms of which 1 ms to minimize.
[2022-06-10 11:57:17] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 1 trap constraints in 227 ms
[2022-06-10 11:57:18] [INFO ] Deduced a trap composed of 14 places in 209 ms of which 1 ms to minimize.
[2022-06-10 11:57:18] [INFO ] Deduced a trap composed of 13 places in 205 ms of which 1 ms to minimize.
[2022-06-10 11:57:18] [INFO ] Deduced a trap composed of 12 places in 138 ms of which 1 ms to minimize.
[2022-06-10 11:57:18] [INFO ] Deduced a trap composed of 12 places in 117 ms of which 0 ms to minimize.
[2022-06-10 11:57:18] [INFO ] Deduced a trap composed of 12 places in 77 ms of which 1 ms to minimize.
[2022-06-10 11:57:19] [INFO ] Deduced a trap composed of 12 places in 92 ms of which 1 ms to minimize.
[2022-06-10 11:57:19] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 6 trap constraints in 1190 ms
[2022-06-10 11:57:19] [INFO ] After 7318ms SMT Verify possible using trap constraints in natural domain returned unsat :8 sat :2
Attempting to minimize the solution found.
Minimization took 118 ms.
[2022-06-10 11:57:19] [INFO ] After 8254ms SMT Verify possible using all constraints in natural domain returned unsat :8 sat :2
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-15 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-10 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-08 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-07 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-03 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-01 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 10 Parikh solutions to 2 different solutions.
Parikh walk visited 0 properties in 632 ms.
Support contains 3 out of 114 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 114/114 places, 664/664 transitions.
Graph (complete) has 353 edges and 114 vertex of which 107 are kept as prefixes of interest. Removing 7 places using SCC suffix rule.21 ms
Discarding 7 places :
Also discarding 7 output transitions
Drop transitions removed 7 transitions
Drop transitions removed 25 transitions
Reduce isomorphic transitions removed 25 transitions.
Drop transitions removed 15 transitions
Trivial Post-agglo rules discarded 15 transitions
Performed 15 trivial Post agglomeration. Transition count delta: 15
Iterating post reduction 0 with 40 rules applied. Total rules applied 41 place count 107 transition count 617
Reduce places removed 15 places and 0 transitions.
Ensure Unique test removed 15 transitions
Reduce isomorphic transitions removed 15 transitions.
Drop transitions removed 7 transitions
Trivial Post-agglo rules discarded 7 transitions
Performed 7 trivial Post agglomeration. Transition count delta: 7
Iterating post reduction 1 with 37 rules applied. Total rules applied 78 place count 92 transition count 595
Reduce places removed 7 places and 0 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Iterating post reduction 2 with 8 rules applied. Total rules applied 86 place count 85 transition count 594
Reduce places removed 1 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 3 with 2 rules applied. Total rules applied 88 place count 84 transition count 593
Performed 15 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 15 Pre rules applied. Total rules applied 88 place count 84 transition count 578
Deduced a syphon composed of 15 places in 0 ms
Reduce places removed 15 places and 0 transitions.
Iterating global reduction 4 with 30 rules applied. Total rules applied 118 place count 69 transition count 578
Discarding 14 places :
Symmetric choice reduction at 4 with 14 rule applications. Total rules 132 place count 55 transition count 564
Iterating global reduction 4 with 14 rules applied. Total rules applied 146 place count 55 transition count 564
Discarding 14 places :
Symmetric choice reduction at 4 with 14 rule applications. Total rules 160 place count 41 transition count 550
Iterating global reduction 4 with 14 rules applied. Total rules applied 174 place count 41 transition count 550
Ensure Unique test removed 133 transitions
Reduce isomorphic transitions removed 133 transitions.
Iterating post reduction 4 with 133 rules applied. Total rules applied 307 place count 41 transition count 417
Performed 8 Post agglomeration using F-continuation condition.Transition count delta: 8
Deduced a syphon composed of 8 places in 1 ms
Reduce places removed 8 places and 0 transitions.
Iterating global reduction 5 with 16 rules applied. Total rules applied 323 place count 33 transition count 409
Discarding 8 places :
Symmetric choice reduction at 5 with 8 rule applications. Total rules 331 place count 25 transition count 401
Iterating global reduction 5 with 8 rules applied. Total rules applied 339 place count 25 transition count 401
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 5 with 1 rules applied. Total rules applied 340 place count 25 transition count 400
Partial Free-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 5 with 1 rules applied. Total rules applied 341 place count 25 transition count 400
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 5 with 1 rules applied. Total rules applied 342 place count 24 transition count 399
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 5 with 1 rules applied. Total rules applied 343 place count 23 transition count 399
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 6 with 1 Pre rules applied. Total rules applied 343 place count 23 transition count 398
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 6 with 2 rules applied. Total rules applied 345 place count 22 transition count 398
Performed 8 Post agglomeration using F-continuation condition with reduction of 366 identical transitions.
Deduced a syphon composed of 8 places in 0 ms
Reduce places removed 14 places and 0 transitions.
Iterating global reduction 6 with 22 rules applied. Total rules applied 367 place count 8 transition count 24
Drop transitions removed 8 transitions
Ensure Unique test removed 7 transitions
Reduce isomorphic transitions removed 15 transitions.
Iterating post reduction 6 with 15 rules applied. Total rules applied 382 place count 8 transition count 9
Partial Post-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 7 with 1 rules applied. Total rules applied 383 place count 8 transition count 9
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 7 with 1 rules applied. Total rules applied 384 place count 8 transition count 8
Applied a total of 384 rules in 326 ms. Remains 8 /114 variables (removed 106) and now considering 8/664 (removed 656) transitions.
Finished structural reductions, in 1 iterations. Remains : 8/114 places, 8/664 transitions.
Finished random walk after 20 steps, including 0 resets, run visited all 2 properties in 2 ms. (steps per millisecond=10 )
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyElection-PT-08a-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.
Total runtime 13269 ms.

BK_STOP 1654862240341

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

+ export LANG=C
+ LANG=C
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
++ perl -pe 's/.*\.//g'
++ sed s/.jar//
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination ReachabilityCardinality -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=@none -Xss128m -Xms40m -Xmx8192m

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="StigmergyElection-PT-08a"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-4028"
echo " Executing tool itstools"
echo " Input is StigmergyElection-PT-08a, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r294-smll-165463872800350"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/StigmergyElection-PT-08a.tgz
mv StigmergyElection-PT-08a execution
cd execution
if [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "UpperBounds" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] || [ "ReachabilityCardinality" = "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 [ "ReachabilityCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityCardinality" != "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 "ReachabilityCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityCardinality.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 '' ReachabilityCardinality.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] ; then
echo "FORMULA_NAME ReachabilityCardinality"
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 ;