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

About the Execution of ITS-Tools for Philosophers-PT-001000

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
12901.096 151266.00 347352.00 699.90 FFTFTFTTFFFTTFFT 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.r293-tall-167873945200247.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 itstools
Input is Philosophers-PT-001000, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r293-tall-167873945200247
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 28M
-rw-r--r-- 1 mcc users 710K Feb 25 14:13 CTLCardinality.txt
-rw-r--r-- 1 mcc users 3.6M Feb 25 14:13 CTLCardinality.xml
-rw-r--r-- 1 mcc users 646K Feb 25 13:43 CTLFireability.txt
-rw-r--r-- 1 mcc users 4.1M Feb 25 13:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 681K Feb 25 16:33 LTLCardinality.txt
-rw-r--r-- 1 mcc users 2.5M Feb 25 16:33 LTLCardinality.xml
-rw-r--r-- 1 mcc users 307K Feb 25 16:33 LTLFireability.txt
-rw-r--r-- 1 mcc users 1.5M Feb 25 16:33 LTLFireability.xml
-rw-r--r-- 1 mcc users 359K Feb 25 15:52 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 1.7M Feb 25 15:52 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 1.3M Feb 25 14:58 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 8.2M Feb 25 14:58 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 95K Feb 25 16:33 UpperBounds.txt
-rw-r--r-- 1 mcc users 261K Feb 25 16:33 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 7 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 2.3M Mar 5 18:23 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 Philosophers-PT-001000-ReachabilityFireability-00
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-01
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-02
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-03
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-04
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-05
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-06
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-07
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-08
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-09
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-10
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-11
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-12
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-13
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-14
FORMULA_NAME Philosophers-PT-001000-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1678812045071

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=itstools
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=Philosophers-PT-001000
Not applying reductions.
Model is PT
ReachabilityFireability PT
Running Version 202303021504
[2023-03-14 16:40:46] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2023-03-14 16:40:46] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-14 16:40:46] [INFO ] Load time of PNML (sax parser for PT used): 220 ms
[2023-03-14 16:40:46] [INFO ] Transformed 5000 places.
[2023-03-14 16:40:46] [INFO ] Transformed 5000 transitions.
[2023-03-14 16:40:46] [INFO ] Parsed PT model containing 5000 places and 5000 transitions and 16000 arcs in 496 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 193 ms.
Working with output stream class java.io.PrintStream
[2023-03-14 16:40:48] [INFO ] Flatten gal took : 717 ms
[2023-03-14 16:40:49] [INFO ] Flatten gal took : 261 ms
[2023-03-14 16:40:49] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality5441619126123483748.gal : 90 ms
[2023-03-14 16:40:49] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality13024252703675846677.prop : 91 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.202303021504/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality5441619126123483748.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality13024252703675846677.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1992 ms. (steps per millisecond=5 ) properties (out of 16) seen :8
FORMULA Philosophers-PT-001000-ReachabilityFireability-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Loading property file /tmp/ReachabilityCardinality13024252703675846677.prop.
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 1997 ms. (steps per millisecond=5 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 2159 ms. (steps per millisecond=4 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 2037 ms. (steps per millisecond=4 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 2070 ms. (steps per millisecond=4 ) properties (out of 8) seen :0
Interrupted Best-First random walk after 7003 steps, including 1 resets, run timeout after 5787 ms. (steps per millisecond=1 ) properties seen 0
Interrupted Best-First random walk after 9003 steps, including 2 resets, run timeout after 5232 ms. (steps per millisecond=1 ) properties seen 0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 270 ms. (steps per millisecond=37 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 274 ms. (steps per millisecond=36 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
// Phase 1: matrix 5000 rows 5000 cols
[2023-03-14 16:41:09] [INFO ] Computed 2000 place invariants in 74 ms
[2023-03-14 16:41:24] [INFO ] [Real]Absence check using 2000 positive place invariants in 503 ms returned sat
[2023-03-14 16:41:25] [INFO ] After 3296ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:7
SDD proceeding with computation,16 properties remain. new max is 4
SDD size :1 after 6
[2023-03-14 16:41:27] [INFO ] [Nat]Absence check using 2000 positive place invariants in 491 ms returned sat
Invariant property Philosophers-PT-001000-ReachabilityFireability-00 does not hold.
SDD proceeding with computation,15 properties remain. new max is 4
SDD size :6 after 27
[2023-03-14 16:41:48] [INFO ] After 9557ms SMT Verify possible using state equation in natural domain returned unsat :1 sat :6
[2023-03-14 16:41:50] [INFO ] After 12517ms SMT Verify possible using trap constraints in natural domain returned unsat :1 sat :6
Attempting to minimize the solution found.
Minimization took 2 ms.
[2023-03-14 16:41:50] [INFO ] After 25073ms SMT Verify possible using all constraints in natural domain returned unsat :1 sat :6
FORMULA Philosophers-PT-001000-ReachabilityFireability-06 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 8 Parikh solutions to 3 different solutions.
FORMULA Philosophers-PT-001000-ReachabilityFireability-08 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-03 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Philosophers-PT-001000-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 5 properties in 909 ms.
Support contains 5000 out of 5000 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 5000/5000 places, 5000/5000 transitions.
Applied a total of 0 rules in 94 ms. Remains 5000 /5000 variables (removed 0) and now considering 5000/5000 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 95 ms. Remains : 5000/5000 places, 5000/5000 transitions.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1319 ms. (steps per millisecond=7 ) properties (out of 2) seen :0
Reachability property Philosophers-PT-001000-ReachabilityFireability-04 is true.
SDD proceeding with computation,14 properties remain. new max is 4
SDD size :27 after 324
Interrupted Best-First random walk after 8001 steps, including 1 resets, run timeout after 5168 ms. (steps per millisecond=1 ) properties seen 0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 289 ms. (steps per millisecond=34 ) properties (out of 2) seen :0
SDD proceeding with computation,14 properties remain. new max is 8
SDD size :324 after 1458
SDD proceeding with computation,14 properties remain. new max is 16
SDD size :1458 after 39366
Probabilistic random walk after 83679 steps, saw 83633 distinct states, run finished after 18096 ms. (steps per millisecond=4 ) properties seen :0
Running SMT prover for 2 properties.
[2023-03-14 16:42:16] [INFO ] Invariant cache hit.
[2023-03-14 16:42:21] [INFO ] [Real]Absence check using 2000 positive place invariants in 438 ms returned sat
[2023-03-14 16:42:22] [INFO ] After 1775ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2023-03-14 16:42:23] [INFO ] [Nat]Absence check using 2000 positive place invariants in 497 ms returned sat
[2023-03-14 16:42:36] [INFO ] After 3440ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-14 16:42:36] [INFO ] After 3800ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 194 ms.
[2023-03-14 16:42:36] [INFO ] After 14209ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
FORMULA Philosophers-PT-001000-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 1 properties in 316 ms.
Support contains 5000 out of 5000 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 5000/5000 places, 5000/5000 transitions.
Applied a total of 0 rules in 55 ms. Remains 5000 /5000 variables (removed 0) and now considering 5000/5000 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 56 ms. Remains : 5000/5000 places, 5000/5000 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 5000/5000 places, 5000/5000 transitions.
Applied a total of 0 rules in 55 ms. Remains 5000 /5000 variables (removed 0) and now considering 5000/5000 (removed 0) transitions.
[2023-03-14 16:42:37] [INFO ] Invariant cache hit.
[2023-03-14 16:42:37] [INFO ] Implicit Places using invariants in 593 ms returned []
[2023-03-14 16:42:37] [INFO ] Invariant cache hit.
[2023-03-14 16:42:38] [INFO ] Implicit Places using invariants and state equation in 494 ms returned []
Implicit Place search using SMT with State Equation took 1108 ms to find 0 implicit places.
[2023-03-14 16:42:38] [INFO ] Redundant transitions in 325 ms returned []
[2023-03-14 16:42:38] [INFO ] Invariant cache hit.
[2023-03-14 16:42:41] [INFO ] Dead Transitions using invariants and state equation in 3199 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 4700 ms. Remains : 5000/5000 places, 5000/5000 transitions.
Applied a total of 0 rules in 48 ms. Remains 5000 /5000 variables (removed 0) and now considering 5000/5000 (removed 0) transitions.
Running SMT prover for 1 properties.
[2023-03-14 16:42:41] [INFO ] Invariant cache hit.
[2023-03-14 16:42:46] [INFO ] [Real]Absence check using 2000 positive place invariants in 487 ms returned sat
[2023-03-14 16:42:47] [INFO ] After 1576ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-14 16:42:48] [INFO ] [Nat]Absence check using 2000 positive place invariants in 518 ms returned sat
[2023-03-14 16:42:57] [INFO ] After 10166ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0
ITS runner failed with exception null
java.lang.InterruptedException
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Thread.join(Thread.java:1304)
at java.base/java.lang.Thread.join(Thread.java:1372)
at fr.lip6.move.gal.application.runner.AbstractRunner.join(AbstractRunner.java:27)
at fr.lip6.move.gal.application.runner.its.ITSRunner.join(ITSRunner.java:177)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.verifyWithSDD(GlobalPropertySolver.java:675)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.lambda$2(ReachabilitySolver.java:63)
at java.base/java.lang.Thread.run(Thread.java:833)
[2023-03-14 16:42:58] [INFO ] Flatten gal took : 192 ms
[2023-03-14 16:42:58] [INFO ] Applying decomposition
[2023-03-14 16:42:58] [INFO ] Flatten gal took : 162 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/convert-linux64' '-i' '/tmp/graph8840088582128090691.txt' '-o' '/tmp/graph8840088582128090691.bin' '-w' '/tmp/graph8840088582128090691.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/louvain-linux64' '/tmp/graph8840088582128090691.bin' '-l' '-1' '-v' '-w' '/tmp/graph8840088582128090691.weights' '-q' '0' '-e' '0.001'
[2023-03-14 16:42:58] [INFO ] Decomposing Gal with order
[2023-03-14 16:42:59] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-14 16:43:00] [INFO ] Removed a total of 996 redundant transitions.
[2023-03-14 16:43:00] [INFO ] Flatten gal took : 393 ms
[2023-03-14 16:43:03] [INFO ] Fuse similar labels procedure discarded/fused a total of 2854 labels/synchronizations in 92 ms.
[2023-03-14 16:43:03] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality7156092408774222616.gal : 43 ms
[2023-03-14 16:43:03] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality11732005052261794493.prop : 17 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.202303021504/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality7156092408774222616.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality11732005052261794493.prop' '--nowitness'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...308
Loading property file /tmp/ReachabilityCardinality11732005052261794493.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 162
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :162 after 2.5828e+08
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :2.5828e+08 after 6.00379e+17
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :6.00379e+17 after 3.05409e+47
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst\_mod\_flat,1.32207e+477,5.32155,50332,9511,53,93116,540,6562,63246,118,705,0
Total reachable state count : 1.322070819480806636586924281803638417648e+477

Verifying 1 reachability properties.
Reachability property Philosophers-PT-001000-ReachabilityFireability-07 is true.
FORMULA Philosophers-PT-001000-ReachabilityFireability-07 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Philosophers-PT-001000-ReachabilityFireability-07,9.97343e+218,11.1524,280656,5260,60,538427,540,42623,1.50929e+06,153,2280,360326
ITS tools runner thread asked to quit. Dying gracefully.
All properties solved without resorting to model-checking.
Total runtime 148634 ms.

BK_STOP 1678812196337

--------------------
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
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -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:
++ perl -pe 's/.*\.//g'
++ sed s/.jar//
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityFireability -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="Philosophers-PT-001000"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="itstools"
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 itstools"
echo " Input is Philosophers-PT-001000, 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 r293-tall-167873945200247"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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