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

About the Execution of ITS-Tools for PolyORBNT-PT-S05J60

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
5365.520 44338.00 99330.00 1831.60 FFFTFFFTTTFFFTTT 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.r293-tall-167873945800743.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 itstools
Input is PolyORBNT-PT-S05J60, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r293-tall-167873945800743
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 3.4M
-rw-r--r-- 1 mcc users 39K Feb 25 23:30 CTLCardinality.txt
-rw-r--r-- 1 mcc users 208K Feb 25 23:30 CTLCardinality.xml
-rw-r--r-- 1 mcc users 67K Feb 25 23:27 CTLFireability.txt
-rw-r--r-- 1 mcc users 319K Feb 25 23:27 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 12K Feb 25 16:36 LTLCardinality.txt
-rw-r--r-- 1 mcc users 49K Feb 25 16:36 LTLCardinality.xml
-rw-r--r-- 1 mcc users 37K Feb 25 16:36 LTLFireability.txt
-rw-r--r-- 1 mcc users 123K Feb 25 16:36 LTLFireability.xml
-rw-r--r-- 1 mcc users 44K Feb 25 23:41 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 183K Feb 25 23:41 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 154K Feb 25 23:38 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 663K Feb 25 23:38 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 7.4K Feb 25 16:36 UpperBounds.txt
-rw-r--r-- 1 mcc users 16K Feb 25 16:36 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 7 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 1.5M 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 booleans
BOOL_VECTOR

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

=== Now, execution of the tool begins

