fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r006-smll-158897516100471
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for AutoFlight-PT-12a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15741.230 23399.00 38530.00 279.00 FFTFFFFFFFTTFTFT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2020-input.r006-smll-158897516100471.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2020-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-12a, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r006-smll-158897516100471
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 276K
-rw-r--r-- 1 mcc users 4.7K Mar 25 23:23 CTLCardinality.txt
-rw-r--r-- 1 mcc users 29K Mar 25 23:23 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Mar 25 18:35 CTLFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 25 18:35 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 24 05:37 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.2K Mar 24 05:37 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.3K Apr 8 14:42 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Apr 28 14:00 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K Apr 8 14:42 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Apr 28 14:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.3K Mar 25 15:04 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 25 15:04 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Mar 25 10:47 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K Mar 25 10:47 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 25 17:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Mar 25 17:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 equiv_col
-rw-r--r-- 1 mcc users 4 Mar 24 05:37 instance
-rw-r--r-- 1 mcc users 6 Mar 24 05:37 iscolored
-rw-r--r-- 1 mcc users 85K Mar 24 05:37 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-12a-ReachabilityCardinality-00
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-01
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-02
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-03
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-04
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-05
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-06
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-07
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-08
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-09
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-10
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-11
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-12
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-13
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-14
FORMULA_NAME AutoFlight-PT-12a-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1589566536328

