fond
Model Checking Contest 2018
8th edition, Bratislava, Slovakia, June 26, 2018
Execution of r116-csrt-152666475100258
Last Updated
June 26, 2018

About the Execution of ITS-Tools for NeoElection-COL-4

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15754.110 4964.00 12524.00 108.70 T 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 256K
-rw-r--r-- 1 mcc users 4.3K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 22K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.2K May 15 18:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 19K 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 6.1K May 15 18:50 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 2.8K May 15 18:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 12K 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.6K May 15 18:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.4K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 14K May 15 18:54 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 108 May 15 18:54 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 346 May 15 18:54 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 3.4K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 15 18:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 15 18:50 equiv_pt
-rw-r--r-- 1 mcc users 2 May 15 18:50 instance
-rw-r--r-- 1 mcc users 5 May 15 18:50 iscolored
-rw-r--r-- 1 mcc users 81K May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool itstools
Input is NeoElection-COL-4, examination is ReachabilityDeadlock
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r116-csrt-152666475100258
=====================================================================


--------------------
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 NeoElection-COL-4-ReachabilityDeadlock-0

=== Now, execution of the tool begins

BK_START 1527172006858

14:26:48.961 [main] ERROR PNML validation - The rng grammar file can't be accessed : www.pnml.org
14:26:48.963 [main] ERROR import - Grammar file errors have been raised, the validation can't be done, process will continue without Grammar validation
Flatten gal took : 1194 ms
Constant places removed 1377 places and 1308 transitions.
Performed 20 Post agglomeration using F-continuation condition.
Iterating post reduction 0 with 1397 rules applied. Total rules applied 1397 place count 338 transition count 886
Constant places removed 139 places and 359 transitions.
Performed 1 Post agglomeration using F-continuation condition.
Iterating post reduction 1 with 140 rules applied. Total rules applied 1537 place count 199 transition count 526
Constant places removed 34 places and 152 transitions.
Iterating post reduction 2 with 34 rules applied. Total rules applied 1571 place count 165 transition count 374
Constant places removed 38 places and 259 transitions.
Iterating post reduction 3 with 38 rules applied. Total rules applied 1609 place count 127 transition count 115
Constant places removed 41 places and 4 transitions.
Iterating post reduction 4 with 41 rules applied. Total rules applied 1650 place count 86 transition count 111
Constant places removed 4 places and 0 transitions.
Iterating post reduction 5 with 4 rules applied. Total rules applied 1654 place count 82 transition count 111
Constant places removed 4 places and 4 transitions.
Iterating post reduction 6 with 4 rules applied. Total rules applied 1658 place count 78 transition count 107
Performed 4 Pre agglomeration using Quasi-Persistent + HF-interchangeable + Divergent Free condition.
Pre-agglomeration after 7 with 4 Pre rules applied. Total rules applied 1658 place count 78 transition count 103
Constant places removed 4 places and 0 transitions.
Iterating post reduction 7 with 4 rules applied. Total rules applied 1662 place count 74 transition count 103
Symmetric choice reduction at 8 with 14 rule applications. Total rules 1676 place count 74 transition count 103
Constant places removed 14 places and 45 transitions.
Iterating post reduction 8 with 14 rules applied. Total rules applied 1690 place count 60 transition count 58
Performed 4 Post agglomeration using F-continuation condition.
Constant places removed 8 places and 0 transitions.
Performed 15 Post agglomeration using F-continuation condition.
Iterating post reduction 9 with 23 rules applied. Total rules applied 1713 place count 52 transition count 39
Constant places removed 18 places and 3 transitions.
Iterating post reduction 10 with 18 rules applied. Total rules applied 1731 place count 34 transition count 36
Performed 1 Pre agglomeration using Quasi-Persistent + HF-interchangeable + Divergent Free condition.
Pre-agglomeration after 11 with 1 Pre rules applied. Total rules applied 1731 place count 34 transition count 35
Constant places removed 1 places and 0 transitions.
Iterating post reduction 11 with 1 rules applied. Total rules applied 1732 place count 33 transition count 35
Symmetric choice reduction at 12 with 4 rule applications. Total rules 1736 place count 33 transition count 35
Constant places removed 4 places and 4 transitions.
Iterating post reduction 12 with 4 rules applied. Total rules applied 1740 place count 29 transition count 31
Performed 2 Pre agglomeration using Quasi-Persistent + HF-interchangeable + Divergent Free condition.
Pre-agglomeration after 13 with 2 Pre rules applied. Total rules applied 1740 place count 29 transition count 29
Constant places removed 2 places and 0 transitions.
Iterating post reduction 13 with 2 rules applied. Total rules applied 1742 place count 27 transition count 29
Performed 2 Post agglomeration using F-continuation condition.
Constant places removed 2 places and 0 transitions.
Iterating post reduction 14 with 2 rules applied. Total rules applied 1744 place count 25 transition count 27
Applied a total of 1744 rules in 52 ms. Remains 25 /1715 variables (removed 1690) and now considering 27/2214 (removed 2187) transitions.
Normalized transition count is 18
// Phase 1: matrix 18 rows 25 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.201805151631/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/ReachabilityDeadlock.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.201805151631/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/ReachabilityDeadlock.pnml.gal -t CGAL -ctl DEADLOCK
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,57600,0.01501,4348,2,342,5,2343,6,0,107,1745,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,1,0.033225,5396,2,26,7,6310,9,1,464,3508,2

