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

About the Execution of ITS-Tools for DBSingleClientW-PT-d2m04

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1363.960 29488.00 62366.00 2143.80 TTFFTTFFFTTTTFFT 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.r101-tall-167814475200295.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 DBSingleClientW-PT-d2m04, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r101-tall-167814475200295
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.0M
-rw-r--r-- 1 mcc users 7.0K Feb 26 15:28 CTLCardinality.txt
-rw-r--r-- 1 mcc users 74K Feb 26 15:28 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.6K Feb 26 15:27 CTLFireability.txt
-rw-r--r-- 1 mcc users 48K Feb 26 15:27 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 15:49 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Feb 25 15:49 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 15:49 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 15:49 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 26 15:31 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 141K Feb 26 15:31 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.9K Feb 26 15:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 88K Feb 26 15:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 15:49 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 15:49 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 1.6M Mar 5 18:22 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 DBSingleClientW-PT-d2m04-ReachabilityFireability-00
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-01
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-02
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-03
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-04
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-05
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-06
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-07
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-08
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-09
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-10
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-11
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-12
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-13
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-14
FORMULA_NAME DBSingleClientW-PT-d2m04-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1678248185947

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=DBSingleClientW-PT-d2m04
Not applying reductions.
Model is PT
ReachabilityFireability PT
Running Version 202303021504
[2023-03-08 04:03:07] [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-08 04:03:07] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-08 04:03:07] [INFO ] Load time of PNML (sax parser for PT used): 186 ms
[2023-03-08 04:03:07] [INFO ] Transformed 4763 places.
[2023-03-08 04:03:07] [INFO ] Transformed 2478 transitions.
[2023-03-08 04:03:07] [INFO ] Parsed PT model containing 4763 places and 2478 transitions and 9912 arcs in 285 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 14 ms.
Working with output stream class java.io.PrintStream
Deduced a syphon composed of 3580 places in 14 ms
Reduce places removed 3580 places and 0 transitions.
[2023-03-08 04:03:08] [INFO ] Flatten gal took : 218 ms
[2023-03-08 04:03:08] [INFO ] Flatten gal took : 125 ms
[2023-03-08 04:03:08] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6127559277112521542.gal : 59 ms
[2023-03-08 04:03:08] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality16603769392381318825.prop : 1 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/ReachabilityCardinality6127559277112521542.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality16603769392381318825.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 ...329
Incomplete random walk after 10000 steps, including 2312 resets, run finished after 993 ms. (steps per millisecond=10 ) properties (out of 16) seen :0
Loading property file /tmp/ReachabilityCardinality16603769392381318825.prop.
Incomplete Best-First random walk after 1000 steps, including 44 resets, run finished after 22 ms. (steps per millisecond=45 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 47 resets, run finished after 20 ms. (steps per millisecond=50 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 48 resets, run finished after 19 ms. (steps per millisecond=52 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 45 resets, run finished after 26 ms. (steps per millisecond=38 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 42 resets, run finished after 26 ms. (steps per millisecond=38 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 44 resets, run finished after 19 ms. (steps per millisecond=52 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 39 resets, run finished after 16 ms. (steps per millisecond=62 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1000 steps, including 40 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 40 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 55 resets, run finished after 18 ms. (steps per millisecond=55 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 91 resets, run finished after 25 ms. (steps per millisecond=40 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 47 resets, run finished after 35 ms. (steps per millisecond=28 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 46 resets, run finished after 25 ms. (steps per millisecond=40 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 40 resets, run finished after 16 ms. (steps per millisecond=62 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 45 resets, run finished after 16 ms. (steps per millisecond=62 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 36 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 16) seen :0
SDD proceeding with computation,16 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,16 properties remain. new max is 8
SDD size :5 after 24
Interrupted probabilistic random walk after 180847 steps, run timeout after 3001 ms. (steps per millisecond=60 ) properties seen :{0=1, 1=1, 3=1, 5=1, 6=1, 7=1, 8=1, 9=1, 11=1, 12=1}
Probabilistic random walk after 180847 steps, saw 76038 distinct states, run finished after 3001 ms. (steps per millisecond=60 ) properties seen :10
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-08 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-07 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-06 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-05 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-01 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
Running SMT prover for 6 properties.
// Phase 1: matrix 2478 rows 1183 cols
[2023-03-08 04:03:12] [INFO ] Computed 6 place invariants in 172 ms
SDD proceeding with computation,16 properties remain. new max is 16
SDD size :24 after 66
[2023-03-08 04:03:13] [INFO ] [Real]Absence check using 2 positive place invariants in 6 ms returned sat
[2023-03-08 04:03:13] [INFO ] [Real]Absence check using 2 positive and 4 generalized place invariants in 13 ms returned sat
[2023-03-08 04:03:13] [INFO ] After 432ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:5
[2023-03-08 04:03:13] [INFO ] [Nat]Absence check using 2 positive place invariants in 5 ms returned sat
[2023-03-08 04:03:13] [INFO ] [Nat]Absence check using 2 positive and 4 generalized place invariants in 12 ms returned sat
SDD proceeding with computation,16 properties remain. new max is 32
SDD size :66 after 108
SDD proceeding with computation,16 properties remain. new max is 64
SDD size :108 after 110
SDD proceeding with computation,16 properties remain. new max is 128
SDD size :110 after 158
SDD proceeding with computation,16 properties remain. new max is 256
SDD size :158 after 190
[2023-03-08 04:03:14] [INFO ] After 1376ms SMT Verify possible using state equation in natural domain returned unsat :4 sat :2
[2023-03-08 04:03:14] [INFO ] State equation strengthened by 1588 read => feed constraints.
SDD proceeding with computation,16 properties remain. new max is 512
SDD size :190 after 1162
[2023-03-08 04:03:18] [INFO ] After 3691ms SMT Verify possible using 1588 Read/Feed constraints in natural domain returned unsat :4 sat :2
SDD proceeding with computation,16 properties remain. new max is 1024
SDD size :1162 after 1830
[2023-03-08 04:03:21] [INFO ] Deduced a trap composed of 551 places in 1970 ms of which 6 ms to minimize.
SDD proceeding with computation,16 properties remain. new max is 2048
SDD size :1830 after 2524
[2023-03-08 04:03:24] [INFO ] Deduced a trap composed of 507 places in 428 ms of which 1 ms to minimize.
[2023-03-08 04:03:25] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 5371 ms
[2023-03-08 04:03:26] [INFO ] After 11233ms SMT Verify possible using trap constraints in natural domain returned unsat :4 sat :2
Attempting to minimize the solution found.
Reachability property DBSingleClientW-PT-d2m04-ReachabilityFireability-12 is true.
SDD proceeding with computation,15 properties remain. new max is 2048
SDD size :2524 after 6770
Minimization took 1950 ms.
[2023-03-08 04:03:28] [INFO ] After 14967ms SMT Verify possible using all constraints in natural domain returned unsat :4 sat :2
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-13 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-04 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-02 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 6 Parikh solutions to 2 different solutions.
Parikh walk visited 0 properties in 34 ms.
Support contains 18 out of 1183 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1183/1183 places, 2478/2478 transitions.
Graph (complete) has 4476 edges and 1183 vertex of which 1136 are kept as prefixes of interest. Removing 47 places using SCC suffix rule.8 ms
Discarding 47 places :
Also discarding 0 output transitions
Drop transitions removed 18 transitions
Ensure Unique test removed 199 transitions
Reduce isomorphic transitions removed 217 transitions.
Iterating post reduction 0 with 217 rules applied. Total rules applied 218 place count 1136 transition count 2261
Discarding 379 places :
Symmetric choice reduction at 1 with 379 rule applications. Total rules 597 place count 757 transition count 1363
Iterating global reduction 1 with 379 rules applied. Total rules applied 976 place count 757 transition count 1363
Ensure Unique test removed 36 transitions
Reduce isomorphic transitions removed 36 transitions.
Iterating post reduction 1 with 36 rules applied. Total rules applied 1012 place count 757 transition count 1327
Discarding 308 places :
Symmetric choice reduction at 2 with 308 rule applications. Total rules 1320 place count 449 transition count 1019
Iterating global reduction 2 with 308 rules applied. Total rules applied 1628 place count 449 transition count 1019
Ensure Unique test removed 7 transitions
Reduce isomorphic transitions removed 7 transitions.
Iterating post reduction 2 with 7 rules applied. Total rules applied 1635 place count 449 transition count 1012
Discarding 232 places :
Symmetric choice reduction at 3 with 232 rule applications. Total rules 1867 place count 217 transition count 687
Iterating global reduction 3 with 232 rules applied. Total rules applied 2099 place count 217 transition count 687
Ensure Unique test removed 268 transitions
Reduce isomorphic transitions removed 268 transitions.
Iterating post reduction 3 with 268 rules applied. Total rules applied 2367 place count 217 transition count 419
Discarding 19 places :
Symmetric choice reduction at 4 with 19 rule applications. Total rules 2386 place count 198 transition count 387
Iterating global reduction 4 with 19 rules applied. Total rules applied 2405 place count 198 transition count 387
Ensure Unique test removed 12 transitions
Reduce isomorphic transitions removed 12 transitions.
Iterating post reduction 4 with 12 rules applied. Total rules applied 2417 place count 198 transition count 375
Discarding 11 places :
Symmetric choice reduction at 5 with 11 rule applications. Total rules 2428 place count 187 transition count 364
Iterating global reduction 5 with 11 rules applied. Total rules applied 2439 place count 187 transition count 364
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 5 with 3 rules applied. Total rules applied 2442 place count 187 transition count 361
Discarding 8 places :
Symmetric choice reduction at 6 with 8 rule applications. Total rules 2450 place count 179 transition count 353
Iterating global reduction 6 with 8 rules applied. Total rules applied 2458 place count 179 transition count 353
Ensure Unique test removed 8 transitions
Reduce isomorphic transitions removed 8 transitions.
Iterating post reduction 6 with 8 rules applied. Total rules applied 2466 place count 179 transition count 345
Discarding 3 places :
Symmetric choice reduction at 7 with 3 rule applications. Total rules 2469 place count 176 transition count 330
Iterating global reduction 7 with 3 rules applied. Total rules applied 2472 place count 176 transition count 330
Applied a total of 2472 rules in 251 ms. Remains 176 /1183 variables (removed 1007) and now considering 330/2478 (removed 2148) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 252 ms. Remains : 176/1183 places, 330/2478 transitions.
Incomplete random walk after 10000 steps, including 2278 resets, run finished after 102 ms. (steps per millisecond=98 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 947 resets, run finished after 45 ms. (steps per millisecond=222 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 465 resets, run finished after 35 ms. (steps per millisecond=285 ) properties (out of 2) seen :0
Probably explored full state space saw : 61378 states, properties seen :1
Probabilistic random walk after 159119 steps, saw 61378 distinct states, run finished after 583 ms. (steps per millisecond=272 ) properties seen :1
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
Explored full state space saw : 61567 states, properties seen :0
Exhaustive walk after 159444 steps, saw 61567 distinct states, run finished after 266 ms. (steps per millisecond=599 ) properties seen :0
FORMULA DBSingleClientW-PT-d2m04-ReachabilityFireability-14 FALSE TECHNIQUES TOPOLOGICAL EXHAUSTIVE_WALK
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 22053 ms.

BK_STOP 1678248215435

--------------------
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="DBSingleClientW-PT-d2m04"
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 DBSingleClientW-PT-d2m04, 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 r101-tall-167814475200295"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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