fond
Model Checking Contest 2026
16th edition, Hamburg, Germany, June 23, 2026
Execution of r094-smll-177946996100011
Last Updated
Jun 17, 2026

About the Execution of 2025-gold for DatabaseWithMutex-COL-04

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
6175.296 123071.00 196770.00 482.20 FFFFTFTTFTTTTFTT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2026-input.r094-smll-177946996100011.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2026-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-5973
Executing tool gold2025
Input is DatabaseWithMutex-COL-04, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r094-smll-177946996100011
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 500K
-rw-r--r-- 1 mcc users 8.6K Mar 5 14:34 CTLCardinality.txt
-rw-r--r-- 1 mcc users 84K Mar 5 14:34 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.3K Mar 5 14:33 CTLFireability.txt
-rw-r--r-- 1 mcc users 41K Mar 5 14:33 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Mar 3 18:30 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.7K Mar 3 18:30 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.1K Mar 15 08:43 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K Mar 15 08:43 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Mar 15 08:43 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Mar 15 08:43 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Mar 5 14:34 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 109K Mar 5 14:34 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 12K Mar 5 14:34 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 96K Mar 5 14:34 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 15 08:43 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 15 08:43 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 3 18:30 equiv_pt
-rw-r--r-- 1 mcc users 3 Mar 3 18:30 instance
-rw-r--r-- 1 mcc users 5 Mar 3 18:30 iscolored
-rw-r--r-- 1 mcc users 21K Mar 3 18:30 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

echo here is the order used to build the result vector(from xml file)
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-00
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-01
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-02
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-03
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-04
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-05
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-06
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-07
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-08
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-09
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-10
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-11
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-12
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-13
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-14
FORMULA_NAME DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-15

=== Now, execution of the tool begins

BK_START 1779524857136

gold2025
Got BK_BIN_PATH=/home/mcc/BenchKit/bin/
---> gold2025 --- TAPAAL 2025-v2
Setting MODEL_PATH=.
Setting VERIFYPN=/home/mcc/BenchKit/bin/verifypn
Got BK_TIME_CONFINEMENT=3600
Setting TEMPDIR=/home/mcc/BenchKit/bin/tmp
Got BK_MEMORY_CONFINEMENT=16384
Limiting to 16265216 kB
Total timeout: 3590
Time left: 3590

**********************************************
* TAPAAL verifying ReachabilityCardinality *
**********************************************
TEMPDIR=/home/mcc/BenchKit/bin/tmp
QF=/home/mcc/BenchKit/bin/tmp/tmp.Ausi8BRc7f
MF=/home/mcc/BenchKit/bin/tmp/tmp.3xgnsNNAuR
Time left: 3590
---------------------------------------------------
Step -1: Stripping Colors
---------------------------------------------------
Verifying stripped models (16 in total)
Solution found by stripping colors (step -1) for query index 0
Solution found by stripping colors (step -1) for query index 1
Solution found by stripping colors (step -1) for query index 2
Solution found by stripping colors (step -1) for query index 3
Solution found by stripping colors (step -1) for query index 4
Solution found by stripping colors (step -1) for query index 5
Solution found by stripping colors (step -1) for query index 7
Solution found by stripping colors (step -1) for query index 8
Solution found by stripping colors (step -1) for query index 9
Solution found by stripping colors (step -1) for query index 10
Solution found by stripping colors (step -1) for query index 11
Solution found by stripping colors (step -1) for query index 12
Solution found by stripping colors (step -1) for query index 15

FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-00 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 0 was solved

Query is NOT satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-01 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 1 was solved

Query is NOT satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-02 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 2 was solved

Query is NOT satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-03 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 3 was solved

Query is NOT satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-04 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 4 was solved

Query is satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-05 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 5 was solved

Query is NOT satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-07 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 7 was solved

Query is satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-08 FALSE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 8 was solved

Query is NOT satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-09 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 9 was solved

Query is satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-10 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 10 was solved

Query is satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-11 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 11 was solved

Query is satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-12 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 12 was solved

Query is satisfied.

Solved using CPN Approximation



FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-15 TRUE TECHNIQUES COLLATERAL_PROCESSING STRUCTURAL_REDUCTION QUERY_REDUCTION SAT_SMT LP_APPROX CPN_APPROX
Query index 15 was solved

