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

About the Execution of 2021-gold for CANInsertWithFailure-PT-005

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
238.216 9514.00 21786.00 319.60 FFFFTTFFTFTTFTFT 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.r305-smll-165463878300003.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 CANInsertWithFailure-PT-005, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r305-smll-165463878300003
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 688K
-rw-r--r-- 1 mcc users 8.8K May 30 15:09 CTLCardinality.txt
-rw-r--r-- 1 mcc users 78K May 30 15:09 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K May 30 15:07 CTLFireability.txt
-rw-r--r-- 1 mcc users 48K May 30 15:07 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.9K May 25 12:58 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K May 25 12:58 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.0K May 25 12:58 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 25 12:58 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 29 12:20 NewModel
-rw-r--r-- 1 mcc users 14K May 30 15:10 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 116K May 30 15:10 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 15K May 30 15:10 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 104K May 30 15:10 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K May 25 12:58 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K May 25 12:58 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 29 12:20 equiv_col
-rw-r--r-- 1 mcc users 4 May 29 12:20 instance
-rw-r--r-- 1 mcc users 6 May 29 12:20 iscolored
-rw-r--r-- 1 mcc users 202K May 29 12:20 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 CANInsertWithFailure-PT-005-ReachabilityFireability-00
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-01
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-02
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-03
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-04
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-05
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-06
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-07
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-08
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-09
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-10
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-11
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-12
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-13
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-14
FORMULA_NAME CANInsertWithFailure-PT-005-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1654669285025

