fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r026-tajo-162038143500188
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for BridgeAndVehicles-PT-V20P10N20

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
9269.063 3600000.00 14247065.00 163.00 FT?FFTTFFTFFFFTT 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/mcc2021-input.r026-tajo-162038143500188.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2021-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
.................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is BridgeAndVehicles-PT-V20P10N20, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r026-tajo-162038143500188
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 6.2M
-rw-r--r-- 1 mcc users 52K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 264K May 5 16:58 CTLCardinality.xml
-rw-r--r-- 1 mcc users 834K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 3.2M May 5 16:58 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 5.2K Mar 28 15:46 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Mar 28 15:46 LTLCardinality.xml
-rw-r--r-- 1 mcc users 89K Mar 28 15:46 LTLFireability.txt
-rw-r--r-- 1 mcc users 269K Mar 28 15:46 LTLFireability.xml
-rw-r--r-- 1 mcc users 6.3K Mar 23 02:48 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 25K Mar 23 02:48 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 96K Mar 22 11:02 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 281K Mar 22 11:02 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.9K Mar 22 09:10 UpperBounds.txt
-rw-r--r-- 1 mcc users 6.1K Mar 22 09:10 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 10 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 1.1M May 5 16:51 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-V20P10N20-00
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-01
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-02
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-03
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-04
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-05
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-06
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-07
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-08
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-09
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-10
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-11
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-12
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-13
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-14
FORMULA_NAME BridgeAndVehicles-PT-V20P10N20-15

=== Now, execution of the tool begins

BK_START 1620526816763