System contains 1 deadlocks (shown below if less than --print-limit option) !
FORMULA NeoElection-COL-4-ReachabilityDeadlock-0 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
[ P_masterState_30=1 P_masterState_20=1 P_masterState_10=1 ]
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
Normalized transition count is 18
// Phase 1: matrix 18 rows 25 cols
invariant :P_masterState_30 + P_masterState_35 = 1
invariant :P_masterState_10 + P_masterState_15 = 1
invariant :P_masterState_20 + P_masterState_25 = 1
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit//lts_install_dir//include, -I., -std=c99, -fPIC, -O3, model.c], workingDir=/home/mcc/execution]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.

BK_STOP 1527172011822

--------------------
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 ReachabilityDeadlock -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 ReachabilityDeadlock -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 2:26:48 PM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -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 2:26:48 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
May 24, 2018 2:26:48 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
May 24, 2018 2:26:49 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Load time of PNML (colored model parsed with PNMLFW) : 857 ms
May 24, 2018 2:26:49 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: Transformed 18 places.
May 24, 2018 2:26:49 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: Computed order using colors.
May 24, 2018 2:26:49 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: sort/places :M * POS->P-sendAnnPs__broadcasting,P-startNeg__broadcasting,
M * STAGE->P-stage,
M * M * MT * M->P-network,P-poll__networl,
M * POS * M->P-masterList,
M * BOOL * M->P-masterState,
M->P-crashed,dead,P-electedPrimary,P-electedSecondary,P-electionFailed,P-electionInit,P-poll__handlingMessage,P-poll__pollEnd,P-poll__waitingMessage,P-polling,
M * M * NEGSTEP->P-negotiation,