Running Version 0
[2022-06-08 06:21:28] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -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-08 06:21:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-08 06:21:28] [INFO ] Load time of PNML (sax parser for PT used): 94 ms
[2022-06-08 06:21:28] [INFO ] Transformed 114 places.
[2022-06-08 06:21:28] [INFO ] Transformed 180 transitions.
[2022-06-08 06:21:28] [INFO ] Parsed PT model containing 114 places and 180 transitions in 154 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 24 ms.
Working with output stream class java.io.PrintStream
[2022-06-08 06:21:28] [INFO ] Initial state test concluded for 3 properties.
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 106 resets, run finished after 117 ms. (steps per millisecond=85 ) properties (out of 13) seen :4
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-12 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-07 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 22 resets, run finished after 81 ms. (steps per millisecond=123 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10000 steps, including 14 resets, run finished after 103 ms. (steps per millisecond=97 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 23 resets, run finished after 78 ms. (steps per millisecond=128 ) properties (out of 9) seen :1
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10000 steps, including 8 resets, run finished after 80 ms. (steps per millisecond=125 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 22 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 24 resets, run finished after 81 ms. (steps per millisecond=123 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 26 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 24 resets, run finished after 43 ms. (steps per millisecond=232 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 23 resets, run finished after 37 ms. (steps per millisecond=270 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
// Phase 1: matrix 180 rows 114 cols
[2022-06-08 06:21:29] [INFO ] Computed 8 place invariants in 14 ms
[2022-06-08 06:21:29] [INFO ] [Real]Absence check using 6 positive place invariants in 10 ms returned unsat
[2022-06-08 06:21:29] [INFO ] [Real]Absence check using 6 positive place invariants in 6 ms returned sat
[2022-06-08 06:21:29] [INFO ] [Real]Absence check using 6 positive and 2 generalized place invariants in 3 ms returned sat
[2022-06-08 06:21:29] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:29] [INFO ] [Real]Absence check using state equation in 138 ms returned sat
[2022-06-08 06:21:30] [INFO ] Solution in real domain found non-integer solution.
[2022-06-08 06:21:30] [INFO ] [Nat]Absence check using 6 positive place invariants in 7 ms returned sat
[2022-06-08 06:21:30] [INFO ] [Nat]Absence check using 6 positive and 2 generalized place invariants in 2 ms returned sat
[2022-06-08 06:21:30] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:30] [INFO ] [Nat]Absence check using state equation in 139 ms returned sat
[2022-06-08 06:21:30] [INFO ] State equation strengthened by 45 read => feed constraints.
[2022-06-08 06:21:30] [INFO ] [Nat]Added 45 Read/Feed constraints in 22 ms returned unsat
[2022-06-08 06:21:30] [INFO ] [Real]Absence check using 6 positive place invariants in 10 ms returned sat
[2022-06-08 06:21:30] [INFO ] [Real]Absence check using 6 positive and 2 generalized place invariants in 4 ms returned unsat
[2022-06-08 06:21:30] [INFO ] [Real]Absence check using 6 positive place invariants in 5 ms returned sat
[2022-06-08 06:21:30] [INFO ] [Real]Absence check using 6 positive and 2 generalized place invariants in 6 ms returned sat
[2022-06-08 06:21:30] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:30] [INFO ] [Real]Absence check using state equation in 96 ms returned sat
[2022-06-08 06:21:30] [INFO ] [Real]Added 45 Read/Feed constraints in 28 ms returned sat
[2022-06-08 06:21:30] [INFO ] Solution in real domain found non-integer solution.
[2022-06-08 06:21:30] [INFO ] [Nat]Absence check using 6 positive place invariants in 5 ms returned sat
[2022-06-08 06:21:30] [INFO ] [Nat]Absence check using 6 positive and 2 generalized place invariants in 2 ms returned sat
[2022-06-08 06:21:30] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:30] [INFO ] [Nat]Absence check using state equation in 103 ms returned sat
[2022-06-08 06:21:30] [INFO ] [Nat]Added 45 Read/Feed constraints in 18 ms returned sat
[2022-06-08 06:21:30] [INFO ] Computed and/alt/rep : 165/270/165 causal constraints (skipped 10 transitions) in 32 ms.
[2022-06-08 06:21:31] [INFO ] Added : 70 causal constraints over 16 iterations in 509 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 11 ms.
[2022-06-08 06:21:31] [INFO ] [Real]Absence check using 6 positive place invariants in 7 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Real]Absence check using 6 positive and 2 generalized place invariants in 3 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:31] [INFO ] [Real]Absence check using state equation in 128 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Real]Added 45 Read/Feed constraints in 20 ms returned unsat
[2022-06-08 06:21:31] [INFO ] [Real]Absence check using 6 positive place invariants in 7 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Real]Absence check using 6 positive and 2 generalized place invariants in 2 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:31] [INFO ] [Real]Absence check using state equation in 79 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Real]Added 45 Read/Feed constraints in 33 ms returned sat
[2022-06-08 06:21:31] [INFO ] Solution in real domain found non-integer solution.
[2022-06-08 06:21:31] [INFO ] [Nat]Absence check using 6 positive place invariants in 4 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Nat]Absence check using 6 positive and 2 generalized place invariants in 2 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:31] [INFO ] [Nat]Absence check using state equation in 60 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Nat]Added 45 Read/Feed constraints in 12 ms returned unsat
[2022-06-08 06:21:31] [INFO ] [Real]Absence check using 6 positive place invariants in 5 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Real]Absence check using 6 positive and 2 generalized place invariants in 2 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:31] [INFO ] [Real]Absence check using state equation in 90 ms returned sat
[2022-06-08 06:21:31] [INFO ] Solution in real domain found non-integer solution.
[2022-06-08 06:21:31] [INFO ] [Nat]Absence check using 6 positive place invariants in 5 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Nat]Absence check using 6 positive and 2 generalized place invariants in 3 ms returned sat
[2022-06-08 06:21:31] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:32] [INFO ] [Nat]Absence check using state equation in 96 ms returned sat
[2022-06-08 06:21:32] [INFO ] [Nat]Added 45 Read/Feed constraints in 28 ms returned unsat
[2022-06-08 06:21:32] [INFO ] [Real]Absence check using 6 positive place invariants in 5 ms returned sat
[2022-06-08 06:21:32] [INFO ] [Real]Absence check using 6 positive and 2 generalized place invariants in 2 ms returned sat
[2022-06-08 06:21:32] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-08 06:21:32] [INFO ] [Real]Absence check using state equation in 74 ms returned unsat
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-08 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-06 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-05 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-03 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-01 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-00 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 8 Parikh solutions to 1 different solutions.
Incomplete Parikh walk after 10700 steps, including 216 resets, run finished after 48 ms. (steps per millisecond=222 ) properties (out of 1) seen :0 could not realise parikh vector
Support contains 2 out of 114 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 114/114 places, 180/180 transitions.
Graph (complete) has 276 edges and 114 vertex of which 113 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.4 ms
Discarding 1 places :
Also discarding 0 output transitions
Drop transitions removed 35 transitions
Trivial Post-agglo rules discarded 35 transitions
Performed 35 trivial Post agglomeration. Transition count delta: 35
Iterating post reduction 0 with 35 rules applied. Total rules applied 36 place count 113 transition count 145
Reduce places removed 35 places and 0 transitions.
Iterating post reduction 1 with 35 rules applied. Total rules applied 71 place count 78 transition count 145
Performed 18 Post agglomeration using F-continuation condition.Transition count delta: 18
Deduced a syphon composed of 18 places in 1 ms
Reduce places removed 18 places and 0 transitions.
Iterating global reduction 2 with 36 rules applied. Total rules applied 107 place count 60 transition count 127
Drop transitions removed 10 transitions
Redundant transition composition rules discarded 10 transitions
Iterating global reduction 2 with 10 rules applied. Total rules applied 117 place count 60 transition count 117
Free-agglomeration rule (complex) applied 1 times.
Iterating global reduction 2 with 1 rules applied. Total rules applied 118 place count 60 transition count 116
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 119 place count 59 transition count 116
Partial Free-agglomeration rule applied 31 times.
Drop transitions removed 31 transitions
Iterating global reduction 3 with 31 rules applied. Total rules applied 150 place count 59 transition count 116
Applied a total of 150 rules in 84 ms. Remains 59 /114 variables (removed 55) and now considering 116/180 (removed 64) transitions.
Finished structural reductions, in 1 iterations. Remains : 59/114 places, 116/180 transitions.
[2022-06-08 06:21:32] [INFO ] Flatten gal took : 92 ms
[2022-06-08 06:21:32] [INFO ] Flatten gal took : 31 ms
[2022-06-08 06:21:32] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality4667690446886419694.gal : 18 ms
[2022-06-08 06:21:32] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality2279070356643621299.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/ReachabilityCardinality4667690446886419694.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality2279070356643621299.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/ReachabilityCardinality4667690446886419694.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality2279070356643621299.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality2279070356643621299.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 13
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :13 after 16
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :16 after 18
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :18 after 23
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :23 after 30
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :30 after 371
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :371 after 631
SDD proceeding with computation,1 properties remain. new max is 512
SDD size :631 after 1164
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst,13225,0.425436,10788,2,3585,13,26019,7,0,337,21916,0
Total reachable state count : 13225

Verifying 1 reachability properties.
Invariant property CANInsertWithFailure-PT-005-ReachabilityFireability-04 is true.
FORMULA CANInsertWithFailure-PT-005-ReachabilityFireability-04 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
CANInsertWithFailure-PT-005-ReachabilityFireability-04,0,0.42865,10788,1,0,13,26019,7,0,339,21916,0
All properties solved without resorting to model-checking.

BK_STOP 1654669294539

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -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 ReachabilityFireability -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="CANInsertWithFailure-PT-005"
export BK_EXAMINATION="ReachabilityFireability"
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 CANInsertWithFailure-PT-005, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r305-smll-165463878300003"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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