fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r046-smll-165252115700056
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for CloudOpsManagement-PT-00160by00080

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1656.575 53542.00 107097.00 669.90 TTFTTFTTTFTTTFFT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2022-input.r046-smll-165252115700056.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool gold2021
Input is CloudOpsManagement-PT-00160by00080, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r046-smll-165252115700056
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 476K
-rw-r--r-- 1 mcc users 9.1K Apr 29 17:27 CTLCardinality.txt
-rw-r--r-- 1 mcc users 87K Apr 29 17:27 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.1K Apr 29 17:26 CTLFireability.txt
-rw-r--r-- 1 mcc users 62K Apr 29 17:26 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.1K May 9 07:18 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K May 9 07:18 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K May 9 07:18 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 07:18 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Apr 29 17:29 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 100K Apr 29 17:29 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.5K Apr 29 17:28 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 63K Apr 29 17:28 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K May 9 07:18 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.1K May 9 07:18 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 13 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 17K May 10 09:33 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 CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-00
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-01
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-02
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-03
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-04
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-05
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-06
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-07
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-08
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-09
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-10
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-11
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-12
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-13
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-14
FORMULA_NAME CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655069147252

Running Version 0
[2022-06-12 21:25:50] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -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, 3600]
[2022-06-12 21:25:50] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:25:50] [INFO ] Load time of PNML (sax parser for PT used): 55 ms
[2022-06-12 21:25:50] [INFO ] Transformed 27 places.
[2022-06-12 21:25:50] [INFO ] Transformed 29 transitions.
[2022-06-12 21:25:50] [INFO ] Parsed PT model containing 27 places and 29 transitions in 141 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 39 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10020 steps, including 2 resets, run finished after 36 ms. (steps per millisecond=278 ) properties (out of 16) seen :8
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 64 ms. (steps per millisecond=156 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 115 ms. (steps per millisecond=86 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 25 ms. (steps per millisecond=400 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 31 ms. (steps per millisecond=322 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 40 ms. (steps per millisecond=250 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 20 ms. (steps per millisecond=500 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 50 ms. (steps per millisecond=200 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
// Phase 1: matrix 29 rows 27 cols
[2022-06-12 21:25:51] [INFO ] Computed 11 place invariants in 13 ms
[2022-06-12 21:25:51] [INFO ] [Real]Absence check using 11 positive place invariants in 9 ms returned unsat
[2022-06-12 21:25:51] [INFO ] [Real]Absence check using 11 positive place invariants in 10 ms returned sat
[2022-06-12 21:25:51] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:25:51] [INFO ] [Real]Absence check using state equation in 47 ms returned sat
[2022-06-12 21:25:51] [INFO ] State equation strengthened by 3 read => feed constraints.
[2022-06-12 21:25:51] [INFO ] [Real]Added 3 Read/Feed constraints in 2 ms returned sat
[2022-06-12 21:25:51] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:25:51] [INFO ] [Nat]Absence check using 11 positive place invariants in 13 ms returned sat
[2022-06-12 21:25:51] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:25:51] [INFO ] [Nat]Absence check using state equation in 34 ms returned sat
[2022-06-12 21:25:51] [INFO ] [Nat]Added 3 Read/Feed constraints in 3 ms returned sat
[2022-06-12 21:25:51] [INFO ] Computed and/alt/rep : 26/69/26 causal constraints (skipped 0 transitions) in 14 ms.
[2022-06-12 21:25:51] [INFO ] Added : 25 causal constraints over 5 iterations in 109 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 11 ms.
[2022-06-12 21:25:52] [INFO ] [Real]Absence check using 11 positive place invariants in 5 ms returned unsat
[2022-06-12 21:25:52] [INFO ] [Real]Absence check using 11 positive place invariants in 3 ms returned unsat
[2022-06-12 21:25:52] [INFO ] [Real]Absence check using 11 positive place invariants in 7 ms returned unsat
[2022-06-12 21:25:52] [INFO ] [Real]Absence check using 11 positive place invariants in 8 ms returned sat
[2022-06-12 21:25:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:25:52] [INFO ] [Real]Absence check using state equation in 23 ms returned sat
[2022-06-12 21:25:52] [INFO ] [Real]Added 3 Read/Feed constraints in 3 ms returned sat
[2022-06-12 21:25:52] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:25:52] [INFO ] [Nat]Absence check using 11 positive place invariants in 6 ms returned sat
[2022-06-12 21:25:52] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:25:52] [INFO ] [Nat]Absence check using state equation in 27 ms returned sat
[2022-06-12 21:25:52] [INFO ] [Nat]Added 3 Read/Feed constraints in 19 ms returned sat
[2022-06-12 21:25:52] [INFO ] Computed and/alt/rep : 26/69/26 causal constraints (skipped 0 transitions) in 14 ms.
[2022-06-12 21:25:52] [INFO ] Added : 25 causal constraints over 6 iterations in 103 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 7 ms.
[2022-06-12 21:25:52] [INFO ] [Real]Absence check using 11 positive place invariants in 3 ms returned unsat
[2022-06-12 21:25:52] [INFO ] [Real]Absence check using 11 positive place invariants in 4 ms returned unsat
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-14 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-06 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-02 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 8 Parikh solutions to 2 different solutions.
Incomplete Parikh walk after 106000 steps, including 124 resets, run finished after 332 ms. (steps per millisecond=319 ) properties (out of 2) seen :0 could not realise parikh vector
Incomplete Parikh walk after 46600 steps, including 98 resets, run finished after 102 ms. (steps per millisecond=456 ) properties (out of 2) seen :1 could not realise parikh vector
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 21 out of 27 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 27/27 places, 29/29 transitions.
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 27 transition count 28
Applied a total of 1 rules in 24 ms. Remains 27 /27 variables (removed 0) and now considering 28/29 (removed 1) transitions.
Finished structural reductions, in 1 iterations. Remains : 27/27 places, 28/29 transitions.
[2022-06-12 21:25:53] [INFO ] Flatten gal took : 46 ms
[2022-06-12 21:25:53] [INFO ] Flatten gal took : 13 ms
[2022-06-12 21:25:53] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality2944833830392395431.gal : 10 ms
[2022-06-12 21:25:53] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality3558316924417345945.prop : 2 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/ReachabilityCardinality2944833830392395431.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality3558316924417345945.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/ReachabilityCardinality2944833830392395431.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality3558316924417345945.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality3558316924417345945.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :5 after 10
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :10 after 19
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :19 after 36
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :36 after 69
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :69 after 2943
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :2943 after 360531
Detected timeout of ITS tools.
[2022-06-12 21:26:08] [INFO ] Flatten gal took : 9 ms
[2022-06-12 21:26:08] [INFO ] Applying decomposition
[2022-06-12 21:26:08] [INFO ] Flatten gal took : 6 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph17385543529542690731.txt, -o, /tmp/graph17385543529542690731.bin, -w, /tmp/graph17385543529542690731.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph17385543529542690731.bin, -l, -1, -v, -w, /tmp/graph17385543529542690731.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 21:26:08] [INFO ] Decomposing Gal with order
[2022-06-12 21:26:08] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-12 21:26:08] [INFO ] Removed a total of 13 redundant transitions.
[2022-06-12 21:26:08] [INFO ] Flatten gal took : 83 ms
[2022-06-12 21:26:08] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 2 ms.
[2022-06-12 21:26:08] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality13841273184962722515.gal : 3 ms
[2022-06-12 21:26:08] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality5585708691941411329.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/ReachabilityCardinality13841273184962722515.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality5585708691941411329.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/ReachabilityCardinality13841273184962722515.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality5585708691941411329.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality5585708691941411329.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :5 after 10
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :10 after 19
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :19 after 36
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :36 after 69
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :69 after 2943
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :2943 after 360531
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin16055645681318887259
[2022-06-12 21:26:23] [INFO ] Built C files in 9ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin16055645681318887259
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin16055645681318887259]
Compilation finished in 664 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/tmp/ltsmin16055645681318887259]
Link finished in 151 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/pins2lts-mc-linux64, ./gal.so, --threads=8, --when, -i, CloudOpsManagementPT00160by00080ReachabilityCardinality01==true], workingDir=/tmp/ltsmin16055645681318887259]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 378 ms. (steps per millisecond=2645 ) properties (out of 1) seen :0
Finished Best-First random walk after 83664 steps, including 0 resets, run visited all 1 properties in 165 ms. (steps per millisecond=507 )
FORMULA CloudOpsManagement-PT-00160by00080-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
All properties solved without resorting to model-checking.

BK_STOP 1655069200794

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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 ReachabilityCardinality -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 3600 -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="CloudOpsManagement-PT-00160by00080"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="gold2021"
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-4028"
echo " Executing tool gold2021"
echo " Input is CloudOpsManagement-PT-00160by00080, 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 r046-smll-165252115700056"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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