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_SmtInterpol_NoArray.epf -i ../../../trunk/examples/svcomp/array-memsafety/knapsack_alloca_unsafe_false-valid-deref.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-c17473d-m [2018-02-04 17:16:43,941 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-02-04 17:16:43,942 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-02-04 17:16:43,955 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-02-04 17:16:43,955 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-02-04 17:16:43,956 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-02-04 17:16:43,957 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-02-04 17:16:43,959 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-02-04 17:16:43,960 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-02-04 17:16:43,961 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-02-04 17:16:43,962 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-02-04 17:16:43,962 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-02-04 17:16:43,963 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-02-04 17:16:43,964 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-02-04 17:16:43,965 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-02-04 17:16:43,967 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-02-04 17:16:43,968 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-02-04 17:16:43,970 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-02-04 17:16:43,971 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-02-04 17:16:43,972 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-02-04 17:16:43,973 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-02-04 17:16:43,973 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-02-04 17:16:43,974 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-02-04 17:16:43,975 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-02-04 17:16:43,975 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-02-04 17:16:43,976 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-02-04 17:16:43,976 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-02-04 17:16:43,976 INFO L177 SettingsManager]: PEA to Boogie provides no preferences, ignoring... [2018-02-04 17:16:43,977 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-02-04 17:16:43,977 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-02-04 17:16:43,977 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-02-04 17:16:43,977 INFO L98 SettingsManager]: Beginning loading settings from /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/cade18-smtinterpol/svcomp-DerefFreeMemtrack-32bit-Automizer_SmtInterpol_NoArray.epf [2018-02-04 17:16:43,984 INFO L110 SettingsManager]: Loading preferences was successful [2018-02-04 17:16:43,984 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-02-04 17:16:43,985 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-02-04 17:16:43,985 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-02-04 17:16:43,985 INFO L133 SettingsManager]: * Use SBE=true [2018-02-04 17:16:43,985 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-02-04 17:16:43,985 INFO L133 SettingsManager]: * sizeof long=4 [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * sizeof long double=12 [2018-02-04 17:16:43,986 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-02-04 17:16:43,986 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-02-04 17:16:43,987 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-02-04 17:16:43,987 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-02-04 17:16:43,987 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-02-04 17:16:43,987 INFO L133 SettingsManager]: * Interpolant automaton=TWOTRACK [2018-02-04 17:16:43,987 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-02-04 17:16:43,987 INFO L133 SettingsManager]: * Trace refinement strategy=SMTINTERPOL [2018-02-04 17:16:44,006 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-02-04 17:16:44,016 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully initialized [2018-02-04 17:16:44,019 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-02-04 17:16:44,020 INFO L271 PluginConnector]: Initializing CDTParser... [2018-02-04 17:16:44,020 INFO L276 PluginConnector]: CDTParser initialized [2018-02-04 17:16:44,021 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/array-memsafety/knapsack_alloca_unsafe_false-valid-deref.i [2018-02-04 17:16:44,151 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-02-04 17:16:44,153 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-02-04 17:16:44,153 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-02-04 17:16:44,153 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-02-04 17:16:44,157 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-02-04 17:16:44,158 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.02 05:16:44" (1/1) ... [2018-02-04 17:16:44,160 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4a53858a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44, skipping insertion in model container [2018-02-04 17:16:44,160 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.02 05:16:44" (1/1) ... [2018-02-04 17:16:44,169 INFO L153 Dispatcher]: Using SV-COMP mode [2018-02-04 17:16:44,195 INFO L153 Dispatcher]: Using SV-COMP mode [2018-02-04 17:16:44,275 INFO L450 PostProcessor]: Settings: Checked method=main [2018-02-04 17:16:44,287 INFO L450 PostProcessor]: Settings: Checked method=main [2018-02-04 17:16:44,292 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44 WrapperNode [2018-02-04 17:16:44,292 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-02-04 17:16:44,292 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-02-04 17:16:44,292 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-02-04 17:16:44,293 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-02-04 17:16:44,300 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44" (1/1) ... [2018-02-04 17:16:44,301 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44" (1/1) ... [2018-02-04 17:16:44,307 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44" (1/1) ... [2018-02-04 17:16:44,307 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44" (1/1) ... [2018-02-04 17:16:44,309 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44" (1/1) ... [2018-02-04 17:16:44,311 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44" (1/1) ... [2018-02-04 17:16:44,312 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44" (1/1) ... [2018-02-04 17:16:44,313 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-02-04 17:16:44,313 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-02-04 17:16:44,313 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-02-04 17:16:44,313 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-02-04 17:16:44,314 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44" (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-02-04 17:16:44,347 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-02-04 17:16:44,347 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-02-04 17:16:44,348 INFO L136 BoogieDeclarations]: Found implementation of procedure knapsack [2018-02-04 17:16:44,348 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.free [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure knapsack [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-02-04 17:16:44,348 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-02-04 17:16:44,569 INFO L257 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-02-04 17:16:44,571 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.02 05:16:44 BoogieIcfgContainer [2018-02-04 17:16:44,571 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-02-04 17:16:44,571 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-02-04 17:16:44,571 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-02-04 17:16:44,573 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-02-04 17:16:44,573 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 04.02 05:16:44" (1/3) ... [2018-02-04 17:16:44,574 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@283c736 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.02 05:16:44, skipping insertion in model container [2018-02-04 17:16:44,574 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 05:16:44" (2/3) ... [2018-02-04 17:16:44,574 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@283c736 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.02 05:16:44, skipping insertion in model container [2018-02-04 17:16:44,574 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.02 05:16:44" (3/3) ... [2018-02-04 17:16:44,575 INFO L107 eAbstractionObserver]: Analyzing ICFG knapsack_alloca_unsafe_false-valid-deref.i [2018-02-04 17:16:44,580 INFO L128 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-02-04 17:16:44,585 INFO L140 ceAbstractionStarter]: Appying trace abstraction to program that has 21 error locations. [2018-02-04 17:16:44,617 INFO L322 AbstractCegarLoop]: Interprodecural is true [2018-02-04 17:16:44,617 INFO L323 AbstractCegarLoop]: Hoare is false [2018-02-04 17:16:44,617 INFO L324 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-02-04 17:16:44,617 INFO L325 AbstractCegarLoop]: Backedges is TWOTRACK [2018-02-04 17:16:44,617 INFO L326 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-02-04 17:16:44,617 INFO L327 AbstractCegarLoop]: Difference is false [2018-02-04 17:16:44,618 INFO L328 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-02-04 17:16:44,618 INFO L333 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-02-04 17:16:44,618 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-02-04 17:16:44,628 INFO L276 IsEmpty]: Start isEmpty. Operand 73 states. [2018-02-04 17:16:44,636 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2018-02-04 17:16:44,636 INFO L343 BasicCegarLoop]: Found error trace [2018-02-04 17:16:44,637 INFO L351 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] [2018-02-04 17:16:44,637 INFO L371 AbstractCegarLoop]: === Iteration 1 === [knapsackErr15RequiresViolation, knapsackErr10RequiresViolation, knapsackErr8RequiresViolation, knapsackErr11RequiresViolation, knapsackErr3RequiresViolation, knapsackErr18RequiresViolation, knapsackErr4RequiresViolation, knapsackErr6RequiresViolation, knapsackErr13RequiresViolation, knapsackErr17RequiresViolation, knapsackErr1RequiresViolation, knapsackErr9RequiresViolation, knapsackErr0RequiresViolation, knapsackErr16RequiresViolation, knapsackErr2RequiresViolation, knapsackErr14RequiresViolation, knapsackErr12RequiresViolation, knapsackErr7RequiresViolation, knapsackErr5RequiresViolation, knapsackErr19RequiresViolation, mainErr0EnsuresViolation]=== [2018-02-04 17:16:44,642 INFO L82 PathProgramCache]: Analyzing trace with hash 1838284533, now seen corresponding path program 1 times [2018-02-04 17:16:44,643 INFO L213 onRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS_NO_ARRAY [2018-02-04 17:16:44,644 INFO L67 tionRefinementEngine]: Using refinement strategy SmtInterpolRefinementStrategy [2018-02-04 17:16:44,679 INFO L125 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-02-04 17:16:44,680 INFO L109 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-02-04 17:16:44,680 INFO L125 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-02-04 17:16:44,733 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-04 17:16:44,739 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-02-04 17:16:44,756 INFO L430 seRefinementStrategy]: Interpolation failed due to KNOWN_IGNORE: Unknown lemma type! [2018-02-04 17:16:44,756 INFO L308 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-02-04 17:16:44,756 INFO L213 onRefinementStrategy]: Switched to mode SMTINTERPOL_FP [2018-02-04 17:16:44,758 INFO L109 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-02-04 17:16:44,815 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-04 17:16:44,826 INFO L270 TraceCheckSpWp]: Computing forward predicates... [2018-02-04 17:16:44,910 INFO L477 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2018-02-04 17:16:44,912 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-02-04 17:16:44,917 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-02-04 17:16:44,917 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 1 variables, input treesize:6, output treesize:5 [2018-02-04 17:16:44,936 INFO L700 Elim1Store]: detected not equals via solver [2018-02-04 17:16:44,937 INFO L700 Elim1Store]: detected not equals via solver [2018-02-04 17:16:44,940 INFO L477 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 2 select indices, 2 select index equivalence classes, 2 disjoint index pairs (out of 1 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 21 [2018-02-04 17:16:44,941 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-02-04 17:16:44,960 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-1 vars, End of recursive call: 1 dim-0 vars, and 1 xjuncts. [2018-02-04 17:16:44,960 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 2 variables, input treesize:17, output treesize:15 [2018-02-04 17:16:44,990 INFO L477 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 2 select indices, 2 select index equivalence classes, 1 disjoint index pairs (out of 1 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 20 [2018-02-04 17:16:44,991 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-02-04 17:16:45,002 INFO L267 ElimStorePlain]: Start of recursive call 1: 2 dim-0 vars, 1 dim-1 vars, End of recursive call: 2 dim-0 vars, and 1 xjuncts. [2018-02-04 17:16:45,003 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 3 variables, input treesize:21, output treesize:20 [2018-02-04 17:16:45,026 INFO L477 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 2 select indices, 2 select index equivalence classes, 1 disjoint index pairs (out of 1 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 20 [2018-02-04 17:16:45,027 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-02-04 17:16:45,035 INFO L267 ElimStorePlain]: Start of recursive call 1: 2 dim-0 vars, 1 dim-1 vars, End of recursive call: 2 dim-0 vars, and 1 xjuncts. [2018-02-04 17:16:45,035 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 3 variables, input treesize:21, output treesize:20 [2018-02-04 17:16:45,104 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-02-04 17:16:45,105 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-02-04 17:16:45,106 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2018-02-04 17:16:45,107 INFO L409 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-02-04 17:16:45,116 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-02-04 17:16:45,116 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=12, Invalid=30, Unknown=0, NotChecked=0, Total=42 [2018-02-04 17:16:45,118 INFO L87 Difference]: Start difference. First operand 73 states. Second operand 7 states. [2018-02-04 17:16:45,318 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-02-04 17:16:45,319 INFO L93 Difference]: Finished difference Result 70 states and 75 transitions. [2018-02-04 17:16:45,319 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2018-02-04 17:16:45,320 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 23 [2018-02-04 17:16:45,320 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-02-04 17:16:45,325 INFO L225 Difference]: With dead ends: 70 [2018-02-04 17:16:45,326 INFO L226 Difference]: Without dead ends: 67 [2018-02-04 17:16:45,327 INFO L554 BasicCegarLoop]: 0 DeclaredPredicates, 25 GetRequests, 15 SyntacticMatches, 2 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 5 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=26, Invalid=64, Unknown=0, NotChecked=0, Total=90 [2018-02-04 17:16:45,341 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 67 states. [2018-02-04 17:16:45,353 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 67 to 67. [2018-02-04 17:16:45,354 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 67 states. [2018-02-04 17:16:45,355 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 67 states to 67 states and 72 transitions. [2018-02-04 17:16:45,355 INFO L78 Accepts]: Start accepts. Automaton has 67 states and 72 transitions. Word has length 23 [2018-02-04 17:16:45,356 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-02-04 17:16:45,356 INFO L432 AbstractCegarLoop]: Abstraction has 67 states and 72 transitions. [2018-02-04 17:16:45,356 INFO L433 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-02-04 17:16:45,356 INFO L276 IsEmpty]: Start isEmpty. Operand 67 states and 72 transitions. [2018-02-04 17:16:45,356 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2018-02-04 17:16:45,356 INFO L343 BasicCegarLoop]: Found error trace [2018-02-04 17:16:45,357 INFO L351 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] [2018-02-04 17:16:45,357 INFO L371 AbstractCegarLoop]: === Iteration 2 === [knapsackErr15RequiresViolation, knapsackErr10RequiresViolation, knapsackErr8RequiresViolation, knapsackErr11RequiresViolation, knapsackErr3RequiresViolation, knapsackErr18RequiresViolation, knapsackErr4RequiresViolation, knapsackErr6RequiresViolation, knapsackErr13RequiresViolation, knapsackErr17RequiresViolation, knapsackErr1RequiresViolation, knapsackErr9RequiresViolation, knapsackErr0RequiresViolation, knapsackErr16RequiresViolation, knapsackErr2RequiresViolation, knapsackErr14RequiresViolation, knapsackErr12RequiresViolation, knapsackErr7RequiresViolation, knapsackErr5RequiresViolation, knapsackErr19RequiresViolation, mainErr0EnsuresViolation]=== [2018-02-04 17:16:45,357 INFO L82 PathProgramCache]: Analyzing trace with hash 1838284534, now seen corresponding path program 1 times [2018-02-04 17:16:45,357 INFO L213 onRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS_NO_ARRAY [2018-02-04 17:16:45,357 INFO L67 tionRefinementEngine]: Using refinement strategy SmtInterpolRefinementStrategy [2018-02-04 17:16:45,358 INFO L125 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-02-04 17:16:45,358 INFO L109 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-02-04 17:16:45,358 INFO L125 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-02-04 17:16:45,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-02-04 17:16:45,403 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-02-04 17:16:45,420 INFO L410 BasicCegarLoop]: Counterexample might be feasible [2018-02-04 17:16:45,446 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 04.02 05:16:45 BoogieIcfgContainer [2018-02-04 17:16:45,446 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-02-04 17:16:45,447 INFO L168 Benchmark]: Toolchain (without parser) took 1294.81 ms. Allocated memory was 408.9 MB in the beginning and 620.2 MB in the end (delta: 211.3 MB). Free memory was 365.8 MB in the beginning and 534.9 MB in the end (delta: -169.1 MB). Peak memory consumption was 42.2 MB. Max. memory is 5.3 GB. [2018-02-04 17:16:45,448 INFO L168 Benchmark]: CDTParser took 0.13 ms. Allocated memory is still 408.9 MB. Free memory is still 371.1 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-02-04 17:16:45,448 INFO L168 Benchmark]: CACSL2BoogieTranslator took 138.90 ms. Allocated memory is still 408.9 MB. Free memory was 365.8 MB in the beginning and 355.2 MB in the end (delta: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 5.3 GB. [2018-02-04 17:16:45,448 INFO L168 Benchmark]: Boogie Preprocessor took 20.53 ms. Allocated memory is still 408.9 MB. Free memory was 355.2 MB in the beginning and 352.6 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. [2018-02-04 17:16:45,448 INFO L168 Benchmark]: RCFGBuilder took 257.72 ms. Allocated memory is still 408.9 MB. Free memory was 352.6 MB in the beginning and 328.0 MB in the end (delta: 24.6 MB). Peak memory consumption was 24.6 MB. Max. memory is 5.3 GB. [2018-02-04 17:16:45,449 INFO L168 Benchmark]: TraceAbstraction took 874.80 ms. Allocated memory was 408.9 MB in the beginning and 620.2 MB in the end (delta: 211.3 MB). Free memory was 328.0 MB in the beginning and 534.9 MB in the end (delta: -207.0 MB). Peak memory consumption was 4.3 MB. Max. memory is 5.3 GB. [2018-02-04 17:16:45,451 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 408.9 MB. Free memory is still 371.1 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 138.90 ms. Allocated memory is still 408.9 MB. Free memory was 365.8 MB in the beginning and 355.2 MB in the end (delta: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 20.53 ms. Allocated memory is still 408.9 MB. Free memory was 355.2 MB in the beginning and 352.6 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. * RCFGBuilder took 257.72 ms. Allocated memory is still 408.9 MB. Free memory was 352.6 MB in the beginning and 328.0 MB in the end (delta: 24.6 MB). Peak memory consumption was 24.6 MB. Max. memory is 5.3 GB. * TraceAbstraction took 874.80 ms. Allocated memory was 408.9 MB in the beginning and 620.2 MB in the end (delta: 211.3 MB). Free memory was 328.0 MB in the beginning and 534.9 MB in the end (delta: -207.0 MB). Peak memory consumption was 4.3 MB. 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: [L555] int N = __VERIFIER_nondet_int(); [L556] int M = __VERIFIER_nondet_int(); [L557] COND FALSE !(N < 1) VAL [M=0, N=1] [L560] COND TRUE M < 1 [L561] M = 1 VAL [M=1, N=1] [L563] EXPR, FCALL __builtin_alloca (N * sizeof(int)) VAL [__builtin_alloca (N * sizeof(int))={5:0}, M=1, N=1] [L563] int *size = (int*) __builtin_alloca (N * sizeof(int)); VAL [__builtin_alloca (N * sizeof(int))={5:0}, M=1, N=1, size={5:0}] [L564] EXPR, FCALL __builtin_alloca (N * sizeof(int)) VAL [__builtin_alloca (N * sizeof(int))={5:0}, __builtin_alloca (N * sizeof(int))={8:0}, M=1, N=1, size={5:0}] [L564] int *val = (int*) __builtin_alloca (N * sizeof(int)); VAL [__builtin_alloca (N * sizeof(int))={8:0}, __builtin_alloca (N * sizeof(int))={5:0}, M=1, N=1, size={5:0}, val={8:0}] [L565] EXPR, FCALL __builtin_alloca (M * sizeof(int)) VAL [__builtin_alloca (M * sizeof(int))={7:0}, __builtin_alloca (N * sizeof(int))={5:0}, __builtin_alloca (N * sizeof(int))={8:0}, M=1, N=1, size={5:0}, val={8:0}] [L565] int *cost = (int*) __builtin_alloca (M * sizeof(int)); VAL [__builtin_alloca (M * sizeof(int))={7:0}, __builtin_alloca (N * sizeof(int))={5:0}, __builtin_alloca (N * sizeof(int))={8:0}, cost={7:0}, M=1, N=1, size={5:0}, val={8:0}] [L566] EXPR, FCALL __builtin_alloca (M * sizeof(int)) VAL [__builtin_alloca (M * sizeof(int))={7:0}, __builtin_alloca (M * sizeof(int))={9:0}, __builtin_alloca (N * sizeof(int))={8:0}, __builtin_alloca (N * sizeof(int))={5:0}, cost={7:0}, M=1, N=1, size={5:0}, val={8:0}] [L566] int *best = (int*) __builtin_alloca (M * sizeof(int)); VAL [__builtin_alloca (M * sizeof(int))={7:0}, __builtin_alloca (M * sizeof(int))={9:0}, __builtin_alloca (N * sizeof(int))={8:0}, __builtin_alloca (N * sizeof(int))={5:0}, best={9:0}, cost={7:0}, M=1, N=1, size={5:0}, val={8:0}] [L567] CALL knapsack(size, val, N, cost, best, M) VAL [\old(M)=1, \old(N)=1, best={9:0}, cost={7:0}, size={5:0}, val={8:0}] [L542] int i, j; [L543] j = 1 VAL [\old(M)=1, \old(N)=1, best={9:0}, best={9:0}, cost={7:0}, cost={7:0}, j=1, M=1, N=1, size={5:0}, size={5:0}, val={8:0}, val={8:0}] [L543] COND TRUE j <= N [L544] i = 1 VAL [\old(M)=1, \old(N)=1, best={9:0}, best={9:0}, cost={7:0}, cost={7:0}, i=1, j=1, M=1, N=1, size={5:0}, size={5:0}, val={8:0}, val={8:0}] [L544] COND TRUE i <= M VAL [\old(M)=1, \old(N)=1, best={9:0}, best={9:0}, cost={7:0}, cost={7:0}, i=1, j=1, M=1, N=1, size={5:0}, size={5:0}, val={8:0}, val={8:0}] [L545] FCALL size[j] VAL [\old(M)=1, \old(N)=1, best={9:0}, best={9:0}, cost={7:0}, cost={7:0}, i=1, j=1, M=1, N=1, size={5:0}, size={5:0}, val={8:0}, val={8:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 73 locations, 21 error locations. UNSAFE Result, 0.8s OverallTime, 2 OverallIterations, 1 TraceHistogramMax, 0.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 48 SDtfs, 88 SDslu, 145 SDs, 0 SdLazy, 145 SolverSat, 10 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 25 GetRequests, 15 SyntacticMatches, 2 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 5 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=73occurred 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, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 69 NumberOfCodeBlocks, 69 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 22 ConstructedInterpolants, 12 QuantifiedInterpolants, 4884 SizeOfPredicates, 5 NumberOfNonLiveVariables, 134 ConjunctsInSsa, 13 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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/knapsack_alloca_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_SmtInterpol_NoArray.epf_AutomizerC.xml/Csv-Benchmark-0-2018-02-04_17-16-45-457.csv Written .csv to /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/knapsack_alloca_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_SmtInterpol_NoArray.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-02-04_17-16-45-457.csv Received shutdown request...