fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r158-smll-171636265900007
Last Updated
July 7, 2024

About the Execution of ITS-Tools for EGFr-PT-02010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
273.071 5455.00 12370.00 189.30 FFFFFFFFFTTTTFFF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r158-smll-171636265900007.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5568
Executing tool itstools
Input is EGFr-PT-02010, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r158-smll-171636265900007
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 664K
-rw-r--r-- 1 mcc users 12K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 106K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 12K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 54K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:42 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K May 18 16:42 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.4K Apr 22 14:42 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Apr 22 14:42 LTLCardinality.xml
-rw-r--r-- 1 mcc users 5.9K Apr 22 14:42 LTLFireability.txt
-rw-r--r-- 1 mcc users 22K Apr 22 14:42 LTLFireability.xml
-rw-r--r-- 1 mcc users 21K Apr 11 15:38 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 184K Apr 11 15:38 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 21K Apr 11 15:27 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 79K Apr 11 15:27 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Apr 22 14:42 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Apr 22 14:42 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:42 equiv_col
-rw-r--r-- 1 mcc users 6 May 18 16:42 instance
-rw-r--r-- 1 mcc users 6 May 18 16:42 iscolored
-rw-r--r-- 1 mcc users 59K May 18 16:42 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 EGFr-PT-02010-ReachabilityFireability-2024-00
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-01
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-02
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-03
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-04
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-05
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-06
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-07
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-08
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-09
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-10
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-11
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-12
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-13
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-14
FORMULA_NAME EGFr-PT-02010-ReachabilityFireability-2024-15

=== Now, execution of the tool begins

BK_START 1716402972927

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=EGFr-PT-02010
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
ReachabilityFireability PT
Running Version 202405141337
[2024-05-22 18:36:15] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2024-05-22 18:36:15] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-22 18:36:15] [INFO ] Load time of PNML (sax parser for PT used): 116 ms
[2024-05-22 18:36:15] [INFO ] Transformed 40 places.
[2024-05-22 18:36:15] [INFO ] Transformed 68 transitions.
[2024-05-22 18:36:15] [INFO ] Found NUPN structural information;
[2024-05-22 18:36:15] [INFO ] Parsed PT model containing 40 places and 68 transitions and 338 arcs in 500 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 35 ms.
Working with output stream class java.io.PrintStream
[2024-05-22 18:36:17] [INFO ] Flatten gal took : 117 ms
[2024-05-22 18:36:17] [INFO ] Flatten gal took : 56 ms
[2024-05-22 18:36:17] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality14359057211420067870.gal : 19 ms
[2024-05-22 18:36:17] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality14589699182921491296.prop : 11 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality14359057211420067870.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality14589699182921491296.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...330
Loading property file /tmp/ReachabilityCardinality14589699182921491296.prop.
RANDOM walk for 40000 steps (1794 resets) in 3511 ms. (11 steps per ms) remains 16/16 properties
SDD proceeding with computation,16 properties remain. new max is 4
SDD size :1 after 9
SDD proceeding with computation,16 properties remain. new max is 8
SDD size :9 after 33
SDD proceeding with computation,16 properties remain. new max is 16
SDD size :33 after 155
BEST_FIRST walk for 4003 steps (44 resets) in 107 ms. (37 steps per ms) remains 16/16 properties
SDD proceeding with computation,16 properties remain. new max is 32
SDD size :155 after 539
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,4200,0.082893,4340,2,155,9,1781,22,0,497,706,0
Total reachable state count : 4200

Verifying 16 reachability properties.
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-00 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-00 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-00

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-00,0,0.083771,4340,1,0,9,1781,22,0,502,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-01 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-01 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-01

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-01,0,0.084621,4340,1,0,9,1781,22,0,507,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-02 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-02 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-02

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-02,0,0.085101,4340,1,0,9,1781,22,0,510,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-03 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-03 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-03

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-03,0,0.085451,4340,1,0,9,1781,22,0,511,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-04 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-04 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-04

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-04,0,0.091178,4340,1,0,9,1781,22,0,550,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-05 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-05

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-05,0,0.095899,4340,1,0,9,1781,22,0,566,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-06 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-06 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-06

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-06,0,0.102448,4340,1,0,9,1781,22,0,598,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-07 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-07

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-07,0,0.103181,4340,1,0,9,1781,22,0,599,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-08 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-08 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-08

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-08,0,0.103768,4340,1,0,9,1781,22,0,600,706,0
Invariant property EGFr-PT-02010-ReachabilityFireability-2024-09 is true.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-09 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-09,0,0.105905,4340,1,0,9,1781,22,0,614,706,0
Invariant property EGFr-PT-02010-ReachabilityFireability-2024-10 is true.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-10 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-10,0,0.112435,4340,1,0,9,1781,22,0,645,706,0
Invariant property EGFr-PT-02010-ReachabilityFireability-2024-11 is true.
BEST_FIRST walk for 4003 steps (46 resets) in 161 ms. (24 steps per ms) remains 16/16 properties
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-11 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-11,0,0.114995,4340,1,0,9,1781,22,0,651,706,0
Invariant property EGFr-PT-02010-ReachabilityFireability-2024-12 is true.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-12,0,0.117695,4340,1,0,9,1781,22,0,663,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-13 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-13 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-13

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-13,0,0.118068,4340,1,0,9,1781,22,0,663,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-14 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-14

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-14,0,0.121444,4340,1,0,9,1781,22,0,689,706,0
Reachability property EGFr-PT-02010-ReachabilityFireability-2024-15 does not hold.
FORMULA EGFr-PT-02010-ReachabilityFireability-2024-15 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : EGFr-PT-02010-ReachabilityFireability-2024-15

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
EGFr-PT-02010-ReachabilityFireability-2024-15,0,0.125105,4340,1,0,9,1781,22,0,701,706,0
BEST_FIRST walk for 4003 steps (40 resets) in 77 ms. (51 steps per ms) remains 16/16 properties
ITS tools runner thread asked to quit. Dying gracefully.
BEST_FIRST walk for 4003 steps (44 resets) in 63 ms. (62 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4001 steps (41 resets) in 136 ms. (29 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4004 steps (44 resets) in 69 ms. (57 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4003 steps (44 resets) in 33 ms. (117 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4002 steps (44 resets) in 38 ms. (102 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4003 steps (44 resets) in 32 ms. (121 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4004 steps (52 resets) in 52 ms. (75 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4004 steps (40 resets) in 214 ms. (18 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4002 steps (45 resets) in 80 ms. (49 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4003 steps (37 resets) in 107 ms. (37 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4002 steps (39 resets) in 35 ms. (111 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4003 steps (48 resets) in 77 ms. (51 steps per ms) remains 16/16 properties
BEST_FIRST walk for 4004 steps (37 resets) in 123 ms. (32 steps per ms) remains 16/16 properties
Probably explored full state space saw : 4200 states, properties seen :0
Probabilistic random walk after 24397 steps, saw 4200 distinct states, run finished after 257 ms. (steps per millisecond=94 ) properties seen :0
Explored full state space saw : 4200 states, properties seen :0
Exhaustive walk after 24397 steps, saw 4200 distinct states, run finished after 141 ms. (steps per millisecond=173 ) properties seen :0
All properties solved without resorting to model-checking.
Total runtime 2844 ms.

BK_STOP 1716402978382

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

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

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-5568"
echo " Executing tool itstools"
echo " Input is EGFr-PT-02010, 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 r158-smll-171636265900007"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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