fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r109-tall-171624208200255
Last Updated
July 7, 2024

About the Execution of 2023-gold for CryptoMiner-PT-D05N250

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
303.451 6915.00 14372.00 253.10 TFFFTFTTFFTTTTFT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r109-tall-171624208200255.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5568
Executing tool gold2023
Input is CryptoMiner-PT-D05N250, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r109-tall-171624208200255
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 620K
-rw-r--r-- 1 mcc users 12K Apr 12 12:34 CTLCardinality.txt
-rw-r--r-- 1 mcc users 81K Apr 12 12:34 CTLCardinality.xml
-rw-r--r-- 1 mcc users 11K Apr 12 12:29 CTLFireability.txt
-rw-r--r-- 1 mcc users 84K Apr 12 12:29 CTLFireability.xml
-rw-r--r-- 1 mcc users 7.2K Apr 22 14:35 LTLCardinality.txt
-rw-r--r-- 1 mcc users 36K Apr 22 14:35 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.9K Apr 22 14:35 LTLFireability.txt
-rw-r--r-- 1 mcc users 24K Apr 22 14:35 LTLFireability.xml
-rw-r--r-- 1 mcc users 27K Apr 12 12:37 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 185K Apr 12 12:37 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 13K Apr 12 12:36 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 90K Apr 12 12:36 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.3K Apr 22 14:35 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.1K Apr 22 14:35 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 18 16:42 equiv_col
-rw-r--r-- 1 mcc users 8 May 18 16:42 instance
-rw-r--r-- 1 mcc users 6 May 18 16:42 iscolored
-rw-r--r-- 1 mcc users 7.8K May 18 16:42 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 CryptoMiner-PT-D05N250-ReachabilityFireability-2024-00
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-01
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-02
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-04
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-05
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-06
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-07
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-08
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-09
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-10
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-11
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-12
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-14
FORMULA_NAME CryptoMiner-PT-D05N250-ReachabilityFireability-2024-15

=== Now, execution of the tool begins

