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

About the Execution of ITS-Tools for FlexibleBarrier-PT-18b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
703.396 60206.00 102322.00 335.90 TFFTTFFTFTFTFTFT 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.r096-smll-165260575800126.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 FlexibleBarrier-PT-18b, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r096-smll-165260575800126
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.7M
-rw-r--r-- 1 mcc users 6.1K Apr 29 13:11 CTLCardinality.txt
-rw-r--r-- 1 mcc users 64K Apr 29 13:11 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.2K Apr 29 13:10 CTLFireability.txt
-rw-r--r-- 1 mcc users 46K Apr 29 13:10 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.6K May 9 07:51 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 9 07:51 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 9 07:52 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 07:52 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Apr 29 13:11 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 149K Apr 29 13:11 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.5K Apr 29 13:11 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 83K Apr 29 13:11 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 9 07:52 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 9 07:52 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 4 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 1.2M May 10 09:33 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

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

=== Now, execution of the tool begins

BK_START 1654181988953

Running Version 202205111006
[2022-06-02 14:59:50] [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-02 14:59:50] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-02 14:59:51] [INFO ] Load time of PNML (sax parser for PT used): 428 ms
[2022-06-02 14:59:51] [INFO ] Transformed 4370 places.
[2022-06-02 14:59:51] [INFO ] Transformed 5037 transitions.
[2022-06-02 14:59:51] [INFO ] Found NUPN structural information;
[2022-06-02 14:59:51] [INFO ] Parsed PT model containing 4370 places and 5037 transitions in 635 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 51 ms.
Working with output stream class java.io.PrintStream
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 81 resets, run finished after 906 ms. (steps per millisecond=11 ) properties (out of 13) seen :1
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 109 ms. (steps per millisecond=91 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 85 ms. (steps per millisecond=117 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 87 ms. (steps per millisecond=114 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 64 ms. (steps per millisecond=156 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 7 resets, run finished after 56 ms. (steps per millisecond=178 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 7 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 54 ms. (steps per millisecond=185 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 56 ms. (steps per millisecond=178 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 47 ms. (steps per millisecond=212 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 65 ms. (steps per millisecond=153 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 7 resets, run finished after 33 ms. (steps per millisecond=303 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 36 ms. (steps per millisecond=277 ) properties (out of 12) seen :0
Interrupted probabilistic random walk after 70928 steps, run timeout after 3001 ms. (steps per millisecond=23 ) properties seen :{10=1}
Probabilistic random walk after 70928 steps, saw 43262 distinct states, run finished after 3003 ms. (steps per millisecond=23 ) properties seen :1
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
Running SMT prover for 11 properties.
// Phase 1: matrix 5037 rows 4370 cols
[2022-06-02 14:59:56] [INFO ] Computed 20 place invariants in 344 ms
[2022-06-02 15:00:00] [INFO ] After 3159ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:11
[2022-06-02 15:00:01] [INFO ] [Nat]Absence check using 20 positive place invariants in 52 ms returned sat
[2022-06-02 15:00:09] [INFO ] After 7150ms SMT Verify possible using state equation in natural domain returned unsat :3 sat :8
[2022-06-02 15:00:11] [INFO ] Deduced a trap composed of 102 places in 1358 ms of which 14 ms to minimize.
[2022-06-02 15:00:13] [INFO ] Deduced a trap composed of 163 places in 1633 ms of which 4 ms to minimize.
[2022-06-02 15:00:14] [INFO ] Deduced a trap composed of 322 places in 901 ms of which 3 ms to minimize.
[2022-06-02 15:00:14] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 4838 ms
[2022-06-02 15:00:20] [INFO ] Deduced a trap composed of 1567 places in 5370 ms of which 4 ms to minimize.
[2022-06-02 15:00:24] [INFO ] Deduced a trap composed of 1535 places in 4273 ms of which 15 ms to minimize.
[2022-06-02 15:00:30] [INFO ] Deduced a trap composed of 14 places in 5843 ms of which 5 ms to minimize.
[2022-06-02 15:00:30] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2022-06-02 15:00:30] [INFO ] After 30902ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0 real:11
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-04 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 11 Parikh solutions to 8 different solutions.
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 4 properties in 6723 ms.
Support contains 20 out of 4370 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 4370/4370 places, 5037/5037 transitions.
Graph (trivial) has 4251 edges and 4370 vertex of which 104 / 4370 are part of one of the 17 SCC in 32 ms
Free SCC test removed 87 places
Drop transitions removed 105 transitions
Reduce isomorphic transitions removed 105 transitions.
Drop transitions removed 1061 transitions
Trivial Post-agglo rules discarded 1061 transitions
Performed 1061 trivial Post agglomeration. Transition count delta: 1061
Iterating post reduction 0 with 1061 rules applied. Total rules applied 1062 place count 4283 transition count 3871
Reduce places removed 1061 places and 0 transitions.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: 4
Iterating post reduction 1 with 1065 rules applied. Total rules applied 2127 place count 3222 transition count 3867
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 2 with 4 rules applied. Total rules applied 2131 place count 3218 transition count 3867
Performed 297 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 297 Pre rules applied. Total rules applied 2131 place count 3218 transition count 3570
Deduced a syphon composed of 297 places in 4 ms
Reduce places removed 297 places and 0 transitions.
Iterating global reduction 3 with 594 rules applied. Total rules applied 2725 place count 2921 transition count 3570
Discarding 1761 places :
Symmetric choice reduction at 3 with 1761 rule applications. Total rules 4486 place count 1160 transition count 1809
Iterating global reduction 3 with 1761 rules applied. Total rules applied 6247 place count 1160 transition count 1809
Performed 16 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 16 Pre rules applied. Total rules applied 6247 place count 1160 transition count 1793
Deduced a syphon composed of 16 places in 5 ms
Reduce places removed 16 places and 0 transitions.
Iterating global reduction 3 with 32 rules applied. Total rules applied 6279 place count 1144 transition count 1793
Discarding 283 places :
Symmetric choice reduction at 3 with 283 rule applications. Total rules 6562 place count 861 transition count 1510
Iterating global reduction 3 with 283 rules applied. Total rules applied 6845 place count 861 transition count 1510
Ensure Unique test removed 277 transitions
Reduce isomorphic transitions removed 277 transitions.
Iterating post reduction 3 with 277 rules applied. Total rules applied 7122 place count 861 transition count 1233
Performed 98 Post agglomeration using F-continuation condition.Transition count delta: 98
Deduced a syphon composed of 98 places in 1 ms
Reduce places removed 98 places and 0 transitions.
Iterating global reduction 4 with 196 rules applied. Total rules applied 7318 place count 763 transition count 1135
Drop transitions removed 35 transitions
Reduce isomorphic transitions removed 35 transitions.
Iterating post reduction 4 with 35 rules applied. Total rules applied 7353 place count 763 transition count 1100
Discarding 18 places :
Symmetric choice reduction at 5 with 18 rule applications. Total rules 7371 place count 745 transition count 1082
Iterating global reduction 5 with 18 rules applied. Total rules applied 7389 place count 745 transition count 1082
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 0
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 5 with 2 rules applied. Total rules applied 7391 place count 744 transition count 1082
Drop transitions removed 2 transitions
Redundant transition composition rules discarded 2 transitions
Iterating global reduction 5 with 2 rules applied. Total rules applied 7393 place count 744 transition count 1080
Free-agglomeration rule applied 621 times.
Iterating global reduction 5 with 621 rules applied. Total rules applied 8014 place count 744 transition count 459
Reduce places removed 621 places and 0 transitions.
Drop transitions removed 251 transitions
Reduce isomorphic transitions removed 251 transitions.
Iterating post reduction 5 with 872 rules applied. Total rules applied 8886 place count 123 transition count 208
Drop transitions removed 16 transitions
Redundant transition composition rules discarded 16 transitions
Iterating global reduction 6 with 16 rules applied. Total rules applied 8902 place count 123 transition count 192
Partial Free-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 6 with 1 rules applied. Total rules applied 8903 place count 123 transition count 192
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 6 with 1 rules applied. Total rules applied 8904 place count 122 transition count 191
Reduce places removed 1 places and 0 transitions.
Graph (trivial) has 90 edges and 121 vertex of which 30 / 121 are part of one of the 15 SCC in 0 ms
Free SCC test removed 15 places
Iterating post reduction 6 with 2 rules applied. Total rules applied 8906 place count 106 transition count 191
Drop transitions removed 30 transitions
Reduce isomorphic transitions removed 30 transitions.
Iterating post reduction 7 with 30 rules applied. Total rules applied 8936 place count 106 transition count 161
Performed 19 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 8 with 19 Pre rules applied. Total rules applied 8936 place count 106 transition count 142
Deduced a syphon composed of 19 places in 0 ms
Reduce places removed 19 places and 0 transitions.
Iterating global reduction 8 with 38 rules applied. Total rules applied 8974 place count 87 transition count 142
Drop transitions removed 18 transitions
Reduce isomorphic transitions removed 18 transitions.
Iterating post reduction 8 with 18 rules applied. Total rules applied 8992 place count 87 transition count 124
Performed 21 Post agglomeration using F-continuation condition.Transition count delta: 21
Deduced a syphon composed of 21 places in 0 ms
Reduce places removed 21 places and 0 transitions.
Iterating global reduction 9 with 42 rules applied. Total rules applied 9034 place count 66 transition count 103
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 9 with 1 rules applied. Total rules applied 9035 place count 66 transition count 102
Free-agglomeration rule applied 17 times.
Iterating global reduction 9 with 17 rules applied. Total rules applied 9052 place count 66 transition count 85
Reduce places removed 26 places and 0 transitions.
Drop transitions removed 15 transitions
Ensure Unique test removed 8 transitions
Reduce isomorphic transitions removed 23 transitions.
Iterating post reduction 9 with 49 rules applied. Total rules applied 9101 place count 40 transition count 62
Drop transitions removed 10 transitions
Redundant transition composition rules discarded 10 transitions
Iterating global reduction 10 with 10 rules applied. Total rules applied 9111 place count 40 transition count 52
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 10 with 2 rules applied. Total rules applied 9113 place count 39 transition count 51
Free-agglomeration rule applied 2 times.
Iterating global reduction 10 with 2 rules applied. Total rules applied 9115 place count 39 transition count 49
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 10 with 2 rules applied. Total rules applied 9117 place count 37 transition count 49
Applied a total of 9117 rules in 1562 ms. Remains 37 /4370 variables (removed 4333) and now considering 49/5037 (removed 4988) transitions.
Finished structural reductions, in 1 iterations. Remains : 37/4370 places, 49/5037 transitions.
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 9096 ms. (steps per millisecond=109 ) properties (out of 4) seen :3
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 656 ms. (steps per millisecond=1524 ) properties (out of 1) seen :0
Running SMT prover for 1 properties.
// Phase 1: matrix 49 rows 37 cols
[2022-06-02 15:00:48] [INFO ] Computed 10 place invariants in 1 ms
[2022-06-02 15:00:49] [INFO ] [Real]Absence check using 10 positive place invariants in 4 ms returned sat
[2022-06-02 15:00:49] [INFO ] After 23ms SMT Verify possible using state equation in real domain returned unsat :0 sat :1
[2022-06-02 15:00:49] [INFO ] After 30ms SMT Verify possible using trap constraints in real domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 5 ms.
[2022-06-02 15:00:49] [INFO ] After 73ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :1
Finished Parikh walk after 10 steps, including 2 resets, run visited all 1 properties in 1 ms. (steps per millisecond=10 )
FORMULA FlexibleBarrier-PT-18b-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 1 properties in 0 ms.
All properties solved without resorting to model-checking.
Total runtime 58351 ms.

BK_STOP 1654182049159

--------------------
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
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.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="FlexibleBarrier-PT-18b"
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 FlexibleBarrier-PT-18b, 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 r096-smll-165260575800126"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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