fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r006-tajo-165245689400527
Last Updated
Jun 22, 2022

About the Execution of ITS-Tools for AutoFlight-PT-96b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1051.859 146436.00 218592.00 70.70 FFTFFTTTTTTTFFFT normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2022-input.r006-tajo-165245689400527.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2022-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
.....................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is AutoFlight-PT-96b, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r006-tajo-165245689400527
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.4M
-rw-r--r-- 1 mcc users 8.2K Apr 30 02:16 CTLCardinality.txt
-rw-r--r-- 1 mcc users 91K Apr 30 02:16 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.2K Apr 30 02:15 CTLFireability.txt
-rw-r--r-- 1 mcc users 60K Apr 30 02:15 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.6K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.4K May 9 07:05 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 9 07:05 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 9 07:05 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K May 9 07:05 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Apr 30 02:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 136K Apr 30 02:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.8K Apr 30 02:16 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 76K Apr 30 02:16 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 07:05 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 07:05 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.9M 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 AutoFlight-PT-96b-ReachabilityFireability-00
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-01
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-02
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-03
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-04
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-05
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-06
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-07
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-08
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-09
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-10
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-11
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-12
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-13
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-14
FORMULA_NAME AutoFlight-PT-96b-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1654267394692

Running Version 202205111006
[2022-06-03 14:43:15] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -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-03 14:43:15] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-03 14:43:16] [INFO ] Load time of PNML (sax parser for PT used): 298 ms
[2022-06-03 14:43:16] [INFO ] Transformed 7894 places.
[2022-06-03 14:43:16] [INFO ] Transformed 7868 transitions.
[2022-06-03 14:43:16] [INFO ] Found NUPN structural information;
[2022-06-03 14:43:16] [INFO ] Parsed PT model containing 7894 places and 7868 transitions in 716 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 17 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 2 resets, run finished after 715 ms. (steps per millisecond=13 ) properties (out of 16) seen :7
FORMULA AutoFlight-PT-96b-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-12 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 64 ms. (steps per millisecond=156 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 67 ms. (steps per millisecond=149 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 54 ms. (steps per millisecond=185 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 68 ms. (steps per millisecond=147 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 58 ms. (steps per millisecond=172 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 55 ms. (steps per millisecond=181 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 34 ms. (steps per millisecond=294 ) properties (out of 9) 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 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 28 ms. (steps per millisecond=357 ) properties (out of 9) seen :0
Running SMT prover for 9 properties.
// Phase 1: matrix 7868 rows 7894 cols
[2022-06-03 14:43:18] [INFO ] Computed 514 place invariants in 172 ms
[2022-06-03 14:43:21] [INFO ] After 2967ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:9
[2022-06-03 14:43:25] [INFO ] [Nat]Absence check using 513 positive place invariants in 965 ms returned sat
[2022-06-03 14:43:25] [INFO ] [Nat]Absence check using 513 positive and 1 generalized place invariants in 54 ms returned sat
[2022-06-03 14:43:44] [INFO ] After 17278ms SMT Verify possible using state equation in natural domain returned unsat :1 sat :8
[2022-06-03 14:43:57] [INFO ] Deduced a trap composed of 10 places in 10413 ms of which 23 ms to minimize.
[2022-06-03 14:43:57] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2022-06-03 14:43:57] [INFO ] After 35452ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0 real:9
FORMULA AutoFlight-PT-96b-ReachabilityFireability-00 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 9 Parikh solutions to 8 different solutions.
FORMULA AutoFlight-PT-96b-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 4 properties in 64483 ms.
Support contains 99 out of 7894 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 7894/7894 places, 7868/7868 transitions.
Drop transitions removed 3290 transitions
Trivial Post-agglo rules discarded 3290 transitions
Performed 3290 trivial Post agglomeration. Transition count delta: 3290
Iterating post reduction 0 with 3290 rules applied. Total rules applied 3290 place count 7894 transition count 4578
Reduce places removed 3290 places and 0 transitions.
Ensure Unique test removed 359 transitions
Reduce isomorphic transitions removed 359 transitions.
Drop transitions removed 178 transitions
Trivial Post-agglo rules discarded 178 transitions
Performed 178 trivial Post agglomeration. Transition count delta: 178
Iterating post reduction 1 with 3827 rules applied. Total rules applied 7117 place count 4604 transition count 4041
Reduce places removed 178 places and 0 transitions.
Performed 60 Post agglomeration using F-continuation condition.Transition count delta: 60
Iterating post reduction 2 with 238 rules applied. Total rules applied 7355 place count 4426 transition count 3981
Reduce places removed 60 places and 0 transitions.
Ensure Unique test removed 16 transitions
Reduce isomorphic transitions removed 16 transitions.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: 4
Iterating post reduction 3 with 80 rules applied. Total rules applied 7435 place count 4366 transition count 3961
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 4 with 4 rules applied. Total rules applied 7439 place count 4362 transition count 3961
Performed 981 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 5 with 981 Pre rules applied. Total rules applied 7439 place count 4362 transition count 2980
Deduced a syphon composed of 981 places in 45 ms
Reduce places removed 981 places and 0 transitions.
Iterating global reduction 5 with 1962 rules applied. Total rules applied 9401 place count 3381 transition count 2980
Discarding 651 places :
Symmetric choice reduction at 5 with 651 rule applications. Total rules 10052 place count 2730 transition count 2329
Iterating global reduction 5 with 651 rules applied. Total rules applied 10703 place count 2730 transition count 2329
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Drop transitions removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 5 with 2 rules applied. Total rules applied 10705 place count 2730 transition count 2327
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 6 with 1 rules applied. Total rules applied 10706 place count 2729 transition count 2327
Performed 195 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 7 with 195 Pre rules applied. Total rules applied 10706 place count 2729 transition count 2132
Deduced a syphon composed of 195 places in 28 ms
Reduce places removed 195 places and 0 transitions.
Iterating global reduction 7 with 390 rules applied. Total rules applied 11096 place count 2534 transition count 2132
Performed 629 Post agglomeration using F-continuation condition.Transition count delta: 629
Deduced a syphon composed of 629 places in 4 ms
Reduce places removed 629 places and 0 transitions.
Iterating global reduction 7 with 1258 rules applied. Total rules applied 12354 place count 1905 transition count 1503
Drop transitions removed 8 transitions
Redundant transition composition rules discarded 8 transitions
Iterating global reduction 7 with 8 rules applied. Total rules applied 12362 place count 1905 transition count 1495
Performed 3 Post agglomeration using F-continuation condition.Transition count delta: 3
Deduced a syphon composed of 3 places in 7 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 7 with 6 rules applied. Total rules applied 12368 place count 1902 transition count 1492
Free-agglomeration rule applied 268 times.
Iterating global reduction 7 with 268 rules applied. Total rules applied 12636 place count 1902 transition count 1224
Reduce places removed 268 places and 0 transitions.
Iterating post reduction 7 with 268 rules applied. Total rules applied 12904 place count 1634 transition count 1224
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 8 with 1 rules applied. Total rules applied 12905 place count 1633 transition count 1223
Reduce places removed 15 places and 0 transitions.
Iterating post reduction 8 with 15 rules applied. Total rules applied 12920 place count 1618 transition count 1223
Performed 14 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 9 with 14 Pre rules applied. Total rules applied 12920 place count 1618 transition count 1209
Deduced a syphon composed of 14 places in 3 ms
Reduce places removed 14 places and 0 transitions.
Iterating global reduction 9 with 28 rules applied. Total rules applied 12948 place count 1604 transition count 1209
Applied a total of 12948 rules in 2811 ms. Remains 1604 /7894 variables (removed 6290) and now considering 1209/7868 (removed 6659) transitions.
Finished structural reductions, in 1 iterations. Remains : 1604/7894 places, 1209/7868 transitions.
Incomplete random walk after 1000000 steps, including 5866 resets, run finished after 20551 ms. (steps per millisecond=48 ) properties (out of 4) seen :2
FORMULA AutoFlight-PT-96b-ReachabilityFireability-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-96b-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Interrupted Best-First random walk after 647400 steps, including 259 resets, run timeout after 5001 ms. (steps per millisecond=129 ) properties seen 1
FORMULA AutoFlight-PT-96b-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 666263 steps, including 284 resets, run timeout after 5001 ms. (steps per millisecond=133 ) properties seen 0
Running SMT prover for 1 properties.
// Phase 1: matrix 1209 rows 1604 cols
[2022-06-03 14:45:34] [INFO ] Computed 499 place invariants in 40 ms
[2022-06-03 14:45:35] [INFO ] After 166ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2022-06-03 14:45:35] [INFO ] [Nat]Absence check using 497 positive place invariants in 139 ms returned sat
[2022-06-03 14:45:35] [INFO ] [Nat]Absence check using 497 positive and 2 generalized place invariants in 18 ms returned sat
[2022-06-03 14:45:36] [INFO ] After 1179ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2022-06-03 14:45:36] [INFO ] State equation strengthened by 677 read => feed constraints.
[2022-06-03 14:45:37] [INFO ] After 1066ms SMT Verify possible using 677 Read/Feed constraints in natural domain returned unsat :0 sat :1
[2022-06-03 14:45:39] [INFO ] Deduced a trap composed of 61 places in 244 ms of which 2 ms to minimize.
[2022-06-03 14:45:39] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 664 ms
[2022-06-03 14:45:39] [INFO ] After 2866ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 950 ms.
[2022-06-03 14:45:40] [INFO ] After 5388ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 137 ms.
Support contains 41 out of 1604 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 1604/1604 places, 1209/1209 transitions.
Drop transitions removed 28 transitions
Trivial Post-agglo rules discarded 28 transitions
Performed 28 trivial Post agglomeration. Transition count delta: 28
Iterating post reduction 0 with 28 rules applied. Total rules applied 28 place count 1604 transition count 1181
Reduce places removed 28 places and 0 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Iterating post reduction 1 with 29 rules applied. Total rules applied 57 place count 1576 transition count 1180
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 58 place count 1575 transition count 1180
Performed 18 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 18 Pre rules applied. Total rules applied 58 place count 1575 transition count 1162
Deduced a syphon composed of 18 places in 1 ms
Reduce places removed 19 places and 0 transitions.
Iterating global reduction 3 with 37 rules applied. Total rules applied 95 place count 1556 transition count 1162
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 1 Pre rules applied. Total rules applied 95 place count 1556 transition count 1161
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 3 with 2 rules applied. Total rules applied 97 place count 1555 transition count 1161
Performed 31 Post agglomeration using F-continuation condition.Transition count delta: 31
Deduced a syphon composed of 31 places in 1 ms
Reduce places removed 31 places and 0 transitions.
Iterating global reduction 3 with 62 rules applied. Total rules applied 159 place count 1524 transition count 1130
Renaming transitions due to excessive name length > 1024 char.
Free-agglomeration rule applied 11 times.
Iterating global reduction 3 with 11 rules applied. Total rules applied 170 place count 1524 transition count 1119
Reduce places removed 11 places and 0 transitions.
Iterating post reduction 3 with 11 rules applied. Total rules applied 181 place count 1513 transition count 1119
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 4 with 1 rules applied. Total rules applied 182 place count 1512 transition count 1118
Reduce places removed 244 places and 0 transitions.
Drop transitions removed 334 transitions
Trivial Post-agglo rules discarded 334 transitions
Performed 334 trivial Post agglomeration. Transition count delta: 334
Iterating post reduction 4 with 578 rules applied. Total rules applied 760 place count 1268 transition count 784
Reduce places removed 334 places and 0 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Iterating post reduction 5 with 335 rules applied. Total rules applied 1095 place count 934 transition count 783
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 6 with 1 rules applied. Total rules applied 1096 place count 933 transition count 783
Performed 172 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 7 with 172 Pre rules applied. Total rules applied 1096 place count 933 transition count 611
Deduced a syphon composed of 172 places in 0 ms
Reduce places removed 172 places and 0 transitions.
Iterating global reduction 7 with 344 rules applied. Total rules applied 1440 place count 761 transition count 611
Applied a total of 1440 rules in 305 ms. Remains 761 /1604 variables (removed 843) and now considering 611/1209 (removed 598) transitions.
Finished structural reductions, in 1 iterations. Remains : 761/1604 places, 611/1209 transitions.
Finished random walk after 113 steps, including 0 resets, run visited all 1 properties in 2 ms. (steps per millisecond=56 )
FORMULA AutoFlight-PT-96b-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.
Total runtime 145090 ms.

BK_STOP 1654267541128

--------------------
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
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -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
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
++ sed s/.jar//
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination ReachabilityFireability -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="AutoFlight-PT-96b"
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-4028"
echo " Executing tool itstools"
echo " Input is AutoFlight-PT-96b, 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 r006-tajo-165245689400527"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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