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/ai/eq-bench/svcomp-DerefFreeMemtrack-32bit-Automizer_Fixed_noBitfields+AI_EQ_SS.epf -i ../../../trunk/examples/svcomp/ldv-memsafety/ArraysOfVariableLength_false-valid-deref-write.c -------------------------------------------------------------------------------- This is Ultimate 0.1.23-4cf2d92 [2018-03-28 13:07:17,890 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-03-28 13:07:17,892 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-03-28 13:07:17,947 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-03-28 13:07:17,948 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-03-28 13:07:17,948 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-03-28 13:07:17,949 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-03-28 13:07:17,952 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-03-28 13:07:17,954 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-03-28 13:07:17,955 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-03-28 13:07:17,956 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-03-28 13:07:17,956 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-03-28 13:07:17,957 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-03-28 13:07:17,958 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-03-28 13:07:17,959 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-03-28 13:07:17,961 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-03-28 13:07:17,963 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-03-28 13:07:17,965 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-03-28 13:07:17,966 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-03-28 13:07:17,968 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-03-28 13:07:17,970 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-03-28 13:07:17,970 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-03-28 13:07:17,971 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-03-28 13:07:17,972 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-03-28 13:07:17,972 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-03-28 13:07:17,974 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-03-28 13:07:17,974 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-03-28 13:07:17,975 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-03-28 13:07:17,976 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-03-28 13:07:17,976 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-03-28 13:07:17,976 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-03-28 13:07:17,977 INFO L98 SettingsManager]: Beginning loading settings from /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/eq-bench/svcomp-DerefFreeMemtrack-32bit-Automizer_Fixed_noBitfields+AI_EQ_SS.epf [2018-03-28 13:07:18,019 INFO L110 SettingsManager]: Loading preferences was successful [2018-03-28 13:07:18,019 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-03-28 13:07:18,019 INFO L131 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2018-03-28 13:07:18,020 INFO L133 SettingsManager]: * ultimate.logging.details=de.uni_freiburg.informatik.ultimate.plugins.icfgtransformation=DEBUG; [2018-03-28 13:07:18,020 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-03-28 13:07:18,020 INFO L133 SettingsManager]: * to procedures, called more than once=true [2018-03-28 13:07:18,021 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-03-28 13:07:18,021 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=VPDomain [2018-03-28 13:07:18,021 INFO L133 SettingsManager]: * Use the RCFG-of-the-future interface=true [2018-03-28 13:07:18,021 INFO L131 SettingsManager]: Preferences of LTL2Aut differ from their defaults: [2018-03-28 13:07:18,022 INFO L133 SettingsManager]: * Property to check=[] a a: x > 42 [2018-03-28 13:07:18,022 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-03-28 13:07:18,023 INFO L133 SettingsManager]: * sizeof long=4 [2018-03-28 13:07:18,023 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-03-28 13:07:18,023 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-03-28 13:07:18,023 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-03-28 13:07:18,023 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-03-28 13:07:18,024 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-03-28 13:07:18,024 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-03-28 13:07:18,024 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-03-28 13:07:18,024 INFO L133 SettingsManager]: * sizeof long double=12 [2018-03-28 13:07:18,024 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-03-28 13:07:18,025 INFO L133 SettingsManager]: * Size of a code block=SingleStatement [2018-03-28 13:07:18,025 INFO L133 SettingsManager]: * Add additional assume for each assert=false [2018-03-28 13:07:18,025 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-03-28 13:07:18,025 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-03-28 13:07:18,025 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-03-28 13:07:18,026 INFO L133 SettingsManager]: * Interpolant automaton=TWOTRACK [2018-03-28 13:07:18,026 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-03-28 13:07:18,026 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-03-28 13:07:18,026 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-03-28 13:07:18,026 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-03-28 13:07:18,026 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-03-28 13:07:18,027 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-03-28 13:07:18,027 INFO L133 SettingsManager]: * TransformationType=HEAP_SEPARATOR [2018-03-28 13:07:18,028 INFO L131 SettingsManager]: Preferences of Boogie Printer differ from their defaults: [2018-03-28 13:07:18,028 INFO L133 SettingsManager]: * Dump path:=C:\Users\alex\AppData\Local\Temp\ [2018-03-28 13:07:18,074 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-03-28 13:07:18,086 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully (re)initialized [2018-03-28 13:07:18,090 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-03-28 13:07:18,092 INFO L271 PluginConnector]: Initializing CDTParser... [2018-03-28 13:07:18,093 INFO L276 PluginConnector]: CDTParser initialized [2018-03-28 13:07:18,094 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-memsafety/ArraysOfVariableLength_false-valid-deref-write.c [2018-03-28 13:07:18,440 INFO L228 CDTParser]: Created temporary CDT project at /storage/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAGb65f787f8 [2018-03-28 13:07:18,632 INFO L291 CDTParser]: IsIndexed: true [2018-03-28 13:07:18,633 INFO L292 CDTParser]: Found 1 translation units. [2018-03-28 13:07:18,633 INFO L171 CDTParser]: Scanning ArraysOfVariableLength_false-valid-deref-write.c [2018-03-28 13:07:18,636 INFO L210 ultiparseSymbolTable]: Include resolver: [2018-03-28 13:07:18,636 INFO L215 ultiparseSymbolTable]: [2018-03-28 13:07:18,636 INFO L218 ultiparseSymbolTable]: Function table: [2018-03-28 13:07:18,636 INFO L221 ultiparseSymbolTable]: Function definition of __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__foo ('foo') in ArraysOfVariableLength_false-valid-deref-write.c [2018-03-28 13:07:18,636 INFO L221 ultiparseSymbolTable]: Function definition of null ('main') in ArraysOfVariableLength_false-valid-deref-write.c [2018-03-28 13:07:18,636 INFO L227 ultiparseSymbolTable]: Global variable table: [2018-03-28 13:07:18,637 INFO L233 ultiparseSymbolTable]: [2018-03-28 13:07:18,681 INFO L334 CDTParser]: Deleted temporary CDT project at /storage/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAGb65f787f8 [2018-03-28 13:07:18,687 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-03-28 13:07:18,690 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-03-28 13:07:18,691 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-03-28 13:07:18,691 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-03-28 13:07:18,697 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-03-28 13:07:18,699 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.03 01:07:18" (1/1) ... [2018-03-28 13:07:18,702 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7382bdf5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18, skipping insertion in model container [2018-03-28 13:07:18,702 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.03 01:07:18" (1/1) ... [2018-03-28 13:07:18,722 INFO L167 Dispatcher]: Using SV-COMP mode [2018-03-28 13:07:18,737 INFO L167 Dispatcher]: Using SV-COMP mode [2018-03-28 13:07:18,877 INFO L175 PostProcessor]: Settings: Checked method=main [2018-03-28 13:07:18,901 INFO L175 PostProcessor]: Settings: Checked method=main [2018-03-28 13:07:18,905 INFO L100 SccComputation]: Graph consists of 0 InCaSumBalls and 9 non ball SCCs. Number of states in SCCs 9. [2018-03-28 13:07:18,917 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18 WrapperNode [2018-03-28 13:07:18,917 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-03-28 13:07:18,918 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-03-28 13:07:18,918 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-03-28 13:07:18,918 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-03-28 13:07:18,932 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18" (1/1) ... [2018-03-28 13:07:18,932 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18" (1/1) ... [2018-03-28 13:07:18,946 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18" (1/1) ... [2018-03-28 13:07:18,947 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18" (1/1) ... [2018-03-28 13:07:18,958 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18" (1/1) ... [2018-03-28 13:07:18,968 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18" (1/1) ... [2018-03-28 13:07:18,969 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18" (1/1) ... [2018-03-28 13:07:18,975 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-03-28 13:07:18,975 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-03-28 13:07:18,975 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-03-28 13:07:18,976 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-03-28 13:07:18,977 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18" (1/1) ... No working directory specified, using /storage/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-03-28 13:07:19,041 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-03-28 13:07:19,042 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-03-28 13:07:19,042 INFO L136 BoogieDeclarations]: Found implementation of procedure __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__foo [2018-03-28 13:07:19,042 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-03-28 13:07:19,042 INFO L128 BoogieDeclarations]: Found specification of procedure __U_MULTI_fArraysOfVariableLength_false_valid_deref_write_c__foo [2018-03-28 13:07:19,042 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-03-28 13:07:19,043 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-03-28 13:07:19,043 INFO L128 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-03-28 13:07:19,043 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-03-28 13:07:19,043 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-03-28 13:07:19,043 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-03-28 13:07:19,043 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-03-28 13:07:19,043 INFO L128 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2018-03-28 13:07:19,403 INFO L259 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-03-28 13:07:19,404 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.03 01:07:19 BoogieIcfgContainer [2018-03-28 13:07:19,404 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-03-28 13:07:19,405 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-03-28 13:07:19,405 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-03-28 13:07:19,409 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-03-28 13:07:19,409 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 28.03 01:07:18" (1/3) ... [2018-03-28 13:07:19,410 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@48ff0f95 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.03 01:07:19, skipping insertion in model container [2018-03-28 13:07:19,410 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.03 01:07:18" (2/3) ... [2018-03-28 13:07:19,410 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@48ff0f95 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.03 01:07:19, skipping insertion in model container [2018-03-28 13:07:19,411 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.03 01:07:19" (3/3) ... [2018-03-28 13:07:19,412 INFO L107 eAbstractionObserver]: Analyzing ICFG ArraysOfVariableLength_false-valid-deref-write.c [2018-03-28 13:07:19,423 INFO L131 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-03-28 13:07:19,431 INFO L143 ceAbstractionStarter]: Appying trace abstraction to program that has 8 error locations. [2018-03-28 13:07:19,474 INFO L128 ementStrategyFactory]: Using default assertion order modulation [2018-03-28 13:07:19,475 INFO L369 AbstractCegarLoop]: Interprodecural is true [2018-03-28 13:07:19,475 INFO L370 AbstractCegarLoop]: Hoare is true [2018-03-28 13:07:19,475 INFO L371 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-03-28 13:07:19,475 INFO L372 AbstractCegarLoop]: Backedges is TWOTRACK [2018-03-28 13:07:19,476 INFO L373 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-03-28 13:07:19,476 INFO L374 AbstractCegarLoop]: Difference is false [2018-03-28 13:07:19,476 INFO L375 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-03-28 13:07:19,476 INFO L380 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-03-28 13:07:19,477 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-03-28 13:07:19,498 INFO L276 IsEmpty]: Start isEmpty. Operand 64 states. [2018-03-28 13:07:19,503 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-03-28 13:07:19,503 INFO L347 BasicCegarLoop]: Found error trace [2018-03-28 13:07:19,504 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-03-28 13:07:19,504 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-03-28 13:07:19,508 INFO L82 PathProgramCache]: Analyzing trace with hash -155810531, now seen corresponding path program 1 times No working directory specified, using /storage/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-03-28 13:07:19,526 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-03-28 13:07:19,568 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-03-28 13:07:19,578 INFO L270 TraceCheckSpWp]: Computing forward predicates... [2018-03-28 13:07:19,595 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-03-28 13:07:19,596 INFO L314 TraceCheckSpWp]: Computing backward predicates... [2018-03-28 13:07:19,615 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-03-28 13:07:19,638 INFO L320 seRefinementStrategy]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2018-03-28 13:07:19,639 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [2, 2] imperfect sequences [] total 2 [2018-03-28 13:07:19,640 INFO L442 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-03-28 13:07:19,650 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-03-28 13:07:19,651 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-03-28 13:07:19,653 INFO L87 Difference]: Start difference. First operand 64 states. Second operand 2 states. [2018-03-28 13:07:19,679 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-03-28 13:07:19,679 INFO L93 Difference]: Finished difference Result 119 states and 132 transitions. [2018-03-28 13:07:19,679 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-03-28 13:07:19,680 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 14 [2018-03-28 13:07:19,681 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-03-28 13:07:19,688 INFO L225 Difference]: With dead ends: 119 [2018-03-28 13:07:19,689 INFO L226 Difference]: Without dead ends: 61 [2018-03-28 13:07:19,694 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 27 GetRequests, 27 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-03-28 13:07:19,708 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 61 states. [2018-03-28 13:07:19,726 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 61 to 61. [2018-03-28 13:07:19,729 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 61 states. [2018-03-28 13:07:19,730 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 61 states and 64 transitions. [2018-03-28 13:07:19,732 INFO L78 Accepts]: Start accepts. Automaton has 61 states and 64 transitions. Word has length 14 [2018-03-28 13:07:19,732 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-03-28 13:07:19,732 INFO L459 AbstractCegarLoop]: Abstraction has 61 states and 64 transitions. [2018-03-28 13:07:19,733 INFO L460 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-03-28 13:07:19,733 INFO L276 IsEmpty]: Start isEmpty. Operand 61 states and 64 transitions. [2018-03-28 13:07:19,733 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-03-28 13:07:19,733 INFO L347 BasicCegarLoop]: Found error trace [2018-03-28 13:07:19,733 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-03-28 13:07:19,734 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-03-28 13:07:19,734 INFO L82 PathProgramCache]: Analyzing trace with hash -1036755026, now seen corresponding path program 1 times No working directory specified, using /storage/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-03-28 13:07:19,771 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-03-28 13:07:19,792 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-03-28 13:07:19,794 INFO L270 TraceCheckSpWp]: Computing forward predicates... [2018-03-28 13:07:19,826 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-03-28 13:07:19,827 INFO L314 TraceCheckSpWp]: Computing backward predicates... [2018-03-28 13:07:19,902 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-03-28 13:07:19,946 INFO L320 seRefinementStrategy]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2018-03-28 13:07:19,947 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [3, 3] imperfect sequences [] total 4 [2018-03-28 13:07:19,948 INFO L442 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-03-28 13:07:19,949 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-03-28 13:07:19,949 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-03-28 13:07:19,949 INFO L87 Difference]: Start difference. First operand 61 states and 64 transitions. Second operand 4 states. [2018-03-28 13:07:20,189 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-03-28 13:07:20,190 INFO L93 Difference]: Finished difference Result 108 states and 114 transitions. [2018-03-28 13:07:20,191 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-03-28 13:07:20,191 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 15 [2018-03-28 13:07:20,191 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-03-28 13:07:20,197 INFO L225 Difference]: With dead ends: 108 [2018-03-28 13:07:20,198 INFO L226 Difference]: Without dead ends: 88 [2018-03-28 13:07:20,199 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 29 GetRequests, 27 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-03-28 13:07:20,199 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 88 states. [2018-03-28 13:07:20,225 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 88 to 65. [2018-03-28 13:07:20,225 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 65 states. [2018-03-28 13:07:20,229 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 65 states and 68 transitions. [2018-03-28 13:07:20,230 INFO L78 Accepts]: Start accepts. Automaton has 65 states and 68 transitions. Word has length 15 [2018-03-28 13:07:20,230 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-03-28 13:07:20,230 INFO L459 AbstractCegarLoop]: Abstraction has 65 states and 68 transitions. [2018-03-28 13:07:20,230 INFO L460 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-03-28 13:07:20,230 INFO L276 IsEmpty]: Start isEmpty. Operand 65 states and 68 transitions. [2018-03-28 13:07:20,233 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2018-03-28 13:07:20,233 INFO L347 BasicCegarLoop]: Found error trace [2018-03-28 13:07:20,233 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-03-28 13:07:20,234 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-03-28 13:07:20,234 INFO L82 PathProgramCache]: Analyzing trace with hash -923859604, now seen corresponding path program 1 times No working directory specified, using /storage/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) [2018-03-28 13:07:20,268 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-03-28 13:07:20,323 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-03-28 13:07:20,340 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-03-28 13:07:20,389 INFO L421 BasicCegarLoop]: Counterexample might be feasible [2018-03-28 13:07:20,419 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 28.03 01:07:20 BoogieIcfgContainer [2018-03-28 13:07:20,420 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-03-28 13:07:20,421 INFO L168 Benchmark]: Toolchain (without parser) took 1733.53 ms. Allocated memory was 296.2 MB in the beginning and 435.7 MB in the end (delta: 139.5 MB). Free memory was 239.5 MB in the beginning and 352.5 MB in the end (delta: -113.0 MB). Peak memory consumption was 26.5 MB. Max. memory is 5.3 GB. [2018-03-28 13:07:20,423 INFO L168 Benchmark]: CDTParser took 0.20 ms. Allocated memory is still 296.2 MB. Free memory is still 258.5 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-03-28 13:07:20,423 INFO L168 Benchmark]: CACSL2BoogieTranslator took 226.30 ms. Allocated memory is still 296.2 MB. Free memory was 239.5 MB in the beginning and 229.6 MB in the end (delta: 10.0 MB). Peak memory consumption was 10.0 MB. Max. memory is 5.3 GB. [2018-03-28 13:07:20,424 INFO L168 Benchmark]: Boogie Preprocessor took 57.03 ms. Allocated memory is still 296.2 MB. Free memory was 229.6 MB in the beginning and 227.6 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.0 MB. Max. memory is 5.3 GB. [2018-03-28 13:07:20,425 INFO L168 Benchmark]: RCFGBuilder took 428.89 ms. Allocated memory was 296.2 MB in the beginning and 435.7 MB in the end (delta: 139.5 MB). Free memory was 227.6 MB in the beginning and 401.3 MB in the end (delta: -173.7 MB). Peak memory consumption was 23.0 MB. Max. memory is 5.3 GB. [2018-03-28 13:07:20,425 INFO L168 Benchmark]: TraceAbstraction took 1014.67 ms. Allocated memory is still 435.7 MB. Free memory was 401.3 MB in the beginning and 352.5 MB in the end (delta: 48.8 MB). Peak memory consumption was 48.8 MB. Max. memory is 5.3 GB. [2018-03-28 13:07:20,430 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.20 ms. Allocated memory is still 296.2 MB. Free memory is still 258.5 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 226.30 ms. Allocated memory is still 296.2 MB. Free memory was 239.5 MB in the beginning and 229.6 MB in the end (delta: 10.0 MB). Peak memory consumption was 10.0 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 57.03 ms. Allocated memory is still 296.2 MB. Free memory was 229.6 MB in the beginning and 227.6 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.0 MB. Max. memory is 5.3 GB. * RCFGBuilder took 428.89 ms. Allocated memory was 296.2 MB in the beginning and 435.7 MB in the end (delta: 139.5 MB). Free memory was 227.6 MB in the beginning and 401.3 MB in the end (delta: -173.7 MB). Peak memory consumption was 23.0 MB. Max. memory is 5.3 GB. * TraceAbstraction took 1014.67 ms. Allocated memory is still 435.7 MB. Free memory was 401.3 MB in the beginning and 352.5 MB in the end (delta: 48.8 MB). Peak memory consumption was 48.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; VAL [\old(n)=0, \old(size)=1, b={5:0}, b={5:0}, n=0, size=1] [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, 64 locations, 8 error locations. UNSAFE Result, 0.9s OverallTime, 3 OverallIterations, 1 TraceHistogramMax, 0.3s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 122 SDtfs, 60 SDslu, 47 SDs, 0 SdLazy, 26 SolverSat, 6 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 56 GetRequests, 54 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=65occurred 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, 23 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 50 NumberOfCodeBlocks, 50 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 54 ConstructedInterpolants, 0 QuantifiedInterpolants, 842 SizeOfPredicates, 1 NumberOfNonLiveVariables, 87 ConjunctsInSsa, 3 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 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 /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/ArraysOfVariableLength_false-valid-deref-write.c_svcomp-DerefFreeMemtrack-32bit-Automizer_Fixed_noBitfields+AI_EQ_SS.epf_AutomizerC.xml/Csv-Benchmark-0-2018-03-28_13-07-20-448.csv Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/ArraysOfVariableLength_false-valid-deref-write.c_svcomp-DerefFreeMemtrack-32bit-Automizer_Fixed_noBitfields+AI_EQ_SS.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-03-28_13-07-20-448.csv Received shutdown request...