fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r056-oct2-162038334700161
Last Updated
Jun 28, 2021

About the Execution of 2020-gold for CloudDeployment-PT-5b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
4329.995 3600000.00 807265.00 4663.80 F?F?F??TF?TF?TT? normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2021-input.r056-oct2-162038334700161.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2021-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 gold2020
Input is CloudDeployment-PT-5b, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r056-oct2-162038334700161
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.9M
-rw-r--r-- 1 mcc users 15K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 141K May 10 09:42 CTLCardinality.xml
-rw-r--r-- 1 mcc users 12K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 96K May 10 09:42 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.5K Mar 28 15:52 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Mar 28 15:52 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Mar 28 15:52 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 28 15:52 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K Mar 23 03:10 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K Mar 23 03:10 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Mar 22 12:38 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 14K Mar 22 12:38 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Mar 22 09:10 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Mar 22 09:10 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 3 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 1.5M May 5 16:51 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 CloudDeployment-PT-5b-00
FORMULA_NAME CloudDeployment-PT-5b-01
FORMULA_NAME CloudDeployment-PT-5b-02
FORMULA_NAME CloudDeployment-PT-5b-03
FORMULA_NAME CloudDeployment-PT-5b-04
FORMULA_NAME CloudDeployment-PT-5b-05
FORMULA_NAME CloudDeployment-PT-5b-06
FORMULA_NAME CloudDeployment-PT-5b-07
FORMULA_NAME CloudDeployment-PT-5b-08
FORMULA_NAME CloudDeployment-PT-5b-09
FORMULA_NAME CloudDeployment-PT-5b-10
FORMULA_NAME CloudDeployment-PT-5b-11
FORMULA_NAME CloudDeployment-PT-5b-12
FORMULA_NAME CloudDeployment-PT-5b-13
FORMULA_NAME CloudDeployment-PT-5b-14
FORMULA_NAME CloudDeployment-PT-5b-15

=== Now, execution of the tool begins

