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

About the Execution of ITS-Tools for LeafsetExtension-PT-S08C2

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
384.168 7735.00 15386.00 805.90 TTTTTFTTTFFTFTTT 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.r229-tall-167856413300455.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 itstools
Input is LeafsetExtension-PT-S08C2, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r229-tall-167856413300455
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.2M
-rw-r--r-- 1 mcc users 13K Feb 25 16:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 86K Feb 25 16:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 10K Feb 25 16:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 57K Feb 25 16:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 5.8K Feb 25 16:20 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K Feb 25 16:20 LTLCardinality.xml
-rw-r--r-- 1 mcc users 4.0K Feb 25 16:20 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:20 LTLFireability.xml
-rw-r--r-- 1 mcc users 21K Feb 25 16:55 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 135K Feb 25 16:55 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 14K Feb 25 16:55 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 63K Feb 25 16:55 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 16:20 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.2K Feb 25 16:20 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 647K 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

here is the order used to build the result vector(from text file)
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-00
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-01
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-02
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-03
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-04
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-05
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-06
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-07
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-08
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-09
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-10
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-11
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-12
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-13
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-14
FORMULA_NAME LeafsetExtension-PT-S08C2-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1679489637907

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=itstools
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=LeafsetExtension-PT-S08C2
Not applying reductions.
Model is PT
ReachabilityFireability PT
Running Version 202303021504
[2023-03-22 12:53:59] [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]
[2023-03-22 12:53:59] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-22 12:53:59] [INFO ] Load time of PNML (sax parser for PT used): 77 ms
[2023-03-22 12:53:59] [INFO ] Transformed 462 places.
[2023-03-22 12:53:59] [INFO ] Transformed 409 transitions.
[2023-03-22 12:53:59] [INFO ] Parsed PT model containing 462 places and 409 transitions and 1324 arcs in 136 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 8 ms.
Working with output stream class java.io.PrintStream
Initial state reduction rules removed 1 formulas.
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-22 12:53:59] [INFO ] Flatten gal took : 89 ms
[2023-03-22 12:53:59] [INFO ] Flatten gal took : 33 ms
[2023-03-22 12:53:59] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality12826510912317378217.gal : 20 ms
[2023-03-22 12:53:59] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality1599773758372034369.prop : 4 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.202303021504/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality12826510912317378217.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality1599773758372034369.prop' '--nowitness' '--gen-order' 'FOLLOW'
Incomplete random walk after 10000 steps, including 541 resets, run finished after 530 ms. (steps per millisecond=18 ) properties (out of 15) seen :7
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-12 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
Loading property file /tmp/ReachabilityCardinality1599773758372034369.prop.
Incomplete Best-First random walk after 10001 steps, including 114 resets, run finished after 75 ms. (steps per millisecond=133 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 120 resets, run finished after 70 ms. (steps per millisecond=142 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 124 resets, run finished after 57 ms. (steps per millisecond=175 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 113 resets, run finished after 59 ms. (steps per millisecond=169 ) properties (out of 8) seen :0
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-14 is true.
SDD proceeding with computation,14 properties remain. new max is 2
SDD size :1 after 8
SDD proceeding with computation,14 properties remain. new max is 4
SDD size :8 after 10
SDD proceeding with computation,14 properties remain. new max is 8
SDD size :10 after 11
SDD proceeding with computation,14 properties remain. new max is 16
SDD size :11 after 12
SDD proceeding with computation,14 properties remain. new max is 32
SDD size :12 after 13
SDD proceeding with computation,14 properties remain. new max is 64
SDD size :13 after 20
SDD proceeding with computation,14 properties remain. new max is 128
SDD size :20 after 21
Incomplete Best-First random walk after 10001 steps, including 135 resets, run finished after 92 ms. (steps per millisecond=108 ) properties (out of 8) seen :1
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
SDD proceeding with computation,14 properties remain. new max is 256
SDD size :21 after 29
Invariant property LeafsetExtension-PT-S08C2-ReachabilityFireability-05 does not hold.
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-02 is true.
SDD proceeding with computation,12 properties remain. new max is 256
SDD size :29 after 45
SDD proceeding with computation,12 properties remain. new max is 512
SDD size :45 after 61
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-15 is true.
SDD proceeding with computation,11 properties remain. new max is 512
SDD size :61 after 94
Incomplete Best-First random walk after 10001 steps, including 114 resets, run finished after 86 ms. (steps per millisecond=116 ) properties (out of 7) seen :0
SDD proceeding with computation,11 properties remain. new max is 1024
SDD size :94 after 126
Incomplete Best-First random walk after 10001 steps, including 103 resets, run finished after 44 ms. (steps per millisecond=227 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 115 resets, run finished after 57 ms. (steps per millisecond=175 ) properties (out of 7) seen :0
SDD proceeding with computation,11 properties remain. new max is 2048
SDD size :126 after 1198
Running SMT prover for 7 properties.
// Phase 1: matrix 409 rows 462 cols
[2023-03-22 12:54:00] [INFO ] Computed 53 place invariants in 24 ms
SDD proceeding with computation,11 properties remain. new max is 4096
SDD size :1198 after 2629
[2023-03-22 12:54:00] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned sat
[2023-03-22 12:54:00] [INFO ] [Real]Absence check using 11 positive and 42 generalized place invariants in 18 ms returned sat
SDD proceeding with computation,11 properties remain. new max is 8192
SDD size :2629 after 5278
[2023-03-22 12:54:01] [INFO ] After 161ms SMT Verify possible using state equation in real domain returned unsat :2 sat :2 real:3
[2023-03-22 12:54:01] [INFO ] After 231ms SMT Verify possible using trap constraints in real domain returned unsat :2 sat :2 real:3
Attempting to minimize the solution found.
Minimization took 58 ms.
[2023-03-22 12:54:01] [INFO ] After 577ms SMT Verify possible using all constraints in real domain returned unsat :2 sat :2 real:3
[2023-03-22 12:54:01] [INFO ] [Nat]Absence check using 11 positive place invariants in 2 ms returned sat
[2023-03-22 12:54:01] [INFO ] [Nat]Absence check using 11 positive and 42 generalized place invariants in 17 ms returned sat
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-07 is true.
SDD proceeding with computation,10 properties remain. new max is 8192
SDD size :5278 after 12093
[2023-03-22 12:54:01] [INFO ] After 208ms SMT Verify possible using state equation in natural domain returned unsat :3 sat :4
[2023-03-22 12:54:01] [INFO ] After 340ms SMT Verify possible using trap constraints in natural domain returned unsat :3 sat :4
Attempting to minimize the solution found.
Minimization took 127 ms.
[2023-03-22 12:54:01] [INFO ] After 638ms SMT Verify possible using all constraints in natural domain returned unsat :3 sat :4
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-10 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-03 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 7 Parikh solutions to 4 different solutions.
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-01 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-09 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Finished Parikh walk after 9 steps, including 0 resets, run visited all 1 properties in 1 ms. (steps per millisecond=9 )
FORMULA LeafsetExtension-PT-S08C2-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 4 properties in 8 ms.
ITS runner failed with exception null
java.lang.InterruptedException
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Thread.join(Thread.java:1304)
at java.base/java.lang.Thread.join(Thread.java:1372)
at fr.lip6.move.gal.application.runner.AbstractRunner.join(AbstractRunner.java:27)
at fr.lip6.move.gal.application.runner.its.ITSRunner.join(ITSRunner.java:177)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.verifyWithSDD(GlobalPropertySolver.java:675)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.lambda$2(ReachabilitySolver.java:63)
at java.base/java.lang.Thread.run(Thread.java:833)
All properties solved without resorting to model-checking.
Total runtime 2590 ms.
SDD proceeding with computation,10 properties remain. new max is 16384
SDD size :12093 after 18091
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-06 is true.
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-01 is true.
SDD proceeding with computation,8 properties remain. new max is 16384
SDD size :18091 after 35578
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,172248,5.11691,157220,2,55689,29,524504,14,0,2100,649624,0
Total reachable state count : 172248

Verifying 15 reachability properties.
Invariant property LeafsetExtension-PT-S08C2-ReachabilityFireability-00 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LeafsetExtension-PT-S08C2-ReachabilityFireability-00,0,5.14612,157220,1,0,29,524504,14,0,2117,649624,0
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-01 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LeafsetExtension-PT-S08C2-ReachabilityFireability-01,1,5.1504,157220,2,463,29,524504,15,0,2135,649624,0
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-02 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LeafsetExtension-PT-S08C2-ReachabilityFireability-02,2,5.15676,157220,2,465,29,524504,16,0,2201,649624,0
Invariant property LeafsetExtension-PT-S08C2-ReachabilityFireability-03 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LeafsetExtension-PT-S08C2-ReachabilityFireability-03,0,5.17206,157220,1,0,29,524504,16,0,2208,649624,0
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-04 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LeafsetExtension-PT-S08C2-ReachabilityFireability-04,1,5.174,157220,2,463,29,524504,16,0,2210,649624,0
Invariant property LeafsetExtension-PT-S08C2-ReachabilityFireability-05 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
LeafsetExtension-PT-S08C2-ReachabilityFireability-05,1,5.19303,157220,2,463,29,524504,17,0,2288,649624,0
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-06 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LeafsetExtension-PT-S08C2-ReachabilityFireability-06,33,5.19399,157220,2,938,29,524504,18,0,2289,649624,0
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-07 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LeafsetExtension-PT-S08C2-ReachabilityFireability-07,3,5.19844,157220,2,475,29,524504,19,0,2290,649624,0
Reachability property LeafsetExtension-PT-S08C2-ReachabilityFireability-08 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
LeafsetExtension-PT-S08C2-ReachabilityFireability-08,1,5.20174,157220,2,463,29,524504,19,0,2294,649624,0
Invariant property LeafsetExtension-PT-S08C2-ReachabilityFireability-09 does not hold.


BK_STOP 1679489645642

--------------------
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//
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//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//../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="LeafsetExtension-PT-S08C2"
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-5348"
echo " Executing tool itstools"
echo " Input is LeafsetExtension-PT-S08C2, 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 r229-tall-167856413300455"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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