fond
Model Checking Contest 2019
9th edition, Prague, Czech Republic, April 7, 2019 (TOOLympics)
Execution of r107-oct2-155272231200597
Last Updated
Apr 15, 2019

About the Execution of ITS-Tools for PhaseVariation-PT-D05CS010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
557.000 13253.00 34044.00 153.20 T normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2019-input.r107-oct2-155272231200597.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2019-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
...................
=====================================================================
Generated by BenchKit 2-3954
Executing tool itstools
Input is PhaseVariation-PT-D05CS010, examination is GlobalProperties
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r107-oct2-155272231200597
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 816K
-rw-r--r-- 1 mcc users 4.2K Feb 12 04:24 CTLCardinality.txt
-rw-r--r-- 1 mcc users 21K Feb 12 04:24 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.2K Feb 8 03:36 CTLFireability.txt
-rw-r--r-- 1 mcc users 20K Feb 8 03:36 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 113 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 351 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 2.7K Feb 5 00:26 LTLCardinality.txt
-rw-r--r-- 1 mcc users 11K Feb 5 00:26 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 4 22:37 LTLFireability.txt
-rw-r--r-- 1 mcc users 11K Feb 4 22:37 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.3K Feb 4 08:09 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K Feb 4 08:09 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 4.5K Feb 1 02:33 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 1 02:33 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 4 22:22 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 4 22:22 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Jan 29 09:34 equiv_col

-rw-r--r-- 1 mcc users 9 Jan 29 09:34 instance
-rw-r--r-- 1 mcc users 6 Jan 29 09:34 iscolored
-rw-r--r-- 1 mcc users 633K Mar 10 17:31 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 PhaseVariation-PT-D05CS010-GlobalProperties-0

=== Now, execution of the tool begins

BK_START 1552940677122