BK_START 1716320182917

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=gold2023
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=CryptoMiner-PT-D05N250
Applying reductions before tool lola
Invoking reducer
Running Version 202304061127
[2024-05-21 19:36:24] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -timeout, 360, -rebuildPNML]
[2024-05-21 19:36:24] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-21 19:36:24] [INFO ] Load time of PNML (sax parser for PT used): 19 ms
[2024-05-21 19:36:24] [INFO ] Transformed 18 places.
[2024-05-21 19:36:24] [INFO ] Transformed 18 transitions.
[2024-05-21 19:36:24] [INFO ] Parsed PT model containing 18 places and 18 transitions and 52 arcs in 75 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 13 ms.
Working with output stream class java.io.PrintStream
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10060 steps, including 2 resets, run finished after 42 ms. (steps per millisecond=239 ) properties (out of 13) seen :2
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 154 ms. (steps per millisecond=64 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 99 ms. (steps per millisecond=101 ) properties (out of 11) seen :3
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-07 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-04 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-01 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 43 ms. (steps per millisecond=232 ) properties (out of 8) seen :1
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-12 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 45 ms. (steps per millisecond=222 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 35 ms. (steps per millisecond=285 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 36 ms. (steps per millisecond=277 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 7) seen :0
Running SMT prover for 7 properties.
// Phase 1: matrix 18 rows 18 cols
[2024-05-21 19:36:24] [INFO ] Computed 1 invariants in 7 ms
[2024-05-21 19:36:25] [INFO ] After 162ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:6
[2024-05-21 19:36:25] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2024-05-21 19:36:25] [INFO ] After 27ms SMT Verify possible using state equation in natural domain returned unsat :5 sat :2
[2024-05-21 19:36:25] [INFO ] State equation strengthened by 5 read => feed constraints.
[2024-05-21 19:36:25] [INFO ] After 13ms SMT Verify possible using 5 Read/Feed constraints in natural domain returned unsat :5 sat :2
[2024-05-21 19:36:25] [INFO ] After 34ms SMT Verify possible using trap constraints in natural domain returned unsat :5 sat :2
Attempting to minimize the solution found.
Minimization took 34 ms.
[2024-05-21 19:36:25] [INFO ] After 165ms SMT Verify possible using all constraints in natural domain returned unsat :5 sat :2
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-14 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-05 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 7 Parikh solutions to 2 different solutions.
Parikh walk visited 0 properties in 30 ms.
Support contains 17 out of 18 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 18/18 places, 18/18 transitions.
Graph (complete) has 28 edges and 18 vertex of which 17 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.1 ms
Discarding 1 places :
Also discarding 0 output transitions
Applied a total of 1 rules in 10 ms. Remains 17 /18 variables (removed 1) and now considering 18/18 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 10 ms. Remains : 17/18 places, 18/18 transitions.
Incomplete random walk after 10047 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=3349 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 2) seen :0
Interrupted probabilistic random walk after 860930 steps, run timeout after 3001 ms. (steps per millisecond=286 ) properties seen :{}
Probabilistic random walk after 860930 steps, saw 382246 distinct states, run finished after 3002 ms. (steps per millisecond=286 ) properties seen :0
Running SMT prover for 2 properties.
// Phase 1: matrix 18 rows 17 cols
[2024-05-21 19:36:28] [INFO ] Computed 0 invariants in 2 ms
[2024-05-21 19:36:28] [INFO ] After 42ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2024-05-21 19:36:28] [INFO ] After 13ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2024-05-21 19:36:28] [INFO ] State equation strengthened by 5 read => feed constraints.
[2024-05-21 19:36:28] [INFO ] After 9ms SMT Verify possible using 5 Read/Feed constraints in natural domain returned unsat :0 sat :2
[2024-05-21 19:36:28] [INFO ] After 23ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :2
Attempting to minimize the solution found.
Minimization took 15 ms.
[2024-05-21 19:36:28] [INFO ] After 84ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :2
Parikh walk visited 0 properties in 25 ms.
Support contains 17 out of 17 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 17/17 places, 18/18 transitions.
Applied a total of 0 rules in 1 ms. Remains 17 /17 variables (removed 0) and now considering 18/18 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 1 ms. Remains : 17/17 places, 18/18 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 17/17 places, 18/18 transitions.
Applied a total of 0 rules in 1 ms. Remains 17 /17 variables (removed 0) and now considering 18/18 (removed 0) transitions.
[2024-05-21 19:36:28] [INFO ] Invariant cache hit.
[2024-05-21 19:36:28] [INFO ] Implicit Places using invariants in 15 ms returned []
[2024-05-21 19:36:28] [INFO ] Invariant cache hit.
[2024-05-21 19:36:28] [INFO ] State equation strengthened by 5 read => feed constraints.
[2024-05-21 19:36:28] [INFO ] Implicit Places using invariants and state equation in 45 ms returned []
Implicit Place search using SMT with State Equation took 61 ms to find 0 implicit places.
[2024-05-21 19:36:28] [INFO ] Redundant transitions in 0 ms returned []
[2024-05-21 19:36:28] [INFO ] Invariant cache hit.
[2024-05-21 19:36:28] [INFO ] Dead Transitions using invariants and state equation in 25 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 94 ms. Remains : 17/17 places, 18/18 transitions.
Applied a total of 0 rules in 1 ms. Remains 17 /17 variables (removed 0) and now considering 18/18 (removed 0) transitions.
Running SMT prover for 2 properties.
[2024-05-21 19:36:28] [INFO ] Invariant cache hit.
[2024-05-21 19:36:28] [INFO ] After 32ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2024-05-21 19:36:28] [INFO ] After 10ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2024-05-21 19:36:28] [INFO ] After 23ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :2
Attempting to minimize the solution found.
Minimization took 6 ms.
[2024-05-21 19:36:28] [INFO ] After 49ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :2
[2024-05-21 19:36:28] [INFO ] Export to MCC of 2 properties in file /home/mcc/execution/ReachabilityFireability.sr.xml took 3 ms.
[2024-05-21 19:36:28] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 17 places, 18 transitions and 51 arcs took 1 ms.
[2024-05-21 19:36:28] [INFO ] Flatten gal took : 15 ms
Total runtime 4614 ms.
There are residual formulas that ITS could not solve within timeout
starting LoLA
BK_INPUT CryptoMiner-PT-D05N250
BK_EXAMINATION: ReachabilityFireability
bin directory: /home/mcc/BenchKit/bin//../reducer/bin//../../lola/bin/
current directory: /home/mcc/execution/372
ReachabilityFireability

FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

BK_STOP 1716320189832

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