[2020-05-15 18:15:39] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-15 18:15:39] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-15 18:15:39] [INFO ] Load time of PNML (sax parser for PT used): 157 ms
[2020-05-15 18:15:39] [INFO ] Transformed 307 places.
[2020-05-15 18:15:39] [INFO ] Transformed 305 transitions.
[2020-05-15 18:15:39] [INFO ] Found NUPN structural information;
[2020-05-15 18:15:39] [INFO ] Parsed PT model containing 307 places and 305 transitions in 241 ms.
Ensure Unique test removed 60 transitions
Reduce redundant transitions removed 60 transitions.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 36 ms.
Working with output stream class java.io.PrintStream
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 198 resets, run finished after 228 ms. (steps per millisecond=43 ) properties seen :[0, 0, 0, 0, 0, 0, 1, 1, 0]
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 43 ms. (steps per millisecond=232 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 12 resets, run finished after 37 ms. (steps per millisecond=270 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 29 ms. (steps per millisecond=344 ) properties seen :[0, 0, 1, 0, 0, 0, 0]
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 29 ms. (steps per millisecond=344 ) properties seen :[0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 12 resets, run finished after 27 ms. (steps per millisecond=370 ) properties seen :[0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 29 ms. (steps per millisecond=344 ) properties seen :[0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 19 ms. (steps per millisecond=526 ) properties seen :[0, 0, 0, 0, 0, 0]
// Phase 1: matrix 245 rows 307 cols
[2020-05-15 18:15:40] [INFO ] Computed 76 place invariants in 16 ms
[2020-05-15 18:15:40] [INFO ] [Real]Absence check using 75 positive place invariants in 71 ms returned sat
[2020-05-15 18:15:40] [INFO ] [Real]Absence check using 75 positive and 1 generalized place invariants in 3 ms returned sat
[2020-05-15 18:15:40] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:40] [INFO ] [Real]Absence check using state equation in 386 ms returned sat
[2020-05-15 18:15:40] [INFO ] State equation strengthened by 60 read => feed constraints.
[2020-05-15 18:15:40] [INFO ] [Real]Added 60 Read/Feed constraints in 11 ms returned sat
[2020-05-15 18:15:40] [INFO ] Computed and/alt/rep : 244/892/244 causal constraints in 44 ms.
[2020-05-15 18:15:41] [INFO ] Solution in real domain found non-integer solution.
[2020-05-15 18:15:41] [INFO ] [Nat]Absence check using 75 positive place invariants in 79 ms returned sat
[2020-05-15 18:15:41] [INFO ] [Nat]Absence check using 75 positive and 1 generalized place invariants in 6 ms returned sat
[2020-05-15 18:15:41] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:41] [INFO ] [Nat]Absence check using state equation in 507 ms returned sat
[2020-05-15 18:15:41] [INFO ] [Nat]Added 60 Read/Feed constraints in 21 ms returned sat
[2020-05-15 18:15:41] [INFO ] Computed and/alt/rep : 244/892/244 causal constraints in 38 ms.
[2020-05-15 18:15:44] [INFO ] Added : 242 causal constraints over 49 iterations in 2447 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 37 ms.
[2020-05-15 18:15:44] [INFO ] [Real]Absence check using 75 positive place invariants in 66 ms returned sat
[2020-05-15 18:15:44] [INFO ] [Real]Absence check using 75 positive and 1 generalized place invariants in 4 ms returned sat
[2020-05-15 18:15:44] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:45] [INFO ] [Real]Absence check using state equation in 503 ms returned sat
[2020-05-15 18:15:45] [INFO ] Solution in real domain found non-integer solution.
[2020-05-15 18:15:45] [INFO ] [Nat]Absence check using 75 positive place invariants in 127 ms returned sat
[2020-05-15 18:15:45] [INFO ] [Nat]Absence check using 75 positive and 1 generalized place invariants in 5 ms returned sat
[2020-05-15 18:15:45] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:45] [INFO ] [Nat]Absence check using state equation in 397 ms returned sat
[2020-05-15 18:15:45] [INFO ] [Nat]Added 60 Read/Feed constraints in 30 ms returned sat
[2020-05-15 18:15:45] [INFO ] Computed and/alt/rep : 244/892/244 causal constraints in 29 ms.
[2020-05-15 18:15:47] [INFO ] Added : 182 causal constraints over 37 iterations in 1640 ms. Result :sat
[2020-05-15 18:15:47] [INFO ] Deduced a trap composed of 128 places in 213 ms
[2020-05-15 18:15:47] [INFO ] Deduced a trap composed of 69 places in 171 ms
[2020-05-15 18:15:48] [INFO ] Deduced a trap composed of 127 places in 158 ms
[2020-05-15 18:15:48] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 759 ms
Attempting to minimize the solution found.
Minimization took 24 ms.
[2020-05-15 18:15:48] [INFO ] [Real]Absence check using 75 positive place invariants in 61 ms returned sat
[2020-05-15 18:15:48] [INFO ] [Real]Absence check using 75 positive and 1 generalized place invariants in 4 ms returned sat
[2020-05-15 18:15:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:48] [INFO ] [Real]Absence check using state equation in 356 ms returned sat
[2020-05-15 18:15:48] [INFO ] Solution in real domain found non-integer solution.
[2020-05-15 18:15:48] [INFO ] [Nat]Absence check using 75 positive place invariants in 69 ms returned sat
[2020-05-15 18:15:48] [INFO ] [Nat]Absence check using 75 positive and 1 generalized place invariants in 3 ms returned sat
[2020-05-15 18:15:48] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:49] [INFO ] [Nat]Absence check using state equation in 480 ms returned sat
[2020-05-15 18:15:49] [INFO ] [Nat]Added 60 Read/Feed constraints in 11 ms returned sat
[2020-05-15 18:15:49] [INFO ] Computed and/alt/rep : 244/892/244 causal constraints in 29 ms.
[2020-05-15 18:15:51] [INFO ] Added : 228 causal constraints over 46 iterations in 2282 ms. Result :sat
[2020-05-15 18:15:51] [INFO ] Deduced a trap composed of 118 places in 146 ms
[2020-05-15 18:15:52] [INFO ] Deduced a trap composed of 120 places in 138 ms
[2020-05-15 18:15:52] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 446 ms
Attempting to minimize the solution found.
Minimization took 29 ms.
[2020-05-15 18:15:52] [INFO ] [Real]Absence check using 75 positive place invariants in 61 ms returned sat
[2020-05-15 18:15:52] [INFO ] [Real]Absence check using 75 positive and 1 generalized place invariants in 3 ms returned sat
[2020-05-15 18:15:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:52] [INFO ] [Real]Absence check using state equation in 522 ms returned sat
[2020-05-15 18:15:52] [INFO ] Solution in real domain found non-integer solution.
[2020-05-15 18:15:53] [INFO ] [Nat]Absence check using 75 positive place invariants in 66 ms returned sat
[2020-05-15 18:15:53] [INFO ] [Nat]Absence check using 75 positive and 1 generalized place invariants in 10 ms returned unsat
[2020-05-15 18:15:53] [INFO ] [Real]Absence check using 75 positive place invariants in 65 ms returned sat
[2020-05-15 18:15:53] [INFO ] [Real]Absence check using 75 positive and 1 generalized place invariants in 3 ms returned sat
[2020-05-15 18:15:53] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:53] [INFO ] [Real]Absence check using state equation in 485 ms returned sat
[2020-05-15 18:15:53] [INFO ] Solution in real domain found non-integer solution.
[2020-05-15 18:15:53] [INFO ] [Nat]Absence check using 75 positive place invariants in 63 ms returned sat
[2020-05-15 18:15:54] [INFO ] [Nat]Absence check using 75 positive and 1 generalized place invariants in 4 ms returned sat
[2020-05-15 18:15:54] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:54] [INFO ] [Nat]Absence check using state equation in 477 ms returned sat
[2020-05-15 18:15:54] [INFO ] [Nat]Added 60 Read/Feed constraints in 23 ms returned sat
[2020-05-15 18:15:54] [INFO ] Computed and/alt/rep : 244/892/244 causal constraints in 25 ms.
[2020-05-15 18:15:56] [INFO ] Added : 244 causal constraints over 49 iterations in 2015 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 35 ms.
[2020-05-15 18:15:56] [INFO ] [Real]Absence check using 75 positive place invariants in 62 ms returned sat
[2020-05-15 18:15:56] [INFO ] [Real]Absence check using 75 positive and 1 generalized place invariants in 5 ms returned sat
[2020-05-15 18:15:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-15 18:15:57] [INFO ] [Real]Absence check using state equation in 557 ms returned sat
[2020-05-15 18:15:57] [INFO ] Solution in real domain found non-integer solution.
[2020-05-15 18:15:57] [INFO ] [Nat]Absence check using 75 positive place invariants in 49 ms returned unsat
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-06 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Incomplete Parikh walk after 25300 steps, including 376 resets, run finished after 311 ms. (steps per millisecond=81 ) properties seen :[1, 1, 0, 1] could not realise parikh vector
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 23200 steps, including 497 resets, run finished after 212 ms. (steps per millisecond=109 ) properties seen :[0] could not realise parikh vector
Incomplete Parikh walk after 19900 steps, including 381 resets, run finished after 168 ms. (steps per millisecond=118 ) properties seen :[0] could not realise parikh vector
Incomplete Parikh walk after 24900 steps, including 363 resets, run finished after 214 ms. (steps per millisecond=116 ) properties seen :[0] could not realise parikh vector
Support contains 2 out of 307 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 307/307 places, 245/245 transitions.
Performed 32 Post agglomeration using F-continuation condition.Transition count delta: 32
Iterating post reduction 0 with 32 rules applied. Total rules applied 32 place count 307 transition count 213
Reduce places removed 32 places and 0 transitions.
Iterating post reduction 1 with 32 rules applied. Total rules applied 64 place count 275 transition count 213
Performed 13 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 13 Pre rules applied. Total rules applied 64 place count 275 transition count 200
Deduced a syphon composed of 13 places in 1 ms
Reduce places removed 13 places and 0 transitions.
Iterating global reduction 2 with 26 rules applied. Total rules applied 90 place count 262 transition count 200
Performed 24 Post agglomeration using F-continuation condition.Transition count delta: 24
Deduced a syphon composed of 24 places in 1 ms
Reduce places removed 24 places and 0 transitions.
Iterating global reduction 2 with 48 rules applied. Total rules applied 138 place count 238 transition count 176
Free-agglomeration rule applied 24 times.
Iterating global reduction 2 with 24 rules applied. Total rules applied 162 place count 238 transition count 152
Reduce places removed 24 places and 0 transitions.
Iterating post reduction 2 with 24 rules applied. Total rules applied 186 place count 214 transition count 152
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 3 with 1 rules applied. Total rules applied 187 place count 213 transition count 151
Reduce places removed 59 places and 0 transitions.
Performed 104 Post agglomeration using F-continuation condition.Transition count delta: 104
Iterating post reduction 3 with 163 rules applied. Total rules applied 350 place count 154 transition count 47
Reduce places removed 104 places and 0 transitions.
Iterating post reduction 4 with 104 rules applied. Total rules applied 454 place count 50 transition count 47
Performed 15 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 5 with 15 Pre rules applied. Total rules applied 454 place count 50 transition count 32
Deduced a syphon composed of 15 places in 0 ms
Reduce places removed 15 places and 0 transitions.
Iterating global reduction 5 with 30 rules applied. Total rules applied 484 place count 35 transition count 32
Applied a total of 484 rules in 227 ms. Remains 35 /307 variables (removed 272) and now considering 32/245 (removed 213) transitions.
Finished structural reductions, in 1 iterations. Remains : 35/307 places, 32/245 transitions.
Finished random walk after 2977 steps, including 0 resets, run visited all 1 properties in 16 ms. (steps per millisecond=186 )
FORMULA AutoFlight-PT-12a-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.

BK_STOP 1589566559727

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityCardinality -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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-12a"
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"

# 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-12a, 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 r006-smll-158897516100471"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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