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

About the Execution of LoLa+red for Planning-PT-none

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1045.128 10995.00 27084.00 271.60 TTFFTFTFFTTFTFTF 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.r295-tall-167873947800343.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool lolaxred
Input is Planning-PT-none, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r295-tall-167873947800343
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 508K
-rw-r--r-- 1 mcc users 7.2K Feb 26 15:18 CTLCardinality.txt
-rw-r--r-- 1 mcc users 83K Feb 26 15:18 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.9K Feb 26 15:16 CTLFireability.txt
-rw-r--r-- 1 mcc users 72K Feb 26 15:16 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.5K Feb 25 16:34 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 16:34 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Feb 25 16:34 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 16:34 LTLFireability.xml
-rw-r--r-- 1 mcc users 7.8K Feb 26 15:20 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 75K Feb 26 15:20 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.8K Feb 26 15:19 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 91K Feb 26 15:19 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:34 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:34 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 56K Mar 5 18:23 model.pnml
-rw-r--r-- 1 mcc users 1 Mar 5 18:23 unfinite

--------------------
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 Planning-PT-none-ReachabilityFireability-00
FORMULA_NAME Planning-PT-none-ReachabilityFireability-01
FORMULA_NAME Planning-PT-none-ReachabilityFireability-02
FORMULA_NAME Planning-PT-none-ReachabilityFireability-03
FORMULA_NAME Planning-PT-none-ReachabilityFireability-04
FORMULA_NAME Planning-PT-none-ReachabilityFireability-05
FORMULA_NAME Planning-PT-none-ReachabilityFireability-06
FORMULA_NAME Planning-PT-none-ReachabilityFireability-07
FORMULA_NAME Planning-PT-none-ReachabilityFireability-08
FORMULA_NAME Planning-PT-none-ReachabilityFireability-09
FORMULA_NAME Planning-PT-none-ReachabilityFireability-10
FORMULA_NAME Planning-PT-none-ReachabilityFireability-11
FORMULA_NAME Planning-PT-none-ReachabilityFireability-12
FORMULA_NAME Planning-PT-none-ReachabilityFireability-13
FORMULA_NAME Planning-PT-none-ReachabilityFireability-14
FORMULA_NAME Planning-PT-none-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1678828038140

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=lolaxred
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=Planning-PT-none
Applying reductions before tool lola
Invoking reducer
Running Version 202303021504
[2023-03-14 21:07:19] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -timeout, 360, -rebuildPNML]
[2023-03-14 21:07:19] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-14 21:07:19] [INFO ] Load time of PNML (sax parser for PT used): 41 ms
[2023-03-14 21:07:19] [INFO ] Transformed 126 places.
[2023-03-14 21:07:19] [INFO ] Transformed 128 transitions.
[2023-03-14 21:07:19] [INFO ] Parsed PT model containing 126 places and 128 transitions and 652 arcs in 100 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 12 ms.
Working with output stream class java.io.PrintStream
Reduce places removed 2 places and 0 transitions.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 482 ms. (steps per millisecond=20 ) properties (out of 16) seen :12
FORMULA Planning-PT-none-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-11 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-07 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Planning-PT-none-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 47 ms. (steps per millisecond=212 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 81 ms. (steps per millisecond=123 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 61 ms. (steps per millisecond=163 ) properties (out of 4) seen :1
FORMULA Planning-PT-none-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 30 ms. (steps per millisecond=333 ) properties (out of 3) seen :0
Running SMT prover for 3 properties.
[2023-03-14 21:07:20] [INFO ] Flow matrix only has 112 transitions (discarded 16 similar events)
// Phase 1: matrix 112 rows 124 cols
[2023-03-14 21:07:20] [INFO ] Computed 42 place invariants in 8 ms
[2023-03-14 21:07:20] [INFO ] [Real]Absence check using 36 positive place invariants in 14 ms returned sat
[2023-03-14 21:07:20] [INFO ] [Real]Absence check using 36 positive and 6 generalized place invariants in 1 ms returned sat
[2023-03-14 21:07:20] [INFO ] After 223ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:2
[2023-03-14 21:07:20] [INFO ] [Nat]Absence check using 36 positive place invariants in 5 ms returned sat
[2023-03-14 21:07:20] [INFO ] [Nat]Absence check using 36 positive and 6 generalized place invariants in 1 ms returned sat
[2023-03-14 21:07:20] [INFO ] After 53ms SMT Verify possible using state equation in natural domain returned unsat :2 sat :1
[2023-03-14 21:07:20] [INFO ] State equation strengthened by 32 read => feed constraints.
[2023-03-14 21:07:20] [INFO ] After 30ms SMT Verify possible using 32 Read/Feed constraints in natural domain returned unsat :2 sat :1
[2023-03-14 21:07:20] [INFO ] After 76ms SMT Verify possible using trap constraints in natural domain returned unsat :2 sat :1
Attempting to minimize the solution found.
Minimization took 33 ms.
[2023-03-14 21:07:20] [INFO ] After 244ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :1
FORMULA Planning-PT-none-ReachabilityFireability-15 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA Planning-PT-none-ReachabilityFireability-08 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 3 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 2 ms.
Support contains 35 out of 124 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 124/124 places, 128/128 transitions.
Graph (trivial) has 19 edges and 124 vertex of which 8 / 124 are part of one of the 4 SCC in 6 ms
Free SCC test removed 4 places
Drop transitions removed 8 transitions
Reduce isomorphic transitions removed 8 transitions.
Graph (complete) has 356 edges and 120 vertex of which 67 are kept as prefixes of interest. Removing 53 places using SCC suffix rule.4 ms
Discarding 53 places :
Also discarding 15 output transitions
Drop transitions removed 15 transitions
Drop transitions removed 20 transitions
Ensure Unique test removed 5 transitions
Reduce isomorphic transitions removed 25 transitions.
Iterating post reduction 0 with 25 rules applied. Total rules applied 27 place count 67 transition count 80
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 4 places and 0 transitions.
Iterating global reduction 1 with 6 rules applied. Total rules applied 33 place count 63 transition count 78
Applied a total of 33 rules in 42 ms. Remains 63 /124 variables (removed 61) and now considering 78/128 (removed 50) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 43 ms. Remains : 63/124 places, 78/128 transitions.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 49 ms. (steps per millisecond=204 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 1386925 steps, run timeout after 3001 ms. (steps per millisecond=462 ) properties seen :{}
Probabilistic random walk after 1386925 steps, saw 1308831 distinct states, run finished after 3002 ms. (steps per millisecond=462 ) properties seen :0
Running SMT prover for 1 properties.
[2023-03-14 21:07:24] [INFO ] Flow matrix only has 65 transitions (discarded 13 similar events)
// Phase 1: matrix 65 rows 63 cols
[2023-03-14 21:07:24] [INFO ] Computed 27 place invariants in 4 ms
[2023-03-14 21:07:24] [INFO ] [Real]Absence check using 26 positive place invariants in 4 ms returned sat
[2023-03-14 21:07:24] [INFO ] [Real]Absence check using 26 positive and 1 generalized place invariants in 1 ms returned sat
[2023-03-14 21:07:24] [INFO ] After 68ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-14 21:07:24] [INFO ] [Nat]Absence check using 26 positive place invariants in 3 ms returned sat
[2023-03-14 21:07:24] [INFO ] [Nat]Absence check using 26 positive and 1 generalized place invariants in 1 ms returned sat
[2023-03-14 21:07:24] [INFO ] After 36ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-14 21:07:24] [INFO ] State equation strengthened by 15 read => feed constraints.
[2023-03-14 21:07:24] [INFO ] After 15ms SMT Verify possible using 15 Read/Feed constraints in natural domain returned unsat :0 sat :1
[2023-03-14 21:07:24] [INFO ] After 32ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 16 ms.
[2023-03-14 21:07:24] [INFO ] After 129ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 0 ms.
Support contains 35 out of 63 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 63/63 places, 78/78 transitions.
Applied a total of 0 rules in 7 ms. Remains 63 /63 variables (removed 0) and now considering 78/78 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 7 ms. Remains : 63/63 places, 78/78 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 63/63 places, 78/78 transitions.
Applied a total of 0 rules in 6 ms. Remains 63 /63 variables (removed 0) and now considering 78/78 (removed 0) transitions.
[2023-03-14 21:07:24] [INFO ] Flow matrix only has 65 transitions (discarded 13 similar events)
[2023-03-14 21:07:24] [INFO ] Invariant cache hit.
[2023-03-14 21:07:24] [INFO ] Implicit Places using invariants in 47 ms returned []
[2023-03-14 21:07:24] [INFO ] Flow matrix only has 65 transitions (discarded 13 similar events)
[2023-03-14 21:07:24] [INFO ] Invariant cache hit.
[2023-03-14 21:07:24] [INFO ] State equation strengthened by 15 read => feed constraints.
[2023-03-14 21:07:24] [INFO ] Implicit Places using invariants and state equation in 59 ms returned []
Implicit Place search using SMT with State Equation took 108 ms to find 0 implicit places.
[2023-03-14 21:07:24] [INFO ] Redundant transitions in 1 ms returned []
[2023-03-14 21:07:24] [INFO ] Flow matrix only has 65 transitions (discarded 13 similar events)
[2023-03-14 21:07:24] [INFO ] Invariant cache hit.
[2023-03-14 21:07:24] [INFO ] Dead Transitions using invariants and state equation in 48 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 172 ms. Remains : 63/63 places, 78/78 transitions.
Graph (trivial) has 3 edges and 63 vertex of which 2 / 63 are part of one of the 1 SCC in 0 ms
Free SCC test removed 1 places
Drop transitions removed 3 transitions
Ensure Unique test removed 12 transitions
Reduce isomorphic transitions removed 15 transitions.
Graph (complete) has 89 edges and 62 vertex of which 59 are kept as prefixes of interest. Removing 3 places using SCC suffix rule.0 ms
Discarding 3 places :
Also discarding 0 output transitions
Reduce places removed 1 places and 0 transitions.
Drop transitions removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 0 with 4 rules applied. Total rules applied 6 place count 58 transition count 60
Drop transitions removed 4 transitions
Redundant transition composition rules discarded 4 transitions
Iterating global reduction 1 with 4 rules applied. Total rules applied 10 place count 58 transition count 56
Applied a total of 10 rules in 7 ms. Remains 58 /63 variables (removed 5) and now considering 56/78 (removed 22) transitions.
Running SMT prover for 1 properties.
// Phase 1: matrix 56 rows 58 cols
[2023-03-14 21:07:24] [INFO ] Computed 26 place invariants in 2 ms
[2023-03-14 21:07:24] [INFO ] [Real]Absence check using 25 positive place invariants in 3 ms returned sat
[2023-03-14 21:07:24] [INFO ] [Real]Absence check using 25 positive and 1 generalized place invariants in 1 ms returned sat
[2023-03-14 21:07:24] [INFO ] After 30ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-14 21:07:24] [INFO ] [Nat]Absence check using 25 positive place invariants in 6 ms returned sat
[2023-03-14 21:07:24] [INFO ] [Nat]Absence check using 25 positive and 1 generalized place invariants in 0 ms returned sat
[2023-03-14 21:07:24] [INFO ] After 26ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-14 21:07:24] [INFO ] After 41ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 17 ms.
[2023-03-14 21:07:24] [INFO ] After 98ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
[2023-03-14 21:07:24] [INFO ] Export to MCC of 1 properties in file /home/mcc/execution/ReachabilityFireability.sr.xml took 3 ms.
[2023-03-14 21:07:24] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 63 places, 78 transitions and 340 arcs took 2 ms.
[2023-03-14 21:07:24] [INFO ] Flatten gal took : 28 ms
Total runtime 5249 ms.
There are residual formulas that ITS could not solve within timeout
starting LoLA
BK_INPUT Planning-PT-none
BK_EXAMINATION: ReachabilityFireability
bin directory: /home/mcc/BenchKit/bin//../reducer/bin//../../lola/bin/
current directory: /home/mcc/execution/374
ReachabilityFireability