May 24, 2018 2:26:49 PM fr.lip6.move.gal.pnml.togal.HLGALTransformer handlePage
INFO: Transformed 22 transitions.
May 24, 2018 2:26:49 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Computed order based on color domains.
May 24, 2018 2:26:49 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 9 ms
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.DomainAnalyzer computeVariableDomains
INFO: Found a total of 4 fixed domain variables (out of 1830 variables) in GAL type NeoElection_COL_4
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: Found a total of 115 constant array cells/variables (out of 1830 variables) in type NeoElection_COL_4
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: P_crashed[0-4], P_electionFailed[0-4], P_masterList[0-99], dead[0-4],
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Instantiator instantiateParameters
INFO: On-the-fly reduction of False transitions avoided exploring 1001.0 instantiations of transitions. Total transitions/syncs built is 1794
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Instantiator normalizeCalls
INFO: Calls to non existing labels (possibly due to false guards) leads to 10 abort statements.
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.DomainAnalyzer computeVariableDomains
INFO: Found a total of 4 fixed domain variables (out of 1830 variables) in GAL type NeoElection_COL_4
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: Found a total of 1282 constant array cells/variables (out of 1830 variables) in type NeoElection_COL_4
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: P_negotiation[0,3,6,9,12,15,18,30,36,45,54,60,72], P_poll__networl[0-5,10-35,40-65,70-95,100-125,130-155,160-185,190-215,220-245,250-275,280-305,310-335,340-365,370-395,400-425,430-455,460-485,490-515,520-545,550-575,580-605,610-635,640-665,670-695,700-725,730-749], P_sendAnnPs__broadcasting[1-2], P_crashed[0-4], P_electionFailed[0-4], P_startNeg__broadcasting[1-2], P_masterList[0-99], P_network[1-4,11-14,16-19,21-24,26-29,31-34,41-44,46-49,51-54,56-59,61-64,71-74,76-79,81-84,86-89,91-94,101-104,106-109,111-114,116-119,121-124,131-134,136-139,141-144,146-149,151-154,161-164,166-169,171-174,176-179,181-184,191-194,196-199,201-204,206-209,211-214,221-224,226-229,231-234,236-239,241-244,251-254,256-259,261-264,266-269,271-274,281-284,286-289,291-294,296-299,301-304,311-314,316-319,321-324,326-329,331-334,341-344,346-349,351-354,356-359,361-364,371-374,376-379,381-384,386-389,391-394,401-404,406-409,411-414,416-419,421-424,431-434,436-439,441-444,446-449,451-454,461-464,466-469,471-474,476-479,481-484,491-494,496-499,501-504,506-509,511-514,521-524,526-529,531-534,536-539,541-544,551-554,556-559,561-564,566-569,571-574,581-584,586-589,591-594,596-599,601-604,611-614,616-619,621-624,626-629,631-634,641-644,646-649,651-654,656-659,661-664,671-674,676-679,681-684,686-689,691-694,701-704,706-709,711-714,716-719,721-724,731-734,736-739,741-744,746-749], dead[0-4],
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Removed constant array :P_crashed[]
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Removed constant array :P_electionFailed[]
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Removed constant array :P_masterList[]
May 24, 2018 2:26:49 PM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Removed constant array :dead[]
May 24, 2018 2:26:50 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: Found a total of 1167 constant array cells/variables (out of 1715 variables) in type NeoElection_COL_4
May 24, 2018 2:26:50 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: P_negotiation[0,3,6,9,12,15,18,30,36,45,54,60,72], P_poll__networl[0-5,10-35,40-65,70-95,100-125,130-155,160-185,190-215,220-245,250-275,280-305,310-335,340-365,370-395,400-425,430-455,460-485,490-515,520-545,550-575,580-605,610-635,640-665,670-695,700-725,730-749], P_sendAnnPs__broadcasting[1-2], P_startNeg__broadcasting[1-2], P_network[1-4,11-14,16-19,21-24,26-29,31-34,41-44,46-49,51-54,56-59,61-64,71-74,76-79,81-84,86-89,91-94,101-104,106-109,111-114,116-119,121-124,131-134,136-139,141-144,146-149,151-154,161-164,166-169,171-174,176-179,181-184,191-194,196-199,201-204,206-209,211-214,221-224,226-229,231-234,236-239,241-244,251-254,256-259,261-264,266-269,271-274,281-284,286-289,291-294,296-299,301-304,311-314,316-319,321-324,326-329,331-334,341-344,346-349,351-354,356-359,361-364,371-374,376-379,381-384,386-389,391-394,401-404,406-409,411-414,416-419,421-424,431-434,436-439,441-444,446-449,451-454,461-464,466-469,471-474,476-479,481-484,491-494,496-499,501-504,506-509,511-514,521-524,526-529,531-534,536-539,541-544,551-554,556-559,561-564,566-569,571-574,581-584,586-589,591-594,596-599,601-604,611-614,616-619,621-624,626-629,631-634,641-644,646-649,651-654,656-659,661-664,671-674,676-679,681-684,686-689,691-694,701-704,706-709,711-714,716-719,721-724,731-734,736-739,741-744,746-749],
May 24, 2018 2:26:50 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: Found a total of 1167 constant array cells/variables (out of 1715 variables) in type NeoElection_COL_4
May 24, 2018 2:26:50 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: P_negotiation[0,3,6,9,12,15,18,30,36,45,54,60,72], P_poll__networl[0-5,10-35,40-65,70-95,100-125,130-155,160-185,190-215,220-245,250-275,280-305,310-335,340-365,370-395,400-425,430-455,460-485,490-515,520-545,550-575,580-605,610-635,640-665,670-695,700-725,730-749], P_sendAnnPs__broadcasting[1-2], P_startNeg__broadcasting[1-2], P_network[1-4,11-14,16-19,21-24,26-29,31-34,41-44,46-49,51-54,56-59,61-64,71-74,76-79,81-84,86-89,91-94,101-104,106-109,111-114,116-119,121-124,131-134,136-139,141-144,146-149,151-154,161-164,166-169,171-174,176-179,181-184,191-194,196-199,201-204,206-209,211-214,221-224,226-229,231-234,236-239,241-244,251-254,256-259,261-264,266-269,271-274,281-284,286-289,291-294,296-299,301-304,311-314,316-319,321-324,326-329,331-334,341-344,346-349,351-354,356-359,361-364,371-374,376-379,381-384,386-389,391-394,401-404,406-409,411-414,416-419,421-424,431-434,436-439,441-444,446-449,451-454,461-464,466-469,471-474,476-479,481-484,491-494,496-499,501-504,506-509,511-514,521-524,526-529,531-534,536-539,541-544,551-554,556-559,561-564,566-569,571-574,581-584,586-589,591-594,596-599,601-604,611-614,616-619,621-624,626-629,631-634,641-644,646-649,651-654,656-659,661-664,671-674,676-679,681-684,686-689,691-694,701-704,706-709,711-714,716-719,721-724,731-734,736-739,741-744,746-749],
May 24, 2018 2:26:50 PM fr.lip6.move.gal.instantiate.Simplifier removeUncalledTransitions
INFO: Removed 5 uncalled transitions from type NeoElection_COL_4
May 24, 2018 2:26:50 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 798 ms
May 24, 2018 2:26:50 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.simple.gal : 69 ms
May 24, 2018 2:26:51 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was not deterministic with 1584 transitions. Expanding to a total of 2558 deterministic transitions.
May 24, 2018 2:26:51 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Determinization took 19 ms.
May 24, 2018 2:26:51 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/ReachabilityDeadlock.pnml.gal : 1 ms
May 24, 2018 2:26:51 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 27 transitions.
May 24, 2018 2:26:51 PM fr.lip6.move.gal.gal2smt.bmc.KInductionSolver computeAndDeclareInvariants
INFO: Computed 3 place invariants in 2 ms
Skipping mayMatrices nes/nds SMT solver raised an exception :(error "Failed to assert expression: java.io.IOException: Broken pipe (or (tr2 0) (tr5 0))")
java.lang.RuntimeException: SMT solver raised an exception :(error "Failed to assert expression: java.io.IOException: Broken pipe (or (tr2 0) (tr5 0))")
at fr.lip6.move.gal.gal2smt.bmc.KInductionSolver.assertCouldModifyNext(KInductionSolver.java:212)
at fr.lip6.move.gal.gal2smt.bmc.KInductionSolver.init(KInductionSolver.java:90)
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)
May 24, 2018 2:26:51 PM fr.lip6.move.gal.gal2pins.Gal2PinsTransformerNext transform
INFO: Built C files in 74ms 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="NeoElection-COL-4"
export BK_EXAMINATION="ReachabilityDeadlock"
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/NeoElection-COL-4.tgz
mv NeoElection-COL-4 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 NeoElection-COL-4, examination is ReachabilityDeadlock"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r116-csrt-152666475100258"
echo "====================================================================="
echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "ReachabilityDeadlock" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityDeadlock" != "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 "ReachabilityDeadlock.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityDeadlock.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityDeadlock.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 '' ReachabilityDeadlock.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 ;