Running Version 0
[2021-05-09 02:20:19] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLCardinality, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2021-05-09 02:20:19] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-09 02:20:19] [INFO ] Load time of PNML (sax parser for PT used): 131 ms
[2021-05-09 02:20:19] [INFO ] Transformed 78 places.
[2021-05-09 02:20:19] [INFO ] Transformed 968 transitions.
[2021-05-09 02:20:19] [INFO ] Parsed PT model containing 78 places and 968 transitions in 198 ms.
Parsed 16 properties from file /home/mcc/execution/LTLCardinality.xml in 36 ms.
Working with output stream class java.io.PrintStream
[2021-05-09 02:20:19] [INFO ] Initial state test concluded for 7 properties.
FORMULA BridgeAndVehicles-PT-V20P10N20-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-PT-V20P10N20-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-PT-V20P10N20-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-PT-V20P10N20-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-PT-V20P10N20-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-PT-V20P10N20-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 15 out of 78 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 78/78 places, 968/968 transitions.
Applied a total of 0 rules in 48 ms. Remains 78 /78 variables (removed 0) and now considering 968/968 (removed 0) transitions.
[2021-05-09 02:20:19] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 78 cols
[2021-05-09 02:20:19] [INFO ] Computed 7 place invariants in 13 ms
[2021-05-09 02:20:20] [INFO ] Dead Transitions using invariants and state equation in 717 ms returned []
[2021-05-09 02:20:20] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 78 cols
[2021-05-09 02:20:20] [INFO ] Computed 7 place invariants in 6 ms
[2021-05-09 02:20:20] [INFO ] Implicit Places using invariants in 257 ms returned []
[2021-05-09 02:20:20] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 78 cols
[2021-05-09 02:20:20] [INFO ] Computed 7 place invariants in 21 ms
[2021-05-09 02:20:21] [INFO ] State equation strengthened by 42 read => feed constraints.
[2021-05-09 02:20:21] [INFO ] Implicit Places using invariants and state equation in 333 ms returned []
Implicit Place search using SMT with State Equation took 593 ms to find 0 implicit places.
[2021-05-09 02:20:21] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 78 cols
[2021-05-09 02:20:21] [INFO ] Computed 7 place invariants in 25 ms
[2021-05-09 02:20:21] [INFO ] Dead Transitions using invariants and state equation in 355 ms returned []
Finished structural reductions, in 1 iterations. Remains : 78/78 places, 968/968 transitions.
[2021-05-09 02:20:21] [INFO ] Initial state reduction rules for LTL removed 3 formulas.
[2021-05-09 02:20:21] [INFO ] Flatten gal took : 167 ms
FORMULA BridgeAndVehicles-PT-V20P10N20-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-PT-V20P10N20-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-PT-V20P10N20-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-09 02:20:22] [INFO ] Flatten gal took : 83 ms
[2021-05-09 02:20:22] [INFO ] Input system was already deterministic with 968 transitions.
Incomplete random walk after 100000 steps, including 574 resets, run finished after 548 ms. (steps per millisecond=182 ) properties (out of 12) seen :7
Running SMT prover for 5 properties.
[2021-05-09 02:20:22] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 78 cols
[2021-05-09 02:20:22] [INFO ] Computed 7 place invariants in 4 ms
[2021-05-09 02:20:22] [INFO ] [Real]Absence check using 7 positive place invariants in 2 ms returned unsat
[2021-05-09 02:20:23] [INFO ] [Real]Absence check using 7 positive place invariants in 3 ms returned unsat
[2021-05-09 02:20:23] [INFO ] [Real]Absence check using 7 positive place invariants in 2 ms returned unsat
[2021-05-09 02:20:23] [INFO ] [Real]Absence check using 7 positive place invariants in 2 ms returned sat
[2021-05-09 02:20:23] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 02:20:23] [INFO ] [Real]Absence check using state equation in 45 ms returned sat
[2021-05-09 02:20:23] [INFO ] State equation strengthened by 42 read => feed constraints.
[2021-05-09 02:20:23] [INFO ] [Real]Added 42 Read/Feed constraints in 16 ms returned sat
[2021-05-09 02:20:23] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 02:20:23] [INFO ] [Nat]Absence check using 7 positive place invariants in 3 ms returned sat
[2021-05-09 02:20:23] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 02:20:23] [INFO ] [Nat]Absence check using state equation in 38 ms returned sat
[2021-05-09 02:20:23] [INFO ] [Nat]Added 42 Read/Feed constraints in 20 ms returned sat
[2021-05-09 02:20:23] [INFO ] Deduced a trap composed of 25 places in 126 ms of which 5 ms to minimize.
[2021-05-09 02:20:23] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 166 ms
[2021-05-09 02:20:23] [INFO ] Computed and/alt/rep : 60/118/60 causal constraints (skipped 107 transitions) in 71 ms.
[2021-05-09 02:20:23] [INFO ] Added : 57 causal constraints over 14 iterations in 291 ms. Result :sat
[2021-05-09 02:20:23] [INFO ] [Real]Absence check using 7 positive place invariants in 2 ms returned unsat
Successfully simplified 4 atomic propositions for a total of 7 simplifications.
[2021-05-09 02:20:23] [INFO ] Initial state test concluded for 3 properties.
FORMULA BridgeAndVehicles-PT-V20P10N20-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-PT-V20P10N20-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA BridgeAndVehicles-PT-V20P10N20-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Running Spot : CommandLine [args=[/home/mcc/BenchKit/bin//..//ltl2tgba, --hoaf=tv, -f, !((G(p0)&&X((F(p1)||X(!p0)))))], workingDir=/home/mcc/execution]
Support contains 2 out of 78 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 78/78 places, 968/968 transitions.
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 77 transition count 968
Applied a total of 1 rules in 12 ms. Remains 77 /78 variables (removed 1) and now considering 968/968 (removed 0) transitions.
[2021-05-09 02:20:23] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 77 cols
[2021-05-09 02:20:23] [INFO ] Computed 6 place invariants in 2 ms
[2021-05-09 02:20:24] [INFO ] Dead Transitions using invariants and state equation in 323 ms returned []
[2021-05-09 02:20:24] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 77 cols
[2021-05-09 02:20:24] [INFO ] Computed 6 place invariants in 2 ms
[2021-05-09 02:20:24] [INFO ] Implicit Places using invariants in 132 ms returned []
[2021-05-09 02:20:24] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 77 cols
[2021-05-09 02:20:24] [INFO ] Computed 6 place invariants in 9 ms
[2021-05-09 02:20:24] [INFO ] State equation strengthened by 42 read => feed constraints.
[2021-05-09 02:20:24] [INFO ] Implicit Places using invariants and state equation in 359 ms returned [22]
Discarding 1 places :
Implicit Place search using SMT with State Equation took 497 ms to find 1 implicit places.
[2021-05-09 02:20:24] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 76 cols
[2021-05-09 02:20:24] [INFO ] Computed 6 place invariants in 18 ms
[2021-05-09 02:20:24] [INFO ] Dead Transitions using invariants and state equation in 335 ms returned []
Starting structural reductions, iteration 1 : 76/78 places, 968/968 transitions.
Applied a total of 0 rules in 10 ms. Remains 76 /76 variables (removed 0) and now considering 968/968 (removed 0) transitions.
[2021-05-09 02:20:24] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 76 cols
[2021-05-09 02:20:24] [INFO ] Computed 6 place invariants in 2 ms
[2021-05-09 02:20:25] [INFO ] Dead Transitions using invariants and state equation in 304 ms returned []
Finished structural reductions, in 2 iterations. Remains : 76/78 places, 968/968 transitions.
Stuttering acceptance computed with spot in 225 ms :[(NOT p0), (OR (NOT p0) (NOT p1)), true, (OR (NOT p1) (NOT p0))]
Running random walk in product with property : BridgeAndVehicles-PT-V20P10N20-00 automaton TGBA [mat=[[{ cond=p0, acceptance={} source=0 dest: 0}, { cond=(NOT p0), acceptance={} source=0 dest: 2}], [{ cond=(NOT p0), acceptance={} source=1 dest: 2}, { cond=p0, acceptance={} source=1 dest: 3}], [{ cond=true, acceptance={0} source=2 dest: 2}], [{ cond=(AND p0 p1), acceptance={0} source=3 dest: 0}, { cond=(NOT p0), acceptance={0} source=3 dest: 2}, { cond=(AND p0 (NOT p1)), acceptance={0} source=3 dest: 3}]], initial=1, aps=[p0:(GT 1 s53), p1:(LEQ 1 s47)], nbAcceptance=1, properties=[trans-labels, explicit-labels, trans-acc, complete, deterministic, no-univ-branch, unambiguous, semi-deterministic, very-weak, weak, inherently-weak], stateDesc=[null, null, null, null][false, false, false, false]]
Entered a terminal (fully accepting) state of product in 105 steps with 0 reset in 5 ms.
FORMULA BridgeAndVehicles-PT-V20P10N20-00 FALSE TECHNIQUES STUTTER_TEST
Treatment of property BridgeAndVehicles-PT-V20P10N20-00 finished in 1773 ms.
Running Spot : CommandLine [args=[/home/mcc/BenchKit/bin//..//ltl2tgba, --hoaf=tv, -f, !(G(F(p0)))], workingDir=/home/mcc/execution]
Support contains 4 out of 78 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 78/78 places, 968/968 transitions.
Graph (complete) has 1690 edges and 78 vertex of which 77 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.10 ms
Discarding 1 places :
Also discarding 0 output transitions
Applied a total of 1 rules in 110 ms. Remains 77 /78 variables (removed 1) and now considering 968/968 (removed 0) transitions.
[2021-05-09 02:20:25] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 77 cols
[2021-05-09 02:20:25] [INFO ] Computed 6 place invariants in 1 ms
[2021-05-09 02:20:25] [INFO ] Dead Transitions using invariants and state equation in 285 ms returned []
[2021-05-09 02:20:25] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 77 cols
[2021-05-09 02:20:25] [INFO ] Computed 6 place invariants in 1 ms
[2021-05-09 02:20:26] [INFO ] Implicit Places using invariants in 112 ms returned []
[2021-05-09 02:20:26] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 77 cols
[2021-05-09 02:20:26] [INFO ] Computed 6 place invariants in 3 ms
[2021-05-09 02:20:26] [INFO ] State equation strengthened by 42 read => feed constraints.
[2021-05-09 02:20:26] [INFO ] Implicit Places using invariants and state equation in 260 ms returned [22]
Discarding 1 places :
Implicit Place search using SMT with State Equation took 376 ms to find 1 implicit places.
[2021-05-09 02:20:26] [INFO ] Redundant transitions in 51 ms returned []
[2021-05-09 02:20:26] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 76 cols
[2021-05-09 02:20:26] [INFO ] Computed 5 place invariants in 0 ms
[2021-05-09 02:20:26] [INFO ] Dead Transitions using invariants and state equation in 294 ms returned []
Starting structural reductions, iteration 1 : 76/78 places, 968/968 transitions.
Applied a total of 0 rules in 55 ms. Remains 76 /76 variables (removed 0) and now considering 968/968 (removed 0) transitions.
[2021-05-09 02:20:26] [INFO ] Redundant transitions in 12 ms returned []
[2021-05-09 02:20:26] [INFO ] Flow matrix only has 170 transitions (discarded 798 similar events)
// Phase 1: matrix 170 rows 76 cols
[2021-05-09 02:20:26] [INFO ] Computed 5 place invariants in 1 ms
[2021-05-09 02:20:27] [INFO ] Dead Transitions using invariants and state equation in 321 ms returned []
Finished structural reductions, in 2 iterations. Remains : 76/78 places, 968/968 transitions.
Stuttering acceptance computed with spot in 60 ms :[(NOT p0), (NOT p0)]
Running random walk in product with property : BridgeAndVehicles-PT-V20P10N20-02 automaton TGBA [mat=[[{ cond=true, acceptance={} source=0 dest: 0}, { cond=(NOT p0), acceptance={} source=0 dest: 1}], [{ cond=(NOT p0), acceptance={0} source=1 dest: 1}]], initial=0, aps=[p0:(AND (LEQ 3 s23) (OR (LEQ s22 s48) (LEQ 1 s51)))], nbAcceptance=1, properties=[trans-labels, explicit-labels, trans-acc, no-univ-branch, stutter-invariant, very-weak, weak, inherently-weak], stateDesc=[null, null][true, true]]
Product exploration explored 100000 steps with 1996 reset in 418 ms.
Product exploration explored 100000 steps with 1966 reset in 369 ms.
Graph (complete) has 1645 edges and 76 vertex of which 75 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.2 ms
Knowledge obtained : [(NOT p0)]
Stuttering acceptance computed with spot in 62 ms :[(NOT p0), (NOT p0)]
Product exploration explored 100000 steps with 1943 reset in 347 ms.
Product exploration explored 100000 steps with 1934 reset in 302 ms.
[2021-05-09 02:20:28] [INFO ] Flatten gal took : 52 ms
[2021-05-09 02:20:28] [INFO ] Flatten gal took : 42 ms
[2021-05-09 02:20:28] [INFO ] Time to serialize gal into /tmp/LTL3310939844600745902.gal : 23 ms
[2021-05-09 02:20:28] [INFO ] Time to serialize properties into /tmp/LTL7674280643740745453.ltl : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64, --gc-threshold, 2000000, -i, /tmp/LTL3310939844600745902.gal, -t, CGAL, -LTL, /tmp/LTL7674280643740745453.ltl, -c, -stutter-deadlock, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ltl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64 --gc-threshold 2000000 -i /tmp/LTL3310939844600745902.gal -t CGAL -LTL /tmp/LTL7674280643740745453.ltl -c -stutter-deadlock --gen-order FOLLOW
Read 1 LTL properties
Checking formula 0 : !((G(F("((SORTI_A>=3)&&((SUR_PONT_A<=ATTENTE_B)||(SUR_PONT_B>=1)))"))))
Formula 0 simplified : !GF"((SORTI_A>=3)&&((SUR_PONT_A<=ATTENTE_B)||(SUR_PONT_B>=1)))"
Detected timeout of ITS tools.
[2021-05-09 02:20:44] [INFO ] Flatten gal took : 52 ms
[2021-05-09 02:20:44] [INFO ] Applying decomposition
[2021-05-09 02:20:44] [INFO ] Flatten gal took : 51 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph7937313529941287525.txt, -o, /tmp/graph7937313529941287525.bin, -w, /tmp/graph7937313529941287525.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph7937313529941287525.bin, -l, -1, -v, -w, /tmp/graph7937313529941287525.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-09 02:20:44] [INFO ] Decomposing Gal with order
[2021-05-09 02:20:44] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-09 02:20:44] [INFO ] Removed a total of 913 redundant transitions.
[2021-05-09 02:20:44] [INFO ] Flatten gal took : 223 ms
[2021-05-09 02:20:44] [INFO ] Fuse similar labels procedure discarded/fused a total of 174 labels/synchronizations in 13 ms.
[2021-05-09 02:20:44] [INFO ] Time to serialize gal into /tmp/LTL13760273105453232490.gal : 5 ms
[2021-05-09 02:20:44] [INFO ] Time to serialize properties into /tmp/LTL15728639488806482675.ltl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64, --gc-threshold, 2000000, -i, /tmp/LTL13760273105453232490.gal, -t, CGAL, -LTL, /tmp/LTL15728639488806482675.ltl, -c, -stutter-deadlock, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ltl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64 --gc-threshold 2000000 -i /tmp/LTL13760273105453232490.gal -t CGAL -LTL /tmp/LTL15728639488806482675.ltl -c -stutter-deadlock --gen-order FOLLOW
Read 1 LTL properties
Checking formula 0 : !((G(F("((gu1.SORTI_A>=3)&&((gu1.SUR_PONT_A<=gu1.ATTENTE_B)||(gi0.gu0.SUR_PONT_B>=1)))"))))
Formula 0 simplified : !GF"((gu1.SORTI_A>=3)&&((gu1.SUR_PONT_A<=gu1.ATTENTE_B)||(gi0.gu0.SUR_PONT_B>=1)))"
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin18081949898960300293
[2021-05-09 02:20:59] [INFO ] Built C files in 39ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin18081949898960300293
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin18081949898960300293]
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin18081949898960300293] killed by timeout after 1 SECONDS
java.lang.RuntimeException: Compilation or link of executable timed out.java.util.concurrent.TimeoutException: Subprocess running CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin18081949898960300293] killed by timeout after 1 SECONDS
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:79)
at java.base/java.lang.Thread.run(Thread.java:834)
Treatment of property BridgeAndVehicles-PT-V20P10N20-02 finished in 35189 ms.
Running Spot : CommandLine [args=[/home/mcc/BenchKit/bin//..//ltl2tgba, --hoaf=tv, -f, !((G(p0)||G(F(p1))))], workingDir=/home/mcc/execution]
Support contains 2 out of 78 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 78/78 places, 968/968 transitions.
Graph (complete) has 1690 edges and 78 vertex of which 76 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.3 ms
Discarding 2 places :
Also discarding 0 output transitions
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 3 place count 75 transition count 967
Applied a total of 3 rules in 73 ms. Remains 75 /78 variables (removed 3) and now considering 967/968 (removed 1) transitions.
[2021-05-09 02:21:00] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 75 cols
[2021-05-09 02:21:00] [INFO ] Computed 5 place invariants in 1 ms
[2021-05-09 02:21:01] [INFO ] Dead Transitions using invariants and state equation in 458 ms returned []
[2021-05-09 02:21:01] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 75 cols
[2021-05-09 02:21:01] [INFO ] Computed 5 place invariants in 1 ms
[2021-05-09 02:21:01] [INFO ] Implicit Places using invariants in 202 ms returned []
[2021-05-09 02:21:01] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 75 cols
[2021-05-09 02:21:01] [INFO ] Computed 5 place invariants in 0 ms
[2021-05-09 02:21:01] [INFO ] State equation strengthened by 42 read => feed constraints.
[2021-05-09 02:21:01] [INFO ] Implicit Places using invariants and state equation in 318 ms returned [22, 48]
Discarding 2 places :
Implicit Place search using SMT with State Equation took 524 ms to find 2 implicit places.
[2021-05-09 02:21:01] [INFO ] Redundant transitions in 12 ms returned []
[2021-05-09 02:21:01] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 73 cols
[2021-05-09 02:21:01] [INFO ] Computed 5 place invariants in 1 ms
[2021-05-09 02:21:02] [INFO ] Dead Transitions using invariants and state equation in 327 ms returned []
Starting structural reductions, iteration 1 : 73/78 places, 967/968 transitions.
Applied a total of 0 rules in 78 ms. Remains 73 /73 variables (removed 0) and now considering 967/967 (removed 0) transitions.
[2021-05-09 02:21:02] [INFO ] Redundant transitions in 8 ms returned []
[2021-05-09 02:21:02] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 73 cols
[2021-05-09 02:21:02] [INFO ] Computed 5 place invariants in 1 ms
[2021-05-09 02:21:02] [INFO ] Dead Transitions using invariants and state equation in 306 ms returned []
Finished structural reductions, in 2 iterations. Remains : 73/78 places, 967/968 transitions.
Stuttering acceptance computed with spot in 81 ms :[(AND (NOT p0) (NOT p1)), (NOT p1), (NOT p1)]
Running random walk in product with property : BridgeAndVehicles-PT-V20P10N20-11 automaton TGBA [mat=[[{ cond=p0, acceptance={} source=0 dest: 0}, { cond=(AND (NOT p0) (NOT p1)), acceptance={} source=0 dest: 1}, { cond=(NOT p0), acceptance={} source=0 dest: 2}], [{ cond=(NOT p1), acceptance={0} source=1 dest: 1}], [{ cond=(NOT p1), acceptance={} source=2 dest: 1}, { cond=true, acceptance={} source=2 dest: 2}]], initial=0, aps=[p0:(LEQ 3 s22), p1:(LEQ 1 s0)], nbAcceptance=1, properties=[trans-labels, explicit-labels, trans-acc, no-univ-branch, stutter-invariant, very-weak, weak, inherently-weak], stateDesc=[null, null, null][true, true, true]]
Stuttering criterion allowed to conclude after 145 steps with 0 reset in 2 ms.
FORMULA BridgeAndVehicles-PT-V20P10N20-11 FALSE TECHNIQUES STUTTER_TEST
Treatment of property BridgeAndVehicles-PT-V20P10N20-11 finished in 1920 ms.
Running Spot : CommandLine [args=[/home/mcc/BenchKit/bin//..//ltl2tgba, --hoaf=tv, -f, !((X(p0)||G(!p0)))], workingDir=/home/mcc/execution]
Support contains 1 out of 78 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 78/78 places, 968/968 transitions.
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 76 transition count 968
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 3 place count 75 transition count 967
Iterating global reduction 1 with 1 rules applied. Total rules applied 4 place count 75 transition count 967
Applied a total of 4 rules in 12 ms. Remains 75 /78 variables (removed 3) and now considering 967/968 (removed 1) transitions.
[2021-05-09 02:21:02] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 75 cols
[2021-05-09 02:21:02] [INFO ] Computed 5 place invariants in 1 ms
[2021-05-09 02:21:02] [INFO ] Dead Transitions using invariants and state equation in 280 ms returned []
[2021-05-09 02:21:02] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 75 cols
[2021-05-09 02:21:02] [INFO ] Computed 5 place invariants in 0 ms
[2021-05-09 02:21:03] [INFO ] Implicit Places using invariants in 124 ms returned []
[2021-05-09 02:21:03] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 75 cols
[2021-05-09 02:21:03] [INFO ] Computed 5 place invariants in 1 ms
[2021-05-09 02:21:03] [INFO ] State equation strengthened by 42 read => feed constraints.
[2021-05-09 02:21:03] [INFO ] Implicit Places using invariants and state equation in 360 ms returned [48]
Discarding 1 places :
Implicit Place search using SMT with State Equation took 488 ms to find 1 implicit places.
[2021-05-09 02:21:03] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 74 cols
[2021-05-09 02:21:03] [INFO ] Computed 5 place invariants in 0 ms
[2021-05-09 02:21:03] [INFO ] Dead Transitions using invariants and state equation in 360 ms returned []
Starting structural reductions, iteration 1 : 74/78 places, 967/968 transitions.
Applied a total of 0 rules in 5 ms. Remains 74 /74 variables (removed 0) and now considering 967/967 (removed 0) transitions.
[2021-05-09 02:21:03] [INFO ] Flow matrix only has 169 transitions (discarded 798 similar events)
// Phase 1: matrix 169 rows 74 cols
[2021-05-09 02:21:03] [INFO ] Computed 5 place invariants in 1 ms
[2021-05-09 02:21:04] [INFO ] Dead Transitions using invariants and state equation in 347 ms returned []
Finished structural reductions, in 2 iterations. Remains : 74/78 places, 967/968 transitions.
Stuttering acceptance computed with spot in 129 ms :[true, (NOT p0), false, false, p0]
Running random walk in product with property : BridgeAndVehicles-PT-V20P10N20-12 automaton TGBA [mat=[[{ cond=true, acceptance={0} source=0 dest: 0}], [{ cond=(NOT p0), acceptance={} source=1 dest: 0}], [{ cond=(NOT p0), acceptance={} source=2 dest: 4}], [{ cond=p0, acceptance={} source=3 dest: 1}, { cond=(NOT p0), acceptance={} source=3 dest: 2}], [{ cond=p0, acceptance={} source=4 dest: 0}, { cond=(NOT p0), acceptance={} source=4 dest: 4}]], initial=3, aps=[p0:(LEQ 1 s22)], nbAcceptance=1, properties=[trans-labels, explicit-labels, trans-acc, deterministic, no-univ-branch, unambiguous, semi-deterministic, terminal, very-weak, weak, inherently-weak], stateDesc=[null, null, null, null, null][false, false, false, false, false]]
Entered a terminal (fully accepting) state of product in 4 steps with 0 reset in 1 ms.
FORMULA BridgeAndVehicles-PT-V20P10N20-12 FALSE TECHNIQUES STUTTER_TEST
Treatment of property BridgeAndVehicles-PT-V20P10N20-12 finished in 1645 ms.
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin18098803975364859314
[2021-05-09 02:21:04] [INFO ] Computing symmetric may disable matrix : 968 transitions.
[2021-05-09 02:21:04] [INFO ] Applying decomposition
[2021-05-09 02:21:04] [INFO ] Computation of Complete disable matrix. took 34 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2021-05-09 02:21:04] [INFO ] Computing symmetric may enable matrix : 968 transitions.
[2021-05-09 02:21:04] [INFO ] Flatten gal took : 77 ms
[2021-05-09 02:21:04] [INFO ] Computation of Complete enable matrix. took 17 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2021-05-09 02:21:04] [INFO ] Computing Do-Not-Accords matrix : 968 transitions.
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph5324190667278015935.txt, -o, /tmp/graph5324190667278015935.bin, -w, /tmp/graph5324190667278015935.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph5324190667278015935.bin, -l, -1, -v, -w, /tmp/graph5324190667278015935.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-09 02:21:04] [INFO ] Decomposing Gal with order
[2021-05-09 02:21:04] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-09 02:21:04] [INFO ] Computation of Completed DNA matrix. took 70 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2021-05-09 02:21:04] [INFO ] Built C files in 353ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin18098803975364859314
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin18098803975364859314]
[2021-05-09 02:21:04] [INFO ] Removed a total of 952 redundant transitions.
[2021-05-09 02:21:04] [INFO ] Flatten gal took : 173 ms
[2021-05-09 02:21:04] [INFO ] Fuse similar labels procedure discarded/fused a total of 193 labels/synchronizations in 16 ms.
[2021-05-09 02:21:04] [INFO ] Time to serialize gal into /tmp/LTLCardinality18015586615079740213.gal : 4 ms
[2021-05-09 02:21:04] [INFO ] Time to serialize properties into /tmp/LTLCardinality2243568544573545032.ltl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64, --gc-threshold, 2000000, -i, /tmp/LTLCardinality18015586615079740213.gal, -t, CGAL, -LTL, /tmp/LTLCardinality2243568544573545032.ltl, -c, -stutter-deadlock, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ltl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64 --gc-threshold 2000000 -i /tmp/LTLCardinality18015586615079740213.gal -t CGAL -LTL /tmp/LTLCardinality2243568544573545032.ltl -c -stutter-deadlock --gen-order FOLLOW
Read 1 LTL properties
Checking formula 0 : !((G(F("((gu1.SORTI_A>=3)&&((gu1.SUR_PONT_A<=gu1.ATTENTE_B)||(gi1.gu2.SUR_PONT_B>=1)))"))))
Formula 0 simplified : !GF"((gu1.SORTI_A>=3)&&((gu1.SUR_PONT_A<=gu1.ATTENTE_B)||(gi1.gu2.SUR_PONT_B>=1)))"
Compilation finished in 8397 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/tmp/ltsmin18098803975364859314]
Link finished in 89 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/pins2lts-mc-linux64, ./gal.so, --threads=8, -p, --pins-guards, --when, --ltl, [](<>((LTLAPp0==true))), --buchi-type=spotba], workingDir=/tmp/ltsmin18098803975364859314]
WARNING : LTSmin timed out (>514 s) on command CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/pins2lts-mc-linux64, ./gal.so, --threads=8, -p, --pins-guards, --when, --ltl, [](<>((LTLAPp0==true))), --buchi-type=spotba], workingDir=/tmp/ltsmin18098803975364859314]
Retrying LTSmin with larger timeout 4112 s
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/pins2lts-mc-linux64, ./gal.so, --threads=8, -p, --pins-guards, --when, --ltl, [](<>((LTLAPp0==true))), --buchi-type=spotba], workingDir=/tmp/ltsmin18098803975364859314]
Detected timeout of ITS tools.
[2021-05-09 02:41:19] [INFO ] Flatten gal took : 139 ms
[2021-05-09 02:41:19] [INFO ] Time to serialize gal into /tmp/LTLCardinality14397247284683073493.gal : 6 ms
[2021-05-09 02:41:19] [INFO ] Time to serialize properties into /tmp/LTLCardinality15921486403162559111.ltl : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64, --gc-threshold, 2000000, -i, /tmp/LTLCardinality14397247284683073493.gal, -t, CGAL, -LTL, /tmp/LTLCardinality15921486403162559111.ltl, -c, -stutter-deadlock, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ltl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64 --gc-threshold 2000000 -i /tmp/LTLCardinality14397247284683073493.gal -t CGAL -LTL /tmp/LTLCardinality15921486403162559111.ltl -c -stutter-deadlock --gen-order FOLLOW
Read 1 LTL properties
Checking formula 0 : !((G(F("((SORTI_A>=3)&&((SUR_PONT_A<=ATTENTE_B)||(SUR_PONT_B>=1)))"))))
Formula 0 simplified : !GF"((SORTI_A>=3)&&((SUR_PONT_A<=ATTENTE_B)||(SUR_PONT_B>=1)))"
Detected timeout of ITS tools.
[2021-05-09 03:01:34] [INFO ] Flatten gal took : 137 ms
[2021-05-09 03:01:34] [INFO ] Input system was already deterministic with 968 transitions.
[2021-05-09 03:01:34] [INFO ] Transformed 78 places.
[2021-05-09 03:01:34] [INFO ] Transformed 968 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/pinvar, /home/mcc/execution/gspn], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit/bin//..//greatspn//bin/RGMEDD2, /home/mcc/execution/gspn, -META, -varord-only], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Using order generated by GreatSPN with heuristic : META
[2021-05-09 03:01:34] [INFO ] Time to serialize gal into /tmp/LTLCardinality10918922703435686354.gal : 15 ms
[2021-05-09 03:01:34] [INFO ] Time to serialize properties into /tmp/LTLCardinality8816750529270940824.ltl : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64, --gc-threshold, 2000000, -i, /tmp/LTLCardinality10918922703435686354.gal, -t, CGAL, -LTL, /tmp/LTLCardinality8816750529270940824.ltl, -c, -stutter-deadlock, --load-order, /home/mcc/execution/model.ord, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ltl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-ltl-linux64 --gc-threshold 2000000 -i /tmp/LTLCardinality10918922703435686354.gal -t CGAL -LTL /tmp/LTLCardinality8816750529270940824.ltl -c -stutter-deadlock --load-order /home/mcc/execution/model.ord --gen-order FOLLOW
Read 1 LTL properties
Successfully loaded order from file /home/mcc/execution/model.ord
Checking formula 0 : !((G(F("((SORTI_A>=3)&&((SUR_PONT_A<=ATTENTE_B)||(SUR_PONT_B>=1)))"))))
Formula 0 simplified : !GF"((SORTI_A>=3)&&((SUR_PONT_A<=ATTENTE_B)||(SUR_PONT_B>=1)))"

