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/ldv-memsafety/ArraysOfVariableLength_false-valid-deref-write.c -------------------------------------------------------------------------------- This is Ultimate 0.1.23-666feb3-m [2018-04-10 17:05:37,864 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-04-10 17:05:37,865 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-04-10 17:05:37,874 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-04-10 17:05:37,875 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-04-10 17:05:37,875 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-04-10 17:05:37,876 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-04-10 17:05:37,877 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-04-10 17:05:37,879 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-04-10 17:05:37,880 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-04-10 17:05:37,880 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-04-10 17:05:37,881 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-04-10 17:05:37,881 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-04-10 17:05:37,882 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-04-10 17:05:37,883 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-04-10 17:05:37,885 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-04-10 17:05:37,886 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-04-10 17:05:37,887 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-04-10 17:05:37,888 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-04-10 17:05:37,889 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-04-10 17:05:37,891 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-04-10 17:05:37,891 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-04-10 17:05:37,891 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-04-10 17:05:37,892 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-04-10 17:05:37,893 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-04-10 17:05:37,894 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-04-10 17:05:37,894 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-04-10 17:05:37,895 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-04-10 17:05:37,896 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-04-10 17:05:37,896 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-04-10 17:05:37,896 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-04-10 17:05:37,896 INFO L98 SettingsManager]: Beginning loading settings from /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/cade18-smtinterpol/svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf [2018-04-10 17:05:37,913 INFO L110 SettingsManager]: Loading preferences was successful [2018-04-10 17:05:37,914 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-04-10 17:05:37,915 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-04-10 17:05:37,915 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-04-10 17:05:37,915 INFO L133 SettingsManager]: * Use SBE=true [2018-04-10 17:05:37,915 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-04-10 17:05:37,915 INFO L133 SettingsManager]: * sizeof long=4 [2018-04-10 17:05:37,915 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-04-10 17:05:37,915 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-04-10 17:05:37,915 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-04-10 17:05:37,915 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-04-10 17:05:37,916 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-04-10 17:05:37,916 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-04-10 17:05:37,916 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-04-10 17:05:37,916 INFO L133 SettingsManager]: * sizeof long double=12 [2018-04-10 17:05:37,916 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-04-10 17:05:37,916 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-04-10 17:05:37,916 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-04-10 17:05:37,916 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-04-10 17:05:37,916 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-04-10 17:05:37,917 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-04-10 17:05:37,917 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=Craig_NestedInterpolation [2018-04-10 17:05:37,917 INFO L133 SettingsManager]: * SMT solver=External_Z3InterpolationMode [2018-04-10 17:05:37,917 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-10 17:05:37,941 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-04-10 17:05:37,951 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully (re)initialized [2018-04-10 17:05:37,954 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-04-10 17:05:37,955 INFO L271 PluginConnector]: Initializing CDTParser... [2018-04-10 17:05:37,956 INFO L276 PluginConnector]: CDTParser initialized [2018-04-10 17:05:37,956 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-memsafety/ArraysOfVariableLength_false-valid-deref-write.c [2018-04-10 17:05:38,309 INFO L225 CDTParser]: Created temporary CDT project at /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAGb5a85948e [2018-04-10 17:05:38,385 INFO L287 CDTParser]: IsIndexed: true [2018-04-10 17:05:38,385 INFO L288 CDTParser]: Found 1 translation units. [2018-04-10 17:05:38,385 INFO L168 CDTParser]: Scanning ArraysOfVariableLength_false-valid-deref-write.c [2018-04-10 17:05:38,386 INFO L210 ultiparseSymbolTable]: Include resolver: [2018-04-10 17:05:38,386 INFO L215 ultiparseSymbolTable]: [2018-04-10 17:05:38,386 INFO L218 ultiparseSymbolTable]: Function table: [2018-04-10 17:05:38,386 INFO L221 ultiparseSymbolTable]: Function definition of __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__foo ('foo') in ArraysOfVariableLength_false-valid-deref-write.c [2018-04-10 17:05:38,386 INFO L221 ultiparseSymbolTable]: Function definition of null ('main') in ArraysOfVariableLength_false-valid-deref-write.c [2018-04-10 17:05:38,386 INFO L227 ultiparseSymbolTable]: Global variable table: [2018-04-10 17:05:38,386 INFO L233 ultiparseSymbolTable]: [2018-04-10 17:05:38,396 INFO L330 CDTParser]: Deleted temporary CDT project at /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAGb5a85948e [2018-04-10 17:05:38,400 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-04-10 17:05:38,401 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-04-10 17:05:38,402 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-04-10 17:05:38,402 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-04-10 17:05:38,407 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-04-10 17:05:38,407 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.04 05:05:38" (1/1) ... [2018-04-10 17:05:38,410 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5c568245 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38, skipping insertion in model container [2018-04-10 17:05:38,410 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.04 05:05:38" (1/1) ... [2018-04-10 17:05:38,420 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-10 17:05:38,429 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-10 17:05:38,540 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-10 17:05:38,563 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-10 17:05:38,568 INFO L100 SccComputation]: Graph consists of 0 InCaSumBalls and 9 non ball SCCs. Number of states in SCCs 9. [2018-04-10 17:05:38,576 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38 WrapperNode [2018-04-10 17:05:38,576 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-04-10 17:05:38,577 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-04-10 17:05:38,577 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-04-10 17:05:38,577 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-04-10 17:05:38,590 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38" (1/1) ... [2018-04-10 17:05:38,590 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38" (1/1) ... [2018-04-10 17:05:38,598 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38" (1/1) ... [2018-04-10 17:05:38,598 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38" (1/1) ... [2018-04-10 17:05:38,602 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38" (1/1) ... [2018-04-10 17:05:38,606 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38" (1/1) ... [2018-04-10 17:05:38,607 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38" (1/1) ... [2018-04-10 17:05:38,609 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-04-10 17:05:38,609 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-04-10 17:05:38,609 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-04-10 17:05:38,609 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-04-10 17:05:38,610 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38" (1/1) ... No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-04-10 17:05:38,660 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-04-10 17:05:38,660 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-04-10 17:05:38,660 INFO L136 BoogieDeclarations]: Found implementation of procedure __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__foo [2018-04-10 17:05:38,660 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-04-10 17:05:38,660 INFO L128 BoogieDeclarations]: Found specification of procedure __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__foo [2018-04-10 17:05:38,660 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-04-10 17:05:38,661 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-04-10 17:05:38,661 INFO L128 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-04-10 17:05:38,661 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-04-10 17:05:38,661 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-04-10 17:05:38,661 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-04-10 17:05:38,661 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-04-10 17:05:38,661 INFO L128 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2018-04-10 17:05:38,857 INFO L259 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-04-10 17:05:38,858 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.04 05:05:38 BoogieIcfgContainer [2018-04-10 17:05:38,858 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-04-10 17:05:38,858 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-04-10 17:05:38,858 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-04-10 17:05:38,860 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-04-10 17:05:38,860 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 10.04 05:05:38" (1/3) ... [2018-04-10 17:05:38,861 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@11a2414d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.04 05:05:38, skipping insertion in model container [2018-04-10 17:05:38,861 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.04 05:05:38" (2/3) ... [2018-04-10 17:05:38,861 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@11a2414d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.04 05:05:38, skipping insertion in model container [2018-04-10 17:05:38,861 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.04 05:05:38" (3/3) ... [2018-04-10 17:05:38,863 INFO L107 eAbstractionObserver]: Analyzing ICFG ArraysOfVariableLength_false-valid-deref-write.c [2018-04-10 17:05:38,868 INFO L131 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:Craig_NestedInterpolation Determinization: PREDICATE_ABSTRACTION [2018-04-10 17:05:38,873 INFO L143 ceAbstractionStarter]: Appying trace abstraction to program that has 8 error locations. [2018-04-10 17:05:38,897 INFO L128 ementStrategyFactory]: Using default assertion order modulation [2018-04-10 17:05:38,898 INFO L369 AbstractCegarLoop]: Interprodecural is true [2018-04-10 17:05:38,898 INFO L370 AbstractCegarLoop]: Hoare is false [2018-04-10 17:05:38,898 INFO L371 AbstractCegarLoop]: Compute interpolants for Craig_NestedInterpolation [2018-04-10 17:05:38,899 INFO L372 AbstractCegarLoop]: Backedges is CANONICAL [2018-04-10 17:05:38,899 INFO L373 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-04-10 17:05:38,899 INFO L374 AbstractCegarLoop]: Difference is false [2018-04-10 17:05:38,899 INFO L375 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-04-10 17:05:38,899 INFO L380 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-04-10 17:05:38,900 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-04-10 17:05:38,913 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states. [2018-04-10 17:05:38,923 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2018-04-10 17:05:38,923 INFO L347 BasicCegarLoop]: Found error trace [2018-04-10 17:05:38,924 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-10 17:05:38,924 INFO L408 AbstractCegarLoop]: === Iteration 1 === [__U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__fooErr1RequiresViolation, __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__fooErr2RequiresViolation, __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__fooErr0AssertViolationARRAY_INDEX, mainErr3RequiresViolation, mainErr1RequiresViolation, mainErr2RequiresViolation, mainErr4EnsuresViolationMEMORY_LEAK, mainErr0RequiresViolation]=== [2018-04-10 17:05:38,929 INFO L82 PathProgramCache]: Analyzing trace with hash 1496456173, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-10 17:05:38,940 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-10 17:05:38,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-10 17:05:38,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-10 17:05:38,984 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-10 17:05:39,004 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-04-10 17:05:39,004 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-04-10 17:05:39,005 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-04-10 17:05:39,005 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-10 17:05:39,005 INFO L182 omatonBuilderFactory]: Interpolants [52#true, 53#false, 57#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))] [2018-04-10 17:05:39,005 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-10 17:05:39,006 INFO L442 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-04-10 17:05:39,013 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-04-10 17:05:39,014 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-04-10 17:05:39,015 INFO L87 Difference]: Start difference. First operand 49 states. Second operand 3 states. [2018-04-10 17:05:39,119 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-10 17:05:39,119 INFO L93 Difference]: Finished difference Result 49 states and 52 transitions. [2018-04-10 17:05:39,120 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-04-10 17:05:39,121 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 13 [2018-04-10 17:05:39,121 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-10 17:05:39,127 INFO L225 Difference]: With dead ends: 49 [2018-04-10 17:05:39,127 INFO L226 Difference]: Without dead ends: 46 [2018-04-10 17:05:39,129 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-04-10 17:05:39,139 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states. [2018-04-10 17:05:39,149 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 46. [2018-04-10 17:05:39,150 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 46 states. [2018-04-10 17:05:39,151 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 46 states and 49 transitions. [2018-04-10 17:05:39,152 INFO L78 Accepts]: Start accepts. Automaton has 46 states and 49 transitions. Word has length 13 [2018-04-10 17:05:39,152 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-10 17:05:39,152 INFO L459 AbstractCegarLoop]: Abstraction has 46 states and 49 transitions. [2018-04-10 17:05:39,152 INFO L460 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-04-10 17:05:39,152 INFO L276 IsEmpty]: Start isEmpty. Operand 46 states and 49 transitions. [2018-04-10 17:05:39,153 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-04-10 17:05:39,153 INFO L347 BasicCegarLoop]: Found error trace [2018-04-10 17:05:39,153 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-10 17:05:39,153 INFO L408 AbstractCegarLoop]: === Iteration 2 === [__U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__fooErr1RequiresViolation, __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__fooErr2RequiresViolation, __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__fooErr0AssertViolationARRAY_INDEX, mainErr3RequiresViolation, mainErr1RequiresViolation, mainErr2RequiresViolation, mainErr4EnsuresViolationMEMORY_LEAK, mainErr0RequiresViolation]=== [2018-04-10 17:05:39,153 INFO L82 PathProgramCache]: Analyzing trace with hash -1296989421, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-10 17:05:39,156 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-10 17:05:39,166 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-10 17:05:39,185 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-10 17:05:39,187 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-10 17:05:39,204 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-04-10 17:05:39,204 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-04-10 17:05:39,204 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-04-10 17:05:39,205 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-10 17:05:39,205 INFO L182 omatonBuilderFactory]: Interpolants [153#true, 154#false, 158#(< main_~i~1 100), 159#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))] [2018-04-10 17:05:39,205 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-10 17:05:39,206 INFO L442 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-04-10 17:05:39,206 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-04-10 17:05:39,207 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-04-10 17:05:39,207 INFO L87 Difference]: Start difference. First operand 46 states and 49 transitions. Second operand 4 states. [2018-04-10 17:05:39,267 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-10 17:05:39,267 INFO L93 Difference]: Finished difference Result 52 states and 54 transitions. [2018-04-10 17:05:39,268 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-04-10 17:05:39,268 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 14 [2018-04-10 17:05:39,268 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-10 17:05:39,268 INFO L225 Difference]: With dead ends: 52 [2018-04-10 17:05:39,269 INFO L226 Difference]: Without dead ends: 52 [2018-04-10 17:05:39,269 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-04-10 17:05:39,269 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 52 states. [2018-04-10 17:05:39,271 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 52 to 50. [2018-04-10 17:05:39,272 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 50 states. [2018-04-10 17:05:39,272 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 50 states and 53 transitions. [2018-04-10 17:05:39,272 INFO L78 Accepts]: Start accepts. Automaton has 50 states and 53 transitions. Word has length 14 [2018-04-10 17:05:39,273 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-10 17:05:39,273 INFO L459 AbstractCegarLoop]: Abstraction has 50 states and 53 transitions. [2018-04-10 17:05:39,273 INFO L460 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-04-10 17:05:39,273 INFO L276 IsEmpty]: Start isEmpty. Operand 50 states and 53 transitions. [2018-04-10 17:05:39,273 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-04-10 17:05:39,273 INFO L347 BasicCegarLoop]: Found error trace [2018-04-10 17:05:39,273 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-10 17:05:39,273 INFO L408 AbstractCegarLoop]: === Iteration 3 === [__U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__fooErr1RequiresViolation, __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__fooErr2RequiresViolation, __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__fooErr0AssertViolationARRAY_INDEX, mainErr3RequiresViolation, mainErr1RequiresViolation, mainErr2RequiresViolation, mainErr4EnsuresViolationMEMORY_LEAK, mainErr0RequiresViolation]=== [2018-04-10 17:05:39,274 INFO L82 PathProgramCache]: Analyzing trace with hash -1464078804, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-10 17:05:39,276 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-10 17:05:39,282 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-10 17:05:39,290 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-10 17:05:39,324 INFO L421 BasicCegarLoop]: Counterexample might be feasible [2018-04-10 17:05:39,341 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 10.04 05:05:39 BoogieIcfgContainer [2018-04-10 17:05:39,341 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-04-10 17:05:39,342 INFO L168 Benchmark]: Toolchain (without parser) took 941.79 ms. Allocated memory was 399.5 MB in the beginning and 600.3 MB in the end (delta: 200.8 MB). Free memory was 332.5 MB in the beginning and 508.1 MB in the end (delta: -175.6 MB). Peak memory consumption was 25.3 MB. Max. memory is 5.3 GB. [2018-04-10 17:05:39,343 INFO L168 Benchmark]: CDTParser took 0.13 ms. Allocated memory is still 399.5 MB. Free memory is still 347.0 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-04-10 17:05:39,344 INFO L168 Benchmark]: CACSL2BoogieTranslator took 174.84 ms. Allocated memory is still 399.5 MB. Free memory was 332.5 MB in the beginning and 323.2 MB in the end (delta: 9.3 MB). Peak memory consumption was 9.3 MB. Max. memory is 5.3 GB. [2018-04-10 17:05:39,344 INFO L168 Benchmark]: Boogie Preprocessor took 32.14 ms. Allocated memory is still 399.5 MB. Free memory was 323.2 MB in the beginning and 320.6 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. [2018-04-10 17:05:39,345 INFO L168 Benchmark]: RCFGBuilder took 248.69 ms. Allocated memory was 399.5 MB in the beginning and 600.3 MB in the end (delta: 200.8 MB). Free memory was 320.6 MB in the beginning and 565.9 MB in the end (delta: -245.3 MB). Peak memory consumption was 24.3 MB. Max. memory is 5.3 GB. [2018-04-10 17:05:39,345 INFO L168 Benchmark]: TraceAbstraction took 482.92 ms. Allocated memory is still 600.3 MB. Free memory was 565.9 MB in the beginning and 508.1 MB in the end (delta: 57.8 MB). Peak memory consumption was 57.8 MB. Max. memory is 5.3 GB. [2018-04-10 17:05:39,348 INFO L344 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.13 ms. Allocated memory is still 399.5 MB. Free memory is still 347.0 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 174.84 ms. Allocated memory is still 399.5 MB. Free memory was 332.5 MB in the beginning and 323.2 MB in the end (delta: 9.3 MB). Peak memory consumption was 9.3 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 32.14 ms. Allocated memory is still 399.5 MB. Free memory was 323.2 MB in the beginning and 320.6 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 5.3 GB. * RCFGBuilder took 248.69 ms. Allocated memory was 399.5 MB in the beginning and 600.3 MB in the end (delta: 200.8 MB). Free memory was 320.6 MB in the beginning and 565.9 MB in the end (delta: -245.3 MB). Peak memory consumption was 24.3 MB. Max. memory is 5.3 GB. * TraceAbstraction took 482.92 ms. Allocated memory is still 600.3 MB. Free memory was 565.9 MB in the beginning and 508.1 MB in the end (delta: 57.8 MB). Peak memory consumption was 57.8 MB. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 15]: array index can be out of bounds array index can be out of bounds We found a FailurePath: [L21] int i, b[100]; [L21] FCALL int i, b[100]; VAL [b={5:0}] [L22] i = 0 VAL [b={5:0}, i=0] [L22] COND TRUE i < 100 VAL [b={5:0}, i=0] [L23] CALL foo(i, b, i + 1) VAL [\old(n)=0, \old(size)=1, b={5:0}] [L13] int a[n], i; [L14] i = 0 VAL [\old(n)=0, \old(size)=1, b={5:0}, b={5:0}, i=0, n=0, size=1] [L14] COND TRUE i < size VAL [\old(n)=0, \old(size)=1, b={5:0}, b={5:0}, i=0, n=0, size=1] [L15] a[i] VAL [\old(n)=0, \old(size)=1, b={5:0}, b={5:0}, i=0, n=0, size=1] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 49 locations, 8 error locations. UNSAFE Result, 0.4s OverallTime, 3 OverallIterations, 1 TraceHistogramMax, 0.1s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 83 SDtfs, 45 SDslu, 16 SDs, 0 SdLazy, 99 SolverSat, 9 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 9 GetRequests, 6 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=50occurred in iteration=2, 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, 2 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 42 NumberOfCodeBlocks, 42 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 25 ConstructedInterpolants, 0 QuantifiedInterpolants, 590 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/ArraysOfVariableLength_false-valid-deref-write.c_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-Benchmark-0-2018-04-10_17-05-39-356.csv Written .csv to /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/ArraysOfVariableLength_false-valid-deref-write.c_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-04-10_17-05-39-356.csv Received shutdown request...