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

About the Execution of ITS-Tools for BridgeAndVehicles-COL-V04P05N02

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
376.660 7989.00 16943.00 198.80 T normal

Execution Chart

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

Trace from the execution

Formatting '/local/x2003239/mcc2019-input.r019-csrt-155225080200318.qcow2', fmt=qcow2 size=4294967296 backing_file=/local/x2003239/mcc2019-input.qcow2 encryption=off 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 BridgeAndVehicles-COL-V04P05N02, examination is GlobalProperties
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r019-csrt-155225080200318
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 208K
-rw-r--r-- 1 mcc users 3.7K Feb 9 07:51 CTLCardinality.txt
-rw-r--r-- 1 mcc users 18K Feb 9 07:51 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Feb 5 04:37 CTLFireability.txt
-rw-r--r-- 1 mcc users 15K Feb 5 04:36 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 118 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 356 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 2.6K Feb 4 22:57 LTLCardinality.txt
-rw-r--r-- 1 mcc users 9.8K Feb 4 22:57 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 4 22:32 LTLFireability.txt
-rw-r--r-- 1 mcc users 9.4K Feb 4 22:32 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.6K Feb 2 01:10 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 22K Feb 2 01:10 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.9K Jan 29 12:09 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 21K Jan 29 12:09 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 4 22:18 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K Feb 4 22:18 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Jan 29 09:34 equiv_pt

-rw-r--r-- 1 mcc users 10 Jan 29 09:34 instance
-rw-r--r-- 1 mcc users 5 Jan 29 09:34 iscolored
-rw-r--r-- 1 mcc users 37K 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 BridgeAndVehicles-COL-V04P05N02-GlobalProperties-0

=== Now, execution of the tool begins

BK_START 1552435138141

23:59:03.101 [main] ERROR PNML validation - The rng grammar file can't be accessed : www.pnml.org
23:59:03.103 [main] ERROR import - Grammar file errors have been raised, the validation can't be done, process will continue without Grammar validation
Working with output stream class java.io.PrintStream
Flatten gal took : 126 ms
Constant places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 26 transition count 52
Symmetric choice reduction at 1 with 1 rule applications. Total rules 3 place count 26 transition count 52
Constant places removed 1 places and 1 transitions.
Iterating post reduction 1 with 1 rules applied. Total rules applied 4 place count 25 transition count 51
Performed 1 Post agglomeration using F-continuation condition.
Constant places removed 2 places and 0 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 6 place count 23 transition count 50
Performed 2 Post agglomeration using F-continuation condition.
Constant places removed 2 places and 0 transitions.
Iterating post reduction 3 with 2 rules applied. Total rules applied 8 place count 21 transition count 48
Applied a total of 8 rules in 64 ms. Remains 21 /28 variables (removed 7) and now considering 48/52 (removed 4) transitions.
Normalized transition count is 30
// Phase 1: matrix 30 rows 21 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
No direction supplied, using forward translation only.
built 47 ordering constraints for composite.
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,1322,0.070159,6148,1065,9,3754,118,112,2492,11,113,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,4,0.106389,7644,26,5,6101,118,642,5000,48,113,27913