BK_TIME_CONFINEMENT_REACHED

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ LTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution LTLCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination LTLCardinality -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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-V20P10N20"
export BK_EXAMINATION="LTLCardinality"
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-4028"
echo " Executing tool itstools"
echo " Input is BridgeAndVehicles-PT-V20P10N20, examination is LTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r026-tajo-162038143500188"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/BridgeAndVehicles-PT-V20P10N20.tgz
mv BridgeAndVehicles-PT-V20P10N20 execution
cd execution
if [ "LTLCardinality" = "ReachabilityDeadlock" ] || [ "LTLCardinality" = "UpperBounds" ] || [ "LTLCardinality" = "QuasiLiveness" ] || [ "LTLCardinality" = "StableMarking" ] || [ "LTLCardinality" = "Liveness" ] || [ "LTLCardinality" = "OneSafe" ] || [ "LTLCardinality" = "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 [ "LTLCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "LTLCardinality" != "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 "LTLCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property LTLCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "LTLCardinality.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 '' LTLCardinality.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "LTLCardinality" = "ReachabilityDeadlock" ] || [ "LTLCardinality" = "QuasiLiveness" ] || [ "LTLCardinality" = "StableMarking" ] || [ "LTLCardinality" = "Liveness" ] || [ "LTLCardinality" = "OneSafe" ] ; then
echo "FORMULA_NAME LTLCardinality"
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 ;