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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
277.903 9148.00 22637.00 539.70 TTTTTFFTTFTFTFFT 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.r197-smll-167840344000246.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 HealthRecord-PT-02, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r197-smll-167840344000246
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 452K
-rw-r--r-- 1 mcc users 6.8K Feb 26 17:43 CTLCardinality.txt
-rw-r--r-- 1 mcc users 76K Feb 26 17:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.5K Feb 26 17:40 CTLFireability.txt
-rw-r--r-- 1 mcc users 38K Feb 26 17:40 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.4K Feb 25 16:13 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Feb 25 16:13 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Feb 25 16:13 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 16:13 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Feb 26 17:44 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 126K Feb 26 17:44 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 6.7K Feb 26 17:43 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 55K Feb 26 17:43 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:13 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 16:13 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 3 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 47K 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 HealthRecord-PT-02-ReachabilityCardinality-00
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-01
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-02
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-03
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-04
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-05
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-06
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-07
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-08
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-09
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-10
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-11
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-12
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-13
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-14
FORMULA_NAME HealthRecord-PT-02-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678511510087

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=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=HealthRecord-PT-02
Not applying reductions.
Model is PT
ReachabilityCardinality PT
Running Version 202303021504
[2023-03-11 05:11:53] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2023-03-11 05:11:53] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-11 05:11:53] [INFO ] Load time of PNML (sax parser for PT used): 73 ms
[2023-03-11 05:11:53] [INFO ] Transformed 119 places.
[2023-03-11 05:11:53] [INFO ] Transformed 225 transitions.
[2023-03-11 05:11:53] [INFO ] Found NUPN structural information;
[2023-03-11 05:11:53] [INFO ] Parsed PT model containing 119 places and 225 transitions and 577 arcs in 178 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 24 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 6 transitions
Reduce redundant transitions removed 6 transitions.
FORMULA HealthRecord-PT-02-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HealthRecord-PT-02-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HealthRecord-PT-02-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HealthRecord-PT-02-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-11 05:11:54] [INFO ] Flatten gal took : 96 ms
[2023-03-11 05:11:54] [INFO ] Flatten gal took : 40 ms
[2023-03-11 05:11:54] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality2295815481186166212.gal : 28 ms
[2023-03-11 05:11:54] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality15035636323433545603.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/ReachabilityCardinality2295815481186166212.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality15035636323433545603.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.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
Loading property file /tmp/ReachabilityCardinality15035636323433545603.prop.
SDD proceeding with computation,12 properties remain. new max is 4
SDD size :1 after 4
SDD proceeding with computation,12 properties remain. new max is 8
SDD size :4 after 9
SDD proceeding with computation,12 properties remain. new max is 16
SDD size :9 after 10
SDD proceeding with computation,12 properties remain. new max is 32
SDD size :10 after 49
SDD proceeding with computation,12 properties remain. new max is 64
SDD size :49 after 1729
SDD proceeding with computation,12 properties remain. new max is 128
SDD size :1729 after 8641
SDD proceeding with computation,12 properties remain. new max is 256
SDD size :8641 after 19393
Reachability property HealthRecord-PT-02-ReachabilityCardinality-15 is true.
FORMULA HealthRecord-PT-02-ReachabilityCardinality-15 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Invariant property HealthRecord-PT-02-ReachabilityCardinality-09 does not hold.
FORMULA HealthRecord-PT-02-ReachabilityCardinality-09 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Reachability property HealthRecord-PT-02-ReachabilityCardinality-07 is true.
FORMULA HealthRecord-PT-02-ReachabilityCardinality-07 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
SDD proceeding with computation,9 properties remain. new max is 256
SDD size :19393 after 51457
SDD proceeding with computation,9 properties remain. new max is 512
SDD size :51457 after 58369
SDD proceeding with computation,9 properties remain. new max is 1024
SDD size :58369 after 77863
Reachability property HealthRecord-PT-02-ReachabilityCardinality-12 is true.
FORMULA HealthRecord-PT-02-ReachabilityCardinality-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Incomplete random walk after 10000 steps, including 592 resets, run finished after 1177 ms. (steps per millisecond=8 ) properties (out of 12) seen :5
FORMULA HealthRecord-PT-02-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-02-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10000 steps, including 92 resets, run finished after 149 ms. (steps per millisecond=67 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 90 resets, run finished after 148 ms. (steps per millisecond=67 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 92 resets, run finished after 131 ms. (steps per millisecond=76 ) properties (out of 7) seen :1
Reachability property HealthRecord-PT-02-ReachabilityCardinality-04 is true.
SDD proceeding with computation,7 properties remain. new max is 1024
SDD size :77863 after 165505
Incomplete Best-First random walk after 10001 steps, including 93 resets, run finished after 135 ms. (steps per millisecond=74 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 90 resets, run finished after 94 ms. (steps per millisecond=106 ) properties (out of 6) seen :0
Incomplete Best-First random walk after 10001 steps, including 89 resets, run finished after 79 ms. (steps per millisecond=126 ) properties (out of 6) seen :0
Running SMT prover for 6 properties.
[2023-03-11 05:11:55] [INFO ] Flow matrix only has 211 transitions (discarded 8 similar events)
// Phase 1: matrix 211 rows 119 cols
[2023-03-11 05:11:55] [INFO ] Computed 14 place invariants in 16 ms
[2023-03-11 05:11:56] [INFO ] [Real]Absence check using 8 positive place invariants in 14 ms returned sat
[2023-03-11 05:11:56] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 12 ms returned sat
[2023-03-11 05:11:56] [INFO ] After 344ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:6
[2023-03-11 05:11:56] [INFO ] [Nat]Absence check using 8 positive place invariants in 12 ms returned sat
[2023-03-11 05:11:56] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 13 ms returned sat
Reachability property HealthRecord-PT-02-ReachabilityCardinality-08 is true.
FORMULA HealthRecord-PT-02-ReachabilityCardinality-08 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
SDD proceeding with computation,6 properties remain. new max is 1024
SDD size :165505 after 305857
[2023-03-11 05:11:56] [INFO ] After 216ms SMT Verify possible using state equation in natural domain returned unsat :2 sat :4
[2023-03-11 05:11:56] [INFO ] State equation strengthened by 1 read => feed constraints.
[2023-03-11 05:11:56] [INFO ] After 67ms SMT Verify possible using 1 Read/Feed constraints in natural domain returned unsat :2 sat :4
[2023-03-11 05:11:56] [INFO ] Deduced a trap composed of 30 places in 172 ms of which 10 ms to minimize.
[2023-03-11 05:11:56] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 213 ms
[2023-03-11 05:11:57] [INFO ] Deduced a trap composed of 37 places in 128 ms of which 1 ms to minimize.
[2023-03-11 05:11:57] [INFO ] Deduced a trap composed of 37 places in 124 ms of which 1 ms to minimize.
[2023-03-11 05:11:57] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 296 ms
[2023-03-11 05:11:57] [INFO ] After 654ms SMT Verify possible using trap constraints in natural domain returned unsat :2 sat :4
Attempting to minimize the solution found.
Minimization took 66 ms.
[2023-03-11 05:11:57] [INFO ] After 1191ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :4
FORMULA HealthRecord-PT-02-ReachabilityCardinality-11 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-02-ReachabilityCardinality-06 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 6 Parikh solutions to 4 different solutions.
FORMULA HealthRecord-PT-02-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 1 properties in 15 ms.
Support contains 2 out of 119 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 119/119 places, 219/219 transitions.
Graph (trivial) has 172 edges and 119 vertex of which 12 / 119 are part of one of the 6 SCC in 9 ms
Free SCC test removed 6 places
Drop transitions removed 21 transitions
Reduce isomorphic transitions removed 21 transitions.
Graph (complete) has 415 edges and 113 vertex of which 85 are kept as prefixes of interest. Removing 28 places using SCC suffix rule.3 ms
Discarding 28 places :
Also discarding 18 output transitions
Drop transitions removed 18 transitions
Drop transitions removed 79 transitions
Reduce isomorphic transitions removed 79 transitions.
Iterating post reduction 0 with 79 rules applied. Total rules applied 81 place count 85 transition count 101
Discarding 48 places :
Symmetric choice reduction at 1 with 48 rule applications. Total rules 129 place count 37 transition count 53
Iterating global reduction 1 with 48 rules applied. Total rules applied 177 place count 37 transition count 53
Performed 3 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 1 with 3 Pre rules applied. Total rules applied 177 place count 37 transition count 50
Deduced a syphon composed of 3 places in 0 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 1 with 6 rules applied. Total rules applied 183 place count 34 transition count 50
Discarding 11 places :
Symmetric choice reduction at 1 with 11 rule applications. Total rules 194 place count 23 transition count 37
Iterating global reduction 1 with 11 rules applied. Total rules applied 205 place count 23 transition count 37
Ensure Unique test removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Iterating post reduction 1 with 4 rules applied. Total rules applied 209 place count 23 transition count 33
Discarding 3 places :
Symmetric choice reduction at 2 with 3 rule applications. Total rules 212 place count 20 transition count 27
Iterating global reduction 2 with 3 rules applied. Total rules applied 215 place count 20 transition count 27
Discarding 3 places :
Symmetric choice reduction at 2 with 3 rule applications. Total rules 218 place count 17 transition count 24
Iterating global reduction 2 with 3 rules applied. Total rules applied 221 place count 17 transition count 24
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 223 place count 17 transition count 22
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 2 places and 0 transitions.
Iterating global reduction 3 with 4 rules applied. Total rules applied 227 place count 15 transition count 20
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 3 with 1 rules applied. Total rules applied 228 place count 15 transition count 19
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 3 with 1 rules applied. Total rules applied 229 place count 14 transition count 18
Reduce places removed 2 places and 0 transitions.
Graph (trivial) has 8 edges and 12 vertex of which 2 / 12 are part of one of the 1 SCC in 0 ms
Free SCC test removed 1 places
Drop transitions removed 2 transitions
Trivial Post-agglo rules discarded 2 transitions
Performed 2 trivial Post agglomeration. Transition count delta: 2
Iterating post reduction 3 with 5 rules applied. Total rules applied 234 place count 11 transition count 16
Reduce places removed 2 places and 0 transitions.
Drop transitions removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 4 with 5 rules applied. Total rules applied 239 place count 9 transition count 13
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 5 with 1 Pre rules applied. Total rules applied 239 place count 9 transition count 12
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 5 with 2 rules applied. Total rules applied 241 place count 8 transition count 12
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 5 with 1 rules applied. Total rules applied 242 place count 8 transition count 11
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 5 with 2 rules applied. Total rules applied 244 place count 7 transition count 10
Free-agglomeration rule applied 2 times.
Iterating global reduction 5 with 2 rules applied. Total rules applied 246 place count 7 transition count 8
Reduce places removed 2 places and 0 transitions.
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 5 with 3 rules applied. Total rules applied 249 place count 5 transition count 7
Applied a total of 249 rules in 64 ms. Remains 5 /119 variables (removed 114) and now considering 7/219 (removed 212) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 65 ms. Remains : 5/119 places, 7/219 transitions.
Finished random walk after 6 steps, including 1 resets, run visited all 2 properties in 1 ms. (steps per millisecond=6 )
FORMULA HealthRecord-PT-02-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-02-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
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 3922 ms.
SDD proceeding with computation,6 properties remain. new max is 2048
SDD size :305857 after 456769

BK_STOP 1678511519235

--------------------
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
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -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.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -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="HealthRecord-PT-02"
export BK_EXAMINATION="ReachabilityCardinality"
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 HealthRecord-PT-02, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r197-smll-167840344000246"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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