System contains 4 deadlocks (shown below if less than --print-limit option) !
FORMULA BridgeAndVehicles-COL-V04P05N02-GlobalProperties-0 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
[ ROUTE_B={[ ]
} ATTENTE_B={[ ]
} ROUTE_A={[ ]
} ATTENTE_A={[ ]
} voitureB3={[ ]
} voitureB2={[ ]
} voitureB4={[ ]
} voitureA3={[ ]
} voitureA4={[ ]
} voitureA2={[ ]
} voitureB1={[ ]
} voitureA1={[ ]
} voitureB0={[ NB_ATTENTE_B_0=1 ]
} voitureA0={[ NB_ATTENTE_A_0=1 ]
} sens1={[ CONTROLEUR_1=1 ]
} sens0={[ ]
} compteur0={[ ]
} compteur2={[ COMPTEUR_2=1 ]
} compteur1={[ ]
} ]
[ ROUTE_B={[ ]
} ATTENTE_B={[ ]
} ROUTE_A={[ ]
} ATTENTE_A={[ ]
} voitureB3={[ ]
} voitureB2={[ ]
} voitureB4={[ ]
} voitureA3={[ ]
} voitureA4={[ ]
} voitureA2={[ ]
} voitureB1={[ ]
} voitureA1={[ ]
} voitureB0={[ NB_ATTENTE_B_0=1 ]
} voitureA0={[ NB_ATTENTE_A_0=1 ]
} sens1={[ CONTROLEUR_1=1 ]
} sens0={[ ]
} compteur0={[ ]
} compteur2={[ ]
} compteur1={[ COMPTEUR_1=1 ]
} ]
[ ROUTE_B={[ ]
} ATTENTE_B={[ ]
} ROUTE_A={[ ]
} ATTENTE_A={[ ]
} voitureB3={[ ]
} voitureB2={[ ]
} voitureB4={[ ]
} voitureA3={[ ]
} voitureA4={[ ]
} voitureA2={[ ]
} voitureB1={[ ]
} voitureA1={[ ]
} voitureB0={[ NB_ATTENTE_B_0=1 ]
} voitureA0={[ NB_ATTENTE_A_0=1 ]
} sens1={[ ]
} sens0={[ CONTROLEUR_0=1 ]
} compteur0={[ ]
} compteur2={[ COMPTEUR_2=1 ]
} compteur1={[ ]
} ]
[ ROUTE_B={[ ]
} ATTENTE_B={[ ]
} ROUTE_A={[ ]
} ATTENTE_A={[ ]
} voitureB3={[ ]
} voitureB2={[ ]
} voitureB4={[ ]
} voitureA3={[ ]
} voitureA4={[ ]
} voitureA2={[ ]
} voitureB1={[ ]
} voitureA1={[ ]
} voitureB0={[ NB_ATTENTE_B_0=1 ]
} voitureA0={[ NB_ATTENTE_A_0=1 ]
} sens1={[ ]
} sens0={[ CONTROLEUR_0=1 ]
} compteur0={[ ]
} compteur2={[ ]
} compteur1={[ COMPTEUR_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 1552435146130

--------------------
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 12, 2019 11:59:02 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 12, 2019 11:59:02 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 12, 2019 11:59:02 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Load time of PNML (colored model parsed with PNMLFW) : 993 ms
Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: Transformed 15 places.
Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: Computed order using colors.
Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: sort/places :sens->CONTROLEUR,CHOIX,VIDANGE,
compteur->COMPTEUR,
Dot->CAPACITE,SORTI_A,ROUTE_A,ATTENTE_A,SUR_PONT_A,SUR_PONT_B,ATTENTE_B,ROUTE_B,SORTI_B,
voitureA->NB_ATTENTE_A,
voitureB->NB_ATTENTE_B,

Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: Transformed 11 transitions.
Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Computed order based on color domains.
Mar 12, 2019 11:59:03 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 8 ms
Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.instantiate.Instantiator instantiateParameters
INFO: On-the-fly reduction of False transitions avoided exploring 19.0 instantiations of transitions. Total transitions/syncs built is 58
Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.instantiate.PropertySimplifier evalInInitialState
WARNING: Unexpected boolean logic operator in evalInInitialState fr.lip6.move.gal.impl.EXImpl
Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property BridgeAndVehicles-COL-V04P05N02-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 12, 2019 11:59:03 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 106 ms
Mar 12, 2019 11:59:03 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.simple.gal : 2 ms
Mar 12, 2019 11:59:04 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was not deterministic with 11 transitions. Expanding to a total of 79 deterministic transitions.
Mar 12, 2019 11:59:04 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Determinization took 20 ms.
Mar 12, 2019 11:59:04 PM fr.lip6.move.gal.application.MccTranslator applyOrder
INFO: Applying decomposition
Mar 12, 2019 11:59:04 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property BridgeAndVehicles-COL-V04P05N02-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 12, 2019 11:59:04 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 37 ms
Mar 12, 2019 11:59:04 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property BridgeAndVehicles-COL-V04P05N02-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 12, 2019 11:59:04 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 36 ms
Mar 12, 2019 11:59:04 PM fr.lip6.move.gal.instantiate.CompositeBuilder decomposeWithOrder
INFO: Decomposing Gal with order
Mar 12, 2019 11:59:04 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting arrays to variables to allow decomposition.
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 4 events :t24.t11,t24.t11,t13,t14,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 12 events :t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t4,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 25 events :t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t36.t10,t36.t10,t36.t10,t36.t10,t23.t10,t23.t10,t23.t10,t36.t10,t23.t10,t23.t10,t36.t10,t23.t10,t23.t10,t36.t10,t23.t10,t23.t10,t18,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 4 events :t39.t10,t39.t10,t1,t2,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 3 events :t27.t11,t27.t11,t17,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 10 events :t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t20,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 3 events :t45.t10,t45.t10,t4,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 7 events :t6.t5,t6.t5,t6.t5,t13,t13,t13,t13,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 4 events :t36.t10,t36.t10,t0,t1,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 4 events :t13,t13,t13,t13,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 27 events :t22.t11,t22.t11,t22.t11,t22.t11,t22.t11,t22.t11,t22.t11,t22.t11,t22.t11,t22.t11,t22.t11,t22.t11,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t6.t5,t6.t5,t6.t5,t19,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 10 events :t20,t20,t20,t20,t20,t20,t20,t20,t20,t18,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 4 events :t26.t11,t26.t11,t15,t16,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 27 events :t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t24.t11,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t23.t10,t48.t5,t48.t5,t48.t5,t18,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 4 events :t25.t11,t25.t11,t14,t15,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 4 events :t42.t10,t42.t10,t2,t3,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 4 events :t0,t0,t0,t0,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 12 events :t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t36.t10,t17,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 7 events :t48.t5,t48.t5,t48.t5,t0,t0,t0,t0,
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.Instantiator fuseIsomorphicEffects
INFO: Removed a total of 175 redundant transitions.
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property BridgeAndVehicles-COL-V04P05N02-GlobalProperties-0 is trivially true : it is verified in initial state.
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 161 ms
Mar 12, 2019 11:59:05 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/GlobalProperties.pnml.gal : 2 ms
Mar 12, 2019 11:59:05 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 48 transitions.
Mar 12, 2019 11:59:05 PM org.smtlib.impl.Script execute
WARNING: Script execution failed on command (define-fun trsrc26 ((src (Array Int Int))(dst (Array Int Int))) Bool (and (_enabledsrc__26 src) (= (store (store src 15 (- (select src 15) 1)) 16 (+ (select src 16) 1)) dst))) with error (error "Error writing to Z3 solver: java.io.IOException: Broken pipe")
Skipping mayMatrices nes/nds Error when declaring system variables to SMT solver.(error "Error writing to Z3 solver: java.io.IOException: Broken pipe")
java.lang.RuntimeException: Error when declaring system variables to SMT solver.(error "Error writing to Z3 solver: java.io.IOException: Broken pipe")
at fr.lip6.move.gal.gal2smt.bmc.NextBMCSolver.init(NextBMCSolver.java:93)
at fr.lip6.move.gal.gal2smt.bmc.KInductionSolver.init(KInductionSolver.java:59)
at fr.lip6.move.gal.gal2smt.bmc.NecessaryEnablingsolver.init(NecessaryEnablingsolver.java:71)
at fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext.printLabels(Gal2PinsTransformerNext.java:471)
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 12, 2019 11:59:05 PM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 511ms 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="BridgeAndVehicles-COL-V04P05N02"
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 BridgeAndVehicles-COL-V04P05N02, 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 r019-csrt-155225080200318"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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