Query is satisfied.

Solved using CPN Approximation



Unable to decide if DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-06 is satisfied.

Query is MAYBE satisfied.


Unable to decide if DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-14 is satisfied.

Query is MAYBE satisfied.


Unable to decide if DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-13 is satisfied.

Query is MAYBE satisfied.

Spent 0.001259 on verification
Time left: 3590
---------------------------------------------------
Step -0.5: Explicit parallel processing
---------------------------------------------------
Doing explicit parallel verification of individual queries (3 in total)
Each query is verified by 4 parallel strategies for 119 seconds
------------------- QUERY 7 ----------------------

Parameters: -C -s RDFS --colored-successor-generator even ./model.pnml ./ReachabilityCardinality.xml -x 7

Search=RDFS,Trace=DISABLED,PrintBindings=DISABLED,State_Space_Exploration=DISABLED,Colored_Structural_Reduction=ALL,Colored_Struct_Red_Timout=30,Structural_Reduction=AGGRESSIVE,Struct_Red_Timout=60,Stubborn_Reduction=ENABLED,Query_Simplication=ENABLED,QSTimeout=30,Init_Potency=ENABLED,InitPotencyTimeout=10,Siphon_Trap=DISABLED,LPSolve_Timeout=10,ExplicitColored=ENABLED,ColoredSuccessorGenerator=EVEN

Colored structural reductions computed in 4e-05 seconds
Reduced from 11 to 11 places (0, 0%)
Reduced from 8 to 8 transitions (0, 0%)
Applications of rule AtomicPreAgglomeration: 0
Applications of rule DeadTransitions: 0
Applications of rule ParallelPlaces: 0
Applications of rule ParallelTransitions: 0
Applications of rule PreemptiveFiring: 0
Applications of rule RedundantPlaces: 0
Applications of rule Relevance: 0
Could not do colored reductions

Query before reduction: EF (not ((not (((((updating <= all_passive) and (Modify <= all_passive) and (15 <= Active)) or (not (Acknowledge <= Message))) and (92 <= WaitMutex)) or (not ((93 <= MesBuffReply) and (Modify <= Message) and ((Modify <= 32) or (Acknowledge <= 66)))))) or (Message <= all_passive)))
RWSTATS PRE:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,
RWSTATS POST:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,

Query after reduction: EF (((MesBuffReply < 93) or (Message < Modify)) and (all_passive < Message))
Query reduction finished after 0.001667 seconds.
Query size reduced from 42 to 12 nodes ( 71.4286 percent reduction).
Query index 0 was solved

Query is satisfied
STATS:
discovered states: 793
explored states: 511
peak waiting states: 384
end waiting states: 384
biggest encoded state: 56 bytes
@@@0.01,6272@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn '-C -s RDFS --colored-successor-generator even' ./model.pnml ./ReachabilityCardinality.xml -x 7
Solution found by explicit exploration (step -0.5)

FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-06 TRUE TECHNIQUES STRUCTURAL_REDUCTION CPN_EXPLICIT
Time left: 3590
------------------- QUERY 14 ----------------------

Parameters: -C -s RDFS --colored-successor-generator even ./model.pnml ./ReachabilityCardinality.xml -x 14

Search=RDFS,Trace=DISABLED,PrintBindings=DISABLED,State_Space_Exploration=DISABLED,Colored_Structural_Reduction=ALL,Colored_Struct_Red_Timout=30,Structural_Reduction=AGGRESSIVE,Struct_Red_Timout=60,Stubborn_Reduction=ENABLED,Query_Simplication=ENABLED,QSTimeout=30,Init_Potency=ENABLED,InitPotencyTimeout=10,Siphon_Trap=DISABLED,LPSolve_Timeout=10,ExplicitColored=ENABLED,ColoredSuccessorGenerator=EVEN

Colored structural reductions computed in 0.000298 seconds
Reduced from 11 to 8 places (3, 27.2727%)
Reduced from 8 to 5 transitions (3, 37.5%)
Applications of rule AtomicPreAgglomeration: 3
Applications of rule DeadTransitions: 0
Applications of rule ParallelPlaces: 0
Applications of rule ParallelTransitions: 0
Applications of rule PreemptiveFiring: 0
Applications of rule RedundantPlaces: 0
Applications of rule Relevance: 0


