fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r137-smll-167819417400125
Last Updated
May 14, 2023

About the Execution of LTSMin+red for Diffusion2D-PT-D10N050

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
330.684 26605.00 36630.00 392.30 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r137-smll-167819417400125.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool ltsminxred
Input is Diffusion2D-PT-D10N050, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r137-smll-167819417400125
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 668K
-rw-r--r-- 1 mcc users 7.9K Feb 26 04:26 CTLCardinality.txt
-rw-r--r-- 1 mcc users 72K Feb 26 04:26 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.0K Feb 26 04:24 CTLFireability.txt
-rw-r--r-- 1 mcc users 49K Feb 26 04:24 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.8K Feb 25 15:57 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Feb 25 15:57 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 15:57 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 15:57 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Feb 26 04:27 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 97K Feb 26 04:27 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.0K Feb 26 04:26 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 65K Feb 26 04:26 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 15:57 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 15:57 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 8 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 255K Mar 5 18:22 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

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

=== Now, execution of the tool begins

BK_START 1678606453465

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=ltsminxred
BK_EXAMINATION=UpperBounds
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=Diffusion2D-PT-D10N050
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-12 07:34:15] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -timeout, 360, -rebuildPNML]
[2023-03-12 07:34:15] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-12 07:34:16] [INFO ] Load time of PNML (sax parser for PT used): 124 ms
[2023-03-12 07:34:16] [INFO ] Transformed 100 places.
[2023-03-12 07:34:16] [INFO ] Transformed 684 transitions.
[2023-03-12 07:34:16] [INFO ] Parsed PT model containing 100 places and 684 transitions and 1368 arcs in 227 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 7 ms.
// Phase 1: matrix 684 rows 100 cols
[2023-03-12 07:34:16] [INFO ] Computed 1 place invariants in 28 ms
FORMULA Diffusion2D-PT-D10N050-UpperBounds-01 50 TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10039 steps, including 2 resets, run finished after 24 ms. (steps per millisecond=418 ) properties (out of 15) seen :601
FORMULA Diffusion2D-PT-D10N050-UpperBounds-15 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-13 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-12 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-11 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-10 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-09 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-08 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-07 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-05 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-04 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-02 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 18 ms. (steps per millisecond=555 ) properties (out of 4) seen :4
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 13 ms. (steps per millisecond=769 ) properties (out of 4) seen :4
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 13 ms. (steps per millisecond=769 ) properties (out of 4) seen :3
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=1000 ) properties (out of 4) seen :3
[2023-03-12 07:34:16] [INFO ] Invariant cache hit.
[2023-03-12 07:34:16] [INFO ] [Real]Absence check using 1 positive place invariants in 7 ms returned sat
[2023-03-12 07:34:16] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-12 07:34:16] [INFO ] [Real]Absence check using state equation in 231 ms returned sat
[2023-03-12 07:34:17] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 105 ms.
[2023-03-12 07:34:17] [INFO ] Solution in real domain found non-integer solution.
[2023-03-12 07:34:17] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-12 07:34:17] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-12 07:34:17] [INFO ] [Nat]Absence check using state equation in 178 ms returned sat
[2023-03-12 07:34:17] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 85 ms.
[2023-03-12 07:34:22] [INFO ] Deduced a trap composed of 100 places in 152 ms of which 8 ms to minimize.
[2023-03-12 07:34:22] [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:251)
at fr.lip6.move.gal.structural.smt.DeadlockTester.refineWithTraps(DeadlockTester.java:1255)
at fr.lip6.move.gal.structural.smt.DeadlockTester.refineWithCausalOrder(DeadlockTester.java:1177)
at fr.lip6.move.gal.structural.smt.DeadlockTester.verifyPossible(DeadlockTester.java:923)
at fr.lip6.move.gal.structural.smt.DeadlockTester.findStructuralMaxWithSMT(DeadlockTester.java:2620)
at fr.lip6.move.gal.application.solver.UpperBoundsSolver.applyReductions(UpperBoundsSolver.java:186)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:714)
at fr.lip6.move.gal.application.Application.start(Application.java:178)
at fr.lip6.move.gal.itscl.application.Application.start(Application.java:45)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
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:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
[2023-03-12 07:34:22] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-12 07:34:22] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-12 07:34:22] [INFO ] [Real]Absence check using state equation in 189 ms returned sat
[2023-03-12 07:34:22] [INFO ] Solution in real domain found non-integer solution.
[2023-03-12 07:34:22] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-12 07:34:22] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-12 07:34:22] [INFO ] [Nat]Absence check using state equation in 156 ms returned sat
[2023-03-12 07:34:22] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 67 ms.
[2023-03-12 07:34:27] [INFO ] Deduced a trap composed of 100 places in 119 ms of which 1 ms to minimize.
[2023-03-12 07:34:27] [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 1
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:251)
at fr.lip6.move.gal.structural.smt.DeadlockTester.refineWithTraps(DeadlockTester.java:1255)
at fr.lip6.move.gal.structural.smt.DeadlockTester.refineWithCausalOrder(DeadlockTester.java:1177)
at fr.lip6.move.gal.structural.smt.DeadlockTester.verifyPossible(DeadlockTester.java:923)
at fr.lip6.move.gal.structural.smt.DeadlockTester.findStructuralMaxWithSMT(DeadlockTester.java:2620)
at fr.lip6.move.gal.application.solver.UpperBoundsSolver.applyReductions(UpperBoundsSolver.java:186)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:714)
at fr.lip6.move.gal.application.Application.start(Application.java:178)
at fr.lip6.move.gal.itscl.application.Application.start(Application.java:45)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
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:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
[2023-03-12 07:34:27] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-12 07:34:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-12 07:34:28] [INFO ] [Real]Absence check using state equation in 138 ms returned sat
[2023-03-12 07:34:28] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 64 ms.
[2023-03-12 07:34:28] [INFO ] Solution in real domain found non-integer solution.
[2023-03-12 07:34:28] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-12 07:34:28] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-12 07:34:28] [INFO ] [Nat]Absence check using state equation in 118 ms returned sat
[2023-03-12 07:34:28] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 49 ms.
[2023-03-12 07:34:33] [INFO ] Added : 347 causal constraints over 70 iterations in 4846 ms. Result :unknown
[2023-03-12 07:34:33] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-12 07:34:33] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-12 07:34:33] [INFO ] [Real]Absence check using state equation in 124 ms returned sat
[2023-03-12 07:34:33] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 52 ms.
[2023-03-12 07:34:33] [INFO ] Solution in real domain found non-integer solution.
[2023-03-12 07:34:33] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-12 07:34:33] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-12 07:34:33] [INFO ] [Nat]Absence check using state equation in 139 ms returned sat
[2023-03-12 07:34:33] [INFO ] Computed and/alt/rep : 676/4868/676 causal constraints (skipped 0 transitions) in 49 ms.
[2023-03-12 07:34:38] [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 3
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:251)
at fr.lip6.move.gal.structural.smt.DeadlockTester.refineWithCausalOrder(DeadlockTester.java:1186)
at fr.lip6.move.gal.structural.smt.DeadlockTester.verifyPossible(DeadlockTester.java:923)
at fr.lip6.move.gal.structural.smt.DeadlockTester.findStructuralMaxWithSMT(DeadlockTester.java:2620)
at fr.lip6.move.gal.application.solver.UpperBoundsSolver.applyReductions(UpperBoundsSolver.java:186)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:714)
at fr.lip6.move.gal.application.Application.start(Application.java:178)
at fr.lip6.move.gal.itscl.application.Application.start(Application.java:45)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
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:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
Current structural bounds on expressions (after SMT) : [50, 50, 50, 50] Max seen :[3, 49, 1, 1]
FORMULA Diffusion2D-PT-D10N050-UpperBounds-06 50 TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 3 out of 100 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 100/100 places, 684/684 transitions.
Graph (trivial) has 642 edges and 100 vertex of which 97 / 100 are part of one of the 1 SCC in 5 ms
Free SCC test removed 96 places
Drop transitions removed 642 transitions
Ensure Unique test removed 36 transitions
Reduce isomorphic transitions removed 678 transitions.
Applied a total of 1 rules in 23 ms. Remains 4 /100 variables (removed 96) and now considering 6/684 (removed 678) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 25 ms. Remains : 4/100 places, 6/684 transitions.
// Phase 1: matrix 6 rows 4 cols
[2023-03-12 07:34:38] [INFO ] Computed 1 place invariants in 0 ms
Incomplete random walk after 1000046 steps, including 2 resets, run finished after 145 ms. (steps per millisecond=6896 ) properties (out of 3) seen :150
FORMULA Diffusion2D-PT-D10N050-UpperBounds-14 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-03 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D10N050-UpperBounds-00 50 TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.
Total runtime 23123 ms.
ITS solved all properties within timeout

BK_STOP 1678606480070

--------------------
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.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination UpperBounds -timeout 360 -rebuildPNML

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="Diffusion2D-PT-D10N050"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="ltsminxred"
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-5348"
echo " Executing tool ltsminxred"
echo " Input is Diffusion2D-PT-D10N050, 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 r137-smll-167819417400125"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/Diffusion2D-PT-D10N050.tgz
mv Diffusion2D-PT-D10N050 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.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property UpperBounds.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -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 ;