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

About the Execution of Smart+red for BridgeAndVehicles-PT-V80P50N50

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16161.775 587645.00 793798.00 13076.30 TFFFTT?F??????FT 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.r043-tajo-167813696700319.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 smartxred
Input is BridgeAndVehicles-PT-V80P50N50, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r043-tajo-167813696700319
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 23M
-rw-r--r-- 1 mcc users 30K Feb 25 13:23 CTLCardinality.txt
-rw-r--r-- 1 mcc users 159K Feb 25 13:23 CTLCardinality.xml
-rw-r--r-- 1 mcc users 592K Feb 25 13:15 CTLFireability.txt
-rw-r--r-- 1 mcc users 2.2M Feb 25 13:15 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 15K Feb 25 15:37 LTLCardinality.txt
-rw-r--r-- 1 mcc users 59K Feb 25 15:37 LTLCardinality.xml
-rw-r--r-- 1 mcc users 209K Feb 25 15:37 LTLFireability.txt
-rw-r--r-- 1 mcc users 591K Feb 25 15:37 LTLFireability.xml
-rw-r--r-- 1 mcc users 73K Feb 25 15:02 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 368K Feb 25 15:02 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.5M Feb 25 14:52 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 9.0M Feb 25 14:52 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 3.3K Feb 25 15:37 UpperBounds.txt
-rw-r--r-- 1 mcc users 7.0K Feb 25 15:37 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 10 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 7.1M 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-PT-V80P50N50-ReachabilityFireability-00
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-01
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-02
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-03
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-04
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-05
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-06
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-07
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-08
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-09
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-10
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-11
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-12
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-13
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-14
FORMULA_NAME BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1678783260803

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=smartxred
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=BridgeAndVehicles-PT-V80P50N50
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-14 08:41:02] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -timeout, 360, -rebuildPNML]
[2023-03-14 08:41:02] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-14 08:41:03] [INFO ] Load time of PNML (sax parser for PT used): 595 ms
[2023-03-14 08:41:03] [INFO ] Transformed 228 places.
[2023-03-14 08:41:03] [INFO ] Transformed 8588 transitions.
[2023-03-14 08:41:03] [INFO ] Parsed PT model containing 228 places and 8588 transitions and 67470 arcs in 746 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 277 ms.
Working with output stream class java.io.PrintStream
FORMULA BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 14 resets, run finished after 1706 ms. (steps per millisecond=5 ) properties (out of 15) seen :7
FORMULA BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-07 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 7 resets, run finished after 4007 ms. (steps per millisecond=2 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 4 resets, run finished after 342 ms. (steps per millisecond=29 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 448 ms. (steps per millisecond=22 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 457 ms. (steps per millisecond=21 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 4 resets, run finished after 302 ms. (steps per millisecond=33 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 263 ms. (steps per millisecond=38 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 5 resets, run finished after 322 ms. (steps per millisecond=31 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 366 ms. (steps per millisecond=27 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
[2023-03-14 08:41:12] [INFO ] Flow matrix only has 530 transitions (discarded 8058 similar events)
// Phase 1: matrix 530 rows 228 cols
[2023-03-14 08:41:12] [INFO ] Computed 7 place invariants in 20 ms
[2023-03-14 08:41:26] [INFO ] [Real]Absence check using 7 positive place invariants in 4 ms returned sat
[2023-03-14 08:41:26] [INFO ] After 694ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:8
[2023-03-14 08:41:27] [INFO ] [Nat]Absence check using 7 positive place invariants in 72 ms returned sat
java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Broken pipe ...
at fr.lip6.move.gal.structural.smt.SMTUtils.execAndCheckResult(SMTUtils.java:251)
at fr.lip6.move.gal.structural.smt.DeadlockTester.checkResults(DeadlockTester.java:797)
at fr.lip6.move.gal.structural.smt.DeadlockTester.verifyPossible(DeadlockTester.java:631)
at fr.lip6.move.gal.structural.smt.DeadlockTester.testUnreachableWithSMTIncremental(DeadlockTester.java:350)
at fr.lip6.move.gal.structural.smt.DeadlockTester.testUnreachableWithSMT(DeadlockTester.java:223)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.applyReductions(ReachabilitySolver.java:95)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:902)
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-14 08:42:03] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-14 08:42:03] [INFO ] After 36915ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0 real:8
FORMULA BridgeAndVehicles-PT-V80P50N50-ReachabilityFireability-14 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 8 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 1 ms.
Support contains 225 out of 228 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 228/228 places, 8588/8588 transitions.
Graph (complete) has 2202 edges and 228 vertex of which 226 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.89 ms
Discarding 2 places :
Also discarding 0 output transitions
Applied a total of 1 rules in 3983 ms. Remains 226 /228 variables (removed 2) and now considering 8588/8588 (removed 0) transitions.
[2023-03-14 08:42:07] [INFO ] Flow matrix only has 530 transitions (discarded 8058 similar events)
// Phase 1: matrix 530 rows 226 cols
[2023-03-14 08:42:07] [INFO ] Computed 5 place invariants in 8 ms
[2023-03-14 08:42:16] [INFO ] Dead Transitions using invariants and state equation in 8790 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 12792 ms. Remains : 226/228 places, 8588/8588 transitions.
Incomplete random walk after 10000 steps, including 14 resets, run finished after 1666 ms. (steps per millisecond=6 ) properties (out of 7) seen :0
Interrupted Best-First random walk after 8510 steps, including 6 resets, run timeout after 5003 ms. (steps per millisecond=1 ) properties seen 0
Incomplete Best-First random walk after 10000 steps, including 4 resets, run finished after 366 ms. (steps per millisecond=27 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 380 ms. (steps per millisecond=26 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10000 steps, including 5 resets, run finished after 524 ms. (steps per millisecond=19 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 4 resets, run finished after 339 ms. (steps per millisecond=29 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10000 steps, including 5 resets, run finished after 492 ms. (steps per millisecond=20 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 491 ms. (steps per millisecond=20 ) properties (out of 7) seen :0
Interrupted probabilistic random walk after 300249 steps, run timeout after 27001 ms. (steps per millisecond=11 ) properties seen :{}
Probabilistic random walk after 300249 steps, saw 79781 distinct states, run finished after 27003 ms. (steps per millisecond=11 ) properties seen :0
Running SMT prover for 7 properties.
[2023-03-14 08:42:53] [INFO ] Flow matrix only has 530 transitions (discarded 8058 similar events)
[2023-03-14 08:42:53] [INFO ] Invariant cache hit.
[2023-03-14 08:43:23] [INFO ] [Real]Absence check using 5 positive place invariants in 17 ms returned sat
java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Broken pipe ...
at fr.lip6.move.gal.structural.smt.SMTUtils.execAndCheckResult(SMTUtils.java:251)
at fr.lip6.move.gal.structural.smt.DeadlockTester.checkResults(DeadlockTester.java:797)
at fr.lip6.move.gal.structural.smt.DeadlockTester.verifyPossible(DeadlockTester.java:631)
at fr.lip6.move.gal.structural.smt.DeadlockTester.testUnreachableWithSMTIncremental(DeadlockTester.java:339)
at fr.lip6.move.gal.structural.smt.DeadlockTester.testUnreachableWithSMT(DeadlockTester.java:223)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.applyReductions(ReachabilitySolver.java:95)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:902)
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-14 08:44:06] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-14 08:44:06] [INFO ] After 44628ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0
Fused 7 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 1 ms.
Support contains 225 out of 226 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 226/226 places, 8588/8588 transitions.
Applied a total of 0 rules in 2939 ms. Remains 226 /226 variables (removed 0) and now considering 8588/8588 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 2951 ms. Remains : 226/226 places, 8588/8588 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 226/226 places, 8588/8588 transitions.
Applied a total of 0 rules in 3066 ms. Remains 226 /226 variables (removed 0) and now considering 8588/8588 (removed 0) transitions.
[2023-03-14 08:44:12] [INFO ] Flow matrix only has 530 transitions (discarded 8058 similar events)
[2023-03-14 08:44:12] [INFO ] Invariant cache hit.
[2023-03-14 08:44:12] [INFO ] Implicit Places using invariants in 158 ms returned []
[2023-03-14 08:44:12] [INFO ] Flow matrix only has 530 transitions (discarded 8058 similar events)
[2023-03-14 08:44:12] [INFO ] Invariant cache hit.
[2023-03-14 08:44:12] [INFO ] State equation strengthened by 102 read => feed constraints.
[2023-03-14 08:44:12] [INFO ] Implicit Places using invariants and state equation in 566 ms returned []
Implicit Place search using SMT with State Equation took 730 ms to find 0 implicit places.
[2023-03-14 08:44:13] [INFO ] Redundant transitions in 1072 ms returned []
[2023-03-14 08:44:13] [INFO ] Flow matrix only has 530 transitions (discarded 8058 similar events)
[2023-03-14 08:44:13] [INFO ] Invariant cache hit.
[2023-03-14 08:44:17] [INFO ] Dead Transitions using invariants and state equation in 3109 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 8031 ms. Remains : 226/226 places, 8588/8588 transitions.
Ensure Unique test removed 8058 transitions
Reduce isomorphic transitions removed 8058 transitions.
Iterating post reduction 0 with 8058 rules applied. Total rules applied 8058 place count 226 transition count 530
Applied a total of 8058 rules in 22 ms. Remains 226 /226 variables (removed 0) and now considering 530/8588 (removed 8058) transitions.
Running SMT prover for 7 properties.
[2023-03-14 08:44:17] [INFO ] Invariant cache hit.
[2023-03-14 08:44:35] [INFO ] [Real]Absence check using 5 positive place invariants in 5 ms returned sat
[2023-03-14 08:45:18] [INFO ] After 44374ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:6
[2023-03-14 08:45:19] [INFO ] [Nat]Absence check using 5 positive place invariants in 6 ms returned sat
[2023-03-14 08:46:04] [INFO ] After 44999ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :6
[2023-03-14 08:46:05] [INFO ] After 46313ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :6
Attempting to minimize the solution found.
Minimization took 1107 ms.
[2023-03-14 08:46:06] [INFO ] After 47928ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :6
[2023-03-14 08:46:07] [INFO ] Export to MCC of 7 properties in file /home/mcc/execution/ReachabilityFireability.sr.xml took 165 ms.
[2023-03-14 08:46:07] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 226 places, 8588 transitions and 67468 arcs took 75 ms.
[2023-03-14 08:46:09] [INFO ] Flatten gal took : 692 ms
Total runtime 306245 ms.
There are residual formulas that ITS could not solve within timeout
======================================================
========== this is Smart for the MCC'2018 ============
======================================================
Running BridgeAndVehicles (PT), instance V80P50N50
Examination ReachabilityFireability
Parser /home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//parser/Fireability.jar
Model checker /home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//rem_exec//smart

GOT IT HERE. BS
Petri model created: 226 places, 8588 transitions, 67468 arcs.
Final Score: 37457.153
Took : 276 seconds
Reachability Fireability file is: ReachabilityFireability.xml
READY TO PARSE. BS

BK_STOP 1678783848448

--------------------
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
ERROR in file model.sm near line 76295:
syntax error

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-PT-V80P50N50"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="smartxred"
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 smartxred"
echo " Input is BridgeAndVehicles-PT-V80P50N50, 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 r043-tajo-167813696700319"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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