BK_START 1620900095690

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
[2021-05-13 10:01:38] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -timeout, 3600, -rebuildPNML]
[2021-05-13 10:01:38] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-13 10:01:38] [INFO ] Load time of PNML (sax parser for PT used): 236 ms
[2021-05-13 10:01:38] [INFO ] Transformed 1525 places.
[2021-05-13 10:01:38] [INFO ] Transformed 3132 transitions.
[2021-05-13 10:01:38] [INFO ] Found NUPN structural information;
[2021-05-13 10:01:38] [INFO ] Parsed PT model containing 1525 places and 3132 transitions in 436 ms.
Parsed 16 properties from file /home/mcc/execution/LTLCardinality.xml in 134 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 100000 steps, including 620 resets, run finished after 478 ms. (steps per millisecond=209 ) properties seen :[1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0]
// Phase 1: matrix 3132 rows 1525 cols
[2021-05-13 10:01:39] [INFO ] Computed 21 place invariants in 76 ms
[2021-05-13 10:01:39] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 62 ms returned sat
[2021-05-13 10:01:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:01:46] [INFO ] [Real]Absence check using state equation in 6808 ms returned sat
[2021-05-13 10:01:47] [INFO ] Computed and/alt/rep : 3131/25095/3131 causal constraints in 473 ms.
[2021-05-13 10:01:48] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:01:55] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:01:58] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10404 ms returned unknown
[2021-05-13 10:01:59] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 54 ms returned sat
[2021-05-13 10:01:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:02:05] [INFO ] [Real]Absence check using state equation in 6307 ms returned sat
[2021-05-13 10:02:05] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:02:13] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:02:16] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10971 ms returned unknown
[2021-05-13 10:02:16] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 56 ms returned sat
[2021-05-13 10:02:16] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:02:23] [INFO ] [Real]Absence check using state equation in 6915 ms returned sat
[2021-05-13 10:02:23] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:02:31] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:02:35] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10941 ms returned unknown
[2021-05-13 10:02:35] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 53 ms returned sat
[2021-05-13 10:02:35] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:02:42] [INFO ] [Real]Absence check using state equation in 6730 ms returned sat
[2021-05-13 10:02:42] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:02:49] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:02:52] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10506 ms returned unknown
[2021-05-13 10:02:52] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:02:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:02:59] [INFO ] [Real]Absence check using state equation in 6170 ms returned sat
[2021-05-13 10:02:59] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:02:59] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 311 ms returned unsat
[2021-05-13 10:02:59] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:02:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:03:05] [INFO ] [Real]Absence check using state equation in 5758 ms returned sat
[2021-05-13 10:03:05] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:03:12] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:03:16] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10332 ms returned unknown
[2021-05-13 10:03:16] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:03:16] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:03:22] [INFO ] [Real]Absence check using state equation in 5993 ms returned sat
[2021-05-13 10:03:22] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:03:29] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:03:32] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10294 ms returned unknown
[2021-05-13 10:03:32] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:03:32] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:03:38] [INFO ] [Real]Absence check using state equation in 6040 ms returned sat
[2021-05-13 10:03:38] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:03:39] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 330 ms returned unsat
[2021-05-13 10:03:39] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 52 ms returned sat
[2021-05-13 10:03:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:03:45] [INFO ] [Real]Absence check using state equation in 6320 ms returned sat
[2021-05-13 10:03:46] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:03:53] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:03:56] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10361 ms returned unknown
[2021-05-13 10:03:56] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 65 ms returned sat
[2021-05-13 10:03:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:04:02] [INFO ] [Real]Absence check using state equation in 5984 ms returned sat
[2021-05-13 10:04:02] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:04:09] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:04:13] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10259 ms returned unknown
[2021-05-13 10:04:13] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:04:13] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:04:18] [INFO ] [Real]Absence check using state equation in 5617 ms returned sat
[2021-05-13 10:04:19] [INFO ] Computed and/alt/rep : 3131/25095/3131 causal constraints in 864 ms.
[2021-05-13 10:04:20] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:04:27] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:04:30] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10251 ms returned unknown
[2021-05-13 10:04:31] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 50 ms returned sat
[2021-05-13 10:04:31] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:04:37] [INFO ] [Real]Absence check using state equation in 6186 ms returned sat
[2021-05-13 10:04:37] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:04:37] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 313 ms returned unsat
[2021-05-13 10:04:37] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:04:37] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:04:43] [INFO ] [Real]Absence check using state equation in 5933 ms returned sat
[2021-05-13 10:04:44] [INFO ] Computed and/alt/rep : 3131/25095/3131 causal constraints in 202 ms.
[2021-05-13 10:04:44] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:04:51] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:04:54] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10133 ms returned unknown
[2021-05-13 10:04:55] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 126 ms returned sat
[2021-05-13 10:04:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:05:00] [INFO ] [Real]Absence check using state equation in 5954 ms returned sat
[2021-05-13 10:05:01] [INFO ] Computed and/alt/rep : 3131/25095/3131 causal constraints in 271 ms.
[2021-05-13 10:05:01] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:05:08] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:05:12] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10264 ms returned unknown
[2021-05-13 10:05:12] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:05:12] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:05:18] [INFO ] [Real]Absence check using state equation in 5583 ms returned sat
[2021-05-13 10:05:18] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:05:25] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:05:28] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10218 ms returned unknown
[2021-05-13 10:05:28] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:05:28] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:05:34] [INFO ] [Real]Absence check using state equation in 6184 ms returned sat
[2021-05-13 10:05:34] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:05:41] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:05:45] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10264 ms returned unknown
[2021-05-13 10:05:45] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 52 ms returned sat
[2021-05-13 10:05:45] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:05:51] [INFO ] [Real]Absence check using state equation in 6297 ms returned sat
[2021-05-13 10:05:51] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:05:58] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:06:02] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10250 ms returned unknown
[2021-05-13 10:06:02] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 52 ms returned sat
[2021-05-13 10:06:02] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:06:08] [INFO ] [Real]Absence check using state equation in 6029 ms returned sat
[2021-05-13 10:06:08] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:06:15] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:06:18] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10238 ms returned unknown
[2021-05-13 10:06:19] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 49 ms returned sat
[2021-05-13 10:06:19] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:06:24] [INFO ] [Real]Absence check using state equation in 5898 ms returned sat
[2021-05-13 10:06:25] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:06:31] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:06:35] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10211 ms returned unknown
[2021-05-13 10:06:35] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:06:35] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:06:41] [INFO ] [Real]Absence check using state equation in 6238 ms returned sat
[2021-05-13 10:06:41] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:06:48] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:06:52] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10276 ms returned unknown
[2021-05-13 10:06:52] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 51 ms returned sat
[2021-05-13 10:06:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:06:58] [INFO ] [Real]Absence check using state equation in 6497 ms returned sat
[2021-05-13 10:06:58] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:07:05] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:07:09] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10339 ms returned unknown
[2021-05-13 10:07:09] [INFO ] [Real]Absence check using 0 positive and 21 generalized place invariants in 64 ms returned sat
[2021-05-13 10:07:09] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-13 10:07:15] [INFO ] [Real]Absence check using state equation in 5703 ms returned sat
[2021-05-13 10:07:15] [INFO ] Computed and/alt/rep : 3131/25095/3131 causal constraints in 353 ms.
[2021-05-13 10:07:16] [INFO ] Solution in real domain found non-integer solution.
[2021-05-13 10:07:23] [INFO ] SMT solver returned unknown. Retrying;
[2021-05-13 10:07:26] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 10132 ms returned unknown
Successfully simplified 3 atomic propositions for a total of 3 simplifications.
[2021-05-13 10:07:27] [INFO ] Initial state reduction rules for CTL removed 6 formulas.
[2021-05-13 10:07:27] [INFO ] Flatten gal took : 632 ms
FORMULA CloudDeployment-PT-5b-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-5b-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-5b-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-5b-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-5b-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-5b-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-13 10:07:27] [INFO ] Applying decomposition
[2021-05-13 10:07:27] [INFO ] Flatten gal took : 409 ms
[2021-05-13 10:07:28] [INFO ] Decomposing Gal with order
[2021-05-13 10:07:28] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-13 10:07:30] [INFO ] Removed a total of 19140 redundant transitions.
[2021-05-13 10:07:30] [INFO ] Flatten gal took : 1337 ms
[2021-05-13 10:07:30] [INFO ] Fuse similar labels procedure discarded/fused a total of 915 labels/synchronizations in 155 ms.
[2021-05-13 10:07:30] [INFO ] Export to MCC properties in file /home/mcc/execution/LTLCardinality.sr.xml took 3 ms.
[2021-05-13 10:07:30] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml took 36 ms.
info: Time: 3600 - MCC
vrfy: Checking LTLCardinality @ CloudDeployment-PT-5b @ 3570 seconds

FORMULA CloudDeployment-PT-5b-00 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA CloudDeployment-PT-5b-02 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA CloudDeployment-PT-5b-04 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16427332 kB
MemFree: 16061552 kB
After kill :
MemTotal: 16427332 kB
MemFree: 16068240 kB

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

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="CloudDeployment-PT-5b"
export BK_EXAMINATION="LTLCardinality"
export BK_TOOL="gold2020"
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 gold2020"
echo " Input is CloudDeployment-PT-5b, examination is LTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r056-oct2-162038334700161"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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