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

About the Execution of LTSMin+red for BridgeAndVehicles-COL-V10P10N10

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1290.863 41357.00 64620.00 85.90 TTTFTTTTTTTTFFTF normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2023-input.r041-tajo-167813694100015.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2023-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
.....................
=====================================================================
Generated by BenchKit 2-5348
Executing tool ltsminxred
Input is BridgeAndVehicles-COL-V10P10N10, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r041-tajo-167813694100015
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 628K
-rw-r--r-- 1 mcc users 9.8K Feb 25 12:04 CTLCardinality.txt
-rw-r--r-- 1 mcc users 98K Feb 25 12:04 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.8K Feb 25 12:03 CTLFireability.txt
-rw-r--r-- 1 mcc users 64K Feb 25 12:03 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.1K Feb 25 15:35 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 15:35 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Feb 25 15:35 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 15:35 LTLFireability.xml
-rw-r--r-- 1 mcc users 18K Feb 25 12:09 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 172K Feb 25 12:09 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 14K Feb 25 12:08 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 98K Feb 25 12:08 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 25 15:35 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 15:35 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:22 equiv_pt
-rw-r--r-- 1 mcc users 10 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 5 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 38K 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 booleans
BOOL_VECTOR

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

=== Now, execution of the tool begins

BK_START 1678602276331

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=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=BridgeAndVehicles-COL-V10P10N10
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-12 06:24:38] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -timeout, 360, -rebuildPNML]
[2023-03-12 06:24:38] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-12 06:24:38] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2023-03-12 06:24:38] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-12 06:24:38] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 475 ms
[2023-03-12 06:24:38] [INFO ] Imported 15 HL places and 11 HL transitions for a total of 48 PT places and 5438.0 transition bindings in 24 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 20 ms.
Working with output stream class java.io.PrintStream
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-12 06:24:38] [INFO ] Built PT skeleton of HLPN with 15 places and 11 transitions 56 arcs in 5 ms.
[2023-03-12 06:24:38] [INFO ] Skeletonized 15 HLPN properties in 1 ms.
All 15 properties of the HLPN use transition enablings in a way that makes the skeleton too coarse.
Arc [13:1*[(MOD (ADD $cpt 1) 11)]] contains successor/predecessor on variables of sort compteur
Arc [1:1*[(MOD (ADD $cA 1) 11)]] contains successor/predecessor on variables of sort voitureA
Arc [6:1*[(MOD (ADD (MOD (MINUS $cB 1) 11) 11) 11)]] contains successor/predecessor on variables of sort voitureB
Arc [14:1*[(MOD (ADD $s 1) 2)]] contains successor/predecessor on variables of sort sens
[2023-03-12 06:24:38] [INFO ] Unfolded HLPN to a Petri net with 48 places and 288 transitions 2090 arcs in 32 ms.
[2023-03-12 06:24:38] [INFO ] Unfolded 15 HLPN properties in 2 ms.
Initial state reduction rules removed 3 formulas.
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 111 resets, run finished after 510 ms. (steps per millisecond=19 ) properties (out of 12) seen :7
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10000 steps, including 47 resets, run finished after 275 ms. (steps per millisecond=36 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 53 resets, run finished after 359 ms. (steps per millisecond=27 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 37 resets, run finished after 377 ms. (steps per millisecond=26 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 45 resets, run finished after 407 ms. (steps per millisecond=24 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 49 resets, run finished after 700 ms. (steps per millisecond=14 ) properties (out of 5) seen :0
Running SMT prover for 5 properties.
[2023-03-12 06:24:41] [INFO ] Flow matrix only has 90 transitions (discarded 198 similar events)
// Phase 1: matrix 90 rows 48 cols
[2023-03-12 06:24:41] [INFO ] Computed 7 place invariants in 6 ms
[2023-03-12 06:24:42] [INFO ] [Real]Absence check using 7 positive place invariants in 9 ms returned sat
[2023-03-12 06:24:42] [INFO ] After 273ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:4
[2023-03-12 06:24:42] [INFO ] [Nat]Absence check using 7 positive place invariants in 2 ms returned sat
[2023-03-12 06:24:44] [INFO ] After 1923ms SMT Verify possible using state equation in natural domain returned unsat :2 sat :3
[2023-03-12 06:24:44] [INFO ] State equation strengthened by 22 read => feed constraints.
[2023-03-12 06:24:46] [INFO ] After 2280ms SMT Verify possible using 22 Read/Feed constraints in natural domain returned unsat :2 sat :3
[2023-03-12 06:24:48] [INFO ] After 4511ms SMT Verify possible using trap constraints in natural domain returned unsat :2 sat :3
Attempting to minimize the solution found.
Minimization took 2340 ms.
[2023-03-12 06:24:51] [INFO ] After 8928ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :3
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-03 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 5 Parikh solutions to 3 different solutions.
Parikh walk visited 0 properties in 47 ms.
Support contains 46 out of 48 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 48/48 places, 288/288 transitions.
Graph (complete) has 342 edges and 48 vertex of which 46 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.4 ms
Discarding 2 places :
Also discarding 0 output transitions
Applied a total of 1 rules in 48 ms. Remains 46 /48 variables (removed 2) and now considering 288/288 (removed 0) transitions.
[2023-03-12 06:24:51] [INFO ] Flow matrix only has 90 transitions (discarded 198 similar events)
// Phase 1: matrix 90 rows 46 cols
[2023-03-12 06:24:51] [INFO ] Computed 5 place invariants in 5 ms
[2023-03-12 06:24:51] [INFO ] Dead Transitions using invariants and state equation in 171 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 221 ms. Remains : 46/48 places, 288/288 transitions.
Incomplete random walk after 10000 steps, including 110 resets, run finished after 244 ms. (steps per millisecond=40 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10000 steps, including 53 resets, run finished after 381 ms. (steps per millisecond=26 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10001 steps, including 37 resets, run finished after 314 ms. (steps per millisecond=31 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10000 steps, including 49 resets, run finished after 684 ms. (steps per millisecond=14 ) properties (out of 3) seen :0
Interrupted probabilistic random walk after 468648 steps, run timeout after 3001 ms. (steps per millisecond=156 ) properties seen :{}
Probabilistic random walk after 468648 steps, saw 115062 distinct states, run finished after 3002 ms. (steps per millisecond=156 ) properties seen :0
Running SMT prover for 3 properties.
[2023-03-12 06:24:56] [INFO ] Flow matrix only has 90 transitions (discarded 198 similar events)
[2023-03-12 06:24:56] [INFO ] Invariant cache hit.
[2023-03-12 06:24:56] [INFO ] After 84ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:3
[2023-03-12 06:24:56] [INFO ] [Nat]Absence check using 5 positive place invariants in 1 ms returned sat
[2023-03-12 06:24:59] [INFO ] After 2358ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :3
[2023-03-12 06:24:59] [INFO ] State equation strengthened by 22 read => feed constraints.
[2023-03-12 06:25:01] [INFO ] After 2110ms SMT Verify possible using 22 Read/Feed constraints in natural domain returned unsat :0 sat :3
[2023-03-12 06:25:03] [INFO ] After 4318ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :3
Attempting to minimize the solution found.
Minimization took 2135 ms.
[2023-03-12 06:25:05] [INFO ] After 8916ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :3
Parikh walk visited 0 properties in 10 ms.
Support contains 46 out of 46 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 46/46 places, 288/288 transitions.
Applied a total of 0 rules in 23 ms. Remains 46 /46 variables (removed 0) and now considering 288/288 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 24 ms. Remains : 46/46 places, 288/288 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 46/46 places, 288/288 transitions.
Applied a total of 0 rules in 18 ms. Remains 46 /46 variables (removed 0) and now considering 288/288 (removed 0) transitions.
[2023-03-12 06:25:05] [INFO ] Flow matrix only has 90 transitions (discarded 198 similar events)
[2023-03-12 06:25:05] [INFO ] Invariant cache hit.
[2023-03-12 06:25:05] [INFO ] Implicit Places using invariants in 36 ms returned []
[2023-03-12 06:25:05] [INFO ] Flow matrix only has 90 transitions (discarded 198 similar events)
[2023-03-12 06:25:05] [INFO ] Invariant cache hit.
[2023-03-12 06:25:05] [INFO ] State equation strengthened by 22 read => feed constraints.
[2023-03-12 06:25:05] [INFO ] Implicit Places using invariants and state equation in 60 ms returned []
Implicit Place search using SMT with State Equation took 98 ms to find 0 implicit places.
[2023-03-12 06:25:05] [INFO ] Redundant transitions in 11 ms returned []
[2023-03-12 06:25:05] [INFO ] Flow matrix only has 90 transitions (discarded 198 similar events)
[2023-03-12 06:25:05] [INFO ] Invariant cache hit.
[2023-03-12 06:25:06] [INFO ] Dead Transitions using invariants and state equation in 126 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 261 ms. Remains : 46/46 places, 288/288 transitions.
Ensure Unique test removed 198 transitions
Reduce isomorphic transitions removed 198 transitions.
Iterating post reduction 0 with 198 rules applied. Total rules applied 198 place count 46 transition count 90
Applied a total of 198 rules in 4 ms. Remains 46 /46 variables (removed 0) and now considering 90/288 (removed 198) transitions.
Running SMT prover for 3 properties.
[2023-03-12 06:25:06] [INFO ] Invariant cache hit.
[2023-03-12 06:25:06] [INFO ] After 80ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:3
[2023-03-12 06:25:06] [INFO ] [Nat]Absence check using 5 positive place invariants in 2 ms returned sat
[2023-03-12 06:25:09] [INFO ] After 2408ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :3
[2023-03-12 06:25:11] [INFO ] After 4770ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :3
Attempting to minimize the solution found.
Minimization took 2321 ms.
[2023-03-12 06:25:13] [INFO ] After 7211ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :3
[2023-03-12 06:25:13] [INFO ] Export to MCC of 3 properties in file /home/mcc/execution/ReachabilityFireability.sr.xml took 39 ms.
[2023-03-12 06:25:13] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 46 places, 288 transitions and 2088 arcs took 3 ms.
[2023-03-12 06:25:14] [INFO ] Flatten gal took : 85 ms
Total runtime 36058 ms.
There are residual formulas that ITS could not solve within timeout
pnml2lts-sym model.pnml --lace-workers=4 --vset=lddmc --saturation=sat -rbs,w2W,ru,hf --sylvan-sizes=20,28,20,28 --inv-bin-par --invariant=/tmp/509/inv_0_ --invariant=/tmp/509/inv_1_ --invariant=/tmp/509/inv_2_ --inv-par
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-01 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-02 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-07 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN

BK_STOP 1678602317688

--------------------
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 ReachabilityFireability -timeout 360 -rebuildPNML
mcc2023
rfs formula name BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-01
rfs formula type AG
rfs formula formula --invariant=/tmp/509/inv_0_
rfs formula name BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-02
rfs formula type AG
rfs formula formula --invariant=/tmp/509/inv_1_
rfs formula name BridgeAndVehicles-COL-V10P10N10-ReachabilityFireability-07
rfs formula type AG
rfs formula formula --invariant=/tmp/509/inv_2_
pnml2lts-sym: Exploration order is bfs-prev
pnml2lts-sym: Saturation strategy is sat
pnml2lts-sym: Guided search strategy is unguided
pnml2lts-sym: Attractor strategy is default
pnml2lts-sym: opening model.pnml
pnml2lts-sym: Edge label is id
Warning: program compiled against libxml 210 using older 209
pnml2lts-sym: Petri net has 46 places, 288 transitions and 2088 arcs
pnml2lts-sym: Petri net BridgeAndVehicles_COL_V10P10N10_unf analyzed
pnml2lts-sym: There are no safe places
pnml2lts-sym: Loading Petri net took 0.000 real 0.010 user 0.000 sys
pnml2lts-sym: Initializing regrouping layer
pnml2lts-sym: Regroup specification: bs,w2W,ru,hf
pnml2lts-sym: Regroup Boost's Sloan
pnml2lts-sym: Regroup over-approximate must-write to may-write
pnml2lts-sym: Regroup Row sUbsume
pnml2lts-sym: Reqroup Horizontal Flip
pnml2lts-sym: Regrouping: 288->266 groups
pnml2lts-sym: Regrouping took 0.060 real 0.060 user 0.000 sys
pnml2lts-sym: state vector length is 46; there are 266 groups
pnml2lts-sym: Creating a multi-core ListDD domain.
pnml2lts-sym: Sylvan allocates 15.000 GB virtual memory for nodes table and operation cache.
pnml2lts-sym: Initial nodes table and operation cache requires 60.00 MB.
pnml2lts-sym: Using GBgetTransitionsShortR2W as next-state function
pnml2lts-sym: got initial state
pnml2lts-sym: Exploration took 134931 group checks and 0 next state calls
pnml2lts-sym: reachability took 2.800 real 11.180 user 0.020 sys
pnml2lts-sym: counting visited states...
pnml2lts-sym: counting took 0.010 real 0.010 user 0.000 sys
pnml2lts-sym: state space has 259556 states, 5970 nodes
pnml2lts-sym: group_next: 4504 nodes total
pnml2lts-sym: group_explored: 8636 nodes, 12622 short vectors total
pnml2lts-sym: max token count: 10

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="BridgeAndVehicles-COL-V10P10N10"
export BK_EXAMINATION="ReachabilityFireability"
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 BridgeAndVehicles-COL-V10P10N10, 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 r041-tajo-167813694100015"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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