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/cav18-smtinterpol/svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf -i ../../../trunk/examples/svcomp/array-memsafety/add_last_unsafe_false-valid-deref.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-26d9e06-m [2018-02-02 10:51:14,303 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-02-02 10:51:14,304 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-02-02 10:51:14,317 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-02-02 10:51:14,317 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-02-02 10:51:14,318 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-02-02 10:51:14,319 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-02-02 10:51:14,320 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-02-02 10:51:14,322 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-02-02 10:51:14,323 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-02-02 10:51:14,323 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-02-02 10:51:14,324 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-02-02 10:51:14,325 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-02-02 10:51:14,326 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-02-02 10:51:14,326 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-02-02 10:51:14,328 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-02-02 10:51:14,330 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-02-02 10:51:14,331 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-02-02 10:51:14,332 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-02-02 10:51:14,333 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-02-02 10:51:14,335 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-02-02 10:51:14,335 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-02-02 10:51:14,335 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-02-02 10:51:14,336 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-02-02 10:51:14,337 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-02-02 10:51:14,338 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-02-02 10:51:14,338 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-02-02 10:51:14,338 INFO L177 SettingsManager]: PEA to Boogie provides no preferences, ignoring... [2018-02-02 10:51:14,338 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-02-02 10:51:14,339 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-02-02 10:51:14,339 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-02-02 10:51:14,339 INFO L98 SettingsManager]: Beginning loading settings from /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/cav18-smtinterpol/svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf [2018-02-02 10:51:14,356 INFO L110 SettingsManager]: Loading preferences was successful [2018-02-02 10:51:14,357 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-02-02 10:51:14,358 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-02-02 10:51:14,358 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-02-02 10:51:14,358 INFO L133 SettingsManager]: * Use SBE=true [2018-02-02 10:51:14,358 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-02-02 10:51:14,358 INFO L133 SettingsManager]: * sizeof long=4 [2018-02-02 10:51:14,358 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-02-02 10:51:14,358 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-02-02 10:51:14,359 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-02-02 10:51:14,359 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-02-02 10:51:14,359 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-02-02 10:51:14,359 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-02-02 10:51:14,359 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-02-02 10:51:14,359 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-02-02 10:51:14,359 INFO L133 SettingsManager]: * sizeof long double=12 [2018-02-02 10:51:14,359 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-02-02 10:51:14,359 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-02-02 10:51:14,359 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-02-02 10:51:14,360 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-02-02 10:51:14,360 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-02-02 10:51:14,360 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-02-02 10:51:14,360 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=Craig_NestedInterpolation [2018-02-02 10:51:14,360 INFO L133 SettingsManager]: * SMT solver=External_Z3InterpolationMode [2018-02-02 10:51:14,360 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-02-02 10:51:14,387 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-02-02 10:51:14,395 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully initialized [2018-02-02 10:51:14,397 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-02-02 10:51:14,398 INFO L271 PluginConnector]: Initializing CDTParser... [2018-02-02 10:51:14,398 INFO L276 PluginConnector]: CDTParser initialized [2018-02-02 10:51:14,399 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/array-memsafety/add_last_unsafe_false-valid-deref.i [2018-02-02 10:51:14,513 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-02-02 10:51:14,515 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-02-02 10:51:14,516 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-02-02 10:51:14,516 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-02-02 10:51:14,522 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-02-02 10:51:14,523 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 10:51:14" (1/1) ... [2018-02-02 10:51:14,526 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2ab297d9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14, skipping insertion in model container [2018-02-02 10:51:14,526 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 10:51:14" (1/1) ... [2018-02-02 10:51:14,542 INFO L153 Dispatcher]: Using SV-COMP mode [2018-02-02 10:51:14,570 INFO L153 Dispatcher]: Using SV-COMP mode [2018-02-02 10:51:14,659 INFO L450 PostProcessor]: Settings: Checked method=main [2018-02-02 10:51:14,673 INFO L450 PostProcessor]: Settings: Checked method=main [2018-02-02 10:51:14,679 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14 WrapperNode [2018-02-02 10:51:14,679 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-02-02 10:51:14,680 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-02-02 10:51:14,680 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-02-02 10:51:14,680 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-02-02 10:51:14,693 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14" (1/1) ... [2018-02-02 10:51:14,693 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14" (1/1) ... [2018-02-02 10:51:14,699 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14" (1/1) ... [2018-02-02 10:51:14,699 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14" (1/1) ... [2018-02-02 10:51:14,702 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14" (1/1) ... [2018-02-02 10:51:14,704 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14" (1/1) ... [2018-02-02 10:51:14,705 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14" (1/1) ... [2018-02-02 10:51:14,706 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-02-02 10:51:14,706 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-02-02 10:51:14,706 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-02-02 10:51:14,706 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-02-02 10:51:14,707 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14" (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-02 10:51:14,742 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-02-02 10:51:14,742 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-02-02 10:51:14,742 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-02-02 10:51:14,742 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-02-02 10:51:14,742 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-02-02 10:51:14,742 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.free [2018-02-02 10:51:14,742 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-02-02 10:51:14,743 INFO L128 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-02-02 10:51:14,743 INFO L128 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-02-02 10:51:14,743 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-02-02 10:51:14,743 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-02-02 10:51:14,743 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-02-02 10:51:14,905 INFO L257 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-02-02 10:51:14,905 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.02 10:51:14 BoogieIcfgContainer [2018-02-02 10:51:14,905 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-02-02 10:51:14,906 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-02-02 10:51:14,906 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-02-02 10:51:14,909 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-02-02 10:51:14,909 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 02.02 10:51:14" (1/3) ... [2018-02-02 10:51:14,910 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2566c632 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.02 10:51:14, skipping insertion in model container [2018-02-02 10:51:14,910 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 10:51:14" (2/3) ... [2018-02-02 10:51:14,910 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2566c632 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.02 10:51:14, skipping insertion in model container [2018-02-02 10:51:14,911 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.02 10:51:14" (3/3) ... [2018-02-02 10:51:14,912 INFO L107 eAbstractionObserver]: Analyzing ICFG add_last_unsafe_false-valid-deref.i [2018-02-02 10:51:14,920 INFO L128 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:Craig_NestedInterpolation Determinization: PREDICATE_ABSTRACTION [2018-02-02 10:51:14,925 INFO L140 ceAbstractionStarter]: Appying trace abstraction to program that has 11 error locations. [2018-02-02 10:51:14,962 INFO L322 AbstractCegarLoop]: Interprodecural is true [2018-02-02 10:51:14,962 INFO L323 AbstractCegarLoop]: Hoare is false [2018-02-02 10:51:14,962 INFO L324 AbstractCegarLoop]: Compute interpolants for Craig_NestedInterpolation [2018-02-02 10:51:14,962 INFO L325 AbstractCegarLoop]: Backedges is CANONICAL [2018-02-02 10:51:14,962 INFO L326 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-02-02 10:51:14,962 INFO L327 AbstractCegarLoop]: Difference is false [2018-02-02 10:51:14,963 INFO L328 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-02-02 10:51:14,963 INFO L333 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-02-02 10:51:14,964 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-02-02 10:51:14,974 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states. [2018-02-02 10:51:14,981 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-02-02 10:51:14,981 INFO L343 BasicCegarLoop]: Found error trace [2018-02-02 10:51:14,982 INFO L351 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-02-02 10:51:14,982 INFO L371 AbstractCegarLoop]: === Iteration 1 === [mainErr5RequiresViolation, mainErr3RequiresViolation, mainErr1RequiresViolation, mainErr7RequiresViolation, mainErr9RequiresViolation, mainErr8RequiresViolation, mainErr2RequiresViolation, mainErr4RequiresViolation, mainErr6RequiresViolation, mainErr0RequiresViolation, mainErr10EnsuresViolation]=== [2018-02-02 10:51:14,986 INFO L82 PathProgramCache]: Analyzing trace with hash 756039163, 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-02 10:51:14,994 INFO L67 tionRefinementEngine]: Using refinement strategy FixedTraceAbstractionRefinementStrategy [2018-02-02 10:51:15,010 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-02 10:51:15,015 WARN L195 Executor]: ExternalInterpolator (z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in) stderr output: WARNING: array quantifier [2018-02-02 10:51:15,027 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-02 10:51:15,027 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-02 10:51:15,028 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-02 10:51:15,028 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-02-02 10:51:15,059 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-02 10:51:15,094 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-02 10:51:15,098 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-02 10:51:15,117 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-02-02 10:51:15,118 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2018-02-02 10:51:15,118 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-02-02 10:51:15,118 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-02 10:51:15,119 INFO L182 omatonBuilderFactory]: Interpolants [48#(= 1 (select |#valid| main_~arr~0.base)), 49#(= 1 (select |#valid| main_~a~0.base)), 50#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|)), 41#true, 42#false, 46#(exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (= (store |#valid| %1 1) (store %0 %1 1)) :qid itp)) :qid itp)), 47#(= 1 (select |#valid| |main_#t~malloc1.base|))] [2018-02-02 10:51:15,119 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-02 10:51:15,120 INFO L409 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-02-02 10:51:15,127 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-02-02 10:51:15,127 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=22, Unknown=1, NotChecked=8, Total=42 [2018-02-02 10:51:15,129 INFO L87 Difference]: Start difference. First operand 38 states. Second operand 7 states. [2018-02-02 10:51:15,363 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-02-02 10:51:15,363 INFO L93 Difference]: Finished difference Result 59 states and 63 transitions. [2018-02-02 10:51:15,363 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2018-02-02 10:51:15,364 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 12 [2018-02-02 10:51:15,365 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-02-02 10:51:15,371 INFO L225 Difference]: With dead ends: 59 [2018-02-02 10:51:15,371 INFO L226 Difference]: Without dead ends: 56 [2018-02-02 10:51:15,373 INFO L554 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 5 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=29, Invalid=63, Unknown=2, NotChecked=16, Total=110 [2018-02-02 10:51:15,385 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 56 states. [2018-02-02 10:51:15,394 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 56 to 38. [2018-02-02 10:51:15,453 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 38 states. [2018-02-02 10:51:15,454 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 38 states and 43 transitions. [2018-02-02 10:51:15,456 INFO L78 Accepts]: Start accepts. Automaton has 38 states and 43 transitions. Word has length 12 [2018-02-02 10:51:15,456 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-02-02 10:51:15,457 INFO L432 AbstractCegarLoop]: Abstraction has 38 states and 43 transitions. [2018-02-02 10:51:15,457 INFO L433 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-02-02 10:51:15,457 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 43 transitions. [2018-02-02 10:51:15,457 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-02-02 10:51:15,457 INFO L343 BasicCegarLoop]: Found error trace [2018-02-02 10:51:15,458 INFO L351 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-02-02 10:51:15,458 INFO L371 AbstractCegarLoop]: === Iteration 2 === [mainErr5RequiresViolation, mainErr3RequiresViolation, mainErr1RequiresViolation, mainErr7RequiresViolation, mainErr9RequiresViolation, mainErr8RequiresViolation, mainErr2RequiresViolation, mainErr4RequiresViolation, mainErr6RequiresViolation, mainErr0RequiresViolation, mainErr10EnsuresViolation]=== [2018-02-02 10:51:15,458 INFO L82 PathProgramCache]: Analyzing trace with hash 756039164, 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-02 10:51:15,461 INFO L67 tionRefinementEngine]: Using refinement strategy FixedTraceAbstractionRefinementStrategy [2018-02-02 10:51:15,467 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-02-02 10:51:15,475 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-02-02 10:51:15,503 INFO L410 BasicCegarLoop]: Counterexample might be feasible [2018-02-02 10:51:15,524 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 02.02 10:51:15 BoogieIcfgContainer [2018-02-02 10:51:15,524 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-02-02 10:51:15,525 INFO L168 Benchmark]: Toolchain (without parser) took 1010.52 ms. Allocated memory was 390.1 MB in the beginning and 580.9 MB in the end (delta: 190.8 MB). Free memory was 348.1 MB in the beginning and 547.0 MB in the end (delta: -198.9 MB). There was no memory consumed. Max. memory is 5.3 GB. [2018-02-02 10:51:15,526 INFO L168 Benchmark]: CDTParser took 0.09 ms. Allocated memory is still 390.1 MB. Free memory is still 353.4 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-02-02 10:51:15,526 INFO L168 Benchmark]: CACSL2BoogieTranslator took 163.60 ms. Allocated memory is still 390.1 MB. Free memory was 346.8 MB in the beginning and 337.5 MB in the end (delta: 9.3 MB). Peak memory consumption was 9.3 MB. Max. memory is 5.3 GB. [2018-02-02 10:51:15,527 INFO L168 Benchmark]: Boogie Preprocessor took 26.42 ms. Allocated memory is still 390.1 MB. Free memory was 337.5 MB in the beginning and 334.9 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. [2018-02-02 10:51:15,527 INFO L168 Benchmark]: RCFGBuilder took 199.29 ms. Allocated memory is still 390.1 MB. Free memory was 334.9 MB in the beginning and 318.7 MB in the end (delta: 16.2 MB). Peak memory consumption was 16.2 MB. Max. memory is 5.3 GB. [2018-02-02 10:51:15,528 INFO L168 Benchmark]: TraceAbstraction took 617.82 ms. Allocated memory was 390.1 MB in the beginning and 580.9 MB in the end (delta: 190.8 MB). Free memory was 317.4 MB in the beginning and 547.0 MB in the end (delta: -229.6 MB). There was no memory consumed. Max. memory is 5.3 GB. [2018-02-02 10:51:15,530 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.09 ms. Allocated memory is still 390.1 MB. Free memory is still 353.4 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 163.60 ms. Allocated memory is still 390.1 MB. Free memory was 346.8 MB in the beginning and 337.5 MB in the end (delta: 9.3 MB). Peak memory consumption was 9.3 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 26.42 ms. Allocated memory is still 390.1 MB. Free memory was 337.5 MB in the beginning and 334.9 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. * RCFGBuilder took 199.29 ms. Allocated memory is still 390.1 MB. Free memory was 334.9 MB in the beginning and 318.7 MB in the end (delta: 16.2 MB). Peak memory consumption was 16.2 MB. Max. memory is 5.3 GB. * TraceAbstraction took 617.82 ms. Allocated memory was 390.1 MB in the beginning and 580.9 MB in the end (delta: 190.8 MB). Free memory was 317.4 MB in the beginning and 547.0 MB in the end (delta: -229.6 MB). There was no memory consumed. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 1]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L541] int i, j; [L542] int length = __VERIFIER_nondet_int(); [L543] COND TRUE length < 1 [L543] length = 1 VAL [length=1] [L544] EXPR, FCALL __builtin_alloca (length) VAL [__builtin_alloca (length)={5:0}, length=1] [L544] int *arr = __builtin_alloca (length); VAL [__builtin_alloca (length)={5:0}, arr={5:0}, length=1] [L545] COND FALSE !(!arr) [L546] int *a = arr; VAL [__builtin_alloca (length)={5:0}, a={5:0}, arr={5:0}, length=1] [L547] FCALL \read(*a) VAL [__builtin_alloca (length)={5:0}, a={5:0}, arr={5:0}, length=1] - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 38 locations, 11 error locations. UNSAFE Result, 0.5s OverallTime, 2 OverallIterations, 1 TraceHistogramMax, 0.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 18 SDtfs, 75 SDslu, 34 SDs, 0 SdLazy, 102 SolverSat, 17 SolverUnsat, 1 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 11 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 5 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=38occurred 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, 18 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 24 NumberOfCodeBlocks, 24 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 11 ConstructedInterpolants, 3 QuantifiedInterpolants, 792 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 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/add_last_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-Benchmark-0-2018-02-02_10-51-15-538.csv Written .csv to /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/add_last_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-02-02_10-51-15-538.csv Received shutdown request...