java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AutomizerBplInline.xml -i ../../../trunk/examples/programs/toy/errorLocalization/arraySearchFirstAndLast.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-b8c145f [2019-08-05 10:42:49,474 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-08-05 10:42:49,476 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-08-05 10:42:49,487 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-08-05 10:42:49,488 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-08-05 10:42:49,489 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-08-05 10:42:49,490 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-08-05 10:42:49,492 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-08-05 10:42:49,494 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-08-05 10:42:49,495 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-08-05 10:42:49,495 INFO L181 SettingsManager]: Resetting Symbolic Interpretation preferences to default values [2019-08-05 10:42:49,496 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-08-05 10:42:49,496 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-08-05 10:42:49,497 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-08-05 10:42:49,498 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-08-05 10:42:49,499 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-08-05 10:42:49,500 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-08-05 10:42:49,501 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-08-05 10:42:49,503 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-08-05 10:42:49,505 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-08-05 10:42:49,507 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-08-05 10:42:49,508 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-08-05 10:42:49,509 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-08-05 10:42:49,510 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-08-05 10:42:49,512 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-08-05 10:42:49,513 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-08-05 10:42:49,513 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-08-05 10:42:49,514 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-08-05 10:42:49,515 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-08-05 10:42:49,516 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-08-05 10:42:49,516 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-08-05 10:42:49,517 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-08-05 10:42:49,517 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-08-05 10:42:49,518 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-08-05 10:42:49,519 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-08-05 10:42:49,519 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-08-05 10:42:49,520 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-08-05 10:42:49,520 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-08-05 10:42:49,521 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-08-05 10:42:49,521 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-08-05 10:42:49,522 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-08-05 10:42:49,557 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-08-05 10:42:49,576 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-08-05 10:42:49,580 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-08-05 10:42:49,581 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-08-05 10:42:49,582 INFO L275 PluginConnector]: Boogie PL CUP Parser initialized [2019-08-05 10:42:49,583 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/toy/errorLocalization/arraySearchFirstAndLast.bpl [2019-08-05 10:42:49,583 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/toy/errorLocalization/arraySearchFirstAndLast.bpl' [2019-08-05 10:42:49,622 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-08-05 10:42:49,624 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-08-05 10:42:49,625 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-08-05 10:42:49,625 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-08-05 10:42:49,625 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-08-05 10:42:49,641 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... [2019-08-05 10:42:49,649 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... [2019-08-05 10:42:49,655 WARN L165 Inliner]: Program contained no entry procedure! [2019-08-05 10:42:49,655 WARN L168 Inliner]: Missing entry procedures: [ULTIMATE.start] [2019-08-05 10:42:49,655 WARN L175 Inliner]: Fallback enabled. All procedures will be processed. [2019-08-05 10:42:49,657 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-08-05 10:42:49,658 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-08-05 10:42:49,658 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-08-05 10:42:49,658 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-08-05 10:42:49,669 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... [2019-08-05 10:42:49,669 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... [2019-08-05 10:42:49,670 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... [2019-08-05 10:42:49,670 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... [2019-08-05 10:42:49,673 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... [2019-08-05 10:42:49,677 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... [2019-08-05 10:42:49,678 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... [2019-08-05 10:42:49,680 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-08-05 10:42:49,680 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-08-05 10:42:49,680 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-08-05 10:42:49,681 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-08-05 10:42:49,682 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-08-05 10:42:49,744 INFO L124 BoogieDeclarations]: Specification and implementation of procedure main given in one single declaration [2019-08-05 10:42:49,745 INFO L130 BoogieDeclarations]: Found specification of procedure main [2019-08-05 10:42:49,745 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2019-08-05 10:42:50,321 INFO L275 CfgBuilder]: Using library mode [2019-08-05 10:42:50,322 INFO L283 CfgBuilder]: Removed 0 assume(true) statements. [2019-08-05 10:42:50,323 INFO L202 PluginConnector]: Adding new model arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 10:42:50 BoogieIcfgContainer [2019-08-05 10:42:50,323 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-08-05 10:42:50,325 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2019-08-05 10:42:50,325 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2019-08-05 10:42:50,328 INFO L275 PluginConnector]: TraceAbstraction initialized [2019-08-05 10:42:50,328 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 10:42:49" (1/2) ... [2019-08-05 10:42:50,329 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@823e9ed and model type arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 05.08 10:42:50, skipping insertion in model container [2019-08-05 10:42:50,330 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 10:42:50" (2/2) ... [2019-08-05 10:42:50,332 INFO L109 eAbstractionObserver]: Analyzing ICFG arraySearchFirstAndLast.bpl [2019-08-05 10:42:50,341 INFO L152 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:ForwardPredicates Determinization: PREDICATE_ABSTRACTION [2019-08-05 10:42:50,349 INFO L164 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2019-08-05 10:42:50,366 INFO L252 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2019-08-05 10:42:50,392 INFO L128 ementStrategyFactory]: Using default assertion order modulation [2019-08-05 10:42:50,392 INFO L377 AbstractCegarLoop]: Interprodecural is true [2019-08-05 10:42:50,393 INFO L378 AbstractCegarLoop]: Hoare is false [2019-08-05 10:42:50,393 INFO L379 AbstractCegarLoop]: Compute interpolants for ForwardPredicates [2019-08-05 10:42:50,393 INFO L380 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2019-08-05 10:42:50,393 INFO L381 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-08-05 10:42:50,393 INFO L382 AbstractCegarLoop]: Difference is false [2019-08-05 10:42:50,394 INFO L383 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-08-05 10:42:50,394 INFO L388 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2019-08-05 10:42:50,407 INFO L276 IsEmpty]: Start isEmpty. Operand 5 states. [2019-08-05 10:42:50,416 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-08-05 10:42:50,416 INFO L391 BasicCegarLoop]: Found error trace [2019-08-05 10:42:50,417 INFO L399 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-08-05 10:42:50,420 INFO L418 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONASSERT]=== [2019-08-05 10:42:50,425 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-08-05 10:42:50,425 INFO L82 PathProgramCache]: Analyzing trace with hash 30899, now seen corresponding path program 1 times [2019-08-05 10:42:50,466 INFO L69 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2019-08-05 10:42:50,510 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-08-05 10:42:50,524 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-08-05 10:42:50,540 INFO L466 BasicCegarLoop]: Counterexample might be feasible [2019-08-05 10:42:50,559 INFO L202 PluginConnector]: Adding new model arraySearchFirstAndLast.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 05.08 10:42:50 BoogieIcfgContainer [2019-08-05 10:42:50,560 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2019-08-05 10:42:50,563 INFO L168 Benchmark]: Toolchain (without parser) took 937.90 ms. Allocated memory is still 132.6 MB. Free memory was 110.1 MB in the beginning and 80.4 MB in the end (delta: 29.7 MB). Peak memory consumption was 29.7 MB. Max. memory is 7.1 GB. [2019-08-05 10:42:50,565 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.26 ms. Allocated memory is still 132.6 MB. Free memory was 111.3 MB in the beginning and 111.1 MB in the end (delta: 209.7 kB). Peak memory consumption was 209.7 kB. Max. memory is 7.1 GB. [2019-08-05 10:42:50,566 INFO L168 Benchmark]: Boogie Procedure Inliner took 33.09 ms. Allocated memory is still 132.6 MB. Free memory was 110.1 MB in the beginning and 108.3 MB in the end (delta: 1.8 MB). Peak memory consumption was 1.8 MB. Max. memory is 7.1 GB. [2019-08-05 10:42:50,567 INFO L168 Benchmark]: Boogie Preprocessor took 21.74 ms. Allocated memory is still 132.6 MB. Free memory was 108.3 MB in the beginning and 106.9 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. [2019-08-05 10:42:50,569 INFO L168 Benchmark]: RCFGBuilder took 642.87 ms. Allocated memory is still 132.6 MB. Free memory was 106.9 MB in the beginning and 92.8 MB in the end (delta: 14.1 MB). Peak memory consumption was 14.1 MB. Max. memory is 7.1 GB. [2019-08-05 10:42:50,570 INFO L168 Benchmark]: TraceAbstraction took 235.27 ms. Allocated memory is still 132.6 MB. Free memory was 92.4 MB in the beginning and 80.4 MB in the end (delta: 12.0 MB). Peak memory consumption was 12.0 MB. Max. memory is 7.1 GB. [2019-08-05 10:42:50,577 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Boogie PL CUP Parser took 0.26 ms. Allocated memory is still 132.6 MB. Free memory was 111.3 MB in the beginning and 111.1 MB in the end (delta: 209.7 kB). Peak memory consumption was 209.7 kB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 33.09 ms. Allocated memory is still 132.6 MB. Free memory was 110.1 MB in the beginning and 108.3 MB in the end (delta: 1.8 MB). Peak memory consumption was 1.8 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 21.74 ms. Allocated memory is still 132.6 MB. Free memory was 108.3 MB in the beginning and 106.9 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. * RCFGBuilder took 642.87 ms. Allocated memory is still 132.6 MB. Free memory was 106.9 MB in the beginning and 92.8 MB in the end (delta: 14.1 MB). Peak memory consumption was 14.1 MB. Max. memory is 7.1 GB. * TraceAbstraction took 235.27 ms. Allocated memory is still 132.6 MB. Free memory was 92.4 MB in the beginning and 80.4 MB in the end (delta: 12.0 MB). Peak memory consumption was 12.0 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 30]: assertion can be violated assertion can be violated We found a FailurePath: [L14] assume n >= 0; [L15] f := 0; [L16] l := -1; [L17] i := 0; VAL [f=0, i=0, l=-1, n=1] [L18] COND TRUE i < n [L19] COND FALSE !(f == -1) [L25] COND FALSE !(a[i] == x) [L29] i := i + 1; VAL [f=0, i=1, l=-1, n=1, x=2] [L30] assert f <= l && l < n; VAL [f=0, i=1, l=-1, n=1, x=2] - StatisticsResult: Ultimate Automizer benchmark data CFG has 1 procedures, 5 locations, 1 error locations. UNSAFE Result, 0.1s OverallTime, 1 OverallIterations, 1 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: No data available, PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=5occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 3 NumberOfCodeBlocks, 3 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...