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

About the Execution of ITS-Tools for HealthRecord-PT-05

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
230.191 4123.00 7802.00 232.00 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/mcc2021-input.r299-tall-162124164800182.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is HealthRecord-PT-05, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r299-tall-162124164800182
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 388K
-rw-r--r-- 1 mcc users 14K May 15 08:57 CTLCardinality.txt
-rw-r--r-- 1 mcc users 129K May 15 08:57 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.7K May 15 08:57 CTLFireability.txt
-rw-r--r-- 1 mcc users 69K May 15 08:57 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.1K May 12 07:57 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 12 07:57 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K May 12 07:57 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 12 07:57 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 08:13 NewModel
-rw-r--r-- 1 mcc users 3.1K May 11 18:38 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K May 11 18:38 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 11 15:47 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K May 11 15:47 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.3K May 12 04:40 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.4K May 12 04:40 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 12 08:13 equiv_col
-rw-r--r-- 1 mcc users 3 May 12 08:13 instance
-rw-r--r-- 1 mcc users 6 May 12 08:13 iscolored
-rw-r--r-- 1 mcc users 37K May 12 08:13 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 1621321405151

Running Version 0
[2021-05-18 07:03:26] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2021-05-18 07:03:26] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-18 07:03:26] [INFO ] Load time of PNML (sax parser for PT used): 45 ms
[2021-05-18 07:03:26] [INFO ] Transformed 125 places.
[2021-05-18 07:03:26] [INFO ] Transformed 246 transitions.
[2021-05-18 07:03:26] [INFO ] Found NUPN structural information;
[2021-05-18 07:03:26] [INFO ] Parsed PT model containing 125 places and 246 transitions in 85 ms.
Starting structural reductions, iteration 0 : 125/125 places, 246/246 transitions.
Graph (trivial) has 194 edges and 125 vertex of which 6 / 125 are part of one of the 3 SCC in 4 ms
Free SCC test removed 3 places
Ensure Unique test removed 12 transitions
Reduce isomorphic transitions removed 12 transitions.
Discarding 61 places :
Symmetric choice reduction at 0 with 61 rule applications. Total rules 62 place count 61 transition count 112
Iterating global reduction 0 with 61 rules applied. Total rules applied 123 place count 61 transition count 112
Discarding 10 places :
Symmetric choice reduction at 0 with 10 rule applications. Total rules 133 place count 51 transition count 92
Iterating global reduction 0 with 10 rules applied. Total rules applied 143 place count 51 transition count 92
Ensure Unique test removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Iterating post reduction 0 with 4 rules applied. Total rules applied 147 place count 51 transition count 88
Discarding 3 places :
Symmetric choice reduction at 1 with 3 rule applications. Total rules 150 place count 48 transition count 79
Iterating global reduction 1 with 3 rules applied. Total rules applied 153 place count 48 transition count 79
Discarding 3 places :
Symmetric choice reduction at 1 with 3 rule applications. Total rules 156 place count 45 transition count 73
Iterating global reduction 1 with 3 rules applied. Total rules applied 159 place count 45 transition count 73
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 1 with 3 rules applied. Total rules applied 162 place count 45 transition count 70
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: -23
Deduced a syphon composed of 5 places in 1 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 2 with 10 rules applied. Total rules applied 172 place count 40 transition count 93
Applied a total of 172 rules in 52 ms. Remains 40 /125 variables (removed 85) and now considering 93/246 (removed 153) transitions.
[2021-05-18 07:03:26] [INFO ] Flow matrix only has 72 transitions (discarded 21 similar events)
// Phase 1: matrix 72 rows 40 cols
[2021-05-18 07:03:26] [INFO ] Computed 14 place invariants in 8 ms
[2021-05-18 07:03:26] [INFO ] Implicit Places using invariants in 116 ms returned []
[2021-05-18 07:03:26] [INFO ] Flow matrix only has 72 transitions (discarded 21 similar events)
// Phase 1: matrix 72 rows 40 cols
[2021-05-18 07:03:26] [INFO ] Computed 14 place invariants in 13 ms
[2021-05-18 07:03:27] [INFO ] State equation strengthened by 8 read => feed constraints.
[2021-05-18 07:03:27] [INFO ] Implicit Places using invariants and state equation in 135 ms returned []
Implicit Place search using SMT with State Equation took 276 ms to find 0 implicit places.
[2021-05-18 07:03:27] [INFO ] Flow matrix only has 72 transitions (discarded 21 similar events)
// Phase 1: matrix 72 rows 40 cols
[2021-05-18 07:03:27] [INFO ] Computed 14 place invariants in 1 ms
[2021-05-18 07:03:27] [INFO ] Dead Transitions using invariants and state equation in 65 ms returned []
Finished structural reductions, in 1 iterations. Remains : 40/125 places, 93/246 transitions.
Discarding 62 transitions out of 93. Remains 31
[2021-05-18 07:03:27] [INFO ] Initial state test concluded for 1 properties.
Incomplete random walk after 10000 steps, including 1581 resets, run finished after 64 ms. (steps per millisecond=156 ) properties (out of 30) seen :24
Incomplete Best-First random walk after 10000 steps, including 224 resets, run finished after 20 ms. (steps per millisecond=500 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 285 resets, run finished after 16 ms. (steps per millisecond=625 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 231 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 223 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 6) seen :1
Incomplete Best-First random walk after 10001 steps, including 234 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 5) seen :1
Incomplete Best-First random walk after 10000 steps, including 231 resets, run finished after 10 ms. (steps per millisecond=1000 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
[2021-05-18 07:03:27] [INFO ] Flow matrix only has 72 transitions (discarded 21 similar events)
// Phase 1: matrix 72 rows 40 cols
[2021-05-18 07:03:27] [INFO ] Computed 14 place invariants in 1 ms
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using 8 positive place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using state equation in 21 ms returned sat
[2021-05-18 07:03:27] [INFO ] State equation strengthened by 8 read => feed constraints.
[2021-05-18 07:03:27] [INFO ] [Real]Added 8 Read/Feed constraints in 13 ms returned sat
[2021-05-18 07:03:27] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using 8 positive place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 1 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using state equation in 15 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Added 8 Read/Feed constraints in 6 ms returned sat
[2021-05-18 07:03:27] [INFO ] Computed and/alt/rep : 27/78/27 causal constraints (skipped 29 transitions) in 6 ms.
[2021-05-18 07:03:27] [INFO ] Added : 9 causal constraints over 3 iterations in 30 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using 8 positive place invariants in 3 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 3 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using state equation in 18 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Added 8 Read/Feed constraints in 6 ms returned sat
[2021-05-18 07:03:27] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using 8 positive place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using state equation in 17 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Added 8 Read/Feed constraints in 1 ms returned sat
[2021-05-18 07:03:27] [INFO ] Computed and/alt/rep : 27/78/27 causal constraints (skipped 29 transitions) in 7 ms.
[2021-05-18 07:03:27] [INFO ] Added : 12 causal constraints over 3 iterations in 38 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 1 ms.
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using 8 positive place invariants in 7 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 1 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using state equation in 20 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Added 8 Read/Feed constraints in 1 ms returned sat
[2021-05-18 07:03:27] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using 8 positive place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 1 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using state equation in 16 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Added 8 Read/Feed constraints in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] Computed and/alt/rep : 27/78/27 causal constraints (skipped 29 transitions) in 7 ms.
[2021-05-18 07:03:27] [INFO ] Added : 11 causal constraints over 3 iterations in 30 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using 8 positive place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-18 07:03:27] [INFO ] [Real]Absence check using state equation in 16 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Real]Added 8 Read/Feed constraints in 1 ms returned sat
[2021-05-18 07:03:27] [INFO ] Solution in real domain found non-integer solution.
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using 8 positive place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-18 07:03:27] [INFO ] [Nat]Absence check using state equation in 16 ms returned sat
[2021-05-18 07:03:27] [INFO ] [Nat]Added 8 Read/Feed constraints in 2 ms returned sat
[2021-05-18 07:03:27] [INFO ] Computed and/alt/rep : 27/78/27 causal constraints (skipped 29 transitions) in 7 ms.
[2021-05-18 07:03:27] [INFO ] Added : 10 causal constraints over 3 iterations in 26 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
Incomplete Parikh walk after 4800 steps, including 650 resets, run finished after 19 ms. (steps per millisecond=252 ) properties (out of 4) seen :0 could not realise parikh vector
Incomplete Parikh walk after 5100 steps, including 539 resets, run finished after 21 ms. (steps per millisecond=242 ) properties (out of 4) seen :0 could not realise parikh vector
Incomplete Parikh walk after 4900 steps, including 533 resets, run finished after 19 ms. (steps per millisecond=257 ) properties (out of 4) seen :1 could not realise parikh vector
Incomplete Parikh walk after 4200 steps, including 308 resets, run finished after 16 ms. (steps per millisecond=262 ) properties (out of 3) seen :0 could not realise parikh vector
Support contains 10 out of 40 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 40/40 places, 93/93 transitions.
Graph (complete) has 189 edges and 40 vertex of which 33 are kept as prefixes of interest. Removing 7 places using SCC suffix rule.2 ms
Discarding 7 places :
Also discarding 7 output transitions
Drop transitions removed 7 transitions
Drop transitions removed 5 transitions
Reduce isomorphic transitions removed 5 transitions.
Iterating post reduction 0 with 5 rules applied. Total rules applied 6 place count 33 transition count 81
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 7 place count 32 transition count 80
Iterating global reduction 1 with 1 rules applied. Total rules applied 8 place count 32 transition count 80
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 1 with 1 rules applied. Total rules applied 9 place count 32 transition count 79
Free-agglomeration rule applied 2 times.
Iterating global reduction 2 with 2 rules applied. Total rules applied 11 place count 32 transition count 77
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 13 place count 30 transition count 77
Partial Free-agglomeration rule applied 8 times.
Drop transitions removed 8 transitions
Iterating global reduction 3 with 8 rules applied. Total rules applied 21 place count 30 transition count 77
Applied a total of 21 rules in 17 ms. Remains 30 /40 variables (removed 10) and now considering 77/93 (removed 16) transitions.
Finished structural reductions, in 1 iterations. Remains : 30/40 places, 77/93 transitions.
[2021-05-18 07:03:28] [INFO ] Flatten gal took : 37 ms
[2021-05-18 07:03:28] [INFO ] Flatten gal took : 15 ms
[2021-05-18 07:03:28] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality17422176577318141190.gal : 7 ms
[2021-05-18 07:03:28] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality7641472046928777031.prop : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality17422176577318141190.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality7641472046928777031.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality17422176577318141190.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality7641472046928777031.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality7641472046928777031.prop.
SDD proceeding with computation,3 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,3 properties remain. new max is 8
SDD size :5 after 9
SDD proceeding with computation,3 properties remain. new max is 16
SDD size :9 after 17
SDD proceeding with computation,3 properties remain. new max is 32
SDD size :17 after 33
SDD proceeding with computation,3 properties remain. new max is 64
SDD size :33 after 899
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,1861,0.037973,4808,2,984,10,2960,9,0,198,1490,0
Total reachable state count : 1861

Verifying 3 reachability properties.
Reachability property qltransition_4 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
qltransition\_4,1,0.038226,4808,2,31,10,2960,9,0,200,1490,0
Reachability property qltransition_23 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
qltransition\_23,1,0.039423,5072,2,31,10,2960,9,0,214,1490,0
Reachability property qltransition_34 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
qltransition\_34,1,0.039553,5072,2,31,10,2960,9,0,215,1490,0
Able to resolve query QuasiLiveness after proving 31 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PARIKH_WALK DECISION_DIAGRAMS COLLATERAL_PROCESSING BESTFIRST_WALK TOPOLOGICAL INITIAL_STATE

BK_STOP 1621321409274

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

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

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="HealthRecord-PT-05"
export BK_EXAMINATION="QuasiLiveness"
export BK_TOOL="itstools"
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-4028"
echo " Executing tool itstools"
echo " Input is HealthRecord-PT-05, 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 r299-tall-162124164800182"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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