fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r227-oct2-159033546400273
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for Sudoku-COL-AN16

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15717.060 2899.00 7826.00 74.70 TFFTFFTFTFFTTTFF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2020-input.r227-oct2-159033546400273.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2020-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is Sudoku-COL-AN16, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r227-oct2-159033546400273
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 172K
-rw-r--r-- 1 mcc users 3.7K May 14 04:05 CTLCardinality.txt
-rw-r--r-- 1 mcc users 21K May 14 04:05 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K May 13 21:59 CTLFireability.txt
-rw-r--r-- 1 mcc users 19K May 13 21:58 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K May 14 10:07 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 14 10:07 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K May 14 10:07 LTLFireability.txt
-rw-r--r-- 1 mcc users 14K May 14 10:07 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 20:42 NewModel
-rw-r--r-- 1 mcc users 3.0K May 13 15:10 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 14K May 13 15:10 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.7K May 13 10:49 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 15K May 13 10:48 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 13 16:53 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K May 13 16:53 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 12 20:42 equiv_pt
-rw-r--r-- 1 mcc users 5 May 12 20:42 instance
-rw-r--r-- 1 mcc users 5 May 12 20:42 iscolored
-rw-r--r-- 1 mcc users 6.5K May 12 20:42 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 Sudoku-COL-AN16-00
FORMULA_NAME Sudoku-COL-AN16-01
FORMULA_NAME Sudoku-COL-AN16-02
FORMULA_NAME Sudoku-COL-AN16-03
FORMULA_NAME Sudoku-COL-AN16-04
FORMULA_NAME Sudoku-COL-AN16-05
FORMULA_NAME Sudoku-COL-AN16-06
FORMULA_NAME Sudoku-COL-AN16-07
FORMULA_NAME Sudoku-COL-AN16-08
FORMULA_NAME Sudoku-COL-AN16-09
FORMULA_NAME Sudoku-COL-AN16-10
FORMULA_NAME Sudoku-COL-AN16-11
FORMULA_NAME Sudoku-COL-AN16-12
FORMULA_NAME Sudoku-COL-AN16-13
FORMULA_NAME Sudoku-COL-AN16-14
FORMULA_NAME Sudoku-COL-AN16-15

=== Now, execution of the tool begins

BK_START 1590484507379

[2020-05-26 09:15:08] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-26 09:15:08] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-26 09:15:08] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[2020-05-26 09:15:09] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 424 ms
[2020-05-26 09:15:09] [INFO ] sort/places :
N2->Rows,Cells,Columns,
N3->Board,

