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

About the Execution of 2021-gold for ViralEpidemic-PT-S16D2C4A01

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
387.287 17156.00 28146.00 408.00 FTTTFTFFFTTTFTTT 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.r287-smll-165307357100149.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 ViralEpidemic-PT-S16D2C4A01, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r287-smll-165307357100149
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 664K
-rw-r--r-- 1 mcc users 9.0K Apr 29 12:12 CTLCardinality.txt
-rw-r--r-- 1 mcc users 83K Apr 29 12:12 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.8K Apr 29 12:11 CTLFireability.txt
-rw-r--r-- 1 mcc users 45K Apr 29 12:11 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 10 09:34 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.3K May 9 09:22 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 9 09:22 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K May 9 09:22 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 09:22 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Apr 29 12:13 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 100K Apr 29 12:13 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 13K Apr 29 12:12 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 99K Apr 29 12:12 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K May 9 09:22 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K May 9 09:22 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 11 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 187K May 10 09:34 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 ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-00
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-01
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-02
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-03
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-04
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-05
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-06
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-07
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-08
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-09
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-10
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-11
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-12
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-13
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-14
FORMULA_NAME ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655070404193

Running Version 0
[2022-06-12 21:46:47] [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:46:47] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:46:47] [INFO ] Load time of PNML (sax parser for PT used): 174 ms
[2022-06-12 21:46:47] [INFO ] Transformed 307 places.
[2022-06-12 21:46:47] [INFO ] Transformed 561 transitions.
[2022-06-12 21:46:47] [INFO ] Parsed PT model containing 307 places and 561 transitions in 267 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 36 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 127 resets, run finished after 280 ms. (steps per millisecond=35 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 16) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 8 ms. (steps per millisecond=125 ) properties (out of 16) seen :0
Probabilistic random walk after 1000000 steps, saw 107115 distinct states, run finished after 7013 ms. (steps per millisecond=142 ) properties seen :{}
Running SMT prover for 16 properties.
// Phase 1: matrix 561 rows 307 cols
[2022-06-12 21:46:55] [INFO ] Computed 1 place invariants in 51 ms
[2022-06-12 21:46:55] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 9 ms returned sat
[2022-06-12 21:46:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:55] [INFO ] [Real]Absence check using state equation in 230 ms returned unsat
[2022-06-12 21:46:55] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 10 ms returned sat
[2022-06-12 21:46:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:56] [INFO ] [Real]Absence check using state equation in 253 ms returned unsat
[2022-06-12 21:46:56] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 8 ms returned sat
[2022-06-12 21:46:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:56] [INFO ] [Real]Absence check using state equation in 267 ms returned unsat
[2022-06-12 21:46:56] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 9 ms returned sat
[2022-06-12 21:46:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:56] [INFO ] [Real]Absence check using state equation in 117 ms returned unsat
[2022-06-12 21:46:56] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 7 ms returned sat
[2022-06-12 21:46:56] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:57] [INFO ] [Real]Absence check using state equation in 111 ms returned unsat
[2022-06-12 21:46:57] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 8 ms returned sat
[2022-06-12 21:46:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:57] [INFO ] [Real]Absence check using state equation in 225 ms returned unsat
[2022-06-12 21:46:57] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 13 ms returned sat
[2022-06-12 21:46:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:57] [INFO ] [Real]Absence check using state equation in 152 ms returned unsat
[2022-06-12 21:46:57] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 8 ms returned sat
[2022-06-12 21:46:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:57] [INFO ] [Real]Absence check using state equation in 236 ms returned unsat
[2022-06-12 21:46:57] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 7 ms returned sat
[2022-06-12 21:46:57] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:58] [INFO ] [Real]Absence check using state equation in 196 ms returned unsat
[2022-06-12 21:46:58] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 9 ms returned sat
[2022-06-12 21:46:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:58] [INFO ] [Real]Absence check using state equation in 280 ms returned unsat
[2022-06-12 21:46:58] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 8 ms returned sat
[2022-06-12 21:46:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:58] [INFO ] [Real]Absence check using state equation in 141 ms returned unsat
[2022-06-12 21:46:58] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 16 ms returned sat
[2022-06-12 21:46:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:59] [INFO ] [Real]Absence check using state equation in 261 ms returned unsat
[2022-06-12 21:46:59] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 8 ms returned sat
[2022-06-12 21:46:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:59] [INFO ] [Real]Absence check using state equation in 199 ms returned unsat
[2022-06-12 21:46:59] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 10 ms returned sat
[2022-06-12 21:46:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:59] [INFO ] [Real]Absence check using state equation in 240 ms returned unsat
[2022-06-12 21:46:59] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 7 ms returned sat
[2022-06-12 21:46:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:46:59] [INFO ] [Real]Absence check using state equation in 116 ms returned unsat
[2022-06-12 21:46:59] [INFO ] [Real]Absence check using 0 positive and 1 generalized place invariants in 8 ms returned sat
[2022-06-12 21:46:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:47:00] [INFO ] [Real]Absence check using state equation in 196 ms returned unsat
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-14 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-13 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-12 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-08 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-07 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-06 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-05 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-04 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-03 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-01 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S16D2C4A01-ReachabilityCardinality-00 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 16 Parikh solutions to 0 different solutions.
All properties solved without resorting to model-checking.

BK_STOP 1655070421349

--------------------
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="ViralEpidemic-PT-S16D2C4A01"
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 ViralEpidemic-PT-S16D2C4A01, 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 r287-smll-165307357100149"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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