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

About the Execution of Marcie+red for Angiogenesis-PT-20

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
311.563 7577.00 15732.00 51.00 20 20 20 20 20 20 20 20 20 20 19 20 10 20 20 20 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.r010-oct2-167813598900349.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
......................
=====================================================================
Generated by BenchKit 2-5348
Executing tool marciexred
Input is Angiogenesis-PT-20, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r010-oct2-167813598900349
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 504K
-rw-r--r-- 1 mcc users 8.3K Feb 26 14:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 82K Feb 26 14:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.5K Feb 26 14:55 CTLFireability.txt
-rw-r--r-- 1 mcc users 51K Feb 26 14:55 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.9K Feb 25 15:31 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Feb 25 15:31 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.1K Feb 25 15:31 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 15:31 LTLFireability.xml
-rw-r--r-- 1 mcc users 16K Feb 26 14:57 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 146K Feb 26 14:57 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.4K Feb 26 14:56 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 64K Feb 26 14:56 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 15:31 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 15:31 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 33K 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 positive values
NUM_VECTOR

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

=== Now, execution of the tool begins

BK_START 1678684864063

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=marciexred
BK_EXAMINATION=UpperBounds
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=Angiogenesis-PT-20
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-13 05:21:07] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -timeout, 360, -rebuildPNML]
[2023-03-13 05:21:07] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-13 05:21:07] [INFO ] Load time of PNML (sax parser for PT used): 75 ms
[2023-03-13 05:21:07] [INFO ] Transformed 39 places.
[2023-03-13 05:21:07] [INFO ] Transformed 64 transitions.
[2023-03-13 05:21:07] [INFO ] Parsed PT model containing 39 places and 64 transitions and 185 arcs in 284 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 7 ms.
// Phase 1: matrix 64 rows 39 cols
[2023-03-13 05:21:07] [INFO ] Computed 8 place invariants in 22 ms
FORMULA Angiogenesis-PT-20-UpperBounds-09 20 TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Angiogenesis-PT-20-UpperBounds-00 20 TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10013 steps, including 2 resets, run finished after 18 ms. (steps per millisecond=556 ) properties (out of 14) seen :238
FORMULA Angiogenesis-PT-20-UpperBounds-15 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-14 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-13 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-11 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-08 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-07 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-06 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-05 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-03 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-02 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-01 20 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 3) seen :3
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 16 ms. (steps per millisecond=625 ) properties (out of 3) seen :6
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 14 ms. (steps per millisecond=714 ) properties (out of 3) seen :2
[2023-03-13 05:21:07] [INFO ] Invariant cache hit.
[2023-03-13 05:21:08] [INFO ] [Real]Absence check using 8 positive place invariants in 28 ms returned sat
[2023-03-13 05:21:08] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:08] [INFO ] [Real]Absence check using state equation in 88 ms returned sat
[2023-03-13 05:21:08] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 05:21:08] [INFO ] [Nat]Absence check using 8 positive place invariants in 4 ms returned sat
[2023-03-13 05:21:08] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:08] [INFO ] [Nat]Absence check using state equation in 34 ms returned sat
[2023-03-13 05:21:08] [INFO ] Computed and/alt/rep : 59/142/59 causal constraints (skipped 2 transitions) in 6 ms.
[2023-03-13 05:21:08] [INFO ] Added : 55 causal constraints over 11 iterations in 164 ms. Result :sat
Minimization took 53 ms.
[2023-03-13 05:21:08] [INFO ] [Real]Absence check using 8 positive place invariants in 2 ms returned sat
[2023-03-13 05:21:08] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:08] [INFO ] [Real]Absence check using state equation in 24 ms returned sat
[2023-03-13 05:21:08] [INFO ] Computed and/alt/rep : 59/142/59 causal constraints (skipped 2 transitions) in 5 ms.
[2023-03-13 05:21:08] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 05:21:08] [INFO ] [Nat]Absence check using 8 positive place invariants in 3 ms returned sat
[2023-03-13 05:21:08] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:08] [INFO ] [Nat]Absence check using state equation in 14 ms returned sat
[2023-03-13 05:21:08] [INFO ] Computed and/alt/rep : 59/142/59 causal constraints (skipped 2 transitions) in 4 ms.
[2023-03-13 05:21:08] [INFO ] Added : 52 causal constraints over 11 iterations in 105 ms. Result :sat
Minimization took 31 ms.
[2023-03-13 05:21:09] [INFO ] [Real]Absence check using 8 positive place invariants in 12 ms returned sat
[2023-03-13 05:21:09] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:09] [INFO ] [Real]Absence check using state equation in 45 ms returned sat
[2023-03-13 05:21:09] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 05:21:09] [INFO ] [Nat]Absence check using 8 positive place invariants in 2 ms returned sat
[2023-03-13 05:21:09] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:09] [INFO ] [Nat]Absence check using state equation in 85 ms returned sat
[2023-03-13 05:21:09] [INFO ] Computed and/alt/rep : 59/142/59 causal constraints (skipped 2 transitions) in 4 ms.
[2023-03-13 05:21:09] [INFO ] Added : 53 causal constraints over 11 iterations in 141 ms. Result :sat
Minimization took 19 ms.
Current structural bounds on expressions (after SMT) : [20, 20, 10] Max seen :[18, 6, 0]
FORMULA Angiogenesis-PT-20-UpperBounds-12 10 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Angiogenesis-PT-20-UpperBounds-04 20 TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 1 out of 39 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 39/39 places, 64/64 transitions.
Graph (complete) has 117 edges and 39 vertex of which 38 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.1 ms
Discarding 1 places :
Also discarding 0 output transitions
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 1 Pre rules applied. Total rules applied 1 place count 38 transition count 63
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 3 rules applied. Total rules applied 4 place count 36 transition count 63
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 5 place count 36 transition count 62
Performed 10 Post agglomeration using F-continuation condition.Transition count delta: 10
Deduced a syphon composed of 10 places in 0 ms
Reduce places removed 10 places and 0 transitions.
Iterating global reduction 1 with 20 rules applied. Total rules applied 25 place count 26 transition count 52
Drop transitions removed 9 transitions
Reduce isomorphic transitions removed 9 transitions.
Graph (complete) has 79 edges and 26 vertex of which 25 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.0 ms
Discarding 1 places :
Also discarding 0 output transitions
Iterating post reduction 1 with 10 rules applied. Total rules applied 35 place count 25 transition count 43
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 36 place count 25 transition count 42
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: -6
Deduced a syphon composed of 5 places in 0 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 3 with 10 rules applied. Total rules applied 46 place count 20 transition count 48
Drop transitions removed 10 transitions
Reduce isomorphic transitions removed 10 transitions.
Iterating post reduction 3 with 10 rules applied. Total rules applied 56 place count 20 transition count 38
Drop transitions removed 6 transitions
Redundant transition composition rules discarded 6 transitions
Iterating global reduction 4 with 6 rules applied. Total rules applied 62 place count 20 transition count 32
Free-agglomeration rule (complex) applied 5 times.
Iterating global reduction 4 with 5 rules applied. Total rules applied 67 place count 20 transition count 27
Reduce places removed 5 places and 0 transitions.
Drop transitions removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 4 with 7 rules applied. Total rules applied 74 place count 15 transition count 25
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 5 with 1 rules applied. Total rules applied 75 place count 15 transition count 24
Partial Post-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 5 with 1 rules applied. Total rules applied 76 place count 15 transition count 24
Applied a total of 76 rules in 26 ms. Remains 15 /39 variables (removed 24) and now considering 24/64 (removed 40) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 27 ms. Remains : 15/39 places, 24/64 transitions.
Normalized transition count is 23 out of 24 initially.
// Phase 1: matrix 23 rows 15 cols
[2023-03-13 05:21:09] [INFO ] Computed 6 place invariants in 1 ms
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 314 ms. (steps per millisecond=3184 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 430 ms. (steps per millisecond=2325 ) properties (out of 1) seen :9
[2023-03-13 05:21:10] [INFO ] Flow matrix only has 23 transitions (discarded 1 similar events)
// Phase 1: matrix 23 rows 15 cols
[2023-03-13 05:21:10] [INFO ] Computed 6 place invariants in 4 ms
[2023-03-13 05:21:10] [INFO ] [Real]Absence check using 6 positive place invariants in 3 ms returned sat
[2023-03-13 05:21:10] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:10] [INFO ] [Real]Absence check using state equation in 15 ms returned sat
[2023-03-13 05:21:10] [INFO ] State equation strengthened by 1 read => feed constraints.
[2023-03-13 05:21:10] [INFO ] [Real]Added 1 Read/Feed constraints in 1 ms returned sat
[2023-03-13 05:21:10] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 05:21:10] [INFO ] [Nat]Absence check using 6 positive place invariants in 2 ms returned sat
[2023-03-13 05:21:10] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:10] [INFO ] [Nat]Absence check using state equation in 13 ms returned sat
[2023-03-13 05:21:10] [INFO ] [Nat]Added 1 Read/Feed constraints in 1 ms returned sat
[2023-03-13 05:21:10] [INFO ] Computed and/alt/rep : 22/73/21 causal constraints (skipped 0 transitions) in 2 ms.
[2023-03-13 05:21:10] [INFO ] Added : 19 causal constraints over 4 iterations in 26 ms. Result :sat
Minimization took 46 ms.
Current structural bounds on expressions (after SMT) : [20] Max seen :[17]
Support contains 1 out of 15 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 15/15 places, 24/24 transitions.
Applied a total of 0 rules in 3 ms. Remains 15 /15 variables (removed 0) and now considering 24/24 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 3 ms. Remains : 15/15 places, 24/24 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 15/15 places, 24/24 transitions.
Applied a total of 0 rules in 2 ms. Remains 15 /15 variables (removed 0) and now considering 24/24 (removed 0) transitions.
[2023-03-13 05:21:10] [INFO ] Flow matrix only has 23 transitions (discarded 1 similar events)
[2023-03-13 05:21:10] [INFO ] Invariant cache hit.
[2023-03-13 05:21:10] [INFO ] Implicit Places using invariants in 89 ms returned [5, 11, 12, 13]
Discarding 4 places :
Implicit Place search using SMT only with invariants took 106 ms to find 4 implicit places.
Starting structural reductions in REACHABILITY mode, iteration 1 : 11/15 places, 24/24 transitions.
Graph (trivial) has 14 edges and 11 vertex of which 6 / 11 are part of one of the 2 SCC in 3 ms
Free SCC test removed 4 places
Drop transitions removed 12 transitions
Reduce isomorphic transitions removed 12 transitions.
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 0 with 1 rules applied. Total rules applied 2 place count 7 transition count 11
Applied a total of 2 rules in 5 ms. Remains 7 /11 variables (removed 4) and now considering 11/24 (removed 13) transitions.
[2023-03-13 05:21:10] [INFO ] Flow matrix only has 10 transitions (discarded 1 similar events)
// Phase 1: matrix 10 rows 7 cols
[2023-03-13 05:21:10] [INFO ] Computed 2 place invariants in 0 ms
[2023-03-13 05:21:10] [INFO ] Implicit Places using invariants in 30 ms returned []
[2023-03-13 05:21:10] [INFO ] Flow matrix only has 10 transitions (discarded 1 similar events)
[2023-03-13 05:21:10] [INFO ] Invariant cache hit.
[2023-03-13 05:21:10] [INFO ] State equation strengthened by 1 read => feed constraints.
[2023-03-13 05:21:10] [INFO ] Implicit Places using invariants and state equation in 30 ms returned []
Implicit Place search using SMT with State Equation took 62 ms to find 0 implicit places.
Starting structural reductions in REACHABILITY mode, iteration 2 : 7/15 places, 11/24 transitions.
Finished structural reductions in REACHABILITY mode , in 2 iterations and 175 ms. Remains : 7/15 places, 11/24 transitions.
Normalized transition count is 10 out of 11 initially.
// Phase 1: matrix 10 rows 7 cols
[2023-03-13 05:21:10] [INFO ] Computed 2 place invariants in 1 ms
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 147 ms. (steps per millisecond=6802 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 384 ms. (steps per millisecond=2604 ) properties (out of 1) seen :10
[2023-03-13 05:21:11] [INFO ] Flow matrix only has 10 transitions (discarded 1 similar events)
// Phase 1: matrix 10 rows 7 cols
[2023-03-13 05:21:11] [INFO ] Computed 2 place invariants in 0 ms
[2023-03-13 05:21:11] [INFO ] [Real]Absence check using 2 positive place invariants in 1 ms returned sat
[2023-03-13 05:21:11] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:11] [INFO ] [Real]Absence check using state equation in 7 ms returned sat
[2023-03-13 05:21:11] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 05:21:11] [INFO ] [Nat]Absence check using 2 positive place invariants in 1 ms returned sat
[2023-03-13 05:21:11] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 05:21:11] [INFO ] [Nat]Absence check using state equation in 9 ms returned sat
[2023-03-13 05:21:11] [INFO ] State equation strengthened by 1 read => feed constraints.
[2023-03-13 05:21:11] [INFO ] [Nat]Added 1 Read/Feed constraints in 1 ms returned sat
[2023-03-13 05:21:11] [INFO ] Deduced a trap composed of 3 places in 26 ms of which 6 ms to minimize.
[2023-03-13 05:21:11] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 1 trap constraints in 29 ms
Current structural bounds on expressions (after SMT) : [19] Max seen :[19]
FORMULA Angiogenesis-PT-20-UpperBounds-10 19 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
All properties solved without resorting to model-checking.
Total runtime 3874 ms.
ITS solved all properties within timeout

BK_STOP 1678684871640

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

+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination UpperBounds -timeout 360 -rebuildPNML

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="Angiogenesis-PT-20"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="marciexred"
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 marciexred"
echo " Input is Angiogenesis-PT-20, examination is UpperBounds"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r010-oct2-167813598900349"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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