+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202304061127.jar
+ VERSION=202304061127
+ echo 'Running Version 202304061127'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityFireability -timeout 360 -rebuildPNML
lola: MEM LIMIT 32
lola: MEM LIMIT 5
lola: NET
lola: input: PNML file (--pnmlnet)
lola: reading net from /home/mcc/execution/372/model.pnml
lola: reading pnml
lola: PNML file contains place/transition net
lola: finished parsing
lola: closed net file /home/mcc/execution/372/model.pnml
lola: Reading formula.
lola: Using XML format (--xmlformula)
lola: reading XML formula
lola: reading formula from /home/mcc/execution/372/ReachabilityFireability.xml
lola: Created skeleton in 0.000000 secs.
lola: Created skeleton in 0.000000 secs.
lola: Rule S: 0 transitions removed,0 places removed
lola: rewrite Frontend/Parser/formula_rewrite.k:711
lola: rewrite Frontend/Parser/formula_rewrite.k:711
lola: rewrite Frontend/Parser/formula_rewrite.k:711
lola: rewrite Frontend/Parser/formula_rewrite.k:711
lola: LAUNCH task # 10 (type EXCL) for 3 CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13
lola: time limit : 1800 sec
lola: memory limit: 32 pages
lola: LAUNCH task # 6 (type FNDP) for 3 CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 7 (type EQUN) for 3 CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 9 (type SRCH) for 3 CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: FINISHED task # 10 (type EXCL) for CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13
lola: result : true
lola: markings : 281
lola: fired transitions : 291
lola: time used : 0.000000
lola: memory pages used : 1
lola: FINISHED task # 9 (type SRCH) for CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13
lola: result : true
lola: markings : 22
lola: fired transitions : 21
lola: time used : 0.000000
lola: memory pages used : 1
lola: rewrite Frontend/Parser/formula_rewrite.k:711
lola: CANCELED task # 6 (type FNDP) for CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13 (obsolete)
lola: CANCELED task # 7 (type EQUN) for CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13 (obsolete)
lola: rewrite Frontend/Parser/formula_rewrite.k:721
lola: rewrite Frontend/Parser/formula_rewrite.k:787
lola: rewrite Frontend/Parser/formula_rewrite.k:721
lola: rewrite Frontend/Parser/formula_rewrite.k:787
lola: rewrite Frontend/Parser/formula_rewrite.k:721
lola: rewrite Frontend/Parser/formula_rewrite.k:787
lola: rewrite Frontend/Parser/formula_rewrite.k:721
lola: rewrite Frontend/Parser/formula_rewrite.k:787
lola: FINISHED task # 6 (type FNDP) for CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13
lola: result : true
lola: fired transitions : 1429
lola: tried executions : 170
lola: time used : 0.000000
lola: memory pages used : 0
lola: LAUNCH task # 17 (type EXCL) for 0 CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03
lola: time limit : 3600 sec
lola: memory limit: 32 pages
lola: LAUNCH task # 13 (type FNDP) for 0 CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 14 (type EQUN) for 0 CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: LAUNCH task # 16 (type SRCH) for 0 CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03
lola: time limit : 32000000 sec
lola: memory limit: 5 pages
lola: FINISHED task # 17 (type EXCL) for CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03
lola: result : true
lola: markings : 136
lola: fired transitions : 178
lola: time used : 0.000000
lola: memory pages used : 1
lola: CANCELED task # 13 (type FNDP) for CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03 (obsolete)
lola: CANCELED task # 14 (type EQUN) for CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03 (obsolete)
lola: CANCELED task # 16 (type SRCH) for CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03 (obsolete)
lola: Portfolio finished: no open formulas

FINAL RESULTS
FINISHED FORMULA: CATEGORY VALUE PRODUCED BY
CryptoMiner-PT-D05N250-ReachabilityFireability-2024-03: AG false tandem / relaxed
CryptoMiner-PT-D05N250-ReachabilityFireability-2024-13: EF true tandem / insertion


Time elapsed: 0 secs. Pages in use: 2
sara: try reading problem file /home/mcc/execution/372/ReachabilityFireability-7.sara.
sara: place or transition ordering is non-deterministic

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="CryptoMiner-PT-D05N250"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="gold2023"
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-5568"
echo " Executing tool gold2023"
echo " Input is CryptoMiner-PT-D05N250, 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 r109-tall-171624208200255"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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