fond
Model Checking Contest 2018
8th edition, Bratislava, Slovakia, June 26, 2018
Execution of r080-blw3-152649947700259
Last Updated
June 26, 2018

About the Execution of ITS-Tools for Diffusion2D-PT-D30N150

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15757.280 3600000.00 9109154.00 1367.70 TTTTTTFTTTTFTFTT normal

Execution Chart

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

Trace from the execution

Waiting for the VM to be ready (probing ssh)
.................
/home/mcc/execution
total 3.2M
-rw-r--r-- 1 mcc users 3.7K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 18K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K May 15 18:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 15K May 15 18:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 15 18:50 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 5.8K May 15 18:50 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 2.6K May 15 18:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 11K May 15 18:54 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 15 18:54 LTLFireability.txt
-rw-r--r-- 1 mcc users 9.3K May 15 18:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K May 15 18:54 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 113 May 15 18:54 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 351 May 15 18:54 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 3.1K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 15K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K May 15 18:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 15 18:50 equiv_col
-rw-r--r-- 1 mcc users 8 May 15 18:50 instance
-rw-r--r-- 1 mcc users 6 May 15 18:50 iscolored
-rw-r--r-- 1 mcc users 3.0M May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool itstools
Input is Diffusion2D-PT-D30N150, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r080-blw3-152649947700259
=====================================================================


--------------------
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 Diffusion2D-PT-D30N150-ReachabilityFireability-00
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-01
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-02
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-03
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-04
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-05
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-06
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-07
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-08
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-09
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-10
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-11
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-12
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-13
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-14
FORMULA_NAME Diffusion2D-PT-D30N150-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1527141522141

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.201805151631/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/ReachabilityFireability.pnml.gal, -t, CGAL, -reachable-file, ReachabilityFireability.prop, --nowitness], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201805151631/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/ReachabilityFireability.pnml.gal -t CGAL -reachable-file ReachabilityFireability.prop --nowitness
Loading property file ReachabilityFireability.prop.
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-00 with value :((!(cAMP__27_20_>=1))&&((cAMP__11_15_>=1)&&((cAMP__3_5_>=1)&&((cAMP__26_26_>=1)||(cAMP__4_10_>=1)))))
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-01 with value :(((cAMP__17_17_>=1)&&((!(cAMP__7_21_>=1))||((cAMP__17_28_>=1)||(cAMP__19_15_>=1))))&&(cAMP__7_27_>=1))
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-02 with value :(((!(cAMP__28_7_>=1))&&(!((cAMP__5_27_>=1)&&(cAMP__4_19_>=1))))&&(cAMP__16_11_>=1))
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-03 with value :(cAMP__11_7_>=1)
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-04 with value :(((cAMP__20_10_>=1)&&(cAMP__7_15_>=1))||((cAMP__13_9_>=1)&&(cAMP__20_21_>=1)))
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-05 with value :(cAMP__10_29_>=1)
Read [invariant] property : Diffusion2D-PT-D30N150-ReachabilityFireability-06 with value :(((cAMP__23_23_>=1)&&(cAMP__26_5_>=1))||((!((cAMP__8_25_>=1)&&(cAMP__10_18_>=1)))||((!(cAMP__23_9_>=1))&&((cAMP__30_17_>=1)&&(cAMP__24_2_>=1)))))
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-07 with value :(cAMP__17_21_>=1)
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-08 with value :(cAMP__24_3_>=1)
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-09 with value :(((!((cAMP__20_29_>=1)&&(cAMP__4_26_>=1)))&&(((cAMP__22_26_>=1)&&(cAMP__13_22_>=1))||((cAMP__17_26_>=1)&&(cAMP__28_20_>=1))))||((cAMP__19_25_>=1)&&(((cAMP__8_15_>=1)||(cAMP__6_21_>=1))||(cAMP__9_6_>=1))))
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-10 with value :(cAMP__28_28_>=1)
Read [invariant] property : Diffusion2D-PT-D30N150-ReachabilityFireability-11 with value :(!((!((cAMP__25_9_>=1)||(cAMP__9_17_>=1)))&&(((cAMP__24_19_>=1)||(cAMP__10_19_>=1))||((cAMP__7_4_>=1)&&(cAMP__15_12_>=1)))))
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-12 with value :((((cAMP__28_28_>=1)&&((cAMP__28_3_>=1)&&(cAMP__23_5_>=1)))||(cAMP__6_16_>=1))&&(((!(cAMP__16_26_>=1))&&(cAMP__15_13_>=1))||(cAMP__26_19_>=1)))
Read [invariant] property : Diffusion2D-PT-D30N150-ReachabilityFireability-13 with value :(!(cAMP__20_24_>=1))
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-14 with value :(!((!((cAMP__25_1_>=1)&&(cAMP__27_12_>=1)))||(cAMP__12_23_>=1)))
Read [reachable] property : Diffusion2D-PT-D30N150-ReachabilityFireability-15 with value :(((cAMP__16_21_>=1)&&(cAMP__20_10_>=1))||(cAMP__3_25_>=1))
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D\_PT\_D30N150\_flat\_flat,3.133e+185,1800.52,9957112,2,135751,5,5.62235e+07,6,0,10447,5.56415e+07,0
Total reachable state count : 3.133002144696498840830664734898708146581e+185

