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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1700.604 217028.00 247814.00 1054.00 FFFFTFFTTTFTTTTF 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-165307357100156.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-S16D2C4A03, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r287-smll-165307357100156
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 54M
-rw-r--r-- 1 mcc users 9.2K Apr 29 12:43 CTLCardinality.txt
-rw-r--r-- 1 mcc users 80K Apr 29 12:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.9K Apr 29 12:24 CTLFireability.txt
-rw-r--r-- 1 mcc users 64K Apr 29 12:24 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.5K May 9 09:23 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 09:23 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.0K May 9 09:23 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 09:23 LTLFireability.xml
-rw-r--r-- 1 mcc users 9.5K Apr 29 14:05 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 74K Apr 29 14:05 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.1K Apr 29 13:27 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 50K Apr 29 13:27 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K May 9 09:23 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K May 9 09:23 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 54M 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-S16D2C4A03-ReachabilityFireability-00
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-01
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-02
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-03
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-04
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-05
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-06
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-07
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-08
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-09
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-10
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-11
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-12
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-13
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-14
FORMULA_NAME ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1655070587534

Running Version 0
[2022-06-12 21:49:50] [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-12 21:49:51] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:49:53] [INFO ] Load time of PNML (sax parser for PT used): 2890 ms
[2022-06-12 21:49:54] [INFO ] Transformed 78643 places.
[2022-06-12 21:49:54] [INFO ] Transformed 144177 transitions.
[2022-06-12 21:49:54] [INFO ] Parsed PT model containing 78643 places and 144177 transitions in 3408 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 78 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 2 resets, run finished after 8246 ms. (steps per millisecond=1 ) properties (out of 16) seen :3
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1894 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1741 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1721 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1846 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1734 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1889 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1713 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1809 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1719 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1715 ms. (steps per millisecond=5 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1713 ms. (steps per millisecond=5 ) properties (out of 13) seen :1
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1703 ms. (steps per millisecond=5 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1731 ms. (steps per millisecond=5 ) properties (out of 12) seen :0
Running SMT prover for 12 properties.
// Phase 1: matrix 144177 rows 78643 cols
[2022-06-12 21:52:23] [INFO ] Invariants computation overflowed in 117233 ms
[2022-06-12 21:52:49] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:52:49] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
Fused 12 Parikh solutions to 1 different solutions.
Support contains 190 out of 78643 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 78643/78643 places, 144177/144177 transitions.
Graph (complete) has 69904 edges and 78643 vertex of which 1866 are kept as prefixes of interest. Removing 76777 places using SCC suffix rule.93 ms
Discarding 76777 places :
Also discarding 140479 output transitions
Drop transitions removed 140479 transitions
Drop transitions removed 1918 transitions
Reduce isomorphic transitions removed 1918 transitions.
Iterating post reduction 0 with 1918 rules applied. Total rules applied 1919 place count 1866 transition count 1780
Performed 59 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 1 with 59 Pre rules applied. Total rules applied 1919 place count 1866 transition count 1721
Deduced a syphon composed of 59 places in 1 ms
Reduce places removed 59 places and 0 transitions.
Iterating global reduction 1 with 118 rules applied. Total rules applied 2037 place count 1807 transition count 1721
Discarding 1299 places :
Symmetric choice reduction at 1 with 1299 rule applications. Total rules 3336 place count 508 transition count 422
Iterating global reduction 1 with 1299 rules applied. Total rules applied 4635 place count 508 transition count 422
Performed 28 Post agglomeration using F-continuation condition.Transition count delta: 28
Deduced a syphon composed of 28 places in 1 ms
Reduce places removed 28 places and 0 transitions.
Iterating global reduction 1 with 56 rules applied. Total rules applied 4691 place count 480 transition count 394
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 4692 place count 479 transition count 393
Applied a total of 4692 rules in 1258 ms. Remains 479 /78643 variables (removed 78164) and now considering 393/144177 (removed 143784) transitions.
Finished structural reductions, in 1 iterations. Remains : 479/78643 places, 393/144177 transitions.
[2022-06-12 21:52:51] [INFO ] Flatten gal took : 94 ms
[2022-06-12 21:52:51] [INFO ] Flatten gal took : 39 ms
[2022-06-12 21:52:51] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality2209867145129715718.gal : 23 ms
[2022-06-12 21:52:51] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality16641224868510399176.prop : 3 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/ReachabilityCardinality2209867145129715718.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality16641224868510399176.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/ReachabilityCardinality2209867145129715718.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality16641224868510399176.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality16641224868510399176.prop.
SDD proceeding with computation,12 properties remain. new max is 4
SDD size :1 after 7
SDD proceeding with computation,12 properties remain. new max is 8
SDD size :7 after 27
SDD proceeding with computation,12 properties remain. new max is 16
SDD size :27 after 729
SDD proceeding with computation,12 properties remain. new max is 32
SDD size :729 after 98415
Reachability property ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-14 is true.
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-14 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Detected timeout of ITS tools.
[2022-06-12 21:53:06] [INFO ] Flatten gal took : 33 ms
[2022-06-12 21:53:06] [INFO ] Applying decomposition
[2022-06-12 21:53:06] [INFO ] Flatten gal took : 31 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph8340720933594073837.txt, -o, /tmp/graph8340720933594073837.bin, -w, /tmp/graph8340720933594073837.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph8340720933594073837.bin, -l, -1, -v, -w, /tmp/graph8340720933594073837.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 21:53:06] [INFO ] Decomposing Gal with order
[2022-06-12 21:53:06] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-12 21:53:07] [INFO ] Removed a total of 194 redundant transitions.
[2022-06-12 21:53:07] [INFO ] Flatten gal took : 175 ms
[2022-06-12 21:53:07] [INFO ] Fuse similar labels procedure discarded/fused a total of 12 labels/synchronizations in 23 ms.
[2022-06-12 21:53:07] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality4002120209663460258.gal : 24 ms
[2022-06-12 21:53:07] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality3990355850022457164.prop : 4 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/ReachabilityCardinality4002120209663460258.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality3990355850022457164.prop, --nowitness], 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/ReachabilityCardinality4002120209663460258.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality3990355850022457164.prop --nowitness
Loading property file /tmp/ReachabilityCardinality3990355850022457164.prop.
SDD proceeding with computation,11 properties remain. new max is 4
SDD size :1 after 1.51875e+06
Invariant property ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-03 does not hold.
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-03 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin17322051946954753859
[2022-06-12 21:53:22] [INFO ] Built C files in 27ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin17322051946954753859
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin17322051946954753859]
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin17322051946954753859] killed by timeout after 1 SECONDS
java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin17322051946954753859] killed by timeout after 1 SECONDS
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:79)
at java.base/java.lang.Thread.run(Thread.java:834)
Finished random walk after 6802 steps, including 13 resets, run visited all 10 properties in 108 ms. (steps per millisecond=62 )
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S16D2C4A03-ReachabilityFireability-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.

BK_STOP 1655070804562

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

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