fond
Model Checking Contest 2025
15th edition, Paris, France, June 24, 2025
Execution of r265-tall-174931349600015
Last Updated
June 24, 2025

About the Execution of 2024-gold for Champagne-PT-H08T2O

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15685.320 15859.00 26293.00 233.40 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2025-input.r265-tall-174931349600015.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2025-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-5832
Executing tool gold2024
Input is Champagne-PT-H08T2O, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r265-tall-174931349600015
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 672K
-rw-r--r-- 1 mcc users 6.9K Jun 6 08:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 72K Jun 6 08:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.0K Jun 6 08:55 CTLFireability.txt
-rw-r--r-- 1 mcc users 42K Jun 6 08:55 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Jun 6 13:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 29K Jun 6 13:14 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Jun 6 13:15 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Jun 6 13:15 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 Jun 5 20:08 NewModel
-rw-r--r-- 1 mcc users 8.9K Jun 6 08:56 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 89K Jun 6 08:56 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.2K Jun 6 08:56 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 57K Jun 6 08:56 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Jun 6 13:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Jun 6 13:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Jun 5 20:08 equiv_col
-rw-r--r-- 1 mcc users 7 Jun 5 20:08 instance
-rw-r--r-- 1 mcc users 6 Jun 5 20:08 iscolored
-rw-r--r-- 1 mcc users 283K Jun 5 20:08 model.pnml

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

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

The expected result is a vector of positive values
NUM_VECTOR

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

=== Now, execution of the tool begins

BK_START 1749318789186

