fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r007-tall-162037990000406
Last Updated
Jun 28, 2021

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
229.575 4274.00 7995.00 251.70 TFFFFFFFFTTTFFTT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2021-input.r007-tall-162037990000406.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-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-03a, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r007-tall-162037990000406
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 352K
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 119K May 5 16:58 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.7K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 59K May 5 16:58 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.6K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.0K Mar 28 15:44 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Mar 28 15:44 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K Mar 28 15:44 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 28 15:44 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.3K Mar 23 01:46 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Mar 23 01:46 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Mar 22 10:15 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 22 10:15 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 22 09:09 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Mar 22 09:09 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 4 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 23K May 5 16:51 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-03a-ReachabilityCardinality-00
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-01
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-02
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-03
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-04
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-05
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-06
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-07
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-08
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-09
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-10
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-11
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-12
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-13
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-14
FORMULA_NAME AutoFlight-PT-03a-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1620467111978

Running Version 0
[2021-05-08 09:45:13] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2021-05-08 09:45:13] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-08 09:45:13] [INFO ] Load time of PNML (sax parser for PT used): 36 ms
[2021-05-08 09:45:13] [INFO ] Transformed 82 places.
[2021-05-08 09:45:13] [INFO ] Transformed 80 transitions.
[2021-05-08 09:45:13] [INFO ] Found NUPN structural information;
[2021-05-08 09:45:13] [INFO ] Parsed PT model containing 82 places and 80 transitions in 73 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 9 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 15 transitions
Reduce redundant transitions removed 15 transitions.
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 382 resets, run finished after 77 ms. (steps per millisecond=129 ) properties (out of 12) seen :3
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 86 resets, run finished after 22 ms. (steps per millisecond=454 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 79 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 9) seen :1
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 112 resets, run finished after 18 ms. (steps per millisecond=555 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 90 resets, run finished after 25 ms. (steps per millisecond=400 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 86 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 111 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 78 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 83 resets, run finished after 14 ms. (steps per millisecond=714 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 89 resets, run finished after 12 ms. (steps per millisecond=833 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
// Phase 1: matrix 65 rows 82 cols
[2021-05-08 09:45:13] [INFO ] Computed 22 place invariants in 7 ms
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive place invariants in 9 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive and 1 generalized place invariants in 12 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using state equation in 30 ms returned sat
[2021-05-08 09:45:14] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 09:45:14] [INFO ] [Nat]Absence check using 21 positive place invariants in 10 ms returned unsat
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive place invariants in 5 ms returned unsat
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive place invariants in 3 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive and 1 generalized place invariants in 1 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using state equation in 33 ms returned sat
[2021-05-08 09:45:14] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive place invariants in 4 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive and 1 generalized place invariants in 1 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using state equation in 23 ms returned sat
[2021-05-08 09:45:14] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive place invariants in 3 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive and 1 generalized place invariants in 0 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using state equation in 18 ms returned sat
[2021-05-08 09:45:14] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive place invariants in 4 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive and 1 generalized place invariants in 1 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using state equation in 19 ms returned sat
[2021-05-08 09:45:14] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 09:45:14] [INFO ] [Nat]Absence check using 21 positive place invariants in 5 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Nat]Absence check using 21 positive and 1 generalized place invariants in 0 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-08 09:45:14] [INFO ] [Nat]Absence check using state equation in 17 ms returned sat
[2021-05-08 09:45:14] [INFO ] State equation strengthened by 15 read => feed constraints.
[2021-05-08 09:45:14] [INFO ] [Nat]Added 15 Read/Feed constraints in 2 ms returned sat
[2021-05-08 09:45:14] [INFO ] Deduced a trap composed of 33 places in 43 ms of which 6 ms to minimize.
[2021-05-08 09:45:14] [INFO ] Deduced a trap composed of 34 places in 39 ms of which 1 ms to minimize.
[2021-05-08 09:45:14] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 100 ms
[2021-05-08 09:45:14] [INFO ] Computed and/alt/rep : 64/181/64 causal constraints (skipped 0 transitions) in 5 ms.
[2021-05-08 09:45:14] [INFO ] Deduced a trap composed of 35 places in 17 ms of which 1 ms to minimize.
[2021-05-08 09:45:14] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 28 ms
[2021-05-08 09:45:14] [INFO ] Added : 62 causal constraints over 13 iterations in 139 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive place invariants in 4 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive and 1 generalized place invariants in 2 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using state equation in 17 ms returned sat
[2021-05-08 09:45:14] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive place invariants in 7 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using 21 positive and 1 generalized place invariants in 1 ms returned sat
[2021-05-08 09:45:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 09:45:14] [INFO ] [Real]Absence check using state equation in 16 ms returned sat
[2021-05-08 09:45:14] [INFO ] Solution in real domain found non-integer solution.
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-14 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-07 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 8 Parikh solutions to 1 different solutions.
Incomplete Parikh walk after 6200 steps, including 286 resets, run finished after 29 ms. (steps per millisecond=213 ) properties (out of 1) seen :0 could not realise parikh vector
Support contains 5 out of 82 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 82/82 places, 65/65 transitions.
Drop transitions removed 4 transitions
Trivial Post-agglo rules discarded 4 transitions
Performed 4 trivial Post agglomeration. Transition count delta: 4
Iterating post reduction 0 with 4 rules applied. Total rules applied 4 place count 82 transition count 61
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 1 with 4 rules applied. Total rules applied 8 place count 78 transition count 61
Performed 5 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 5 Pre rules applied. Total rules applied 8 place count 78 transition count 56
Deduced a syphon composed of 5 places in 0 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 2 with 10 rules applied. Total rules applied 18 place count 73 transition count 56
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: 5
Deduced a syphon composed of 5 places in 1 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 2 with 10 rules applied. Total rules applied 28 place count 68 transition count 51
Free-agglomeration rule applied 6 times.
Iterating global reduction 2 with 6 rules applied. Total rules applied 34 place count 68 transition count 45
Reduce places removed 6 places and 0 transitions.
Iterating post reduction 2 with 6 rules applied. Total rules applied 40 place count 62 transition count 45
Applied a total of 40 rules in 27 ms. Remains 62 /82 variables (removed 20) and now considering 45/65 (removed 20) transitions.
Finished structural reductions, in 1 iterations. Remains : 62/82 places, 45/65 transitions.
[2021-05-08 09:45:15] [INFO ] Flatten gal took : 27 ms
[2021-05-08 09:45:15] [INFO ] Flatten gal took : 7 ms
[2021-05-08 09:45:15] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality9024921621467113056.gal : 6 ms
[2021-05-08 09:45:15] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality704402839868241114.prop : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality9024921621467113056.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality704402839868241114.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality9024921621467113056.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality704402839868241114.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality704402839868241114.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 7
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :7 after 10
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :10 after 15
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :15 after 23
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :23 after 33
Invariant property AutoFlight-PT-03a-ReachabilityCardinality-13 does not hold.
FORMULA AutoFlight-PT-03a-ReachabilityCardinality-13 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Found states matching all0 target predicate
Will report total states built up to this point. Computation was interrupted after 65 fixpoint passes
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst,59,0.019244,4048,2,310,11,1710,6,0,267,900,0
Total reachable state count : 59

Verifying 1 reachability properties.
Invariant property AutoFlight-PT-03a-ReachabilityCardinality-13 does not hold.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
AutoFlight-PT-03a-ReachabilityCardinality-13,1,0.020116,4420,2,63,11,1710,7,0,281,900,0
All properties solved without resorting to model-checking.

BK_STOP 1620467116252

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityCardinality -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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-03a"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-4028"
echo " Executing tool itstools"
echo " Input is AutoFlight-PT-03a, 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 r007-tall-162037990000406"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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