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/memsafety/test-0158_false-valid-memtrack_true-termination.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-c17473d-m [2018-02-04 20:29:21,635 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-02-04 20:29:21,637 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-02-04 20:29:21,650 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-02-04 20:29:21,650 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-02-04 20:29:21,651 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-02-04 20:29:21,652 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-02-04 20:29:21,653 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-02-04 20:29:21,655 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-02-04 20:29:21,656 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-02-04 20:29:21,656 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-02-04 20:29:21,657 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-02-04 20:29:21,657 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-02-04 20:29:21,658 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-02-04 20:29:21,659 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-02-04 20:29:21,661 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-02-04 20:29:21,662 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-02-04 20:29:21,664 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-02-04 20:29:21,665 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-02-04 20:29:21,665 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-02-04 20:29:21,667 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-02-04 20:29:21,667 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-02-04 20:29:21,667 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-02-04 20:29:21,668 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-02-04 20:29:21,669 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-02-04 20:29:21,670 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-02-04 20:29:21,670 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-02-04 20:29:21,671 INFO L177 SettingsManager]: PEA to Boogie provides no preferences, ignoring... [2018-02-04 20:29:21,671 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-02-04 20:29:21,671 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-02-04 20:29:21,671 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-02-04 20:29:21,671 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-02-04 20:29:21,681 INFO L110 SettingsManager]: Loading preferences was successful [2018-02-04 20:29:21,681 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-02-04 20:29:21,682 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-02-04 20:29:21,683 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-02-04 20:29:21,683 INFO L133 SettingsManager]: * Use SBE=true [2018-02-04 20:29:21,683 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-02-04 20:29:21,683 INFO L133 SettingsManager]: * sizeof long=4 [2018-02-04 20:29:21,683 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-02-04 20:29:21,683 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-02-04 20:29:21,684 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-02-04 20:29:21,684 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-02-04 20:29:21,684 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-02-04 20:29:21,684 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-02-04 20:29:21,684 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-02-04 20:29:21,684 INFO L133 SettingsManager]: * sizeof long double=12 [2018-02-04 20:29:21,684 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-02-04 20:29:21,685 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-02-04 20:29:21,685 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-02-04 20:29:21,685 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-02-04 20:29:21,685 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-02-04 20:29:21,685 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-02-04 20:29:21,685 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=Craig_NestedInterpolation [2018-02-04 20:29:21,686 INFO L133 SettingsManager]: * SMT solver=External_Z3InterpolationMode [2018-02-04 20:29:21,686 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-02-04 20:29:21,716 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-02-04 20:29:21,725 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully initialized [2018-02-04 20:29:21,728 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-02-04 20:29:21,729 INFO L271 PluginConnector]: Initializing CDTParser... [2018-02-04 20:29:21,730 INFO L276 PluginConnector]: CDTParser initialized [2018-02-04 20:29:21,730 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/memsafety/test-0158_false-valid-memtrack_true-termination.i [2018-02-04 20:29:21,867 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-02-04 20:29:21,868 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-02-04 20:29:21,869 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-02-04 20:29:21,869 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-02-04 20:29:21,875 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-02-04 20:29:21,876 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.02 08:29:21" (1/1) ... [2018-02-04 20:29:21,878 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2544cd0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:21, skipping insertion in model container [2018-02-04 20:29:21,878 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.02 08:29:21" (1/1) ... [2018-02-04 20:29:21,888 INFO L153 Dispatcher]: Using SV-COMP mode [2018-02-04 20:29:21,917 INFO L153 Dispatcher]: Using SV-COMP mode [2018-02-04 20:29:22,003 INFO L450 PostProcessor]: Settings: Checked method=main [2018-02-04 20:29:22,014 INFO L450 PostProcessor]: Settings: Checked method=main [2018-02-04 20:29:22,020 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22 WrapperNode [2018-02-04 20:29:22,020 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-02-04 20:29:22,020 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-02-04 20:29:22,020 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-02-04 20:29:22,020 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-02-04 20:29:22,030 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22" (1/1) ... [2018-02-04 20:29:22,030 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22" (1/1) ... [2018-02-04 20:29:22,036 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22" (1/1) ... [2018-02-04 20:29:22,037 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22" (1/1) ... [2018-02-04 20:29:22,040 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22" (1/1) ... [2018-02-04 20:29:22,041 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22" (1/1) ... [2018-02-04 20:29:22,041 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22" (1/1) ... [2018-02-04 20:29:22,042 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-02-04 20:29:22,043 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-02-04 20:29:22,043 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-02-04 20:29:22,043 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-02-04 20:29:22,043 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22" (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 20:29:22,079 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-02-04 20:29:22,079 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-02-04 20:29:22,079 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-02-04 20:29:22,080 INFO L128 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-02-04 20:29:22,080 INFO L128 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-02-04 20:29:22,080 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-02-04 20:29:22,080 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-02-04 20:29:22,080 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.free [2018-02-04 20:29:22,080 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-02-04 20:29:22,080 INFO L128 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-02-04 20:29:22,081 INFO L128 BoogieDeclarations]: Found specification of procedure malloc [2018-02-04 20:29:22,081 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-02-04 20:29:22,081 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-02-04 20:29:22,081 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-02-04 20:29:22,313 INFO L257 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-02-04 20:29:22,313 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.02 08:29:22 BoogieIcfgContainer [2018-02-04 20:29:22,313 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-02-04 20:29:22,314 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-02-04 20:29:22,314 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-02-04 20:29:22,315 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-02-04 20:29:22,316 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 04.02 08:29:21" (1/3) ... [2018-02-04 20:29:22,316 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1f3e8bb6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.02 08:29:22, skipping insertion in model container [2018-02-04 20:29:22,316 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.02 08:29:22" (2/3) ... [2018-02-04 20:29:22,316 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1f3e8bb6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.02 08:29:22, skipping insertion in model container [2018-02-04 20:29:22,316 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.02 08:29:22" (3/3) ... [2018-02-04 20:29:22,318 INFO L107 eAbstractionObserver]: Analyzing ICFG test-0158_false-valid-memtrack_true-termination.i [2018-02-04 20:29:22,324 INFO L128 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:Craig_NestedInterpolation Determinization: PREDICATE_ABSTRACTION [2018-02-04 20:29:22,338 INFO L140 ceAbstractionStarter]: Appying trace abstraction to program that has 7 error locations. [2018-02-04 20:29:22,370 INFO L322 AbstractCegarLoop]: Interprodecural is true [2018-02-04 20:29:22,370 INFO L323 AbstractCegarLoop]: Hoare is false [2018-02-04 20:29:22,370 INFO L324 AbstractCegarLoop]: Compute interpolants for Craig_NestedInterpolation [2018-02-04 20:29:22,370 INFO L325 AbstractCegarLoop]: Backedges is CANONICAL [2018-02-04 20:29:22,371 INFO L326 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-02-04 20:29:22,371 INFO L327 AbstractCegarLoop]: Difference is false [2018-02-04 20:29:22,371 INFO L328 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-02-04 20:29:22,371 INFO L333 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-02-04 20:29:22,372 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-02-04 20:29:22,380 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states. [2018-02-04 20:29:22,386 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2018-02-04 20:29:22,386 INFO L343 BasicCegarLoop]: Found error trace [2018-02-04 20:29:22,386 INFO L351 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-02-04 20:29:22,387 INFO L371 AbstractCegarLoop]: === Iteration 1 === [mainErr5RequiresViolation, mainErr3RequiresViolation, mainErr1RequiresViolation, mainErr2RequiresViolation, mainErr4RequiresViolation, mainErr6EnsuresViolation, mainErr0RequiresViolation]=== [2018-02-04 20:29:22,390 INFO L82 PathProgramCache]: Analyzing trace with hash 481461009, 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-02-04 20:29:22,405 INFO L67 tionRefinementEngine]: Using refinement strategy FixedTraceAbstractionRefinementStrategy [2018-02-04 20:29:22,430 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-04 20:29:22,436 WARN L195 Executor]: ExternalInterpolator (z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in) stderr output: WARNING: array quantifier [2018-02-04 20:29:22,451 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,452 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,453 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,453 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,516 WARN L1033 $PredicateComparison]: unable to prove that (exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (= (store |c_#valid| %1 1) (store %0 %1 1)) :qid itp)) :qid itp)) is different from true [2018-02-04 20:29:22,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-04 20:29:22,636 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 20:29:22,667 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-02-04 20:29:22,667 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-02-04 20:29:22,668 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-02-04 20:29:22,668 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 20:29:22,669 INFO L182 omatonBuilderFactory]: Interpolants [32#(exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (= (store |#valid| %1 1) (store %0 %1 1)) :qid itp)) :qid itp)), 33#(= 1 (select |#valid| |main_~#data~0.base|)), 34#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|)), 27#true, 28#false] [2018-02-04 20:29:22,669 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 20:29:22,669 INFO L409 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-02-04 20:29:22,677 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-02-04 20:29:22,677 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=8, Unknown=1, NotChecked=4, Total=20 [2018-02-04 20:29:22,679 INFO L87 Difference]: Start difference. First operand 24 states. Second operand 5 states. [2018-02-04 20:29:22,778 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-02-04 20:29:22,779 INFO L93 Difference]: Finished difference Result 21 states and 20 transitions. [2018-02-04 20:29:22,779 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-02-04 20:29:22,780 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 8 [2018-02-04 20:29:22,781 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-02-04 20:29:22,788 INFO L225 Difference]: With dead ends: 21 [2018-02-04 20:29:22,788 INFO L226 Difference]: Without dead ends: 18 [2018-02-04 20:29:22,790 INFO L554 BasicCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=10, Invalid=12, Unknown=2, NotChecked=6, Total=30 [2018-02-04 20:29:22,801 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 18 states. [2018-02-04 20:29:22,808 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 18 to 18. [2018-02-04 20:29:22,809 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 18 states. [2018-02-04 20:29:22,810 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 18 states and 17 transitions. [2018-02-04 20:29:22,811 INFO L78 Accepts]: Start accepts. Automaton has 18 states and 17 transitions. Word has length 8 [2018-02-04 20:29:22,811 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-02-04 20:29:22,811 INFO L432 AbstractCegarLoop]: Abstraction has 18 states and 17 transitions. [2018-02-04 20:29:22,811 INFO L433 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-02-04 20:29:22,811 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 17 transitions. [2018-02-04 20:29:22,811 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2018-02-04 20:29:22,811 INFO L343 BasicCegarLoop]: Found error trace [2018-02-04 20:29:22,811 INFO L351 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-02-04 20:29:22,812 INFO L371 AbstractCegarLoop]: === Iteration 2 === [mainErr5RequiresViolation, mainErr3RequiresViolation, mainErr1RequiresViolation, mainErr2RequiresViolation, mainErr4RequiresViolation, mainErr6EnsuresViolation, mainErr0RequiresViolation]=== [2018-02-04 20:29:22,812 INFO L82 PathProgramCache]: Analyzing trace with hash 481461010, 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-02-04 20:29:22,814 INFO L67 tionRefinementEngine]: Using refinement strategy FixedTraceAbstractionRefinementStrategy [2018-02-04 20:29:22,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-04 20:29:22,826 WARN L195 Executor]: ExternalInterpolator (z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in) stderr output: WARNING: array quantifier WARNING: array quantifier [2018-02-04 20:29:22,831 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,831 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,832 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,832 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,832 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,833 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-04 20:29:22,844 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 9 treesize of output 8 [2018-02-04 20:29:22,846 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-02-04 20:29:22,851 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-02-04 20:29:22,851 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 1 variables, input treesize:19, output treesize:9 [2018-02-04 20:29:22,857 WARN L1033 $PredicateComparison]: unable to prove that (exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (exists ((%2 (Array Int Int))) (! (and (= (store |c_#valid| %1 1) (store %0 %1 1)) (= (store |c_#length| %1 10) (store %2 %1 10))) :qid itp)) :qid itp)) :qid itp)) is different from true [2018-02-04 20:29:22,917 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-04 20:29:22,919 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 20:29:22,947 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-02-04 20:29:22,947 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-02-04 20:29:22,947 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-02-04 20:29:22,948 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 20:29:22,948 INFO L182 omatonBuilderFactory]: Interpolants [81#(exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (exists ((%2 (Array Int Int))) (! (and (= (store |#valid| %1 1) (store %0 %1 1)) (= (store |#length| %1 10) (store %2 %1 10))) :qid itp)) :qid itp)) :qid itp)), 82#(and (= 1 (select |#valid| |main_~#data~0.base|)) (= 0 |main_~#data~0.offset|) (= 10 (select |#length| |main_~#data~0.base|))), 83#(and (<= 0 |main_~#data~0.offset|) (<= (+ |main_~#data~0.offset| 4) (select |#length| |main_~#data~0.base|)) (= 10 (select |#length| |main_~#data~0.base|))), 84#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|)), 76#true, 77#false] [2018-02-04 20:29:22,948 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 20:29:22,949 INFO L409 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-02-04 20:29:22,950 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-02-04 20:29:22,950 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=13, Unknown=1, NotChecked=6, Total=30 [2018-02-04 20:29:22,950 INFO L87 Difference]: Start difference. First operand 18 states and 17 transitions. Second operand 6 states. [2018-02-04 20:29:23,125 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-02-04 20:29:23,126 INFO L93 Difference]: Finished difference Result 15 states and 14 transitions. [2018-02-04 20:29:23,126 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-02-04 20:29:23,126 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 8 [2018-02-04 20:29:23,126 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-02-04 20:29:23,127 INFO L225 Difference]: With dead ends: 15 [2018-02-04 20:29:23,127 INFO L226 Difference]: Without dead ends: 15 [2018-02-04 20:29:23,127 INFO L554 BasicCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=13, Invalid=17, Unknown=4, NotChecked=8, Total=42 [2018-02-04 20:29:23,128 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 15 states. [2018-02-04 20:29:23,129 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 15 to 15. [2018-02-04 20:29:23,129 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 15 states. [2018-02-04 20:29:23,130 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 15 states and 14 transitions. [2018-02-04 20:29:23,130 INFO L78 Accepts]: Start accepts. Automaton has 15 states and 14 transitions. Word has length 8 [2018-02-04 20:29:23,130 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-02-04 20:29:23,130 INFO L432 AbstractCegarLoop]: Abstraction has 15 states and 14 transitions. [2018-02-04 20:29:23,130 INFO L433 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-02-04 20:29:23,130 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 14 transitions. [2018-02-04 20:29:23,131 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-02-04 20:29:23,131 INFO L343 BasicCegarLoop]: Found error trace [2018-02-04 20:29:23,131 INFO L351 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-02-04 20:29:23,131 INFO L371 AbstractCegarLoop]: === Iteration 3 === [mainErr5RequiresViolation, mainErr3RequiresViolation, mainErr1RequiresViolation, mainErr2RequiresViolation, mainErr4RequiresViolation, mainErr6EnsuresViolation, mainErr0RequiresViolation]=== [2018-02-04 20:29:23,131 INFO L82 PathProgramCache]: Analyzing trace with hash 2142709462, 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-02-04 20:29:23,136 INFO L67 tionRefinementEngine]: Using refinement strategy FixedTraceAbstractionRefinementStrategy [2018-02-04 20:29:23,151 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-02-04 20:29:23,160 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-02-04 20:29:23,235 INFO L410 BasicCegarLoop]: Counterexample might be feasible [2018-02-04 20:29:23,241 WARN L343 cessorBacktranslator]: Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) [2018-02-04 20:29:23,249 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 04.02 08:29:23 BoogieIcfgContainer [2018-02-04 20:29:23,249 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-02-04 20:29:23,250 INFO L168 Benchmark]: Toolchain (without parser) took 1382.44 ms. Allocated memory was 399.0 MB in the beginning and 591.9 MB in the end (delta: 192.9 MB). Free memory was 357.0 MB in the beginning and 561.0 MB in the end (delta: -204.0 MB). Peak memory consumption was 109.9 MB. Max. memory is 5.3 GB. [2018-02-04 20:29:23,250 INFO L168 Benchmark]: CDTParser took 0.15 ms. Allocated memory is still 399.0 MB. Free memory is still 362.3 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-02-04 20:29:23,251 INFO L168 Benchmark]: CACSL2BoogieTranslator took 151.15 ms. Allocated memory is still 399.0 MB. Free memory was 355.7 MB in the beginning and 346.3 MB in the end (delta: 9.3 MB). Peak memory consumption was 9.3 MB. Max. memory is 5.3 GB. [2018-02-04 20:29:23,251 INFO L168 Benchmark]: Boogie Preprocessor took 22.16 ms. Allocated memory is still 399.0 MB. Free memory was 346.3 MB in the beginning and 343.7 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. [2018-02-04 20:29:23,251 INFO L168 Benchmark]: RCFGBuilder took 270.62 ms. Allocated memory is still 399.0 MB. Free memory was 343.7 MB in the beginning and 328.9 MB in the end (delta: 14.8 MB). Peak memory consumption was 14.8 MB. Max. memory is 5.3 GB. [2018-02-04 20:29:23,252 INFO L168 Benchmark]: TraceAbstraction took 935.55 ms. Allocated memory was 399.0 MB in the beginning and 591.9 MB in the end (delta: 192.9 MB). Free memory was 328.9 MB in the beginning and 561.0 MB in the end (delta: -232.1 MB). Peak memory consumption was 81.8 MB. Max. memory is 5.3 GB. [2018-02-04 20:29:23,253 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.15 ms. Allocated memory is still 399.0 MB. Free memory is still 362.3 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 151.15 ms. Allocated memory is still 399.0 MB. Free memory was 355.7 MB in the beginning and 346.3 MB in the end (delta: 9.3 MB). Peak memory consumption was 9.3 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 22.16 ms. Allocated memory is still 399.0 MB. Free memory was 346.3 MB in the beginning and 343.7 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. * RCFGBuilder took 270.62 ms. Allocated memory is still 399.0 MB. Free memory was 343.7 MB in the beginning and 328.9 MB in the end (delta: 14.8 MB). Peak memory consumption was 14.8 MB. Max. memory is 5.3 GB. * TraceAbstraction took 935.55 ms. Allocated memory was 399.0 MB in the beginning and 591.9 MB in the end (delta: 192.9 MB). Free memory was 328.9 MB in the beginning and 561.0 MB in the end (delta: -232.1 MB). Peak memory consumption was 81.8 MB. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - GenericResult: Unfinished Backtranslation Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 619]: not all allocated memory was freed not all allocated memory was freed We found a FailurePath: [L621-L628] FCALL union { void *p0; struct { char c[2]; void *p1; void *p2; } str; } data; VAL [data={25:0}] [L629] EXPR, FCALL malloc(37U) VAL [data={25:0}, malloc(37U)={18:0}] [L629] FCALL data.p0 = malloc(37U) VAL [data={25:0}, malloc(37U)={18:0}] [L630] FCALL data.str.p2 = &data VAL [data={25:0}, malloc(37U)={18:0}] [L631] FCALL data.str.c[1] = sizeof data.str.p1 VAL [data={25:0}, malloc(37U)={18:0}] [L632] return 0; VAL [\result=0, data={25:0}, malloc(37U)={18:0}] [L632] return 0; VAL [\result=0, malloc(37U)={18:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 24 locations, 7 error locations. UNSAFE Result, 0.8s OverallTime, 3 OverallIterations, 1 TraceHistogramMax, 0.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 17 SDtfs, 11 SDslu, 19 SDs, 0 SdLazy, 49 SolverSat, 9 SolverUnsat, 2 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 14 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 2 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=24occurred 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.0s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 30 NumberOfCodeBlocks, 30 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 14 ConstructedInterpolants, 2 QuantifiedInterpolants, 728 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/test-0158_false-valid-memtrack_true-termination.i_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-Benchmark-0-2018-02-04_20-29-23-259.csv Written .csv to /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/test-0158_false-valid-memtrack_true-termination.i_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-02-04_20-29-23-259.csv Received shutdown request...