BK_START 1678959399428

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=itstools
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=PolyORBNT-PT-S05J60
Not applying reductions.
Model is PT
ReachabilityFireability PT
Running Version 202303021504
[2023-03-16 09:36:40] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2023-03-16 09:36:41] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-16 09:36:41] [INFO ] Load time of PNML (sax parser for PT used): 142 ms
[2023-03-16 09:36:41] [INFO ] Transformed 909 places.
[2023-03-16 09:36:41] [INFO ] Transformed 1970 transitions.
[2023-03-16 09:36:41] [INFO ] Parsed PT model containing 909 places and 1970 transitions and 12584 arcs in 224 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 40 ms.
Working with output stream class java.io.PrintStream
[2023-03-16 09:36:41] [INFO ] Reduced 90 identical enabling conditions.
[2023-03-16 09:36:41] [INFO ] Reduced 90 identical enabling conditions.
[2023-03-16 09:36:41] [INFO ] Reduced 10 identical enabling conditions.
[2023-03-16 09:36:41] [INFO ] Reduced 555 identical enabling conditions.
[2023-03-16 09:36:41] [INFO ] Reduced 555 identical enabling conditions.
[2023-03-16 09:36:41] [INFO ] Reduced 10 identical enabling conditions.
[2023-03-16 09:36:41] [INFO ] Reduced 10 identical enabling conditions.
[2023-03-16 09:36:41] [INFO ] Reduced 10 identical enabling conditions.
[2023-03-16 09:36:41] [INFO ] Reduced 555 identical enabling conditions.
[2023-03-16 09:36:41] [INFO ] Reduced 555 identical enabling conditions.
Ensure Unique test removed 655 transitions
Reduce redundant transitions removed 655 transitions.
[2023-03-16 09:36:42] [INFO ] Flatten gal took : 270 ms
[2023-03-16 09:36:42] [INFO ] Flatten gal took : 175 ms
Incomplete random walk after 10000 steps, including 681 resets, run finished after 873 ms. (steps per millisecond=11 ) properties (out of 16) seen :4
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
[2023-03-16 09:36:42] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality1412018540046372204.gal : 51 ms
[2023-03-16 09:36:42] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality5380462604539427958.prop : 24 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality1412018540046372204.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality5380462604539427958.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...328
Loading property file /tmp/ReachabilityCardinality5380462604539427958.prop.
Incomplete Best-First random walk after 10001 steps, including 262 resets, run finished after 571 ms. (steps per millisecond=17 ) properties (out of 12) seen :0
SDD proceeding with computation,16 properties remain. new max is 4
SDD size :1 after 4
SDD proceeding with computation,16 properties remain. new max is 8
SDD size :4 after 16
Incomplete Best-First random walk after 10000 steps, including 230 resets, run finished after 1225 ms. (steps per millisecond=8 ) properties (out of 12) seen :0
SDD proceeding with computation,16 properties remain. new max is 16
SDD size :16 after 32
Incomplete Best-First random walk after 10001 steps, including 254 resets, run finished after 705 ms. (steps per millisecond=14 ) properties (out of 12) seen :0
SDD proceeding with computation,16 properties remain. new max is 32
SDD size :32 after 64
SDD proceeding with computation,16 properties remain. new max is 64
SDD size :64 after 99
Incomplete Best-First random walk after 10001 steps, including 303 resets, run finished after 600 ms. (steps per millisecond=16 ) properties (out of 12) seen :0
SDD proceeding with computation,16 properties remain. new max is 128
SDD size :99 after 103
Incomplete Best-First random walk after 10001 steps, including 114 resets, run finished after 83 ms. (steps per millisecond=120 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 131 resets, run finished after 68 ms. (steps per millisecond=147 ) properties (out of 12) seen :1
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
SDD proceeding with computation,16 properties remain. new max is 256
SDD size :103 after 111
Incomplete Best-First random walk after 10001 steps, including 14 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 79 resets, run finished after 76 ms. (steps per millisecond=131 ) properties (out of 11) seen :0
SDD proceeding with computation,16 properties remain. new max is 512
SDD size :111 after 126
Incomplete Best-First random walk after 10001 steps, including 14 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 13 resets, run finished after 51 ms. (steps per millisecond=196 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 128 resets, run finished after 67 ms. (steps per millisecond=149 ) properties (out of 11) seen :1
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
SDD proceeding with computation,16 properties remain. new max is 1024
SDD size :126 after 154
Incomplete Best-First random walk after 10001 steps, including 14 resets, run finished after 59 ms. (steps per millisecond=169 ) properties (out of 10) seen :0
Running SMT prover for 10 properties.
[2023-03-16 09:36:45] [INFO ] Flow matrix only has 1311 transitions (discarded 4 similar events)
// Phase 1: matrix 1311 rows 909 cols
[2023-03-16 09:36:45] [INFO ] Computed 142 place invariants in 101 ms
[2023-03-16 09:36:51] [INFO ] [Real]Absence check using 111 positive place invariants in 29 ms returned sat
[2023-03-16 09:36:51] [INFO ] [Real]Absence check using 111 positive and 31 generalized place invariants in 49 ms returned sat
[2023-03-16 09:36:51] [INFO ] After 597ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:9
[2023-03-16 09:36:51] [INFO ] [Nat]Absence check using 111 positive place invariants in 21 ms returned sat
[2023-03-16 09:36:51] [INFO ] [Nat]Absence check using 111 positive and 31 generalized place invariants in 52 ms returned sat
[2023-03-16 09:36:55] [INFO ] After 3718ms SMT Verify possible using state equation in natural domain returned unsat :9 sat :1
[2023-03-16 09:36:55] [INFO ] State equation strengthened by 1 read => feed constraints.
[2023-03-16 09:36:57] [INFO ] After 1591ms SMT Verify possible using 1 Read/Feed constraints in natural domain returned unsat :9 sat :1
[2023-03-16 09:36:58] [INFO ] After 2462ms SMT Verify possible using trap constraints in natural domain returned unsat :9 sat :1
Attempting to minimize the solution found.
Minimization took 528 ms.
[2023-03-16 09:36:58] [INFO ] After 7201ms SMT Verify possible using all constraints in natural domain returned unsat :9 sat :1
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-13 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-12 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-11 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-10 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-06 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-03 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-01 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-00 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 10 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 2 ms.
Support contains 35 out of 909 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 909/909 places, 1315/1315 transitions.
Ensure Unique test removed 5 places
Drop transitions removed 63 transitions
Trivial Post-agglo rules discarded 63 transitions
Performed 63 trivial Post agglomeration. Transition count delta: 63
Iterating post reduction 0 with 68 rules applied. Total rules applied 68 place count 904 transition count 1252
Reduce places removed 63 places and 0 transitions.
Iterating post reduction 1 with 63 rules applied. Total rules applied 131 place count 841 transition count 1252
Performed 63 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 63 Pre rules applied. Total rules applied 131 place count 841 transition count 1189
Deduced a syphon composed of 63 places in 3 ms
Reduce places removed 63 places and 0 transitions.
Iterating global reduction 2 with 126 rules applied. Total rules applied 257 place count 778 transition count 1189
Discarding 1 places :
Symmetric choice reduction at 2 with 1 rule applications. Total rules 258 place count 777 transition count 1188
Iterating global reduction 2 with 1 rules applied. Total rules applied 259 place count 777 transition count 1188
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 1 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 2 with 4 rules applied. Total rules applied 263 place count 775 transition count 1186
Applied a total of 263 rules in 405 ms. Remains 775 /909 variables (removed 134) and now considering 1186/1315 (removed 129) transitions.
[2023-03-16 09:36:59] [INFO ] Flow matrix only has 1182 transitions (discarded 4 similar events)
// Phase 1: matrix 1182 rows 775 cols
[2023-03-16 09:36:59] [INFO ] Computed 137 place invariants in 47 ms
[2023-03-16 09:37:00] [INFO ] Dead Transitions using invariants and state equation in 1239 ms found 95 transitions.
Found 95 dead transitions using SMT.
Drop transitions removed 95 transitions
Dead transitions reduction (with SMT) triggered by suspicious arc values removed 95 transitions.
Starting structural reductions in REACHABILITY mode, iteration 1 : 775/909 places, 1091/1315 transitions.
Applied a total of 0 rules in 48 ms. Remains 775 /775 variables (removed 0) and now considering 1091/1091 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 1697 ms. Remains : 775/909 places, 1091/1315 transitions.
Incomplete random walk after 10000 steps, including 456 resets, run finished after 72 ms. (steps per millisecond=138 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10001 steps, including 23 resets, run finished after 53 ms. (steps per millisecond=188 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 154348 steps, run timeout after 3001 ms. (steps per millisecond=51 ) properties seen :{}
Probabilistic random walk after 154348 steps, saw 46184 distinct states, run finished after 3002 ms. (steps per millisecond=51 ) properties seen :0
Running SMT prover for 1 properties.
[2023-03-16 09:37:03] [INFO ] Flow matrix only has 1087 transitions (discarded 4 similar events)
// Phase 1: matrix 1087 rows 775 cols
[2023-03-16 09:37:03] [INFO ] Computed 137 place invariants in 29 ms
[2023-03-16 09:37:03] [INFO ] [Real]Absence check using 112 positive place invariants in 24 ms returned sat
[2023-03-16 09:37:03] [INFO ] [Real]Absence check using 112 positive and 25 generalized place invariants in 38 ms returned sat
[2023-03-16 09:37:03] [INFO ] After 162ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-16 09:37:03] [INFO ] [Nat]Absence check using 112 positive place invariants in 20 ms returned sat
[2023-03-16 09:37:04] [INFO ] [Nat]Absence check using 112 positive and 25 generalized place invariants in 39 ms returned sat
[2023-03-16 09:37:06] [INFO ] After 2104ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-16 09:37:06] [INFO ] State equation strengthened by 1 read => feed constraints.
[2023-03-16 09:37:09] [INFO ] After 3633ms SMT Verify possible using 1 Read/Feed constraints in natural domain returned unsat :0 sat :1
[2023-03-16 09:37:18] [INFO ] After 12780ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :0
[2023-03-16 09:37:18] [INFO ] After 15068ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0
Finished Parikh walk after 22 steps, including 1 resets, run visited all 1 properties in 1 ms. (steps per millisecond=22 )
FORMULA PolyORBNT-PT-S05J60-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 1 properties in 2 ms.
ITS runner failed with exception null
java.lang.InterruptedException
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Thread.join(Thread.java:1304)
at java.base/java.lang.Thread.join(Thread.java:1372)
at fr.lip6.move.gal.application.runner.AbstractRunner.join(AbstractRunner.java:27)
at fr.lip6.move.gal.application.runner.its.ITSRunner.join(ITSRunner.java:177)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.verifyWithSDD(GlobalPropertySolver.java:675)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.lambda$2(ReachabilitySolver.java:63)
at java.base/java.lang.Thread.run(Thread.java:833)
All properties solved without resorting to model-checking.
Total runtime 37956 ms.

BK_STOP 1678959443766

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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="PolyORBNT-PT-S05J60"
export BK_EXAMINATION="ReachabilityFireability"
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-5348"
echo " Executing tool itstools"
echo " Input is PolyORBNT-PT-S05J60, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r293-tall-167873945800743"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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