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_Fixed_noBitfields+AI_EQ_SS.epf -i ../../../trunk/examples/svcomp/array-memsafety/selectionsort_unsafe_false-valid-deref.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-835382a-m [2018-04-05 15:17:35,991 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-04-05 15:17:35,993 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-04-05 15:17:36,065 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-04-05 15:17:36,066 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-04-05 15:17:36,067 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-04-05 15:17:36,068 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-04-05 15:17:36,078 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-04-05 15:17:36,084 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-04-05 15:17:36,085 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-04-05 15:17:36,086 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-04-05 15:17:36,086 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-04-05 15:17:36,087 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-04-05 15:17:36,089 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-04-05 15:17:36,102 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-04-05 15:17:36,105 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-04-05 15:17:36,107 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-04-05 15:17:36,122 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-04-05 15:17:36,127 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-04-05 15:17:36,128 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-04-05 15:17:36,139 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-04-05 15:17:36,143 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-04-05 15:17:36,143 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-04-05 15:17:36,144 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-04-05 15:17:36,146 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-04-05 15:17:36,158 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-04-05 15:17:36,159 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-04-05 15:17:36,160 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-04-05 15:17:36,161 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-04-05 15:17:36,161 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-04-05 15:17:36,166 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-04-05 15:17:36,166 INFO L98 SettingsManager]: Beginning loading settings from /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/eq-bench/svcomp-DerefFreeMemtrack-32bit-Automizer_Fixed_noBitfields+AI_EQ_SS.epf [2018-04-05 15:17:36,240 INFO L110 SettingsManager]: Loading preferences was successful [2018-04-05 15:17:36,240 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-04-05 15:17:36,240 INFO L131 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2018-04-05 15:17:36,240 INFO L133 SettingsManager]: * ultimate.logging.details=de.uni_freiburg.informatik.ultimate.plugins.icfgtransformation=DEBUG; [2018-04-05 15:17:36,242 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-04-05 15:17:36,243 INFO L133 SettingsManager]: * to procedures, called more than once=true [2018-04-05 15:17:36,243 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-04-05 15:17:36,243 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=VPDomain [2018-04-05 15:17:36,243 INFO L133 SettingsManager]: * Use the RCFG-of-the-future interface=true [2018-04-05 15:17:36,248 INFO L131 SettingsManager]: Preferences of LTL2Aut differ from their defaults: [2018-04-05 15:17:36,249 INFO L133 SettingsManager]: * Property to check=[] a a: x > 42 [2018-04-05 15:17:36,249 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-04-05 15:17:36,253 INFO L133 SettingsManager]: * sizeof long=4 [2018-04-05 15:17:36,253 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-04-05 15:17:36,253 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-04-05 15:17:36,254 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-04-05 15:17:36,254 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-04-05 15:17:36,255 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-04-05 15:17:36,255 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-04-05 15:17:36,255 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-04-05 15:17:36,255 INFO L133 SettingsManager]: * sizeof long double=12 [2018-04-05 15:17:36,256 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-04-05 15:17:36,256 INFO L133 SettingsManager]: * Size of a code block=SingleStatement [2018-04-05 15:17:36,256 INFO L133 SettingsManager]: * Add additional assume for each assert=false [2018-04-05 15:17:36,256 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-04-05 15:17:36,256 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-04-05 15:17:36,257 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-04-05 15:17:36,257 INFO L133 SettingsManager]: * Interpolant automaton=TWOTRACK [2018-04-05 15:17:36,257 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-04-05 15:17:36,257 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-04-05 15:17:36,257 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-04-05 15:17:36,257 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-05 15:17:36,271 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-04-05 15:17:36,272 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-04-05 15:17:36,272 INFO L133 SettingsManager]: * TransformationType=HEAP_SEPARATOR [2018-04-05 15:17:36,272 INFO L131 SettingsManager]: Preferences of Boogie Printer differ from their defaults: [2018-04-05 15:17:36,272 INFO L133 SettingsManager]: * Dump path:=C:\Users\alex\AppData\Local\Temp\ [2018-04-05 15:17:36,378 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-04-05 15:17:36,436 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully (re)initialized [2018-04-05 15:17:36,447 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-04-05 15:17:36,454 INFO L271 PluginConnector]: Initializing CDTParser... [2018-04-05 15:17:36,455 INFO L276 PluginConnector]: CDTParser initialized [2018-04-05 15:17:36,457 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-04-05 15:17:37,042 INFO L225 CDTParser]: Created temporary CDT project at /storage/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAGd43325bd9 [2018-04-05 15:17:37,384 INFO L287 CDTParser]: IsIndexed: true [2018-04-05 15:17:37,384 INFO L288 CDTParser]: Found 1 translation units. [2018-04-05 15:17:37,385 INFO L168 CDTParser]: Scanning selectionsort_unsafe_false-valid-deref.i [2018-04-05 15:17:37,387 INFO L210 ultiparseSymbolTable]: Include resolver: [2018-04-05 15:17:37,387 INFO L215 ultiparseSymbolTable]: [2018-04-05 15:17:37,387 INFO L218 ultiparseSymbolTable]: Function table: [2018-04-05 15:17:37,387 INFO L221 ultiparseSymbolTable]: Function definition of null ('main') in selectionsort_unsafe_false-valid-deref.i [2018-04-05 15:17:37,388 INFO L221 ultiparseSymbolTable]: Function definition of __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSort ('SelectionSort') in selectionsort_unsafe_false-valid-deref.i [2018-04-05 15:17:37,391 INFO L227 ultiparseSymbolTable]: Global variable table: [2018-04-05 15:17:37,391 INFO L233 ultiparseSymbolTable]: [2018-04-05 15:17:37,430 INFO L330 CDTParser]: Deleted temporary CDT project at /storage/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAGd43325bd9 [2018-04-05 15:17:37,454 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-04-05 15:17:37,456 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-04-05 15:17:37,458 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-04-05 15:17:37,458 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-04-05 15:17:37,477 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-04-05 15:17:37,479 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 05.04 03:17:37" (1/1) ... [2018-04-05 15:17:37,482 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@121b89d9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:37, skipping insertion in model container [2018-04-05 15:17:37,482 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 05.04 03:17:37" (1/1) ... [2018-04-05 15:17:37,516 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-05 15:17:37,540 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-05 15:17:37,982 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-05 15:17:38,052 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-05 15:17:38,064 INFO L100 SccComputation]: Graph consists of 0 InCaSumBalls and 9 non ball SCCs. Number of states in SCCs 9. [2018-04-05 15:17:38,085 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38 WrapperNode [2018-04-05 15:17:38,085 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-04-05 15:17:38,087 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-04-05 15:17:38,087 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-04-05 15:17:38,087 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-04-05 15:17:38,103 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38" (1/1) ... [2018-04-05 15:17:38,103 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38" (1/1) ... [2018-04-05 15:17:38,122 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38" (1/1) ... [2018-04-05 15:17:38,123 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38" (1/1) ... [2018-04-05 15:17:38,140 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38" (1/1) ... [2018-04-05 15:17:38,155 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38" (1/1) ... [2018-04-05 15:17:38,159 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38" (1/1) ... [2018-04-05 15:17:38,171 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-04-05 15:17:38,172 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-04-05 15:17:38,172 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-04-05 15:17:38,172 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-04-05 15:17:38,173 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38" (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-04-05 15:17:38,278 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-04-05 15:17:38,278 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-04-05 15:17:38,278 INFO L136 BoogieDeclarations]: Found implementation of procedure __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSort [2018-04-05 15:17:38,279 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-04-05 15:17:38,279 INFO L128 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-04-05 15:17:38,279 INFO L128 BoogieDeclarations]: Found specification of procedure __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSort [2018-04-05 15:17:38,279 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-04-05 15:17:38,279 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-04-05 15:17:38,279 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-04-05 15:17:38,280 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-04-05 15:17:38,280 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-04-05 15:17:38,280 INFO L128 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2018-04-05 15:17:38,280 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-04-05 15:17:39,061 INFO L259 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-04-05 15:17:39,062 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.04 03:17:39 BoogieIcfgContainer [2018-04-05 15:17:39,062 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-04-05 15:17:39,063 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-04-05 15:17:39,064 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-04-05 15:17:39,067 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-04-05 15:17:39,068 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 05.04 03:17:37" (1/3) ... [2018-04-05 15:17:39,069 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@42ff76ae and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 05.04 03:17:39, skipping insertion in model container [2018-04-05 15:17:39,069 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 05.04 03:17:38" (2/3) ... [2018-04-05 15:17:39,069 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@42ff76ae and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 05.04 03:17:39, skipping insertion in model container [2018-04-05 15:17:39,069 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.04 03:17:39" (3/3) ... [2018-04-05 15:17:39,080 INFO L107 eAbstractionObserver]: Analyzing ICFG selectionsort_unsafe_false-valid-deref.i [2018-04-05 15:17:39,103 INFO L131 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-04-05 15:17:39,121 INFO L143 ceAbstractionStarter]: Appying trace abstraction to program that has 13 error locations. [2018-04-05 15:17:39,249 INFO L128 ementStrategyFactory]: Using default assertion order modulation [2018-04-05 15:17:39,263 INFO L369 AbstractCegarLoop]: Interprodecural is true [2018-04-05 15:17:39,264 INFO L370 AbstractCegarLoop]: Hoare is true [2018-04-05 15:17:39,264 INFO L371 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-04-05 15:17:39,264 INFO L372 AbstractCegarLoop]: Backedges is TWOTRACK [2018-04-05 15:17:39,264 INFO L373 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-04-05 15:17:39,264 INFO L374 AbstractCegarLoop]: Difference is false [2018-04-05 15:17:39,265 INFO L375 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-04-05 15:17:39,269 INFO L380 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-04-05 15:17:39,270 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-04-05 15:17:39,344 INFO L276 IsEmpty]: Start isEmpty. Operand 65 states. [2018-04-05 15:17:39,358 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2018-04-05 15:17:39,358 INFO L347 BasicCegarLoop]: Found error trace [2018-04-05 15:17:39,360 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-05 15:17:39,360 INFO L408 AbstractCegarLoop]: === Iteration 1 === [mainErr0EnsuresViolationMEMORY_LEAK, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr8RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr11RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr2RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr3RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr4RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr9RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr10RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr7RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr5RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr1RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr0RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr6RequiresViolation]=== [2018-04-05 15:17:39,367 INFO L82 PathProgramCache]: Analyzing trace with hash -1266473235, now seen corresponding path program 1 times No working directory specified, using /storage/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-05 15:17:39,413 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-05 15:17:39,525 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-05 15:17:39,541 INFO L270 TraceCheckSpWp]: Computing forward predicates... [2018-04-05 15:17:39,585 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-05 15:17:39,585 INFO L314 TraceCheckSpWp]: Computing backward predicates... [2018-04-05 15:17:39,658 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-05 15:17:39,776 INFO L320 seRefinementStrategy]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2018-04-05 15:17:39,776 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [2, 2] imperfect sequences [] total 2 [2018-04-05 15:17:39,779 INFO L442 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-04-05 15:17:39,828 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-04-05 15:17:39,829 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-04-05 15:17:39,832 INFO L87 Difference]: Start difference. First operand 65 states. Second operand 2 states. [2018-04-05 15:17:39,904 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-05 15:17:39,905 INFO L93 Difference]: Finished difference Result 114 states and 123 transitions. [2018-04-05 15:17:39,905 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-04-05 15:17:39,914 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 20 [2018-04-05 15:17:39,915 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-05 15:17:39,943 INFO L225 Difference]: With dead ends: 114 [2018-04-05 15:17:39,943 INFO L226 Difference]: Without dead ends: 57 [2018-04-05 15:17:39,957 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 39 GetRequests, 39 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-04-05 15:17:39,995 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 57 states. [2018-04-05 15:17:40,040 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 57 to 57. [2018-04-05 15:17:40,042 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 57 states. [2018-04-05 15:17:40,045 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 57 states and 59 transitions. [2018-04-05 15:17:40,047 INFO L78 Accepts]: Start accepts. Automaton has 57 states and 59 transitions. Word has length 20 [2018-04-05 15:17:40,047 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-05 15:17:40,047 INFO L459 AbstractCegarLoop]: Abstraction has 57 states and 59 transitions. [2018-04-05 15:17:40,048 INFO L460 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-04-05 15:17:40,054 INFO L276 IsEmpty]: Start isEmpty. Operand 57 states and 59 transitions. [2018-04-05 15:17:40,064 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-04-05 15:17:40,065 INFO L347 BasicCegarLoop]: Found error trace [2018-04-05 15:17:40,065 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-05 15:17:40,065 INFO L408 AbstractCegarLoop]: === Iteration 2 === [mainErr0EnsuresViolationMEMORY_LEAK, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr8RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr11RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr2RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr3RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr4RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr9RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr10RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr7RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr5RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr1RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr0RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr6RequiresViolation]=== [2018-04-05 15:17:40,065 INFO L82 PathProgramCache]: Analyzing trace with hash 1945419733, now seen corresponding path program 1 times No working directory specified, using /storage/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-05 15:17:40,115 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-05 15:17:40,165 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-05 15:17:40,168 INFO L270 TraceCheckSpWp]: Computing forward predicates... [2018-04-05 15:17:40,278 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-05 15:17:40,279 INFO L314 TraceCheckSpWp]: Computing backward predicates... [2018-04-05 15:17:40,389 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-05 15:17:40,433 INFO L320 seRefinementStrategy]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2018-04-05 15:17:40,434 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [4, 4] imperfect sequences [] total 4 [2018-04-05 15:17:40,435 INFO L442 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-04-05 15:17:40,436 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-04-05 15:17:40,436 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-04-05 15:17:40,436 INFO L87 Difference]: Start difference. First operand 57 states and 59 transitions. Second operand 4 states. [2018-04-05 15:17:40,741 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-05 15:17:40,741 INFO L93 Difference]: Finished difference Result 101 states and 106 transitions. [2018-04-05 15:17:40,742 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-04-05 15:17:40,742 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 25 [2018-04-05 15:17:40,742 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-05 15:17:40,743 INFO L225 Difference]: With dead ends: 101 [2018-04-05 15:17:40,744 INFO L226 Difference]: Without dead ends: 59 [2018-04-05 15:17:40,745 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 50 GetRequests, 46 SyntacticMatches, 1 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2018-04-05 15:17:40,745 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 59 states. [2018-04-05 15:17:40,771 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 59 to 59. [2018-04-05 15:17:40,771 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 59 states. [2018-04-05 15:17:40,781 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 59 states to 59 states and 61 transitions. [2018-04-05 15:17:40,781 INFO L78 Accepts]: Start accepts. Automaton has 59 states and 61 transitions. Word has length 25 [2018-04-05 15:17:40,781 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-05 15:17:40,782 INFO L459 AbstractCegarLoop]: Abstraction has 59 states and 61 transitions. [2018-04-05 15:17:40,782 INFO L460 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-04-05 15:17:40,782 INFO L276 IsEmpty]: Start isEmpty. Operand 59 states and 61 transitions. [2018-04-05 15:17:40,789 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-04-05 15:17:40,789 INFO L347 BasicCegarLoop]: Found error trace [2018-04-05 15:17:40,790 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-05 15:17:40,790 INFO L408 AbstractCegarLoop]: === Iteration 3 === [mainErr0EnsuresViolationMEMORY_LEAK, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr8RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr11RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr2RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr3RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr4RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr9RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr10RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr7RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr5RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr1RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr0RequiresViolation, __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSortErr6RequiresViolation]=== [2018-04-05 15:17:40,790 INFO L82 PathProgramCache]: Analyzing trace with hash 1945419772, now seen corresponding path program 1 times No working directory specified, using /storage/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-05 15:17:40,817 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-05 15:17:40,890 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-05 15:17:40,928 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-05 15:17:41,020 INFO L421 BasicCegarLoop]: Counterexample might be feasible [2018-04-05 15:17:41,114 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 05.04 03:17:41 BoogieIcfgContainer [2018-04-05 15:17:41,114 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-04-05 15:17:41,115 INFO L168 Benchmark]: Toolchain (without parser) took 3660.41 ms. Allocated memory was 304.6 MB in the beginning and 463.5 MB in the end (delta: 158.9 MB). Free memory was 248.6 MB in the beginning and 378.2 MB in the end (delta: -129.6 MB). Peak memory consumption was 29.3 MB. Max. memory is 5.3 GB. [2018-04-05 15:17:41,118 INFO L168 Benchmark]: CDTParser took 0.27 ms. Allocated memory is still 304.6 MB. Free memory is still 266.9 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-04-05 15:17:41,119 INFO L168 Benchmark]: CACSL2BoogieTranslator took 628.96 ms. Allocated memory is still 304.6 MB. Free memory was 248.6 MB in the beginning and 238.5 MB in the end (delta: 10.1 MB). Peak memory consumption was 10.1 MB. Max. memory is 5.3 GB. [2018-04-05 15:17:41,120 INFO L168 Benchmark]: Boogie Preprocessor took 84.69 ms. Allocated memory is still 304.6 MB. Free memory was 238.5 MB in the beginning and 236.5 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.0 MB. Max. memory is 5.3 GB. [2018-04-05 15:17:41,120 INFO L168 Benchmark]: RCFGBuilder took 890.30 ms. Allocated memory was 304.6 MB in the beginning and 463.5 MB in the end (delta: 158.9 MB). Free memory was 236.5 MB in the beginning and 428.8 MB in the end (delta: -192.3 MB). Peak memory consumption was 24.5 MB. Max. memory is 5.3 GB. [2018-04-05 15:17:41,121 INFO L168 Benchmark]: TraceAbstraction took 2050.51 ms. Allocated memory is still 463.5 MB. Free memory was 427.5 MB in the beginning and 378.2 MB in the end (delta: 49.3 MB). Peak memory consumption was 49.3 MB. Max. memory is 5.3 GB. [2018-04-05 15:17:41,128 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.27 ms. Allocated memory is still 304.6 MB. Free memory is still 266.9 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 628.96 ms. Allocated memory is still 304.6 MB. Free memory was 248.6 MB in the beginning and 238.5 MB in the end (delta: 10.1 MB). Peak memory consumption was 10.1 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 84.69 ms. Allocated memory is still 304.6 MB. Free memory was 238.5 MB in the beginning and 236.5 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.0 MB. Max. memory is 5.3 GB. * RCFGBuilder took 890.30 ms. Allocated memory was 304.6 MB in the beginning and 463.5 MB in the end (delta: 158.9 MB). Free memory was 236.5 MB in the beginning and 428.8 MB in the end (delta: -192.3 MB). Peak memory consumption was 24.5 MB. Max. memory is 5.3 GB. * TraceAbstraction took 2050.51 ms. Allocated memory is still 463.5 MB. Free memory was 427.5 MB in the beginning and 378.2 MB in the end (delta: 49.3 MB). Peak memory consumption was 49.3 MB. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 11]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L20] int *a; [L21] int array_size = __VERIFIER_nondet_int(); VAL [__VERIFIER_nondet_int()=2, array_size=2] [L22] CALL SelectionSort(a, array_size) VAL [\old(array_size)=2, a={0:7}] [L4] int i; VAL [\old(array_size)=2, a={0:7}, a={0:7}, array_size=2] [L5] i = 0 VAL [\old(array_size)=2, a={0:7}, a={0:7}, array_size=2, i=0] [L5] COND TRUE i < array_size - 1 VAL [\old(array_size)=2, a={0:7}, a={0:7}, array_size=2, i=0] [L7] int j, min, temp; VAL [\old(array_size)=2, a={0:7}, a={0:7}, array_size=2, i=0] [L8] min = i VAL [\old(array_size)=2, a={0:7}, a={0:7}, array_size=2, i=0, min=0] [L9] j = i+1 VAL [\old(array_size)=2, a={0:7}, a={0:7}, array_size=2, i=0, j=1, min=0] [L9] COND TRUE j < array_size VAL [\old(array_size)=2, a={0:7}, a={0:7}, array_size=2, i=0, j=1, min=0] [L11] FCALL a[j] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 65 locations, 13 error locations. UNSAFE Result, 1.8s OverallTime, 3 OverallIterations, 1 TraceHistogramMax, 0.4s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 110 SDtfs, 52 SDslu, 45 SDs, 0 SdLazy, 31 SolverSat, 2 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 89 GetRequests, 85 SyntacticMatches, 1 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=65occurred 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: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 70 NumberOfCodeBlocks, 70 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 86 ConstructedInterpolants, 0 QuantifiedInterpolants, 3218 SizeOfPredicates, 3 NumberOfNonLiveVariables, 110 ConjunctsInSsa, 4 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: 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_Fixed_noBitfields+AI_EQ_SS.epf_AutomizerC.xml/Csv-Benchmark-0-2018-04-05_15-17-41-146.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_Fixed_noBitfields+AI_EQ_SS.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-04-05_15-17-41-146.csv Received shutdown request...