Working with output stream class java.io.PrintStream
Flatten gal took : 334 ms
Constant places removed 1 places and 36 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 76 transition count 641
Constant places removed 2 places and 16 transitions.
Iterating post reduction 1 with 2 rules applied. Total rules applied 3 place count 74 transition count 625
Applied a total of 3 rules in 66 ms. Remains 74 /77 variables (removed 3) and now considering 625/677 (removed 52) transitions.
Normalized transition count is 49
// Phase 1: matrix 49 rows 74 cols
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903111103/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/GlobalProperties.pnml.gal, -t, CGAL, -ctl, DEADLOCK], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903111103/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/GlobalProperties.pnml.gal -t CGAL -ctl DEADLOCK
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
Normalized transition count is 49
// Phase 1: matrix 49 rows 74 cols
invariant :cell___3_1__A_ + cell___3_1__B_ + pool__3_1_ = 1
invariant :cell___2_5__A_ + cell___2_5__B_ + pool__2_5_ = 1
invariant :cell___2_3__A_ + cell___2_3__B_ + pool__2_3_ = 1
invariant :cell___4_5__A_ + cell___4_5__B_ + pool__4_5_ = 1
invariant :pool__1_1_ + pool__1_2_ + pool__1_3_ + pool__1_4_ + pool__1_5_ + pool__2_1_ + pool__2_3_ + pool__2_4_ + pool__2_5_ + pool__3_1_ + pool__3_2_ + pool__3_3_ + pool__3_4_ + pool__3_5_ + pool__4_1_ + pool__4_2_ + pool__4_3_ + pool__4_4_ + pool__4_5_ + pool__5_1_ + pool__5_2_ + pool__5_3_ + pool__5_4_ + pool__5_5_ + size_dot = 25
invariant :cell___5_1__A_ + cell___5_1__B_ + pool__5_1_ = 1
invariant :cell___3_3__A_ + cell___3_3__B_ + pool__3_3_ = 1
invariant :cell___2_1__A_ + cell___2_1__B_ + pool__2_1_ = 1
invariant :cell___3_2__A_ + cell___3_2__B_ + pool__3_2_ = 1
invariant :cell___3_5__A_ + cell___3_5__B_ + pool__3_5_ = 1
invariant :cell___5_2__A_ + cell___5_2__B_ + pool__5_2_ = 1
invariant :cell___1_1__A_ + cell___1_1__B_ + -1'pool__1_2_ + -1'pool__1_3_ + -1'pool__1_4_ + -1'pool__1_5_ + -1'pool__2_1_ + -1'pool__2_3_ + -1'pool__2_4_ + -1'pool__2_5_ + -1'pool__3_1_ + -1'pool__3_2_ + -1'pool__3_3_ + -1'pool__3_4_ + -1'pool__3_5_ + -1'pool__4_1_ + -1'pool__4_2_ + -1'pool__4_3_ + -1'pool__4_4_ + -1'pool__4_5_ + -1'pool__5_1_ + -1'pool__5_2_ + -1'pool__5_3_ + -1'pool__5_4_ + -1'pool__5_5_ + -1'size_dot = -24
invariant :cell___1_3__A_ + cell___1_3__B_ + pool__1_3_ = 1
invariant :cell___1_5__A_ + cell___1_5__B_ + pool__1_5_ = 1
invariant :cell___4_2__A_ + cell___4_2__B_ + pool__4_2_ = 1
invariant :cell___5_4__A_ + cell___5_4__B_ + pool__5_4_ = 1
invariant :cell___1_4__A_ + cell___1_4__B_ + pool__1_4_ = 1
invariant :cell___2_4__A_ + cell___2_4__B_ + pool__2_4_ = 1
invariant :cell___5_5__A_ + cell___5_5__B_ + pool__5_5_ = 1
invariant :cell___4_4__A_ + cell___4_4__B_ + pool__4_4_ = 1
invariant :cell___1_2__A_ + cell___1_2__B_ + pool__1_2_ = 1
invariant :cell___5_3__A_ + cell___5_3__B_ + pool__5_3_ = 1
invariant :cell___4_1__A_ + cell___4_1__B_ + pool__4_1_ = 1
invariant :cell___4_3__A_ + cell___4_3__B_ + pool__4_3_ = 1
invariant :cell___3_4__A_ + cell___3_4__B_ + pool__3_4_ = 1
No direction supplied, using forward translation only.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,4.76386e+11,6.57396,150612,2,5678,5,883786,6,0,849,562057,0


Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
dead,2.38171e+11,8.51711,150612,2,5500,7,883786,9,1,5651,562057,2