FORMULA Planning-PT-none-ReachabilityFireability-05 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

BK_STOP 1678828049135

--------------------
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//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityFireability -timeout 360 -rebuildPNML
lola: MEM LIMIT 32
lola: MEM LIMIT 5
lola: NET
lola: input: PNML file (--pnmlnet)
lola: reading net from /home/mcc/execution/374/model.pnml
lola: reading pnml
lola: PNML file contains place/transition net
lola: finished parsing
lola: closed net file /home/mcc/execution/374/model.pnml
lola: Reading formula.
lola: Using XML format (--xmlformula)
lola: reading XML formula
lola: reading formula from /home/mcc/execution/374/ReachabilityFireability.xml
lola: Rule S: 0 transitions removed,0 places removed
lola: Created skeleton in 0.000000 secs.
lola: rewrite Frontend/Parser/formula_rewrite.k:721
lola: rewrite Frontend/Parser/formula_rewrite.k:787
lola: rewrite Frontend/Parser/formula_rewrite.k:721
lola: rewrite Frontend/Parser/formula_rewrite.k:787
lola: rewrite Frontend/Parser/formula_rewrite.k:721
lola: rewrite Frontend/Parser/formula_rewrite.k:787
lola: rewrite Frontend/Parser/formula_rewrite.k:721
lola: rewrite Frontend/Parser/formula_rewrite.k:787
lola: LAUNCH task # 8 (type EXCL) for 0 Planning-PT-none-ReachabilityFireability-05
lola: time limit : 3600 sec
lola: memory limit: 32 pages
lola: LAUNCH task # 4 (type FNDP) for 0 Planning-PT-none-ReachabilityFireability-05
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 5 (type EQUN) for 0 Planning-PT-none-ReachabilityFireability-05
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: rewrite Frontend/Parser/formula_rewrite.k:721
lola: rewrite Frontend/Parser/formula_rewrite.k:787
lola: LAUNCH task # 7 (type SRCH) for 0 Planning-PT-none-ReachabilityFireability-05
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
sara: try reading problem file /home/mcc/execution/374/ReachabilityFireability-5.sara.
sara: place or transition ordering is non-deterministic
lola: CANCELED task # 7 (type SRCH) for Planning-PT-none-ReachabilityFireability-05 (memory limit exceeded)
lola: FINISHED task # 4 (type FNDP) for Planning-PT-none-ReachabilityFireability-05
lola: result : true
lola: fired transitions : 10000025
lola: tried executions : 11
lola: time used : 4.000000
lola: memory pages used : 0
lola: CANCELED task # 5 (type EQUN) for Planning-PT-none-ReachabilityFireability-05 (obsolete)
lola: CANCELED task # 8 (type EXCL) for Planning-PT-none-ReachabilityFireability-05 (obsolete)
lola: Portfolio finished: no open formulas

FINAL RESULTS
FINISHED FORMULA: CATEGORY VALUE PRODUCED BY
Planning-PT-none-ReachabilityFireability-05: AG false findpath


Time elapsed: 4 secs. Pages in use: 16

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="Planning-PT-none"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="lolaxred"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

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

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-5348"
echo " Executing tool lolaxred"
echo " Input is Planning-PT-none, 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 r295-tall-167873947800343"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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