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/ldv-memsafety/ArraysWithLenghtAtDeclaration_true-valid-memsafety_true-termination.c -------------------------------------------------------------------------------- This is Ultimate 0.1.23-26d9e06-m [2018-02-02 11:01:08,711 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-02-02 11:01:08,713 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-02-02 11:01:08,722 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-02-02 11:01:08,722 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-02-02 11:01:08,723 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-02-02 11:01:08,724 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-02-02 11:01:08,726 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-02-02 11:01:08,727 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-02-02 11:01:08,728 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-02-02 11:01:08,728 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-02-02 11:01:08,729 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-02-02 11:01:08,729 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-02-02 11:01:08,730 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-02-02 11:01:08,731 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-02-02 11:01:08,733 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-02-02 11:01:08,734 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-02-02 11:01:08,736 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-02-02 11:01:08,737 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-02-02 11:01:08,737 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-02-02 11:01:08,739 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-02-02 11:01:08,739 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-02-02 11:01:08,739 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-02-02 11:01:08,740 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-02-02 11:01:08,741 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-02-02 11:01:08,742 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-02-02 11:01:08,742 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-02-02 11:01:08,742 INFO L177 SettingsManager]: PEA to Boogie provides no preferences, ignoring... [2018-02-02 11:01:08,743 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-02-02 11:01:08,743 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-02-02 11:01:08,743 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-02-02 11:01:08,743 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 11:01:08,753 INFO L110 SettingsManager]: Loading preferences was successful [2018-02-02 11:01:08,753 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-02-02 11:01:08,754 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-02-02 11:01:08,754 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-02-02 11:01:08,754 INFO L133 SettingsManager]: * Use SBE=true [2018-02-02 11:01:08,755 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-02-02 11:01:08,755 INFO L133 SettingsManager]: * sizeof long=4 [2018-02-02 11:01:08,755 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-02-02 11:01:08,755 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-02-02 11:01:08,755 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-02-02 11:01:08,755 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-02-02 11:01:08,755 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-02-02 11:01:08,755 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-02-02 11:01:08,756 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-02-02 11:01:08,756 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-02-02 11:01:08,756 INFO L133 SettingsManager]: * sizeof long double=12 [2018-02-02 11:01:08,756 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-02-02 11:01:08,756 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-02-02 11:01:08,756 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-02-02 11:01:08,757 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-02-02 11:01:08,757 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-02-02 11:01:08,757 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-02-02 11:01:08,757 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=Craig_NestedInterpolation [2018-02-02 11:01:08,757 INFO L133 SettingsManager]: * SMT solver=External_Z3InterpolationMode [2018-02-02 11:01:08,757 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-02-02 11:01:08,785 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-02-02 11:01:08,798 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully initialized [2018-02-02 11:01:08,802 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-02-02 11:01:08,804 INFO L271 PluginConnector]: Initializing CDTParser... [2018-02-02 11:01:08,804 INFO L276 PluginConnector]: CDTParser initialized [2018-02-02 11:01:08,805 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-memsafety/ArraysWithLenghtAtDeclaration_true-valid-memsafety_true-termination.c [2018-02-02 11:01:08,910 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-02-02 11:01:08,911 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-02-02 11:01:08,911 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-02-02 11:01:08,911 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-02-02 11:01:08,915 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-02-02 11:01:08,916 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 11:01:08" (1/1) ... [2018-02-02 11:01:08,918 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@421f655e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:08, skipping insertion in model container [2018-02-02 11:01:08,918 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.02 11:01:08" (1/1) ... [2018-02-02 11:01:08,928 INFO L153 Dispatcher]: Using SV-COMP mode [2018-02-02 11:01:08,939 INFO L153 Dispatcher]: Using SV-COMP mode [2018-02-02 11:01:09,022 INFO L450 PostProcessor]: Settings: Checked method=main [2018-02-02 11:01:09,034 INFO L450 PostProcessor]: Settings: Checked method=main [2018-02-02 11:01:09,038 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09 WrapperNode [2018-02-02 11:01:09,038 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-02-02 11:01:09,038 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-02-02 11:01:09,039 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-02-02 11:01:09,039 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-02-02 11:01:09,051 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09" (1/1) ... [2018-02-02 11:01:09,052 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09" (1/1) ... [2018-02-02 11:01:09,060 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09" (1/1) ... [2018-02-02 11:01:09,060 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09" (1/1) ... [2018-02-02 11:01:09,062 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09" (1/1) ... [2018-02-02 11:01:09,065 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09" (1/1) ... [2018-02-02 11:01:09,066 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09" (1/1) ... [2018-02-02 11:01:09,068 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-02-02 11:01:09,068 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-02-02 11:01:09,068 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-02-02 11:01:09,068 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-02-02 11:01:09,069 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09" (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 11:01:09,116 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-02-02 11:01:09,116 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-02-02 11:01:09,116 INFO L136 BoogieDeclarations]: Found implementation of procedure foo [2018-02-02 11:01:09,116 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-02-02 11:01:09,116 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-02-02 11:01:09,116 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-02-02 11:01:09,116 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.free [2018-02-02 11:01:09,116 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-02-02 11:01:09,116 INFO L128 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-02-02 11:01:09,116 INFO L128 BoogieDeclarations]: Found specification of procedure foo [2018-02-02 11:01:09,117 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-02-02 11:01:09,117 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-02-02 11:01:09,117 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-02-02 11:01:09,233 INFO L257 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-02-02 11:01:09,233 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.02 11:01:09 BoogieIcfgContainer [2018-02-02 11:01:09,233 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-02-02 11:01:09,233 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-02-02 11:01:09,234 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-02-02 11:01:09,235 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-02-02 11:01:09,236 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 02.02 11:01:08" (1/3) ... [2018-02-02 11:01:09,236 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@145bf121 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.02 11:01:09, skipping insertion in model container [2018-02-02 11:01:09,236 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.02 11:01:09" (2/3) ... [2018-02-02 11:01:09,236 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@145bf121 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.02 11:01:09, skipping insertion in model container [2018-02-02 11:01:09,237 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.02 11:01:09" (3/3) ... [2018-02-02 11:01:09,238 INFO L107 eAbstractionObserver]: Analyzing ICFG ArraysWithLenghtAtDeclaration_true-valid-memsafety_true-termination.c [2018-02-02 11:01:09,245 INFO L128 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:Craig_NestedInterpolation Determinization: PREDICATE_ABSTRACTION [2018-02-02 11:01:09,251 INFO L140 ceAbstractionStarter]: Appying trace abstraction to program that has 6 error locations. [2018-02-02 11:01:09,288 INFO L322 AbstractCegarLoop]: Interprodecural is true [2018-02-02 11:01:09,288 INFO L323 AbstractCegarLoop]: Hoare is false [2018-02-02 11:01:09,288 INFO L324 AbstractCegarLoop]: Compute interpolants for Craig_NestedInterpolation [2018-02-02 11:01:09,288 INFO L325 AbstractCegarLoop]: Backedges is CANONICAL [2018-02-02 11:01:09,289 INFO L326 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-02-02 11:01:09,289 INFO L327 AbstractCegarLoop]: Difference is false [2018-02-02 11:01:09,289 INFO L328 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-02-02 11:01:09,289 INFO L333 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-02-02 11:01:09,290 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-02-02 11:01:09,302 INFO L276 IsEmpty]: Start isEmpty. Operand 46 states. [2018-02-02 11:01:09,312 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2018-02-02 11:01:09,312 INFO L343 BasicCegarLoop]: Found error trace [2018-02-02 11:01:09,313 INFO L351 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-02-02 11:01:09,314 INFO L371 AbstractCegarLoop]: === Iteration 1 === [fooErr1RequiresViolation, fooErr0AssertViolation, fooErr2RequiresViolation, mainErr0AssertViolation, mainErr2EnsuresViolation, mainErr1AssertViolation]=== [2018-02-02 11:01:09,318 INFO L82 PathProgramCache]: Analyzing trace with hash -215054890, 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 11:01:09,329 INFO L67 tionRefinementEngine]: Using refinement strategy FixedTraceAbstractionRefinementStrategy [2018-02-02 11:01:09,351 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-02 11:01:09,480 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-02 11:01:09,484 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 11:01:09,513 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-02-02 11:01:09,513 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-02-02 11:01:09,514 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-02-02 11:01:09,515 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 11:01:09,515 INFO L182 omatonBuilderFactory]: Interpolants [49#true, 50#false, 54#(and (< main_~i~1 32) (<= 0 main_~i~1)), 55#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))] [2018-02-02 11:01:09,515 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 11:01:09,516 INFO L409 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-02-02 11:01:09,527 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-02-02 11:01:09,528 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-02-02 11:01:09,530 INFO L87 Difference]: Start difference. First operand 46 states. Second operand 4 states. [2018-02-02 11:01:09,682 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-02-02 11:01:09,682 INFO L93 Difference]: Finished difference Result 55 states and 58 transitions. [2018-02-02 11:01:09,682 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-02-02 11:01:09,683 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 11 [2018-02-02 11:01:09,684 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-02-02 11:01:09,691 INFO L225 Difference]: With dead ends: 55 [2018-02-02 11:01:09,691 INFO L226 Difference]: Without dead ends: 51 [2018-02-02 11:01:09,692 INFO L554 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2018-02-02 11:01:09,703 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 51 states. [2018-02-02 11:01:09,714 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 51 to 49. [2018-02-02 11:01:09,715 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 49 states. [2018-02-02 11:01:09,716 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 49 states and 52 transitions. [2018-02-02 11:01:09,717 INFO L78 Accepts]: Start accepts. Automaton has 49 states and 52 transitions. Word has length 11 [2018-02-02 11:01:09,717 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-02-02 11:01:09,718 INFO L432 AbstractCegarLoop]: Abstraction has 49 states and 52 transitions. [2018-02-02 11:01:09,718 INFO L433 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-02-02 11:01:09,718 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 52 transitions. [2018-02-02 11:01:09,718 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2018-02-02 11:01:09,718 INFO L343 BasicCegarLoop]: Found error trace [2018-02-02 11:01:09,718 INFO L351 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-02-02 11:01:09,718 INFO L371 AbstractCegarLoop]: === Iteration 2 === [fooErr1RequiresViolation, fooErr0AssertViolation, fooErr2RequiresViolation, mainErr0AssertViolation, mainErr2EnsuresViolation, mainErr1AssertViolation]=== [2018-02-02 11:01:09,718 INFO L82 PathProgramCache]: Analyzing trace with hash 1100032001, 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 11:01:09,726 INFO L67 tionRefinementEngine]: Using refinement strategy FixedTraceAbstractionRefinementStrategy [2018-02-02 11:01:09,735 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-02 11:01:09,768 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-02 11:01:09,771 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 11:01:09,795 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-02-02 11:01:09,795 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-02-02 11:01:09,795 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-02-02 11:01:09,796 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 11:01:09,796 INFO L182 omatonBuilderFactory]: Interpolants [162#true, 163#false, 167#(and (< foo_~i~0 32) (<= 0 foo_~i~0)), 168#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))] [2018-02-02 11:01:09,796 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 11:01:09,798 INFO L409 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-02-02 11:01:09,798 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-02-02 11:01:09,798 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-02-02 11:01:09,799 INFO L87 Difference]: Start difference. First operand 49 states and 52 transitions. Second operand 4 states. [2018-02-02 11:01:09,883 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-02-02 11:01:09,883 INFO L93 Difference]: Finished difference Result 55 states and 59 transitions. [2018-02-02 11:01:09,883 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-02-02 11:01:09,884 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 16 [2018-02-02 11:01:09,884 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-02-02 11:01:09,886 INFO L225 Difference]: With dead ends: 55 [2018-02-02 11:01:09,887 INFO L226 Difference]: Without dead ends: 55 [2018-02-02 11:01:09,887 INFO L554 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2018-02-02 11:01:09,888 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 55 states. [2018-02-02 11:01:09,891 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 55 to 52. [2018-02-02 11:01:09,891 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 52 states. [2018-02-02 11:01:09,892 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 52 states and 56 transitions. [2018-02-02 11:01:09,892 INFO L78 Accepts]: Start accepts. Automaton has 52 states and 56 transitions. Word has length 16 [2018-02-02 11:01:09,893 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-02-02 11:01:09,893 INFO L432 AbstractCegarLoop]: Abstraction has 52 states and 56 transitions. [2018-02-02 11:01:09,893 INFO L433 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-02-02 11:01:09,893 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 56 transitions. [2018-02-02 11:01:09,893 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-02-02 11:01:09,893 INFO L343 BasicCegarLoop]: Found error trace [2018-02-02 11:01:09,894 INFO L351 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-02-02 11:01:09,894 INFO L371 AbstractCegarLoop]: === Iteration 3 === [fooErr1RequiresViolation, fooErr0AssertViolation, fooErr2RequiresViolation, mainErr0AssertViolation, mainErr2EnsuresViolation, mainErr1AssertViolation]=== [2018-02-02 11:01:09,894 INFO L82 PathProgramCache]: Analyzing trace with hash -258746290, 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-02 11:01:09,897 INFO L67 tionRefinementEngine]: Using refinement strategy FixedTraceAbstractionRefinementStrategy [2018-02-02 11:01:09,905 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-02-02 11:01:09,922 WARN L195 Executor]: ExternalInterpolator (z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in) stderr output: WARNING: array quantifier [2018-02-02 11:01:09,923 FATAL L265 ToolchainWalker]: An unrecoverable error occured during an interaction with an SMT solver: de.uni_freiburg.informatik.ultimate.logic.SMTLIBException: line 77 column 366: Sort mismatch at argument #1 for function (declare-fun >= (Int Int) Bool) supplied sort is Bool at de.uni_freiburg.informatik.ultimate.smtsolver.external.Parser$Action$.CUP$do_action(Parser.java:1420) at de.uni_freiburg.informatik.ultimate.smtsolver.external.Parser.do_action(Parser.java:630) at com.github.jhoenicke.javacup.runtime.LRParser.parse(LRParser.java:419) at de.uni_freiburg.informatik.ultimate.smtsolver.external.Executor.parse(Executor.java:206) at de.uni_freiburg.informatik.ultimate.smtsolver.external.Executor.parseInterpolants(Executor.java:255) at de.uni_freiburg.informatik.ultimate.smtsolver.external.ScriptorWithGetInterpolants.readInterpolants(ScriptorWithGetInterpolants.java:136) at de.uni_freiburg.informatik.ultimate.smtsolver.external.ScriptorWithGetInterpolants.getInterpolants(ScriptorWithGetInterpolants.java:64) at de.uni_freiburg.informatik.ultimate.modelcheckerutils.smt.arrays.DiffWrapperScript.getInterpolants(DiffWrapperScript.java:260) at de.uni_freiburg.informatik.ultimate.modelcheckerutils.smt.managedscript.ManagedScript.getInterpolants(ManagedScript.java:186) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.singletracecheck.NestedInterpolantsBuilder.computeCraigInterpolants(NestedInterpolantsBuilder.java:283) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.singletracecheck.NestedInterpolantsBuilder.(NestedInterpolantsBuilder.java:164) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.singletracecheck.InterpolatingTraceCheckCraig.computeInterpolantsRecursive(InterpolatingTraceCheckCraig.java:294) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.singletracecheck.InterpolatingTraceCheckCraig.computeInterpolants(InterpolatingTraceCheckCraig.java:196) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.singletracecheck.InterpolatingTraceCheckCraig.(InterpolatingTraceCheckCraig.java:106) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.TraceCheckConstructor.constructCraig(TraceCheckConstructor.java:222) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.TraceCheckConstructor.get(TraceCheckConstructor.java:179) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.FixedTraceAbstractionRefinementStrategy.getTraceCheck(FixedTraceAbstractionRefinementStrategy.java:131) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.BaseRefinementStrategy.checkFeasibility(BaseRefinementStrategy.java:231) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.BaseRefinementStrategy.executeStrategy(BaseRefinementStrategy.java:205) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.TraceAbstractionRefinementEngine.(TraceAbstractionRefinementEngine.java:68) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.BasicCegarLoop.isCounterexampleFeasible(BasicCegarLoop.java:397) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.iterateInternal(AbstractCegarLoop.java:381) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.iterate(AbstractCegarLoop.java:316) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.iterate(TraceAbstractionStarter.java:292) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.runCegarLoops(TraceAbstractionStarter.java:147) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.(TraceAbstractionStarter.java:115) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver.finish(TraceAbstractionObserver.java:119) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:324) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.runToolchainDefault(DefaultToolchainJob.java:221) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.BasicToolchainJob.run(BasicToolchainJob.java:134) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [2018-02-02 11:01:09,926 INFO L168 Benchmark]: Toolchain (without parser) took 1016.03 ms. Allocated memory is still 403.7 MB. Free memory was 361.5 MB in the beginning and 270.3 MB in the end (delta: 91.2 MB). Peak memory consumption was 91.2 MB. Max. memory is 5.3 GB. [2018-02-02 11:01:09,927 INFO L168 Benchmark]: CDTParser took 0.17 ms. Allocated memory is still 403.7 MB. Free memory is still 366.8 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-02-02 11:01:09,927 INFO L168 Benchmark]: CACSL2BoogieTranslator took 127.03 ms. Allocated memory is still 403.7 MB. Free memory was 361.5 MB in the beginning and 353.4 MB in the end (delta: 8.1 MB). Peak memory consumption was 8.1 MB. Max. memory is 5.3 GB. [2018-02-02 11:01:09,928 INFO L168 Benchmark]: Boogie Preprocessor took 29.20 ms. Allocated memory is still 403.7 MB. Free memory was 353.4 MB in the beginning and 352.1 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 5.3 GB. [2018-02-02 11:01:09,929 INFO L168 Benchmark]: RCFGBuilder took 165.16 ms. Allocated memory is still 403.7 MB. Free memory was 350.8 MB in the beginning and 334.7 MB in the end (delta: 16.1 MB). Peak memory consumption was 16.1 MB. Max. memory is 5.3 GB. [2018-02-02 11:01:09,929 INFO L168 Benchmark]: TraceAbstraction took 692.07 ms. Allocated memory is still 403.7 MB. Free memory was 333.4 MB in the beginning and 270.3 MB in the end (delta: 63.1 MB). Peak memory consumption was 63.1 MB. Max. memory is 5.3 GB. [2018-02-02 11:01:09,932 INFO L344 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.17 ms. Allocated memory is still 403.7 MB. Free memory is still 366.8 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 127.03 ms. Allocated memory is still 403.7 MB. Free memory was 361.5 MB in the beginning and 353.4 MB in the end (delta: 8.1 MB). Peak memory consumption was 8.1 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 29.20 ms. Allocated memory is still 403.7 MB. Free memory was 353.4 MB in the beginning and 352.1 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 5.3 GB. * RCFGBuilder took 165.16 ms. Allocated memory is still 403.7 MB. Free memory was 350.8 MB in the beginning and 334.7 MB in the end (delta: 16.1 MB). Peak memory consumption was 16.1 MB. Max. memory is 5.3 GB. * TraceAbstraction took 692.07 ms. Allocated memory is still 403.7 MB. Free memory was 333.4 MB in the beginning and 270.3 MB in the end (delta: 63.1 MB). Peak memory consumption was 63.1 MB. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - ExceptionOrErrorResult: SMTLIBException: line 77 column 366: Sort mismatch at argument #1 for function (declare-fun >= (Int Int) Bool) supplied sort is Bool de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: SMTLIBException: line 77 column 366: Sort mismatch at argument #1 for function (declare-fun >= (Int Int) Bool) supplied sort is Bool: de.uni_freiburg.informatik.ultimate.smtsolver.external.Parser$Action$.CUP$do_action(Parser.java:1420) RESULT: Ultimate could not prove your program: Toolchain returned no result. Written .csv to /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/ArraysWithLenghtAtDeclaration_true-valid-memsafety_true-termination.c_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-Benchmark-0-2018-02-02_11-01-09-939.csv Received shutdown request...