java -Xmx6000000000 -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data ./data --generate-csv --csv-dir ../../../releaseScripts/default/UAutomizer-linux/csv -tc ../../../trunk/examples/toolchains/AutomizerC.xml -s ../../../trunk/examples/settings/ai/eq-bench/svcomp-DerefFreeMemtrack-32bit-Automizer_Taipan+AI_EQ.epf -i ../../../trunk/examples/svcomp/array-memsafety/selectionsort_unsafe_false-valid-deref.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-6b94a2f [2018-01-24 15:11:05,522 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-01-24 15:11:05,525 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-01-24 15:11:05,539 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-01-24 15:11:05,539 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-01-24 15:11:05,540 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-01-24 15:11:05,541 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-01-24 15:11:05,542 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-01-24 15:11:05,544 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-01-24 15:11:05,544 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-01-24 15:11:05,545 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-01-24 15:11:05,545 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-01-24 15:11:05,546 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-01-24 15:11:05,547 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-01-24 15:11:05,547 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-01-24 15:11:05,550 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-01-24 15:11:05,552 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-01-24 15:11:05,554 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-01-24 15:11:05,556 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-01-24 15:11:05,557 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-01-24 15:11:05,560 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-01-24 15:11:05,560 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-01-24 15:11:05,560 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-01-24 15:11:05,562 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-01-24 15:11:05,563 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-01-24 15:11:05,564 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-01-24 15:11:05,564 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-01-24 15:11:05,565 INFO L177 SettingsManager]: PEA to Boogie provides no preferences, ignoring... [2018-01-24 15:11:05,565 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-01-24 15:11:05,565 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-01-24 15:11:05,566 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-01-24 15:11:05,567 INFO L98 SettingsManager]: Beginning loading settings from /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/eq-bench/svcomp-DerefFreeMemtrack-32bit-Automizer_Taipan+AI_EQ.epf [2018-01-24 15:11:05,577 INFO L110 SettingsManager]: Loading preferences was successful [2018-01-24 15:11:05,577 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-01-24 15:11:05,578 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-01-24 15:11:05,579 INFO L133 SettingsManager]: * to procedures, called more than once=true [2018-01-24 15:11:05,579 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-01-24 15:11:05,579 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=VPDomain [2018-01-24 15:11:05,579 INFO L133 SettingsManager]: * Use the RCFG-of-the-future interface=true [2018-01-24 15:11:05,580 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-01-24 15:11:05,580 INFO L133 SettingsManager]: * sizeof long=4 [2018-01-24 15:11:05,580 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-01-24 15:11:05,581 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-01-24 15:11:05,581 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-01-24 15:11:05,581 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-01-24 15:11:05,581 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-01-24 15:11:05,581 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-01-24 15:11:05,582 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-01-24 15:11:05,582 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-01-24 15:11:05,582 INFO L133 SettingsManager]: * sizeof long double=12 [2018-01-24 15:11:05,582 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-01-24 15:11:05,582 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-01-24 15:11:05,583 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-01-24 15:11:05,583 INFO L133 SettingsManager]: * Add additional assume for each assert=false [2018-01-24 15:11:05,583 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-01-24 15:11:05,583 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-01-24 15:11:05,584 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-01-24 15:11:05,584 INFO L133 SettingsManager]: * Interpolant automaton=TWOTRACK [2018-01-24 15:11:05,584 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-01-24 15:11:05,584 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-01-24 15:11:05,584 INFO L133 SettingsManager]: * Trace refinement strategy=TAIPAN [2018-01-24 15:11:05,585 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-01-24 15:11:05,585 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-01-24 15:11:05,585 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-01-24 15:11:05,585 INFO L133 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2018-01-24 15:11:05,586 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-01-24 15:11:05,586 INFO L133 SettingsManager]: * TransformationType=HEAP_SEPARATOR [2018-01-24 15:11:05,622 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-01-24 15:11:05,635 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully initialized [2018-01-24 15:11:05,639 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-01-24 15:11:05,641 INFO L271 PluginConnector]: Initializing CDTParser... [2018-01-24 15:11:05,641 INFO L276 PluginConnector]: CDTParser initialized [2018-01-24 15:11:05,642 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/array-memsafety/selectionsort_unsafe_false-valid-deref.i [2018-01-24 15:11:05,743 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-01-24 15:11:05,747 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-01-24 15:11:05,748 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-01-24 15:11:05,748 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-01-24 15:11:05,756 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-01-24 15:11:05,757 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.01 03:11:05" (1/1) ... [2018-01-24 15:11:05,759 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@747d9d3b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05, skipping insertion in model container [2018-01-24 15:11:05,759 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.01 03:11:05" (1/1) ... [2018-01-24 15:11:05,771 INFO L153 Dispatcher]: Using SV-COMP mode [2018-01-24 15:11:05,787 INFO L153 Dispatcher]: Using SV-COMP mode [2018-01-24 15:11:05,900 INFO L450 PostProcessor]: Settings: Checked method=main [2018-01-24 15:11:05,917 INFO L450 PostProcessor]: Settings: Checked method=main [2018-01-24 15:11:05,922 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05 WrapperNode [2018-01-24 15:11:05,922 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-01-24 15:11:05,923 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-01-24 15:11:05,923 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-01-24 15:11:05,923 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-01-24 15:11:05,940 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05" (1/1) ... [2018-01-24 15:11:05,940 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05" (1/1) ... [2018-01-24 15:11:05,951 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05" (1/1) ... [2018-01-24 15:11:05,952 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05" (1/1) ... [2018-01-24 15:11:05,956 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05" (1/1) ... [2018-01-24 15:11:05,960 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05" (1/1) ... [2018-01-24 15:11:05,961 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05" (1/1) ... [2018-01-24 15:11:05,963 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-01-24 15:11:05,964 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-01-24 15:11:05,964 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-01-24 15:11:05,964 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-01-24 15:11:05,965 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05" (1/1) ... No working directory specified, using /storage/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-01-24 15:11:06,026 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-01-24 15:11:06,026 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-01-24 15:11:06,026 INFO L136 BoogieDeclarations]: Found implementation of procedure SelectionSort [2018-01-24 15:11:06,026 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-01-24 15:11:06,026 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-01-24 15:11:06,027 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-01-24 15:11:06,027 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.free [2018-01-24 15:11:06,027 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-01-24 15:11:06,027 INFO L128 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-01-24 15:11:06,027 INFO L128 BoogieDeclarations]: Found specification of procedure SelectionSort [2018-01-24 15:11:06,027 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-01-24 15:11:06,027 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-01-24 15:11:06,028 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-01-24 15:11:06,239 INFO L257 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-01-24 15:11:06,240 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.01 03:11:06 BoogieIcfgContainer [2018-01-24 15:11:06,240 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-01-24 15:11:06,241 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-01-24 15:11:06,241 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-01-24 15:11:06,243 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-01-24 15:11:06,243 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 24.01 03:11:05" (1/3) ... [2018-01-24 15:11:06,244 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4dd21ea9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.01 03:11:06, skipping insertion in model container [2018-01-24 15:11:06,244 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.01 03:11:05" (2/3) ... [2018-01-24 15:11:06,245 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4dd21ea9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.01 03:11:06, skipping insertion in model container [2018-01-24 15:11:06,245 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.01 03:11:06" (3/3) ... [2018-01-24 15:11:06,246 INFO L105 eAbstractionObserver]: Analyzing ICFG selectionsort_unsafe_false-valid-deref.i [2018-01-24 15:11:06,252 INFO L130 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-01-24 15:11:06,258 INFO L142 ceAbstractionStarter]: Appying trace abstraction to program that has 13 error locations. [2018-01-24 15:11:06,294 INFO L322 AbstractCegarLoop]: Interprodecural is true [2018-01-24 15:11:06,294 INFO L323 AbstractCegarLoop]: Hoare is true [2018-01-24 15:11:06,294 INFO L324 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-01-24 15:11:06,295 INFO L325 AbstractCegarLoop]: Backedges is TWOTRACK [2018-01-24 15:11:06,295 INFO L326 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-01-24 15:11:06,295 INFO L327 AbstractCegarLoop]: Difference is false [2018-01-24 15:11:06,295 INFO L328 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-01-24 15:11:06,295 INFO L333 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-01-24 15:11:06,296 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-01-24 15:11:06,317 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states. [2018-01-24 15:11:06,324 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-01-24 15:11:06,324 INFO L314 BasicCegarLoop]: Found error trace [2018-01-24 15:11:06,325 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-24 15:11:06,325 INFO L371 AbstractCegarLoop]: === Iteration 1 === [SelectionSortErr2RequiresViolation, SelectionSortErr4RequiresViolation, SelectionSortErr8RequiresViolation, SelectionSortErr9RequiresViolation, SelectionSortErr3RequiresViolation, SelectionSortErr1RequiresViolation, SelectionSortErr5RequiresViolation, SelectionSortErr11RequiresViolation, SelectionSortErr7RequiresViolation, SelectionSortErr10RequiresViolation, SelectionSortErr0RequiresViolation, SelectionSortErr6RequiresViolation, mainErr0EnsuresViolation]=== [2018-01-24 15:11:06,331 INFO L82 PathProgramCache]: Analyzing trace with hash 474885727, now seen corresponding path program 1 times [2018-01-24 15:11:06,333 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-24 15:11:06,388 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-24 15:11:06,388 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-24 15:11:06,388 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-24 15:11:06,389 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-24 15:11:06,435 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-01-24 15:11:06,443 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-01-24 15:11:06,476 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-01-24 15:11:06,477 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-01-24 15:11:06,478 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-01-24 15:11:06,478 INFO L252 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-01-24 15:11:06,480 INFO L409 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-01-24 15:11:06,490 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-01-24 15:11:06,491 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-01-24 15:11:06,493 INFO L87 Difference]: Start difference. First operand 43 states. Second operand 2 states. [2018-01-24 15:11:06,513 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-01-24 15:11:06,513 INFO L93 Difference]: Finished difference Result 77 states and 86 transitions. [2018-01-24 15:11:06,513 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-01-24 15:11:06,514 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 12 [2018-01-24 15:11:06,515 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-01-24 15:11:06,523 INFO L225 Difference]: With dead ends: 77 [2018-01-24 15:11:06,523 INFO L226 Difference]: Without dead ends: 35 [2018-01-24 15:11:06,527 INFO L525 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-01-24 15:11:06,541 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 35 states. [2018-01-24 15:11:06,554 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 35 to 35. [2018-01-24 15:11:06,555 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 35 states. [2018-01-24 15:11:06,557 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 37 transitions. [2018-01-24 15:11:06,558 INFO L78 Accepts]: Start accepts. Automaton has 35 states and 37 transitions. Word has length 12 [2018-01-24 15:11:06,558 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-01-24 15:11:06,559 INFO L432 AbstractCegarLoop]: Abstraction has 35 states and 37 transitions. [2018-01-24 15:11:06,559 INFO L433 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-01-24 15:11:06,559 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 37 transitions. [2018-01-24 15:11:06,559 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2018-01-24 15:11:06,559 INFO L314 BasicCegarLoop]: Found error trace [2018-01-24 15:11:06,559 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-24 15:11:06,559 INFO L371 AbstractCegarLoop]: === Iteration 2 === [SelectionSortErr2RequiresViolation, SelectionSortErr4RequiresViolation, SelectionSortErr8RequiresViolation, SelectionSortErr9RequiresViolation, SelectionSortErr3RequiresViolation, SelectionSortErr1RequiresViolation, SelectionSortErr5RequiresViolation, SelectionSortErr11RequiresViolation, SelectionSortErr7RequiresViolation, SelectionSortErr10RequiresViolation, SelectionSortErr0RequiresViolation, SelectionSortErr6RequiresViolation, mainErr0EnsuresViolation]=== [2018-01-24 15:11:06,560 INFO L82 PathProgramCache]: Analyzing trace with hash 1836535847, now seen corresponding path program 1 times [2018-01-24 15:11:06,560 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-24 15:11:06,561 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-24 15:11:06,561 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-24 15:11:06,561 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-24 15:11:06,561 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-24 15:11:06,578 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-01-24 15:11:06,579 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-01-24 15:11:06,701 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-01-24 15:11:06,701 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-01-24 15:11:06,701 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-01-24 15:11:06,701 INFO L252 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-01-24 15:11:06,703 INFO L409 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-01-24 15:11:06,704 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-01-24 15:11:06,704 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-01-24 15:11:06,704 INFO L87 Difference]: Start difference. First operand 35 states and 37 transitions. Second operand 3 states. [2018-01-24 15:11:06,753 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-01-24 15:11:06,753 INFO L93 Difference]: Finished difference Result 64 states and 69 transitions. [2018-01-24 15:11:06,754 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-01-24 15:11:06,754 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 13 [2018-01-24 15:11:06,754 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-01-24 15:11:06,755 INFO L225 Difference]: With dead ends: 64 [2018-01-24 15:11:06,755 INFO L226 Difference]: Without dead ends: 37 [2018-01-24 15:11:06,757 INFO L525 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-01-24 15:11:06,757 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 37 states. [2018-01-24 15:11:06,762 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 37 to 37. [2018-01-24 15:11:06,763 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 37 states. [2018-01-24 15:11:06,763 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 37 states and 39 transitions. [2018-01-24 15:11:06,764 INFO L78 Accepts]: Start accepts. Automaton has 37 states and 39 transitions. Word has length 13 [2018-01-24 15:11:06,764 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-01-24 15:11:06,764 INFO L432 AbstractCegarLoop]: Abstraction has 37 states and 39 transitions. [2018-01-24 15:11:06,764 INFO L433 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-01-24 15:11:06,764 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 39 transitions. [2018-01-24 15:11:06,765 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2018-01-24 15:11:06,765 INFO L314 BasicCegarLoop]: Found error trace [2018-01-24 15:11:06,765 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-24 15:11:06,765 INFO L371 AbstractCegarLoop]: === Iteration 3 === [SelectionSortErr2RequiresViolation, SelectionSortErr4RequiresViolation, SelectionSortErr8RequiresViolation, SelectionSortErr9RequiresViolation, SelectionSortErr3RequiresViolation, SelectionSortErr1RequiresViolation, SelectionSortErr5RequiresViolation, SelectionSortErr11RequiresViolation, SelectionSortErr7RequiresViolation, SelectionSortErr10RequiresViolation, SelectionSortErr0RequiresViolation, SelectionSortErr6RequiresViolation, mainErr0EnsuresViolation]=== [2018-01-24 15:11:06,765 INFO L82 PathProgramCache]: Analyzing trace with hash 1836535893, now seen corresponding path program 1 times [2018-01-24 15:11:06,765 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-24 15:11:06,766 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-24 15:11:06,766 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-24 15:11:06,767 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-24 15:11:06,767 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-24 15:11:06,780 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-01-24 15:11:06,790 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-01-24 15:11:06,808 INFO L381 BasicCegarLoop]: Counterexample might be feasible [2018-01-24 15:11:06,824 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 24.01 03:11:06 BoogieIcfgContainer [2018-01-24 15:11:06,824 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-01-24 15:11:06,825 INFO L168 Benchmark]: Toolchain (without parser) took 1081.52 ms. Allocated memory was 303.6 MB in the beginning and 462.9 MB in the end (delta: 159.4 MB). Free memory was 264.6 MB in the beginning and 428.9 MB in the end (delta: -164.3 MB). There was no memory consumed. Max. memory is 5.3 GB. [2018-01-24 15:11:06,826 INFO L168 Benchmark]: CDTParser took 0.13 ms. Allocated memory is still 303.6 MB. Free memory is still 269.6 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-01-24 15:11:06,827 INFO L168 Benchmark]: CACSL2BoogieTranslator took 174.08 ms. Allocated memory is still 303.6 MB. Free memory was 264.6 MB in the beginning and 255.6 MB in the end (delta: 9.0 MB). Peak memory consumption was 9.0 MB. Max. memory is 5.3 GB. [2018-01-24 15:11:06,827 INFO L168 Benchmark]: Boogie Preprocessor took 40.77 ms. Allocated memory is still 303.6 MB. Free memory was 255.6 MB in the beginning and 254.6 MB in the end (delta: 996.1 kB). Peak memory consumption was 996.1 kB. Max. memory is 5.3 GB. [2018-01-24 15:11:06,828 INFO L168 Benchmark]: RCFGBuilder took 276.51 ms. Allocated memory is still 303.6 MB. Free memory was 253.7 MB in the beginning and 238.0 MB in the end (delta: 15.7 MB). Peak memory consumption was 15.7 MB. Max. memory is 5.3 GB. [2018-01-24 15:11:06,828 INFO L168 Benchmark]: TraceAbstraction took 583.16 ms. Allocated memory was 303.6 MB in the beginning and 462.9 MB in the end (delta: 159.4 MB). Free memory was 238.0 MB in the beginning and 428.9 MB in the end (delta: -190.9 MB). There was no memory consumed. Max. memory is 5.3 GB. [2018-01-24 15:11:06,830 INFO L344 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.13 ms. Allocated memory is still 303.6 MB. Free memory is still 269.6 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 174.08 ms. Allocated memory is still 303.6 MB. Free memory was 264.6 MB in the beginning and 255.6 MB in the end (delta: 9.0 MB). Peak memory consumption was 9.0 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 40.77 ms. Allocated memory is still 303.6 MB. Free memory was 255.6 MB in the beginning and 254.6 MB in the end (delta: 996.1 kB). Peak memory consumption was 996.1 kB. Max. memory is 5.3 GB. * RCFGBuilder took 276.51 ms. Allocated memory is still 303.6 MB. Free memory was 253.7 MB in the beginning and 238.0 MB in the end (delta: 15.7 MB). Peak memory consumption was 15.7 MB. Max. memory is 5.3 GB. * TraceAbstraction took 583.16 ms. Allocated memory was 303.6 MB in the beginning and 462.9 MB in the end (delta: 159.4 MB). Free memory was 238.0 MB in the beginning and 428.9 MB in the end (delta: -190.9 MB). There was no memory consumed. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 1]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L20] int *a; [L21] int array_size = __VERIFIER_nondet_int(); [L22] CALL SelectionSort(a, array_size) VAL [\old(array_size)=2, a={4:3}] [L4] int i; [L5] i = 0 VAL [\old(array_size)=2, a={4:3}, a={4:3}, array_size=2, i=0] [L5] COND TRUE i < array_size - 1 [L7] int j, min, temp; [L8] min = i [L9] j = i+1 VAL [\old(array_size)=2, a={4:3}, a={4:3}, array_size=2, i=0, j=1, min=0] [L9] COND TRUE j < array_size VAL [\old(array_size)=2, a={4:3}, a={4:3}, array_size=2, i=0, j=1, min=0] [L11] FCALL a[j] VAL [\old(array_size)=2, a={4:3}, a={4:3}, array_size=2, i=0, j=1, min=0] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 43 locations, 13 error locations. UNSAFE Result, 0.5s OverallTime, 3 OverallIterations, 1 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 76 SDtfs, 9 SDslu, 24 SDs, 0 SdLazy, 8 SolverSat, 1 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 5 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=43occurred 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, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 38 NumberOfCodeBlocks, 38 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 23 ConstructedInterpolants, 0 QuantifiedInterpolants, 361 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, REUSE_STATISTICS: No data available RESULT: Ultimate proved your program to be incorrect! Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/selectionsort_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_Taipan+AI_EQ.epf_AutomizerC.xml/Csv-Benchmark-0-2018-01-24_15-11-06-839.csv Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/selectionsort_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_Taipan+AI_EQ.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-01-24_15-11-06-839.csv Received shutdown request...