Query before reduction: AG (not (all_passive <= Acknowledge))
RWSTATS PRE:0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,
RWSTATS POST:0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,

Query after reduction: (not EF (all_passive <= Acknowledge))
Query reduction finished after 0.000295 seconds.
Query size reduced from 5 to 5 nodes ( 0 percent reduction).
Query index 0 was solved

Query is NOT satisfied
STATS:
discovered states: 15
explored states: 15
peak waiting states: 14
end waiting states: 14
biggest encoded state: 51 bytes
Command exited with non-zero status 1
@@@0.00,6112@@@

Parameters: -C -s DFS --colored-successor-generator even -q 0 ./model.pnml ./ReachabilityCardinality.xml -x 14

Parameters: -C -s BFS --colored-successor-generator even -R 0 -q 0 ./model.pnml ./ReachabilityCardinality.xml -x 14

Search=DFS,Trace=DISABLED,PrintBindings=DISABLED,State_Space_Exploration=DISABLED,Colored_Structural_Reduction=ALL,Colored_Struct_Red_Timout=30,Structural_Reduction=AGGRESSIVE,Struct_Red_Timout=60,Stubborn_Reduction=ENABLED,Query_Simplication=DISABLED,Init_Potency=ENABLED,InitPotencyTimeout=10,Siphon_Trap=DISABLED,LPSolve_Timeout=10,ExplicitColored=ENABLED,ColoredSuccessorGenerator=EVEN

Colored structural reductions computed in 0.000286 seconds
Reduced from 11 to 8 places (3, 27.2727%)
Reduced from 8 to 5 transitions (3, 37.5%)
Applications of rule AtomicPreAgglomeration: 3
Applications of rule DeadTransitions: 0
Applications of rule ParallelPlaces: 0
Applications of rule ParallelTransitions: 0
Applications of rule PreemptiveFiring: 0
Applications of rule RedundantPlaces: 0
Applications of rule Relevance: 0

Query index 0 was solved

Query is NOT satisfied
STATS:
discovered states: 15
explored states: 15
peak waiting states: 14
end waiting states: 14
biggest encoded state: 53 bytes
Command exited with non-zero status 1
@@@0.00,5540@@@

Parameters: -C -s BestFS --colored-successor-generator fixed -q 0 ./model.pnml ./ReachabilityCardinality.xml -x 14

Search=HEUR,Trace=DISABLED,PrintBindings=DISABLED,State_Space_Exploration=DISABLED,Colored_Structural_Reduction=ALL,Colored_Struct_Red_Timout=30,Structural_Reduction=AGGRESSIVE,Struct_Red_Timout=60,Stubborn_Reduction=ENABLED,Query_Simplication=DISABLED,Init_Potency=ENABLED,InitPotencyTimeout=10,Siphon_Trap=DISABLED,LPSolve_Timeout=10,ExplicitColored=ENABLED,ColoredSuccessorGenerator=FIXED

Colored structural reductions computed in 0.000284 seconds
Reduced from 11 to 8 places (3, 27.2727%)
Reduced from 8 to 5 transitions (3, 37.5%)
Applications of rule AtomicPreAgglomeration: 3
Applications of rule DeadTransitions: 0
Applications of rule ParallelPlaces: 0
Applications of rule ParallelTransitions: 0
Applications of rule PreemptiveFiring: 0
Applications of rule RedundantPlaces: 0
Applications of rule Relevance: 0


Search=BFS,Trace=DISABLED,PrintBindings=DISABLED,State_Space_Exploration=DISABLED,Colored_Structural_Reduction=DISABLED,Colored_Struct_Red_Timout=30,Structural_Reduction=AGGRESSIVE,Struct_Red_Timout=60,Stubborn_Reduction=ENABLED,Query_Simplication=DISABLED,Init_Potency=ENABLED,InitPotencyTimeout=10,Siphon_Trap=DISABLED,LPSolve_Timeout=10,ExplicitColored=ENABLED,ColoredSuccessorGenerator=EVEN
Query index 0 was solved