Invoking MCC driver with
BK_TOOL=gold2024
BK_EXAMINATION=UpperBounds
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=Champagne-PT-H08T2O
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
UpperBounds PT
Running Version 202405141337
[2025-06-07 17:53:10] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2025-06-07 17:53:10] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2025-06-07 17:53:10] [INFO ] Load time of PNML (sax parser for PT used): 114 ms
[2025-06-07 17:53:10] [INFO ] Transformed 1405 places.
[2025-06-07 17:53:10] [INFO ] Transformed 1828 transitions.
[2025-06-07 17:53:10] [INFO ] Found NUPN structural information;
[2025-06-07 17:53:10] [INFO ] Parsed PT model containing 1405 places and 1828 transitions and 4416 arcs in 224 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 6 ms.
Current structural bounds on expressions (Initiallly, because the net is safe) : Max Seen:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] Max Struct:[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
Current structural bounds on expressions (Before main loop) : Max Seen:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] Max Struct:[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
// Phase 1: matrix 1828 rows 1405 cols
[2025-06-07 17:53:10] [INFO ] Computed 37 invariants in 31 ms
Current structural bounds on expressions (after invariants) : Max Seen:[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] Max Struct:[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
RANDOM walk for 10000 steps (9 resets) in 62 ms. (158 steps per ms)
FORMULA Champagne-PT-H08T2O-UpperBounds-15 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-13 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-12 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-10 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-09 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-08 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-07 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-06 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-05 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-04 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-03 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-02 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-01 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-00 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 20002 steps (4 resets) in 22 ms. (869 steps per ms)
Current structural bounds on expressions (after WALK) : Max Seen:[0, 0] Max Struct:[1, 1]
[2025-06-07 17:53:10] [INFO ] Invariant cache hit.
[2025-06-07 17:53:11] [INFO ] [Real]Absence check using 37 positive place invariants in 43 ms returned sat
[2025-06-07 17:53:11] [INFO ] [Real]Absence check using state equation in 485 ms returned sat
[2025-06-07 17:53:12] [INFO ] Deduced a trap composed of 168 places in 412 ms of which 41 ms to minimize.
[2025-06-07 17:53:12] [INFO ] Solution in real domain found non-integer solution.
[2025-06-07 17:53:13] [INFO ] [Nat]Absence check using 37 positive place invariants in 36 ms returned sat
[2025-06-07 17:53:13] [INFO ] [Nat]Absence check using state equation in 527 ms returned sat
[2025-06-07 17:53:13] [INFO ] Deduced a trap composed of 168 places in 237 ms of which 5 ms to minimize.
[2025-06-07 17:53:13] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 364 ms
[2025-06-07 17:53:14] [INFO ] Computed and/alt/rep : 1778/4313/1778 causal constraints (skipped 49 transitions) in 106 ms.
[2025-06-07 17:53:17] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream close... while checking expression at index 0
java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream close...
at fr.lip6.move.gal.structural.smt.SMTUtils.execAndCheckResult(SMTUtils.java:299)
at fr.lip6.move.gal.structural.smt.DeadlockTester.refineWithCausalOrder(DeadlockTester.java:1137)
at fr.lip6.move.gal.structural.smt.DeadlockTester.verifyPossible(DeadlockTester.java:875)
at fr.lip6.move.gal.structural.smt.DeadlockTester.findStructuralMaxWithSMT(DeadlockTester.java:2251)
at fr.lip6.move.gal.application.solver.UpperBoundsSolver.applyReductions(UpperBoundsSolver.java:219)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:910)
at fr.lip6.move.gal.application.Application.start(Application.java:189)
at fr.lip6.move.gal.itscl.application.Application.start(Application.java:45)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
at org.eclipse.equinox.launcher.Main.main(Main.java:1432)
[2025-06-07 17:53:17] [INFO ] [Real]Absence check using 37 positive place invariants in 31 ms returned sat
[2025-06-07 17:53:18] [INFO ] [Real]Absence check using state equation in 483 ms returned sat
[2025-06-07 17:53:18] [INFO ] Computed and/alt/rep : 1778/4313/1778 causal constraints (skipped 49 transitions) in 97 ms.
[2025-06-07 17:53:18] [INFO ] Solution in real domain found non-integer solution.
[2025-06-07 17:53:19] [INFO ] [Nat]Absence check using 37 positive place invariants in 34 ms returned sat
[2025-06-07 17:53:19] [INFO ] [Nat]Absence check using state equation in 472 ms returned sat
[2025-06-07 17:53:19] [INFO ] Computed and/alt/rep : 1778/4313/1778 causal constraints (skipped 49 transitions) in 100 ms.
Maximisation of solution failed !
Minimization took 3 ms.
Current structural bounds on expressions (after SMT) : Max Seen:[0, 0] Max Struct:[1, 1]
Current structural bounds on expressions (After Parikh guided walk) : Max Seen:[0, 0] Max Struct:[1, 1]
Support contains 2 out of 1405 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1405/1405 places, 1828/1828 transitions.
Graph (trivial) has 1461 edges and 1405 vertex of which 723 / 1405 are part of one of the 37 SCC in 8 ms
Free SCC test removed 686 places
Drop transitions (Empty/Sink Transition effects.) removed 784 transitions
Reduce isomorphic transitions removed 784 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 355 transitions
Trivial Post-agglo rules discarded 355 transitions
Performed 355 trivial Post agglomeration. Transition count delta: 355
Iterating post reduction 0 with 355 rules applied. Total rules applied 356 place count 719 transition count 689
Reduce places removed 355 places and 0 transitions.
Ensure Unique test removed 34 transitions
Reduce isomorphic transitions removed 34 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 34 transitions
Trivial Post-agglo rules discarded 34 transitions
Performed 34 trivial Post agglomeration. Transition count delta: 34
Iterating post reduction 1 with 423 rules applied. Total rules applied 779 place count 364 transition count 621
Reduce places removed 34 places and 0 transitions.
Iterating post reduction 2 with 34 rules applied. Total rules applied 813 place count 330 transition count 621
Discarding 125 places :
Symmetric choice reduction at 3 with 125 rule applications. Total rules 938 place count 205 transition count 496
Iterating global reduction 3 with 125 rules applied. Total rules applied 1063 place count 205 transition count 496
Performed 36 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 36 Pre rules applied. Total rules applied 1063 place count 205 transition count 460
Deduced a syphon composed of 36 places in 0 ms
Reduce places removed 36 places and 0 transitions.
Iterating global reduction 3 with 72 rules applied. Total rules applied 1135 place count 169 transition count 460
Discarding 26 places :
Symmetric choice reduction at 3 with 26 rule applications. Total rules 1161 place count 143 transition count 300
Iterating global reduction 3 with 26 rules applied. Total rules applied 1187 place count 143 transition count 300
Ensure Unique test removed 26 transitions
Reduce isomorphic transitions removed 26 transitions.
Iterating post reduction 3 with 26 rules applied. Total rules applied 1213 place count 143 transition count 274
Performed 36 Post agglomeration using F-continuation condition.Transition count delta: 36
Deduced a syphon composed of 36 places in 1 ms
Reduce places removed 36 places and 0 transitions.
Iterating global reduction 4 with 72 rules applied. Total rules applied 1285 place count 107 transition count 238
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: -6
Deduced a syphon composed of 2 places in 12 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 4 with 4 rules applied. Total rules applied 1289 place count 105 transition count 244
Drop transitions (Empty/Sink Transition effects.) removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Iterating post reduction 4 with 4 rules applied. Total rules applied 1293 place count 105 transition count 240
Drop transitions (Redundant composition of simpler transitions.) removed 5 transitions
Redundant transition composition rules discarded 5 transitions
Iterating global reduction 5 with 5 rules applied. Total rules applied 1298 place count 105 transition count 235
Free-agglomeration rule applied 61 times.
Iterating global reduction 5 with 61 rules applied. Total rules applied 1359 place count 105 transition count 174
Reduce places removed 61 places and 0 transitions.
Drop transitions (Empty/Sink Transition effects.) removed 156 transitions
Reduce isomorphic transitions removed 156 transitions.
Graph (complete) has 132 edges and 44 vertex of which 14 are kept as prefixes of interest. Removing 30 places using SCC suffix rule.0 ms
Discarding 30 places :
Also discarding 2 output transitions
Drop transitions (Output transitions of discarded places.) removed 2 transitions
Iterating post reduction 5 with 218 rules applied. Total rules applied 1577 place count 14 transition count 16
Drop transitions (Empty/Sink Transition effects.) removed 3 transitions
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 4 transitions.
Iterating post reduction 6 with 4 rules applied. Total rules applied 1581 place count 14 transition count 12
Discarding 5 places :
Symmetric choice reduction at 7 with 5 rule applications. Total rules 1586 place count 9 transition count 7
Iterating global reduction 7 with 5 rules applied. Total rules applied 1591 place count 9 transition count 7
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 7 with 1 rules applied. Total rules applied 1592 place count 8 transition count 6
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 7 with 2 rules applied. Total rules applied 1594 place count 6 transition count 6
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 8 with 2 Pre rules applied. Total rules applied 1594 place count 6 transition count 4
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 8 with 4 rules applied. Total rules applied 1598 place count 4 transition count 4
Applied a total of 1598 rules in 245 ms. Remains 4 /1405 variables (removed 1401) and now considering 4/1828 (removed 1824) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 255 ms. Remains : 4/1405 places, 4/1828 transitions.
// Phase 1: matrix 4 rows 4 cols
[2025-06-07 17:53:24] [INFO ] Computed 2 invariants in 0 ms
Current structural bounds on expressions (after invariants) : Max Seen:[0, 0] Max Struct:[1, 1]
RANDOM walk for 1000000 steps (2 resets) in 347 ms. (2873 steps per ms)
FORMULA Champagne-PT-H08T2O-UpperBounds-14 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA Champagne-PT-H08T2O-UpperBounds-11 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 1000001 steps (2 resets) in 178 ms. (5586 steps per ms)
Current structural bounds on expressions (after WALK) : Max Seen:[] Max Struct:[]
RANDOM walk for 0 steps (0 resets) in 4 ms. (0 steps per ms) remains 0/0 properties
Finished probabilistic random walk after 0 steps, run visited all 0 properties in 0 ms. (steps per millisecond=0 )
[2025-06-07 17:53:24] [INFO ] Flatten gal took : 126 ms
[2025-06-07 17:53:24] [INFO ] Flatten gal took : 1 ms
[2025-06-07 17:53:24] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality13785603335518090444.gal : 3 ms
[2025-06-07 17:53:24] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality5193633985471560707.prop : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality13785603335518090444.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality5193633985471560707.prop' '--nowitness' '--gen-order' 'FOLLOW'

ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
Current structural bounds on expressions (After reachability solving 0 queries.) : Max Seen:[] Max Struct:[]
All properties solved without resorting to model-checking.
Total runtime 14577 ms.

BK_STOP 1749318805045

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution UpperBounds -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination UpperBounds -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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="Champagne-PT-H08T2O"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="gold2024"
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-5832"
echo " Executing tool gold2024"
echo " Input is Champagne-PT-H08T2O, examination is UpperBounds"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r265-tall-174931349600015"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/Champagne-PT-H08T2O.tgz
mv Champagne-PT-H08T2O execution
cd execution
if [ "UpperBounds" = "ReachabilityDeadlock" ] || [ "UpperBounds" = "UpperBounds" ] || [ "UpperBounds" = "QuasiLiveness" ] || [ "UpperBounds" = "StableMarking" ] || [ "UpperBounds" = "Liveness" ] || [ "UpperBounds" = "OneSafe" ] || [ "UpperBounds" = "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 [ "UpperBounds" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "UpperBounds" != "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 "UpperBounds.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 '' UpperBounds.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "UpperBounds" = "ReachabilityDeadlock" ] || [ "UpperBounds" = "QuasiLiveness" ] || [ "UpperBounds" = "StableMarking" ] || [ "UpperBounds" = "Liveness" ] || [ "UpperBounds" = "OneSafe" ] ; then
echo "FORMULA_NAME UpperBounds"
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 ;