[2020-05-26 09:15:09] [WARNING] Unknown color function,Tuple skipping symmetry detection on parameters for transition select
[2020-05-26 09:15:09] [WARNING] Unknown color function,Tuple skipping symmetry detection on parameters for transition select
[2020-05-26 09:15:09] [WARNING] Unknown color function,Tuple skipping symmetry detection on parameters for transition select
[2020-05-26 09:15:09] [INFO ] Imported 4 HL places and 1 HL transitions for a total of 4050 PT places and 3375.0 transition bindings in 25 ms.
[2020-05-26 09:15:09] [INFO ] Computed order based on color domains.
[2020-05-26 09:15:09] [INFO ] Unfolded HLPN to a Petri net with 4050 places and 3375 transitions in 52 ms.
[2020-05-26 09:15:09] [INFO ] Unfolded HLPN properties in 6 ms.
Deduced a syphon composed of 4046 places in 3 ms
Reduce places removed 4046 places and 3374 transitions.
Parsed 16 properties from file /home/mcc/execution/LTLCardinality.xml in 135 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 100000 steps, including 50000 resets, run finished after 139 ms. (steps per millisecond=719 ) properties seen :[0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0]
// Phase 1: matrix 1 rows 4 cols
[2020-05-26 09:15:09] [INFO ] Computed 3 place invariants in 2 ms
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 9 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 8 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 2 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 2 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 2 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 7 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 2 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 2 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 2 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
[2020-05-26 09:15:09] [INFO ] [Real]Absence check using 3 positive place invariants in 1 ms returned unsat
Successfully simplified 18 atomic propositions for a total of 33 simplifications.
[2020-05-26 09:15:10] [INFO ] Initial state reduction rules for CTL removed 10 formulas.
[2020-05-26 09:15:10] [INFO ] Flatten gal took : 13 ms
FORMULA Sudoku-COL-AN16-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Sudoku-COL-AN16-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Sudoku-COL-AN16-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Sudoku-COL-AN16-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Sudoku-COL-AN16-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Sudoku-COL-AN16-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Sudoku-COL-AN16-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Sudoku-COL-AN16-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Sudoku-COL-AN16-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Sudoku-COL-AN16-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-26 09:15:10] [INFO ] Flatten gal took : 1 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
[2020-05-26 09:15:10] [INFO ] Applying decomposition
[2020-05-26 09:15:10] [INFO ] Flatten gal took : 1 ms
[2020-05-26 09:15:10] [INFO ] Input system was already deterministic with 1 transitions.
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
// Phase 1: matrix 1 rows 4 cols
[2020-05-26 09:15:10] [INFO ] Computed 3 place invariants in 0 ms
inv : Board_0 + Cells_0 = 1
inv : Rows_0 + Board_0 = 1
inv : Board_0 + Columns_0 = 1
Total of 3 invariants.
[2020-05-26 09:15:10] [INFO ] Computed 3 place invariants in 1 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/convert-linux64, -i, /tmp/graph2515526339331036947.txt, -o, /tmp/graph2515526339331036947.bin, -w, /tmp/graph2515526339331036947.weights], workingDir=null]
[2020-05-26 09:15:10] [INFO ] Proved 4 variables to be positive in 15 ms
[2020-05-26 09:15:10] [INFO ] Computing symmetric may disable matrix : 1 transitions.
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/louvain-linux64, /tmp/graph2515526339331036947.bin, -l, -1, -v, -w, /tmp/graph2515526339331036947.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-26 09:15:10] [INFO ] Computation of disable matrix completed :0/1 took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-26 09:15:10] [INFO ] Computation of Complete disable matrix. took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-26 09:15:10] [INFO ] Computing symmetric may enable matrix : 1 transitions.
[2020-05-26 09:15:10] [INFO ] Computation of Complete enable matrix. took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2020-05-26 09:15:10] [INFO ] Decomposing Gal with order
[2020-05-26 09:15:10] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-26 09:15:10] [INFO ] Flatten gal took : 1 ms
[2020-05-26 09:15:10] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 0 ms.
[2020-05-26 09:15:10] [INFO ] Time to serialize gal into /home/mcc/execution/LTLCardinality.pnml.gal : 1 ms
[2020-05-26 09:15:10] [INFO ] Time to serialize properties into /home/mcc/execution/LTLCardinality.ltl : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ltl-linux64, --gc-threshold, 2000000, -i, /home/mcc/execution/LTLCardinality.pnml.gal, -t, CGAL, -LTL, /home/mcc/execution/LTLCardinality.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.202005100927/bin/its-ltl-linux64 --gc-threshold 2000000 -i /home/mcc/execution/LTLCardinality.pnml.gal -t CGAL -LTL /home/mcc/execution/LTLCardinality.ltl -c -stutter-deadlock --gen-order FOLLOW
Read 6 LTL properties
Checking formula 0 : !((X(G((!(F(X("(gu0.Board_0<=gu0.Cells_0)"))))||("(gu0.Board_0>gu0.Cells_0)")))))
Formula 0 simplified : !XG("(gu0.Board_0>gu0.Cells_0)" | !FX"(gu0.Board_0<=gu0.Cells_0)")
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
Computing Next relation with stutter on 1 deadlock states
2 unique states visited
0 strongly connected components in search stack
2 transitions explored
2 items max in DFS search stack
1 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,0.015777,16696,1,0,6,27,17,3,60,13,13
no accepting run found
Formula 0 is TRUE no accepting run found.
FORMULA Sudoku-COL-AN16-00 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 1 : !((F("(gu0.Rows_0<=gu0.Board_0)")))
Formula 1 simplified : !F"(gu0.Rows_0<=gu0.Board_0)"
Computing Next relation with stutter on 1 deadlock states
1 unique states visited
0 strongly connected components in search stack
0 transitions explored
1 items max in DFS search stack
0 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,0.016326,16696,1,0,6,27,26,5,65,16,21
no accepting run found
Formula 1 is TRUE no accepting run found.
FORMULA Sudoku-COL-AN16-06 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 2 : !((!(G(!(G(F("(gu0.Board_0>=1)")))))))
Formula 2 simplified : G!GF"(gu0.Board_0>=1)"
Computing Next relation with stutter on 1 deadlock states
3 unique states visited
0 strongly connected components in search stack
3 transitions explored
2 items max in DFS search stack
0 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,0.017203,17008,1,0,6,27,39,6,67,17,37
no accepting run found
Formula 2 is TRUE no accepting run found.
FORMULA Sudoku-COL-AN16-08 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 3 : !((F(X(X(F("(gu0.Rows_0>gu0.Board_0)"))))))
Formula 3 simplified : !FXXF"(gu0.Rows_0>gu0.Board_0)"
Computing Next relation with stutter on 1 deadlock states
4 unique states visited
4 strongly connected components in search stack
4 transitions explored
4 items max in DFS search stack
0 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,0.017522,17008,1,0,6,27,48,6,71,17,43
an accepting run exists (use option '-e' to print it)
Formula 3 is FALSE accepting run found.
FORMULA Sudoku-COL-AN16-09 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 4 : !(((X("(gu0.Board_0<=gu0.Columns_0)"))||(!(G(F("(gu0.Rows_0<=gu0.Board_0)"))))))
Formula 4 simplified : !(X"(gu0.Board_0<=gu0.Columns_0)" | !GF"(gu0.Rows_0<=gu0.Board_0)")
Computing Next relation with stutter on 1 deadlock states
4 unique states visited
4 strongly connected components in search stack
4 transitions explored
4 items max in DFS search stack
0 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,0.018041,17008,1,0,6,27,59,6,75,17,53
an accepting run exists (use option '-e' to print it)
Formula 4 is FALSE accepting run found.
FORMULA Sudoku-COL-AN16-10 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Checking formula 5 : !((G("(gu0.Board_0<=gu0.Cells_0)")))
Formula 5 simplified : !G"(gu0.Board_0<=gu0.Cells_0)"
Computing Next relation with stutter on 1 deadlock states
3 unique states visited
3 strongly connected components in search stack
3 transitions explored
3 items max in DFS search stack
0 ticks for the emptiness check
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
STATS,0,0.018388,17008,1,0,6,27,67,6,80,17,65
an accepting run exists (use option '-e' to print it)
Formula 5 is FALSE accepting run found.
FORMULA Sudoku-COL-AN16-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
[2020-05-26 09:15:10] [WARNING] Script execution failed on command (declare-fun s0 () (Array Int Int)) with error
[2020-05-26 09:15:10] [WARNING] Script execution failed on command (declare-fun s1 () (Array Int Int)) with error (error "Error writing to Z3 solver: java.io.IOException: Stream closed")
[2020-05-26 09:15:10] [WARNING] Script execution failed on command (assert (and (and (and (>= (select s0 0) 1) (>= (select s0 2) 1)) (>= (select s0 3) 1)) (= (store (store (store (store s0 1 (+ (select s0 1) 1)) 2 (- (select s0 2) 1)) 0 (- (select s0 0) 1)) 3 (- (select s0 3) 1)) s1))) with error (error "Failed to assert expression: java.io.IOException: Stream closed (and (and (and (>= (select s0 0) 1) (>= (select s0 2) 1)) (>= (select s0 3) 1)) (= (store (store (store (store s0 1 (+ (select s0 1) 1)) 2 (- (select s0 2) 1)) 0 (- (select s0 0) 1)) 3 (- (select s0 3) 1)) s1))")
Skipping mayMatrices nes/nds SMT solver raised an exception or timeout.
java.lang.RuntimeException: SMT solver raised an exception or timeout.
at fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver.computeAblingForPredicate(NecessaryEnablingsolver.java:757)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printLabels(Gal2PinsTransformerNext.java:502)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printDependencyMatrix(Gal2PinsTransformerNext.java:209)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.buildBodyFile(Gal2PinsTransformerNext.java:85)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.transform(Gal2PinsTransformerNext.java:831)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:73)
at java.base/java.lang.Thread.run(Thread.java:834)
[2020-05-26 09:15:10] [INFO ] Built C files in 113ms conformant to PINS in folder :/home/mcc/execution
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit//lts_install_dir//include, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/home/mcc/execution]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.

BK_STOP 1590484510278

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ LTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution LTLCardinality -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination LTLCardinality -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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="Sudoku-COL-AN16"
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"

# 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 Sudoku-COL-AN16, 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 r227-oct2-159033546400273"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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