System contains 2.38171e+11 deadlocks (shown below if less than --print-limit option) !
FORMULA PhaseVariation-PT-D05CS010-GlobalProperties-0 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL
[ 238170865152 states ] showing 10 first states
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=13 pool__3_3_=1 pool__2_3_=1 pool__1_3_=1 pool__5_2_=1 pool__4_2_=1 cell___3_2__A_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=13 pool__3_3_=1 pool__2_3_=1 pool__1_3_=1 pool__5_2_=1 pool__4_2_=1 cell___3_2__B_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=13 pool__3_3_=1 pool__2_3_=1 cell___1_3__A_=1 pool__5_2_=1 pool__4_2_=1 pool__3_2_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=13 pool__3_3_=1 pool__2_3_=1 cell___1_3__B_=1 pool__5_2_=1 pool__4_2_=1 pool__3_2_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=13 pool__3_3_=1 cell___2_3__A_=1 pool__1_3_=1 pool__5_2_=1 pool__4_2_=1 pool__3_2_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=13 pool__3_3_=1 cell___2_3__B_=1 pool__1_3_=1 pool__5_2_=1 pool__4_2_=1 pool__3_2_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=13 cell___3_3__A_=1 pool__2_3_=1 pool__1_3_=1 pool__5_2_=1 pool__4_2_=1 pool__3_2_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=13 cell___3_3__B_=1 pool__2_3_=1 pool__1_3_=1 pool__5_2_=1 pool__4_2_=1 pool__3_2_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=14 pool__3_3_=1 pool__2_3_=1 pool__1_3_=1 cell___5_2__A_=1 pool__4_2_=1 cell___3_2__A_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
[ cell___5_5__A_=1 cell___4_5__A_=1 cell___3_5__A_=1 cell___2_5__A_=1 cell___1_5__A_=1 cell___5_4__A_=1 cell___4_4__A_=1 cell___3_4__A_=1 cell___2_4__A_=1 pool__1_4_=1 cell___5_3__A_=1 cell___4_3__A_=1 size_dot=14 pool__3_3_=1 pool__2_3_=1 pool__1_3_=1 cell___5_2__A_=1 pool__4_2_=1 cell___3_2__B_=1 pool__1_2_=1 pool__5_1_=1 pool__4_1_=1 pool__3_1_=1 pool__2_1_=1 pool__1_1_=1 ]
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 1552940690375

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ GlobalProperties = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution GlobalProperties -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -smt
+ 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 GlobalProperties -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -smt -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss8m -Xms40m -Xmx8192m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6
Mar 18, 2019 8:24:39 PM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, GlobalProperties, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -smt]
Mar 18, 2019 8:24:39 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 18, 2019 8:24:39 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 168 ms
Mar 18, 2019 8:24:39 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 77 places.
Mar 18, 2019 8:24:39 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 677 transitions.
Mar 18, 2019 8:24:39 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 54 ms
Mar 18, 2019 8:24:40 PM fr.lip6.move.gal.instantiate.PropertySimplifier evalInInitialState
WARNING: Unexpected boolean logic operator in evalInInitialState fr.lip6.move.gal.impl.EXImpl
Mar 18, 2019 8:24:40 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property PhaseVariation-PT-D05CS010-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 18, 2019 8:24:40 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 332 ms
Mar 18, 2019 8:24:40 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.simple.gal : 30 ms
Mar 18, 2019 8:24:40 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 677 transitions.
Mar 18, 2019 8:24:41 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 625 transitions.
Mar 18, 2019 8:24:41 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property PhaseVariation-PT-D05CS010-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 18, 2019 8:24:41 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 174 ms
Mar 18, 2019 8:24:41 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/GlobalProperties.pnml.gal : 4 ms
Mar 18, 2019 8:24:41 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver computeAndDeclareInvariants
INFO: Computed 25 place invariants in 5 ms
Mar 18, 2019 8:24:42 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver init
INFO: Proved 74 variables to be positive in 564 ms
Mar 18, 2019 8:24:42 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may disable matrix : 625 transitions.
Mar 18, 2019 8:24:42 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of disable matrix completed :0/625 took 0 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 18, 2019 8:24:42 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete disable matrix. took 74 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 18, 2019 8:24:42 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeAblingMatrix
INFO: Computing symmetric may enable matrix : 625 transitions.
Mar 18, 2019 8:24:42 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of Complete enable matrix. took 24 ms. Total solver calls (SAT/UNSAT): 0(0/0)
Mar 18, 2019 8:24:42 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver computeCoEnablingMatrix
INFO: Computing symmetric co enabling matrix : 625 transitions.
Mar 18, 2019 8:24:45 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of co-enabling matrix(0/625) took 3088 ms. Total solver calls (SAT/UNSAT): 624(0/624)
Mar 18, 2019 8:24:49 PM fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver printStats
INFO: Computation of co-enabling matrix(1/625) took 7035 ms. Total solver calls (SAT/UNSAT): 1247(0/1247)
SMT solver raised 'unknown', retrying with same input.
Skipping mayMatrices nes/nds SMT solver raised an error :unknown
java.lang.RuntimeException: SMT solver raised an error :unknown
at fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver.computeCoEnablingMatrix(NecessaryEnablingsolver.java:490)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printLabels(Gal2PinsTransformerNext.java:530)
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:830)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:71)
at java.lang.Thread.run(Thread.java:748)
Mar 18, 2019 8:24:50 PM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 8937ms conformant to PINS in folder :/home/mcc/execution

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="PhaseVariation-PT-D05CS010"
export BK_EXAMINATION="GlobalProperties"
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-3954"
echo " Executing tool itstools"
echo " Input is PhaseVariation-PT-D05CS010, examination is GlobalProperties"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r107-oct2-155272231200597"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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