Query is NOT satisfied
STATS:
discovered states: 9986643
explored states: 2222664
peak waiting states: 1014857
end waiting states: 1014857
biggest encoded state: 56 bytes
Command exited with non-zero status 1
@@@72.84,1044780@@@
parallel: Warning: This job was killed because it timed out:
parallel: Warning: eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn '-C -s BestFS --colored-successor-generator fixed -q 0' ./model.pnml ./ReachabilityCardinality.xml -x 14
Solution found by explicit exploration (step -0.5)

FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-13 FALSE TECHNIQUES STRUCTURAL_REDUCTION CPN_EXPLICIT
Time left: 3468
------------------- QUERY 15 ----------------------

Parameters: -C -s DFS --colored-successor-generator even -q 0 ./model.pnml ./ReachabilityCardinality.xml -x 15

Search=DFS,Trace=DISABLED,PrintBindings=DISABLED,State_Space_Exploration=DISABLED,Colored_Structural_Reduction=ALL,Colored_Struct_Red_Timout=30,Structural_Reduction=AGGRESSIVE,Struct_Red_Timout=60,Stubborn_Reduction=ENABLED,Query_Simplication=DISABLED,Init_Potency=ENABLED,InitPotencyTimeout=10,Siphon_Trap=DISABLED,LPSolve_Timeout=10,ExplicitColored=ENABLED,ColoredSuccessorGenerator=EVEN

Colored structural reductions computed in 0.000225 seconds
Reduced from 11 to 9 places (2, 18.1818%)
Reduced from 8 to 6 transitions (2, 25%)
Applications of rule AtomicPreAgglomeration: 2
Applications of rule DeadTransitions: 0
Applications of rule ParallelPlaces: 0
Applications of rule ParallelTransitions: 0
Applications of rule PreemptiveFiring: 0
Applications of rule RedundantPlaces: 0
Applications of rule Relevance: 0

Parameters: -C -s RDFS --colored-successor-generator even ./model.pnml ./ReachabilityCardinality.xml -x 15

Search=RDFS,Trace=DISABLED,PrintBindings=DISABLED,State_Space_Exploration=DISABLED,Colored_Structural_Reduction=ALL,Colored_Struct_Red_Timout=30,Structural_Reduction=AGGRESSIVE,Struct_Red_Timout=60,Stubborn_Reduction=ENABLED,Query_Simplication=ENABLED,QSTimeout=30,Init_Potency=ENABLED,InitPotencyTimeout=10,Siphon_Trap=DISABLED,LPSolve_Timeout=10,ExplicitColored=ENABLED,ColoredSuccessorGenerator=EVEN

Colored structural reductions computed in 0.000301 seconds
Reduced from 11 to 9 places (2, 18.1818%)
Reduced from 8 to 6 transitions (2, 25%)
Applications of rule AtomicPreAgglomeration: 2
Applications of rule DeadTransitions: 0
Applications of rule ParallelPlaces: 0
Applications of rule ParallelTransitions: 0
Applications of rule PreemptiveFiring: 0
Applications of rule RedundantPlaces: 0
Applications of rule Relevance: 0


Parameters: -C -s BFS --colored-successor-generator even -R 0 -q 0 ./model.pnml ./ReachabilityCardinality.xml -x 15

Query index 0 was solved

Query is satisfied
STATS:
discovered states: 10
explored states: 10
peak waiting states: 9
end waiting states: 9
biggest encoded state: 45 bytes
@@@0.00,5548@@@
parallel: This job succeeded:
eval /usr/bin/time -f "@@@%e,%M@@@" /home/mcc/BenchKit/bin/verifypn '-C -s DFS --colored-successor-generator even -q 0' ./model.pnml ./ReachabilityCardinality.xml -x 15
Solution found by explicit exploration (step -0.5)

FORMULA DatabaseWithMutex-COL-04-ReachabilityCardinality-2024-14 TRUE TECHNIQUES STRUCTURAL_REDUCTION CPN_EXPLICIT
Time left: 3467
All queries are solved in step -0.5
Time left: 3467
terminated-with-cleanup

BK_STOP 1779524980207

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

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="DatabaseWithMutex-COL-04"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="gold2025"
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-5973"
echo " Executing tool gold2025"
echo " Input is DatabaseWithMutex-COL-04, 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 r094-smll-177946996100011"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/DatabaseWithMutex-COL-04.tgz
mv DatabaseWithMutex-COL-04 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.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 ;