Verifying 16 reachability properties.
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-00 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-00 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-00,5.47456e+173,1808.48,9957140,2,182916,6,5.62235e+07,7,0,11049,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-01 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-01 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-01,8.72855e+177,1816.17,9978296,2,177234,7,5.62235e+07,8,0,11652,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-02 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-02 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-02,1.21084e+179,1822.93,9978304,2,160525,8,5.62235e+07,9,0,11811,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-03 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-03 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-03,3.70836e+97,1823.54,9978304,2,28019,9,5.62235e+07,10,0,11812,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-04 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-04 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-04,4.33576e+110,1824.41,9978304,2,36421,10,5.62235e+07,11,0,11817,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-05 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-05 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-05,2.01476e+181,1826.37,9978304,2,127551,11,5.62235e+07,12,0,11818,5.56415e+07,0
Invariant property Diffusion2D-PT-D30N150-ReachabilityFireability-06 does not hold.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-06 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-06,4.06688e+172,1844.85,9978304,2,312477,12,5.62235e+07,13,0,12281,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-07 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-07 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-07,2.15332e+161,1847.2,9978368,2,91046,13,5.62235e+07,14,0,12282,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-08 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-08 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-08,1.8628e+54,1847.4,9978368,2,10139,14,5.62235e+07,15,0,12283,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-09 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-09 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-09,9.12409e+162,1849.17,9978368,2,94141,15,5.62235e+07,16,0,12296,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-10 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-10 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-10,5.50687e+180,1851.62,9978368,2,126359,16,5.62235e+07,17,0,12297,5.56415e+07,0
Invariant property Diffusion2D-PT-D30N150-ReachabilityFireability-11 does not hold.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-11,2.19968e+156,1858.96,9978368,2,147969,17,5.62235e+07,18,0,12905,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-12 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-12,1.70929e+180,1882.23,9978368,2,353899,18,5.62235e+07,19,0,13808,5.56415e+07,0
Invariant property Diffusion2D-PT-D30N150-ReachabilityFireability-13 does not hold.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-13 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-13,5.51324e+169,1884.88,9978412,2,105052,19,5.62235e+07,20,0,13809,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-14 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-14 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-14,1.34581e+29,1884.98,9978412,2,4453,20,5.62235e+07,21,0,13814,5.56415e+07,0
Reachability property Diffusion2D-PT-D30N150-ReachabilityFireability-15 is true.
FORMULA Diffusion2D-PT-D30N150-ReachabilityFireability-15 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Diffusion2D-PT-D30N150-ReachabilityFireability-15,2.56472e+173,1886.85,9978412,2,111757,21,5.62235e+07,22,0,13817,5.56415e+07,0
ITS tools runner thread asked to quit. Dying gracefully.

BK_TIME_CONFINEMENT_REACHED

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityFireability -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 -consoleLog -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityFireability -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
May 24, 2018 5:58:43 AM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -smt]
May 24, 2018 5:58:43 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
May 24, 2018 5:58:44 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 301 ms
May 24, 2018 5:58:44 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 900 places.
May 24, 2018 5:58:44 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 6844 transitions.
May 24, 2018 5:58:45 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 816 ms
May 24, 2018 5:58:45 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 657 ms
May 24, 2018 5:58:46 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 697 ms
May 24, 2018 5:58:46 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/ReachabilityFireability.pnml.gal : 100 ms
May 24, 2018 5:58:46 AM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSTools
INFO: Time to serialize properties into /home/mcc/execution/ReachabilityFireability.prop : 1 ms

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="Diffusion2D-PT-D30N150"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"

# 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

tar xzf /home/mcc/BenchKit/INPUTS/Diffusion2D-PT-D30N150.tgz
mv Diffusion2D-PT-D30N150 execution
cd execution
pwd
ls -lh

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-3637"
echo " Executing tool itstools"
echo " Input is Diffusion2D-PT-D30N150, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r080-blw3-152649947700259"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "ReachabilityFireability" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityFireability" != "StateSpace" ] ; then
echo "The expected result is a vector of booleans"
echo BOOL_VECTOR
else
echo "no data necessary for post analysis"
fi
echo
if [ -f "ReachabilityFireability.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityFireability.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityFireability.xml" ] ; then # for cunf (txt files deleted;-)
echo echo "here is the order used to build the result vector(from xml file)"
for x in $(grep '' ReachabilityFireability.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
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 ;