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

About the Execution of LTSMin+red for AutoFlight-PT-05b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
275.012 99226.00 196251.00 43.30 T 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.r023-oct2-167813610400277.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.......................
=====================================================================
Generated by BenchKit 2-5348
Executing tool ltsminxred
Input is AutoFlight-PT-05b, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r023-oct2-167813610400277
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 548K
-rw-r--r-- 1 mcc users 6.0K Feb 25 18:08 CTLCardinality.txt
-rw-r--r-- 1 mcc users 63K Feb 25 18:08 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.6K Feb 25 18:08 CTLFireability.txt
-rw-r--r-- 1 mcc users 51K Feb 25 18:08 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 15:32 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 15:32 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 15:32 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 15:32 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 25 18:09 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 147K Feb 25 18:09 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 5.6K Feb 25 18:09 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 42K Feb 25 18:09 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 15:32 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 15:32 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 4 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 113K 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

FORMULA_NAME QuasiLiveness

=== Now, execution of the tool begins

BK_START 1678988084799

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=ltsminxred
BK_EXAMINATION=QuasiLiveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=AutoFlight-PT-05b
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-16 17:34:47] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -timeout, 180, -rebuildPNML]
[2023-03-16 17:34:47] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-16 17:34:47] [INFO ] Load time of PNML (sax parser for PT used): 71 ms
[2023-03-16 17:34:47] [INFO ] Transformed 482 places.
[2023-03-16 17:34:47] [INFO ] Transformed 480 transitions.
[2023-03-16 17:34:47] [INFO ] Found NUPN structural information;
[2023-03-16 17:34:47] [INFO ] Parsed PT model containing 482 places and 480 transitions and 1120 arcs in 166 ms.
Starting structural reductions in LIVENESS mode, iteration 0 : 482/482 places, 480/480 transitions.
Drop transitions removed 189 transitions
Trivial Post-agglo rules discarded 189 transitions
Performed 189 trivial Post agglomeration. Transition count delta: 189
Iterating post reduction 0 with 189 rules applied. Total rules applied 189 place count 482 transition count 291
Reduce places removed 189 places and 0 transitions.
Ensure Unique test removed 25 transitions
Reduce isomorphic transitions removed 25 transitions.
Drop transitions removed 10 transitions
Trivial Post-agglo rules discarded 10 transitions
Performed 10 trivial Post agglomeration. Transition count delta: 10
Iterating post reduction 1 with 224 rules applied. Total rules applied 413 place count 293 transition count 256
Reduce places removed 10 places and 0 transitions.
Iterating post reduction 2 with 10 rules applied. Total rules applied 423 place count 283 transition count 256
Performed 67 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 67 Pre rules applied. Total rules applied 423 place count 283 transition count 189
Deduced a syphon composed of 67 places in 1 ms
Reduce places removed 67 places and 0 transitions.
Iterating global reduction 3 with 134 rules applied. Total rules applied 557 place count 216 transition count 189
Performed 92 Post agglomeration using F-continuation condition.Transition count delta: 92
Deduced a syphon composed of 92 places in 0 ms
Reduce places removed 92 places and 0 transitions.
Iterating global reduction 3 with 184 rules applied. Total rules applied 741 place count 124 transition count 97
Applied a total of 741 rules in 46 ms. Remains 124 /482 variables (removed 358) and now considering 97/480 (removed 383) transitions.
// Phase 1: matrix 97 rows 124 cols
[2023-03-16 17:34:47] [INFO ] Computed 34 place invariants in 7 ms
[2023-03-16 17:34:47] [INFO ] Implicit Places using invariants in 445 ms returned [38, 41, 44, 47, 50, 123]
Discarding 6 places :
Implicit Place search using SMT only with invariants took 482 ms to find 6 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 118/482 places, 97/480 transitions.
Performed 5 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 5 Pre rules applied. Total rules applied 0 place count 118 transition count 92
Deduced a syphon composed of 5 places in 0 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 0 with 10 rules applied. Total rules applied 10 place count 113 transition count 92
Performed 7 Post agglomeration using F-continuation condition.Transition count delta: 7
Deduced a syphon composed of 7 places in 0 ms
Reduce places removed 7 places and 0 transitions.
Iterating global reduction 0 with 14 rules applied. Total rules applied 24 place count 106 transition count 85
Applied a total of 24 rules in 7 ms. Remains 106 /118 variables (removed 12) and now considering 85/97 (removed 12) transitions.
// Phase 1: matrix 85 rows 106 cols
[2023-03-16 17:34:47] [INFO ] Computed 28 place invariants in 3 ms
[2023-03-16 17:34:48] [INFO ] Implicit Places using invariants in 192 ms returned []
[2023-03-16 17:34:48] [INFO ] Invariant cache hit.
[2023-03-16 17:34:48] [INFO ] State equation strengthened by 25 read => feed constraints.
[2023-03-16 17:34:49] [INFO ] Implicit Places using invariants and state equation in 1542 ms returned []
Implicit Place search using SMT with State Equation took 1750 ms to find 0 implicit places.
Starting structural reductions in LIVENESS mode, iteration 2 : 106/482 places, 85/480 transitions.
Finished structural reductions in LIVENESS mode , in 2 iterations and 2286 ms. Remains : 106/482 places, 85/480 transitions.
Discarding 20 transitions out of 85. Remains 65
Initial state reduction rules removed 1 formulas.
Incomplete random walk after 10000 steps, including 458 resets, run finished after 438 ms. (steps per millisecond=22 ) properties (out of 64) seen :47
Incomplete Best-First random walk after 1001 steps, including 3 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 3 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 2 ms. (steps per millisecond=500 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1000 steps, including 3 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 3 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 3 resets, run finished after 2 ms. (steps per millisecond=500 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 3 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 17) seen :1
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 9 ms. (steps per millisecond=111 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 4 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 3 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 3 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Running SMT prover for 16 properties.
[2023-03-16 17:34:50] [INFO ] Invariant cache hit.
[2023-03-16 17:34:50] [INFO ] [Real]Absence check using 28 positive place invariants in 5 ms returned sat
[2023-03-16 17:34:50] [INFO ] After 260ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:16
[2023-03-16 17:34:50] [INFO ] [Nat]Absence check using 28 positive place invariants in 18 ms returned sat
[2023-03-16 17:34:50] [INFO ] After 174ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :16
[2023-03-16 17:34:50] [INFO ] State equation strengthened by 25 read => feed constraints.
[2023-03-16 17:34:51] [INFO ] After 153ms SMT Verify possible using 25 Read/Feed constraints in natural domain returned unsat :0 sat :16
[2023-03-16 17:34:51] [INFO ] Deduced a trap composed of 6 places in 30 ms of which 8 ms to minimize.
[2023-03-16 17:34:51] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 45 ms
[2023-03-16 17:34:51] [INFO ] Deduced a trap composed of 6 places in 299 ms of which 28 ms to minimize.
[2023-03-16 17:34:51] [INFO ] Deduced a trap composed of 6 places in 26 ms of which 1 ms to minimize.
[2023-03-16 17:34:51] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 352 ms
[2023-03-16 17:34:51] [INFO ] After 882ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :16
Attempting to minimize the solution found.
Minimization took 444 ms.
[2023-03-16 17:34:52] [INFO ] After 1710ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :16
Parikh walk visited 8 properties in 2146 ms.
Support contains 16 out of 106 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 106/106 places, 85/85 transitions.
Discarding 6 places :
Symmetric choice reduction at 0 with 6 rule applications. Total rules 6 place count 100 transition count 79
Iterating global reduction 0 with 6 rules applied. Total rules applied 12 place count 100 transition count 79
Free-agglomeration rule applied 10 times.
Iterating global reduction 0 with 10 rules applied. Total rules applied 22 place count 100 transition count 69
Reduce places removed 10 places and 0 transitions.
Iterating post reduction 0 with 10 rules applied. Total rules applied 32 place count 90 transition count 69
Applied a total of 32 rules in 17 ms. Remains 90 /106 variables (removed 16) and now considering 69/85 (removed 16) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 17 ms. Remains : 90/106 places, 69/85 transitions.
Incomplete random walk after 1000000 steps, including 40203 resets, run finished after 19432 ms. (steps per millisecond=51 ) properties (out of 8) seen :3
Incomplete Best-First random walk after 1000001 steps, including 8485 resets, run finished after 4305 ms. (steps per millisecond=232 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 1000001 steps, including 6678 resets, run finished after 3330 ms. (steps per millisecond=300 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 1000001 steps, including 6661 resets, run finished after 3073 ms. (steps per millisecond=325 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 1000001 steps, including 6707 resets, run finished after 2860 ms. (steps per millisecond=349 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 1000001 steps, including 6662 resets, run finished after 3689 ms. (steps per millisecond=271 ) properties (out of 5) seen :0
Running SMT prover for 5 properties.
// Phase 1: matrix 69 rows 90 cols
[2023-03-16 17:35:31] [INFO ] Computed 28 place invariants in 3 ms
[2023-03-16 17:35:31] [INFO ] [Real]Absence check using 28 positive place invariants in 5 ms returned sat
[2023-03-16 17:35:31] [INFO ] After 402ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:5
[2023-03-16 17:35:31] [INFO ] [Nat]Absence check using 28 positive place invariants in 7 ms returned sat
[2023-03-16 17:35:31] [INFO ] After 106ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :5
[2023-03-16 17:35:31] [INFO ] State equation strengthened by 35 read => feed constraints.
[2023-03-16 17:35:31] [INFO ] After 69ms SMT Verify possible using 35 Read/Feed constraints in natural domain returned unsat :0 sat :5
[2023-03-16 17:35:32] [INFO ] After 354ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :5
Attempting to minimize the solution found.
Minimization took 145 ms.
[2023-03-16 17:35:32] [INFO ] After 710ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :5
Parikh walk visited 0 properties in 581 ms.
Support contains 10 out of 90 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 90/90 places, 69/69 transitions.
Free-agglomeration rule applied 2 times.
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 90 transition count 67
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 4 place count 88 transition count 67
Applied a total of 4 rules in 6 ms. Remains 88 /90 variables (removed 2) and now considering 67/69 (removed 2) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 6 ms. Remains : 88/90 places, 67/69 transitions.
Incomplete random walk after 1000000 steps, including 39995 resets, run finished after 15932 ms. (steps per millisecond=62 ) properties (out of 5) seen :1
Interrupted Best-First random walk after 873701 steps, including 8730 resets, run timeout after 5001 ms. (steps per millisecond=174 ) properties seen 0
Incomplete Best-First random walk after 1000001 steps, including 7259 resets, run finished after 3613 ms. (steps per millisecond=276 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 1000001 steps, including 7274 resets, run finished after 4175 ms. (steps per millisecond=239 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 1000000 steps, including 7229 resets, run finished after 4243 ms. (steps per millisecond=235 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
// Phase 1: matrix 67 rows 88 cols
[2023-03-16 17:36:05] [INFO ] Computed 28 place invariants in 1 ms
[2023-03-16 17:36:05] [INFO ] [Real]Absence check using 28 positive place invariants in 4 ms returned sat
[2023-03-16 17:36:05] [INFO ] After 89ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:4
[2023-03-16 17:36:05] [INFO ] [Nat]Absence check using 28 positive place invariants in 8 ms returned sat
[2023-03-16 17:36:05] [INFO ] After 60ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :4
[2023-03-16 17:36:05] [INFO ] State equation strengthened by 37 read => feed constraints.
[2023-03-16 17:36:06] [INFO ] After 47ms SMT Verify possible using 37 Read/Feed constraints in natural domain returned unsat :0 sat :4
[2023-03-16 17:36:06] [INFO ] After 163ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :4
Attempting to minimize the solution found.
Minimization took 30 ms.
[2023-03-16 17:36:06] [INFO ] After 339ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :4
Parikh walk visited 0 properties in 281 ms.
Support contains 8 out of 88 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 88/88 places, 67/67 transitions.
Free-agglomeration rule applied 2 times.
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 88 transition count 65
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 4 place count 86 transition count 65
Applied a total of 4 rules in 6 ms. Remains 86 /88 variables (removed 2) and now considering 65/67 (removed 2) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 6 ms. Remains : 86/88 places, 65/67 transitions.
Incomplete random walk after 1000000 steps, including 40079 resets, run finished after 10962 ms. (steps per millisecond=91 ) properties (out of 4) seen :2
Incomplete Best-First random walk after 1000001 steps, including 11671 resets, run finished after 3347 ms. (steps per millisecond=298 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 1000001 steps, including 7806 resets, run finished after 2563 ms. (steps per millisecond=390 ) properties (out of 2) seen :0
Running SMT prover for 2 properties.
// Phase 1: matrix 65 rows 86 cols
[2023-03-16 17:36:23] [INFO ] Computed 28 place invariants in 2 ms
[2023-03-16 17:36:23] [INFO ] [Real]Absence check using 28 positive place invariants in 5 ms returned sat
[2023-03-16 17:36:23] [INFO ] After 81ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2023-03-16 17:36:23] [INFO ] [Nat]Absence check using 28 positive place invariants in 11 ms returned sat
[2023-03-16 17:36:23] [INFO ] After 44ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2023-03-16 17:36:23] [INFO ] State equation strengthened by 39 read => feed constraints.
[2023-03-16 17:36:23] [INFO ] After 18ms SMT Verify possible using 39 Read/Feed constraints in natural domain returned unsat :0 sat :2
[2023-03-16 17:36:23] [INFO ] After 57ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :2
Attempting to minimize the solution found.
Minimization took 21 ms.
[2023-03-16 17:36:23] [INFO ] After 185ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :2
Parikh walk visited 0 properties in 109 ms.
Support contains 4 out of 86 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 86/86 places, 65/65 transitions.
Free-agglomeration rule applied 4 times.
Iterating global reduction 0 with 4 rules applied. Total rules applied 4 place count 86 transition count 61
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 0 with 4 rules applied. Total rules applied 8 place count 82 transition count 61
Applied a total of 8 rules in 6 ms. Remains 82 /86 variables (removed 4) and now considering 61/65 (removed 4) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 6 ms. Remains : 82/86 places, 61/65 transitions.
Finished random walk after 1894 steps, including 78 resets, run visited all 2 properties in 16 ms. (steps per millisecond=118 )
Able to resolve query QuasiLiveness after proving 65 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PARIKH_WALK BESTFIRST_WALK TOPOLOGICAL INITIAL_STATE
Total runtime 96552 ms.
ITS solved all properties within timeout

BK_STOP 1678988184025

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

+ 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//
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
++ perl -pe 's/.*\.//g'
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination QuasiLiveness -timeout 180 -rebuildPNML

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-05b"
export BK_EXAMINATION="QuasiLiveness"
export BK_TOOL="ltsminxred"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
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 ltsminxred"
echo " Input is AutoFlight-PT-05b, examination is QuasiLiveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r023-oct2-167813610400277"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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