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/cade18-smtinterpol/svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf -i ../../../trunk/examples/svcomp/array-memsafety/selectionsort_unsafe_false-valid-deref.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-666feb3-m [2018-04-10 16:58:00,241 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-04-10 16:58:00,242 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-04-10 16:58:00,255 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-04-10 16:58:00,255 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-04-10 16:58:00,256 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-04-10 16:58:00,256 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-04-10 16:58:00,258 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-04-10 16:58:00,259 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-04-10 16:58:00,260 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-04-10 16:58:00,261 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-04-10 16:58:00,261 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-04-10 16:58:00,262 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-04-10 16:58:00,263 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-04-10 16:58:00,263 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-04-10 16:58:00,265 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-04-10 16:58:00,267 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-04-10 16:58:00,268 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-04-10 16:58:00,269 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-04-10 16:58:00,270 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-04-10 16:58:00,271 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-04-10 16:58:00,272 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-04-10 16:58:00,272 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-04-10 16:58:00,273 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-04-10 16:58:00,273 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-04-10 16:58:00,274 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-04-10 16:58:00,274 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-04-10 16:58:00,275 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-04-10 16:58:00,276 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-04-10 16:58:00,276 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-04-10 16:58:00,276 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-04-10 16:58:00,276 INFO L98 SettingsManager]: Beginning loading settings from /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/cade18-smtinterpol/svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf [2018-04-10 16:58:00,295 INFO L110 SettingsManager]: Loading preferences was successful [2018-04-10 16:58:00,295 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-04-10 16:58:00,296 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-04-10 16:58:00,296 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-04-10 16:58:00,296 INFO L133 SettingsManager]: * Use SBE=true [2018-04-10 16:58:00,296 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-04-10 16:58:00,297 INFO L133 SettingsManager]: * sizeof long=4 [2018-04-10 16:58:00,297 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-04-10 16:58:00,297 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-04-10 16:58:00,297 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-04-10 16:58:00,297 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-04-10 16:58:00,297 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-04-10 16:58:00,297 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-04-10 16:58:00,298 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-04-10 16:58:00,298 INFO L133 SettingsManager]: * sizeof long double=12 [2018-04-10 16:58:00,298 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-04-10 16:58:00,298 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-04-10 16:58:00,298 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-04-10 16:58:00,298 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-04-10 16:58:00,299 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-04-10 16:58:00,299 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-04-10 16:58:00,299 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=Craig_NestedInterpolation [2018-04-10 16:58:00,299 INFO L133 SettingsManager]: * SMT solver=External_Z3InterpolationMode [2018-04-10 16:58:00,299 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-10 16:58:00,326 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-04-10 16:58:00,336 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully (re)initialized [2018-04-10 16:58:00,340 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-04-10 16:58:00,341 INFO L271 PluginConnector]: Initializing CDTParser... [2018-04-10 16:58:00,342 INFO L276 PluginConnector]: CDTParser initialized [2018-04-10 16:58:00,342 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/array-memsafety/selectionsort_unsafe_false-valid-deref.i [2018-04-10 16:58:00,648 INFO L225 CDTParser]: Created temporary CDT project at /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAG9980e383a [2018-04-10 16:58:00,742 INFO L287 CDTParser]: IsIndexed: true [2018-04-10 16:58:00,742 INFO L288 CDTParser]: Found 1 translation units. [2018-04-10 16:58:00,742 INFO L168 CDTParser]: Scanning selectionsort_unsafe_false-valid-deref.i [2018-04-10 16:58:00,743 INFO L210 ultiparseSymbolTable]: Include resolver: [2018-04-10 16:58:00,743 INFO L215 ultiparseSymbolTable]: [2018-04-10 16:58:00,743 INFO L218 ultiparseSymbolTable]: Function table: [2018-04-10 16:58:00,743 INFO L221 ultiparseSymbolTable]: Function definition of null ('main') in selectionsort_unsafe_false-valid-deref.i [2018-04-10 16:58:00,743 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-10 16:58:00,743 INFO L227 ultiparseSymbolTable]: Global variable table: [2018-04-10 16:58:00,743 INFO L233 ultiparseSymbolTable]: [2018-04-10 16:58:00,756 INFO L330 CDTParser]: Deleted temporary CDT project at /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAG9980e383a [2018-04-10 16:58:00,760 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-04-10 16:58:00,761 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-04-10 16:58:00,762 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-04-10 16:58:00,762 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-04-10 16:58:00,768 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-04-10 16:58:00,769 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.04 04:58:00" (1/1) ... [2018-04-10 16:58:00,770 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4abe9a9b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00, skipping insertion in model container [2018-04-10 16:58:00,771 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.04 04:58:00" (1/1) ... [2018-04-10 16:58:00,782 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-10 16:58:00,791 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-10 16:58:00,883 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-10 16:58:00,902 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-10 16:58:00,905 INFO L100 SccComputation]: Graph consists of 0 InCaSumBalls and 9 non ball SCCs. Number of states in SCCs 9. [2018-04-10 16:58:00,912 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00 WrapperNode [2018-04-10 16:58:00,912 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-04-10 16:58:00,913 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-04-10 16:58:00,913 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-04-10 16:58:00,913 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-04-10 16:58:00,920 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00" (1/1) ... [2018-04-10 16:58:00,921 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00" (1/1) ... [2018-04-10 16:58:00,926 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00" (1/1) ... [2018-04-10 16:58:00,926 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00" (1/1) ... [2018-04-10 16:58:00,929 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00" (1/1) ... [2018-04-10 16:58:00,933 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00" (1/1) ... [2018-04-10 16:58:00,934 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00" (1/1) ... [2018-04-10 16:58:00,935 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-04-10 16:58:00,935 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-04-10 16:58:00,935 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-04-10 16:58:00,935 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-04-10 16:58:00,936 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00" (1/1) ... No working directory specified, using /home/ultimate/work/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-10 16:58:00,967 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-04-10 16:58:00,967 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-04-10 16:58:00,967 INFO L136 BoogieDeclarations]: Found implementation of procedure __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSort [2018-04-10 16:58:00,967 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-04-10 16:58:00,967 INFO L128 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-04-10 16:58:00,967 INFO L128 BoogieDeclarations]: Found specification of procedure __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSort [2018-04-10 16:58:00,967 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-04-10 16:58:00,967 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-04-10 16:58:00,967 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-04-10 16:58:00,967 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-04-10 16:58:00,967 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-04-10 16:58:00,967 INFO L128 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2018-04-10 16:58:00,968 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-04-10 16:58:01,171 INFO L259 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-04-10 16:58:01,171 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.04 04:58:01 BoogieIcfgContainer [2018-04-10 16:58:01,172 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-04-10 16:58:01,172 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-04-10 16:58:01,173 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-04-10 16:58:01,176 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-04-10 16:58:01,177 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 10.04 04:58:00" (1/3) ... [2018-04-10 16:58:01,178 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5f0cc74f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.04 04:58:01, skipping insertion in model container [2018-04-10 16:58:01,178 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 04:58:00" (2/3) ... [2018-04-10 16:58:01,178 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5f0cc74f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.04 04:58:01, skipping insertion in model container [2018-04-10 16:58:01,178 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.04 04:58:01" (3/3) ... [2018-04-10 16:58:01,180 INFO L107 eAbstractionObserver]: Analyzing ICFG selectionsort_unsafe_false-valid-deref.i [2018-04-10 16:58:01,189 INFO L131 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:Craig_NestedInterpolation Determinization: PREDICATE_ABSTRACTION [2018-04-10 16:58:01,195 INFO L143 ceAbstractionStarter]: Appying trace abstraction to program that has 13 error locations. [2018-04-10 16:58:01,229 INFO L128 ementStrategyFactory]: Using default assertion order modulation [2018-04-10 16:58:01,229 INFO L369 AbstractCegarLoop]: Interprodecural is true [2018-04-10 16:58:01,229 INFO L370 AbstractCegarLoop]: Hoare is false [2018-04-10 16:58:01,229 INFO L371 AbstractCegarLoop]: Compute interpolants for Craig_NestedInterpolation [2018-04-10 16:58:01,230 INFO L372 AbstractCegarLoop]: Backedges is CANONICAL [2018-04-10 16:58:01,230 INFO L373 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-04-10 16:58:01,230 INFO L374 AbstractCegarLoop]: Difference is false [2018-04-10 16:58:01,230 INFO L375 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-04-10 16:58:01,230 INFO L380 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-04-10 16:58:01,231 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-04-10 16:58:01,246 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states. [2018-04-10 16:58:01,257 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-04-10 16:58:01,257 INFO L347 BasicCegarLoop]: Found error trace [2018-04-10 16:58:01,258 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-10 16:58:01,258 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-10 16:58:01,262 INFO L82 PathProgramCache]: Analyzing trace with hash -1085542032, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/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-10 16:58:01,275 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-10 16:58:01,306 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-10 16:58:01,391 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-10 16:58:01,395 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-10 16:58:01,423 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-04-10 16:58:01,424 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-04-10 16:58:01,424 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-04-10 16:58:01,425 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-10 16:58:01,425 INFO L182 omatonBuilderFactory]: Interpolants [51#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|)), 46#true, 47#false] [2018-04-10 16:58:01,431 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-10 16:58:01,432 INFO L442 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-04-10 16:58:01,444 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-04-10 16:58:01,444 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-04-10 16:58:01,447 INFO L87 Difference]: Start difference. First operand 43 states. Second operand 3 states. [2018-04-10 16:58:01,513 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-10 16:58:01,513 INFO L93 Difference]: Finished difference Result 42 states and 44 transitions. [2018-04-10 16:58:01,513 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-04-10 16:58:01,514 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 12 [2018-04-10 16:58:01,515 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-10 16:58:01,523 INFO L225 Difference]: With dead ends: 42 [2018-04-10 16:58:01,523 INFO L226 Difference]: Without dead ends: 35 [2018-04-10 16:58:01,524 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 3 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-04-10 16:58:01,538 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 35 states. [2018-04-10 16:58:01,548 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 35 to 35. [2018-04-10 16:58:01,549 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 35 states. [2018-04-10 16:58:01,550 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 37 transitions. [2018-04-10 16:58:01,551 INFO L78 Accepts]: Start accepts. Automaton has 35 states and 37 transitions. Word has length 12 [2018-04-10 16:58:01,551 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-10 16:58:01,551 INFO L459 AbstractCegarLoop]: Abstraction has 35 states and 37 transitions. [2018-04-10 16:58:01,551 INFO L460 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-04-10 16:58:01,552 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 37 transitions. [2018-04-10 16:58:01,552 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2018-04-10 16:58:01,552 INFO L347 BasicCegarLoop]: Found error trace [2018-04-10 16:58:01,552 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-10 16:58:01,552 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-10 16:58:01,553 INFO L82 PathProgramCache]: Analyzing trace with hash 707915582, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/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-10 16:58:01,557 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-10 16:58:01,567 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-10 16:58:01,674 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-10 16:58:01,676 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-10 16:58:01,678 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-04-10 16:58:01,678 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-04-10 16:58:01,678 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-04-10 16:58:01,678 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-10 16:58:01,679 INFO L182 omatonBuilderFactory]: Interpolants [129#true, 130#false, 134#(= 0 __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSort_~i~0), 135#(and (<= __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSort_~j~0 1) (< __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSort_~j~0 __U_MULTI_fselectionsort_unsafe_false_valid_deref_i__SelectionSort_~array_size)), 136#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))] [2018-04-10 16:58:01,679 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-10 16:58:01,681 INFO L442 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-04-10 16:58:01,681 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-04-10 16:58:01,681 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-04-10 16:58:01,682 INFO L87 Difference]: Start difference. First operand 35 states and 37 transitions. Second operand 5 states. [2018-04-10 16:58:01,923 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-10 16:58:01,924 INFO L93 Difference]: Finished difference Result 72 states and 77 transitions. [2018-04-10 16:58:01,924 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-04-10 16:58:01,924 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 13 [2018-04-10 16:58:01,925 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-10 16:58:01,926 INFO L225 Difference]: With dead ends: 72 [2018-04-10 16:58:01,926 INFO L226 Difference]: Without dead ends: 72 [2018-04-10 16:58:01,927 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 10 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=17, Invalid=25, Unknown=0, NotChecked=0, Total=42 [2018-04-10 16:58:01,927 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 72 states. [2018-04-10 16:58:01,930 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 72 to 39. [2018-04-10 16:58:01,931 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2018-04-10 16:58:01,931 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 41 transitions. [2018-04-10 16:58:01,932 INFO L78 Accepts]: Start accepts. Automaton has 39 states and 41 transitions. Word has length 13 [2018-04-10 16:58:01,932 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-10 16:58:01,932 INFO L459 AbstractCegarLoop]: Abstraction has 39 states and 41 transitions. [2018-04-10 16:58:01,932 INFO L460 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-04-10 16:58:01,932 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 41 transitions. [2018-04-10 16:58:01,933 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2018-04-10 16:58:01,933 INFO L347 BasicCegarLoop]: Found error trace [2018-04-10 16:58:01,933 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-10 16:58:01,933 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-10 16:58:01,933 INFO L82 PathProgramCache]: Analyzing trace with hash 707915628, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/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-10 16:58:01,936 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-10 16:58:01,944 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-10 16:58:01,950 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-10 16:58:01,987 INFO L421 BasicCegarLoop]: Counterexample might be feasible [2018-04-10 16:58:02,003 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 10.04 04:58:02 BoogieIcfgContainer [2018-04-10 16:58:02,003 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-04-10 16:58:02,004 INFO L168 Benchmark]: Toolchain (without parser) took 1243.27 ms. Allocated memory was 405.3 MB in the beginning and 597.7 MB in the end (delta: 192.4 MB). Free memory was 343.7 MB in the beginning and 494.7 MB in the end (delta: -150.9 MB). Peak memory consumption was 41.5 MB. Max. memory is 5.3 GB. [2018-04-10 16:58:02,005 INFO L168 Benchmark]: CDTParser took 0.17 ms. Allocated memory is still 405.3 MB. Free memory is still 363.3 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-04-10 16:58:02,006 INFO L168 Benchmark]: CACSL2BoogieTranslator took 149.95 ms. Allocated memory is still 405.3 MB. Free memory was 343.7 MB in the beginning and 335.8 MB in the end (delta: 7.9 MB). Peak memory consumption was 7.9 MB. Max. memory is 5.3 GB. [2018-04-10 16:58:02,006 INFO L168 Benchmark]: Boogie Preprocessor took 22.39 ms. Allocated memory is still 405.3 MB. Free memory was 335.8 MB in the beginning and 333.1 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. [2018-04-10 16:58:02,007 INFO L168 Benchmark]: RCFGBuilder took 236.53 ms. Allocated memory was 405.3 MB in the beginning and 597.7 MB in the end (delta: 192.4 MB). Free memory was 333.1 MB in the beginning and 560.5 MB in the end (delta: -227.3 MB). Peak memory consumption was 25.1 MB. Max. memory is 5.3 GB. [2018-04-10 16:58:02,007 INFO L168 Benchmark]: TraceAbstraction took 830.63 ms. Allocated memory is still 597.7 MB. Free memory was 560.5 MB in the beginning and 494.7 MB in the end (delta: 65.8 MB). Peak memory consumption was 65.8 MB. Max. memory is 5.3 GB. [2018-04-10 16:58:02,010 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.17 ms. Allocated memory is still 405.3 MB. Free memory is still 363.3 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 149.95 ms. Allocated memory is still 405.3 MB. Free memory was 343.7 MB in the beginning and 335.8 MB in the end (delta: 7.9 MB). Peak memory consumption was 7.9 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 22.39 ms. Allocated memory is still 405.3 MB. Free memory was 335.8 MB in the beginning and 333.1 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. * RCFGBuilder took 236.53 ms. Allocated memory was 405.3 MB in the beginning and 597.7 MB in the end (delta: 192.4 MB). Free memory was 333.1 MB in the beginning and 560.5 MB in the end (delta: -227.3 MB). Peak memory consumption was 25.1 MB. Max. memory is 5.3 GB. * TraceAbstraction took 830.63 ms. Allocated memory is still 597.7 MB. Free memory was 560.5 MB in the beginning and 494.7 MB in the end (delta: 65.8 MB). Peak memory consumption was 65.8 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(); [L22] CALL SelectionSort(a, array_size) VAL [\old(array_size)=2, a={7:9}] [L4] int i; [L5] i = 0 VAL [\old(array_size)=2, a={7:9}, a={7:9}, 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={7:9}, a={7:9}, array_size=2, i=0, j=1, min=0] [L9] COND TRUE j < array_size VAL [\old(array_size)=2, a={7:9}, a={7:9}, array_size=2, i=0, j=1, min=0] [L11] FCALL a[j] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 43 locations, 13 error locations. UNSAFE Result, 0.7s OverallTime, 3 OverallIterations, 1 TraceHistogramMax, 0.3s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 46 SDtfs, 150 SDslu, 15 SDs, 0 SdLazy, 101 SolverSat, 7 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.2s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 14 GetRequests, 8 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s 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, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 33 StatesRemovedByMinimization, 1 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, 664 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 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 /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/selectionsort_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-Benchmark-0-2018-04-10_16-58-02-017.csv Written .csv to /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/selectionsort_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-04-10_16-58-02-017.csv Received shutdown request...