./Ultimate.py --spec /storage/repos/svcomp/c/properties/termination.prp --file /storage/repos/svcomp/c/termination-15/array20_alloca_false-termination.c.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 91b1670e Calling Ultimate with: java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i /storage/repos/svcomp/c/termination-15/array20_alloca_false-termination.c.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 15cc26ae0dc42c909592f114b7003fa240a2d07d ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.1.24-91b1670 [2018-11-28 23:24:04,186 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-28 23:24:04,188 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-28 23:24:04,201 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-28 23:24:04,202 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-28 23:24:04,203 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-28 23:24:04,204 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-28 23:24:04,206 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-28 23:24:04,207 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-28 23:24:04,208 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-28 23:24:04,209 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-28 23:24:04,209 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-28 23:24:04,210 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-28 23:24:04,211 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-28 23:24:04,213 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-28 23:24:04,213 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-28 23:24:04,214 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-28 23:24:04,216 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-28 23:24:04,218 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-28 23:24:04,220 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-28 23:24:04,221 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-28 23:24:04,222 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-28 23:24:04,225 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-28 23:24:04,225 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-28 23:24:04,225 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-28 23:24:04,226 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-28 23:24:04,227 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-28 23:24:04,228 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-28 23:24:04,229 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-28 23:24:04,230 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-28 23:24:04,230 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-28 23:24:04,231 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-28 23:24:04,231 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-28 23:24:04,231 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-28 23:24:04,232 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-28 23:24:04,233 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-28 23:24:04,233 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2018-11-28 23:24:04,258 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-28 23:24:04,258 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-28 23:24:04,259 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-28 23:24:04,259 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-28 23:24:04,259 INFO L133 SettingsManager]: * Use SBE=true [2018-11-28 23:24:04,260 INFO L131 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2018-11-28 23:24:04,260 INFO L133 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2018-11-28 23:24:04,260 INFO L133 SettingsManager]: * Use old map elimination=false [2018-11-28 23:24:04,260 INFO L133 SettingsManager]: * Use external solver (rank synthesis)=false [2018-11-28 23:24:04,260 INFO L133 SettingsManager]: * Use only trivial implications for array writes=true [2018-11-28 23:24:04,260 INFO L133 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2018-11-28 23:24:04,261 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-28 23:24:04,261 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-11-28 23:24:04,261 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-28 23:24:04,261 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-28 23:24:04,261 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2018-11-28 23:24:04,261 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2018-11-28 23:24:04,262 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2018-11-28 23:24:04,262 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-28 23:24:04,262 INFO L133 SettingsManager]: * Assume nondeterminstic values are in range=false [2018-11-28 23:24:04,262 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-28 23:24:04,262 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2018-11-28 23:24:04,262 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-28 23:24:04,263 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-28 23:24:04,263 INFO L133 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2018-11-28 23:24:04,263 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-28 23:24:04,263 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-28 23:24:04,263 INFO L133 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2018-11-28 23:24:04,264 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-11-28 23:24:04,264 INFO L133 SettingsManager]: * TransformationType=MODULO_NEIGHBOR Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 15cc26ae0dc42c909592f114b7003fa240a2d07d [2018-11-28 23:24:04,320 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-28 23:24:04,334 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-28 23:24:04,340 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-28 23:24:04,341 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-28 23:24:04,342 INFO L276 PluginConnector]: CDTParser initialized [2018-11-28 23:24:04,343 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/svcomp/c/termination-15/array20_alloca_false-termination.c.i [2018-11-28 23:24:04,410 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5c00d90ff/a541f9c82ac44694a7cce7321b310e11/FLAG81dd934a7 [2018-11-28 23:24:04,936 INFO L307 CDTParser]: Found 1 translation units. [2018-11-28 23:24:04,937 INFO L161 CDTParser]: Scanning /storage/repos/svcomp/c/termination-15/array20_alloca_false-termination.c.i [2018-11-28 23:24:04,948 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5c00d90ff/a541f9c82ac44694a7cce7321b310e11/FLAG81dd934a7 [2018-11-28 23:24:05,244 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5c00d90ff/a541f9c82ac44694a7cce7321b310e11 [2018-11-28 23:24:05,247 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-28 23:24:05,249 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-28 23:24:05,250 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-28 23:24:05,252 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-28 23:24:05,255 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-28 23:24:05,256 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:05,262 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@33fba7be and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05, skipping insertion in model container [2018-11-28 23:24:05,262 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:05,271 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-28 23:24:05,313 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-28 23:24:05,731 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-11-28 23:24:05,748 INFO L191 MainTranslator]: Completed pre-run [2018-11-28 23:24:05,828 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-11-28 23:24:05,917 INFO L195 MainTranslator]: Completed translation [2018-11-28 23:24:05,918 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05 WrapperNode [2018-11-28 23:24:05,919 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-28 23:24:05,920 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-28 23:24:05,920 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-28 23:24:05,920 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-28 23:24:06,002 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:06,020 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:06,047 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-28 23:24:06,047 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-28 23:24:06,048 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-28 23:24:06,048 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-28 23:24:06,058 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:06,058 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:06,061 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:06,061 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:06,069 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:06,074 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:06,076 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... [2018-11-28 23:24:06,078 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-28 23:24:06,078 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-28 23:24:06,078 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-28 23:24:06,079 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-28 23:24:06,079 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:24:06,146 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-28 23:24:06,147 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-28 23:24:06,147 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-28 23:24:06,147 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-28 23:24:06,147 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-28 23:24:06,147 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-28 23:24:06,497 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-28 23:24:06,497 INFO L280 CfgBuilder]: Removed 6 assue(true) statements. [2018-11-28 23:24:06,498 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 11:24:06 BoogieIcfgContainer [2018-11-28 23:24:06,499 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-28 23:24:06,499 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2018-11-28 23:24:06,499 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2018-11-28 23:24:06,503 INFO L276 PluginConnector]: BuchiAutomizer initialized [2018-11-28 23:24:06,504 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-28 23:24:06,504 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.11 11:24:05" (1/3) ... [2018-11-28 23:24:06,505 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2d8aacc5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 11:24:06, skipping insertion in model container [2018-11-28 23:24:06,505 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-28 23:24:06,506 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:24:05" (2/3) ... [2018-11-28 23:24:06,506 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2d8aacc5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 11:24:06, skipping insertion in model container [2018-11-28 23:24:06,506 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-28 23:24:06,507 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 11:24:06" (3/3) ... [2018-11-28 23:24:06,508 INFO L375 chiAutomizerObserver]: Analyzing ICFG array20_alloca_false-termination.c.i [2018-11-28 23:24:06,577 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-28 23:24:06,578 INFO L374 BuchiCegarLoop]: Interprodecural is true [2018-11-28 23:24:06,578 INFO L375 BuchiCegarLoop]: Hoare is false [2018-11-28 23:24:06,579 INFO L376 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2018-11-28 23:24:06,579 INFO L377 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-28 23:24:06,579 INFO L378 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-28 23:24:06,579 INFO L379 BuchiCegarLoop]: Difference is false [2018-11-28 23:24:06,579 INFO L380 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-28 23:24:06,579 INFO L383 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2018-11-28 23:24:06,594 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states. [2018-11-28 23:24:06,615 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 4 [2018-11-28 23:24:06,615 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:24:06,616 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:24:06,622 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2018-11-28 23:24:06,622 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2018-11-28 23:24:06,622 INFO L442 BuchiCegarLoop]: ======== Iteration 1============ [2018-11-28 23:24:06,623 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states. [2018-11-28 23:24:06,624 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 4 [2018-11-28 23:24:06,624 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:24:06,625 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:24:06,625 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2018-11-28 23:24:06,625 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2018-11-28 23:24:06,634 INFO L794 eck$LassoCheckResult]: Stem: 9#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 7#L-1true havoc main_#res;havoc main_#t~nondet205, main_#t~malloc206.base, main_#t~malloc206.offset, main_#t~nondet208, main_#t~mem209, main_#t~post207, main_#t~mem210, main_~i~0, main_~j~0, main_~length~0, main_~arr~0.base, main_~arr~0.offset;havoc main_~i~0;havoc main_~j~0;main_~length~0 := main_#t~nondet205;havoc main_#t~nondet205; 15#L367true assume !(main_~length~0 < 1); 4#L367-2true call main_#t~malloc206.base, main_#t~malloc206.offset := #Ultimate.alloc(4 * main_~length~0);main_~arr~0.base, main_~arr~0.offset := main_#t~malloc206.base, main_#t~malloc206.offset; 12#L369true assume !(main_~arr~0.base == 0 && main_~arr~0.offset == 0);main_~i~0 := 0; 16#L370-3true [2018-11-28 23:24:06,634 INFO L796 eck$LassoCheckResult]: Loop: 16#L370-3true assume !!(main_~i~0 < main_~length~0);call write~int(main_#t~nondet208, main_~arr~0.base, main_~arr~0.offset + 4 * main_~i~0, 4);havoc main_#t~nondet208;call main_#t~mem209 := read~int(main_~arr~0.base, main_~arr~0.offset + 4 * main_~i~0, 4); 8#L372true assume main_#t~mem209 < 1;havoc main_#t~mem209;call write~int(1, main_~arr~0.base, main_~arr~0.offset + 4 * main_~i~0, 4); 14#L370-2true main_#t~post207 := main_~i~0;main_~i~0 := 1 + main_#t~post207;havoc main_#t~post207; 16#L370-3true [2018-11-28 23:24:06,640 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:06,641 INFO L82 PathProgramCache]: Analyzing trace with hash 28695753, now seen corresponding path program 1 times [2018-11-28 23:24:06,643 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:06,644 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:06,702 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:06,702 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:06,702 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:06,744 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:06,755 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:06,777 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:06,777 INFO L82 PathProgramCache]: Analyzing trace with hash 51737, now seen corresponding path program 1 times [2018-11-28 23:24:06,777 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:06,778 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:06,779 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:06,779 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:06,779 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:06,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:06,804 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:06,808 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:06,808 INFO L82 PathProgramCache]: Analyzing trace with hash 176707665, now seen corresponding path program 1 times [2018-11-28 23:24:06,808 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:06,809 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:06,810 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:06,810 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:06,811 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:06,826 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:06,841 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:06,973 WARN L180 SmtUtils]: Spent 119.00 ms on a formula simplification that was a NOOP. DAG size: 38 [2018-11-28 23:24:07,371 WARN L180 SmtUtils]: Spent 344.00 ms on a formula simplification. DAG size of input: 43 DAG size of output: 38 [2018-11-28 23:24:07,423 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:24:07,424 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:24:07,425 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:24:07,425 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:24:07,425 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-28 23:24:07,425 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:24:07,425 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:24:07,425 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:24:07,426 INFO L131 ssoRankerPreferences]: Filename of dumped script: array20_alloca_false-termination.c.i_Iteration1_Lasso [2018-11-28 23:24:07,426 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:24:07,426 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:24:07,449 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:07,456 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:07,459 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:07,465 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:07,471 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:07,477 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:07,483 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:07,727 WARN L180 SmtUtils]: Spent 207.00 ms on a formula simplification. DAG size of input: 30 DAG size of output: 28 [2018-11-28 23:24:07,764 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:07,767 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:07,775 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:24:08,081 WARN L180 SmtUtils]: Spent 140.00 ms on a formula simplification that was a NOOP. DAG size: 10 [2018-11-28 23:24:08,248 WARN L180 SmtUtils]: Spent 103.00 ms on a formula simplification that was a NOOP. DAG size: 8 [2018-11-28 23:24:08,475 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:24:08,481 INFO L497 LassoAnalysis]: Using template 'affine'. [2018-11-28 23:24:08,484 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:24:08,486 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:24:08,486 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:24:08,487 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:24:08,487 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:24:08,487 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:24:08,490 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:24:08,490 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:24:08,494 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:24:08,495 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:24:08,496 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:24:08,496 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:24:08,496 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:24:08,496 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:24:08,498 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:24:08,498 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:24:08,498 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:24:08,500 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:24:08,500 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:24:08,502 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:24:08,502 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:24:08,502 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:24:08,502 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:24:08,502 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:24:08,503 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:24:08,503 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:24:08,505 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:24:08,506 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:24:08,506 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:24:08,506 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:24:08,507 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:24:08,508 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:24:08,511 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-28 23:24:08,511 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-28 23:24:08,517 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:24:08,518 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:24:08,518 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:24:08,519 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:24:08,519 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:24:08,519 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:24:08,519 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:24:08,521 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:24:08,521 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:24:08,522 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:24:08,523 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:24:08,524 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:24:08,524 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:24:08,524 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:24:08,524 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:24:08,524 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:24:08,525 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:24:08,525 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:24:08,528 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:24:08,528 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:24:08,529 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:24:08,529 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:24:08,530 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:24:08,530 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:24:08,537 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-28 23:24:08,538 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-28 23:24:08,637 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-28 23:24:08,708 INFO L443 ModelExtractionUtils]: Simplification made 6 calls to the SMT solver. [2018-11-28 23:24:08,711 INFO L444 ModelExtractionUtils]: 16 out of 22 variables were initially zero. Simplification set additionally 3 variables to zero. [2018-11-28 23:24:08,716 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-28 23:24:08,723 INFO L440 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2018-11-28 23:24:08,723 INFO L518 LassoAnalysis]: Proved termination. [2018-11-28 23:24:08,724 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~0, ULTIMATE.start_main_~length~0) = -1*ULTIMATE.start_main_~i~0 + 1*ULTIMATE.start_main_~length~0 Supporting invariants [] [2018-11-28 23:24:08,784 INFO L297 tatePredicateManager]: 3 out of 3 supporting invariants were superfluous and have been removed [2018-11-28 23:24:08,833 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:08,860 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:24:08,864 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:24:08,883 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:24:08,884 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:24:08,929 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:24:08,944 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2018-11-28 23:24:08,945 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 14 states. Second operand 3 states. [2018-11-28 23:24:09,019 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 14 states.. Second operand 3 states. Result 32 states and 44 transitions. Complement of second has 7 states. [2018-11-28 23:24:09,024 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2018-11-28 23:24:09,026 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-28 23:24:09,027 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 29 transitions. [2018-11-28 23:24:09,029 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 5 letters. Loop has 3 letters. [2018-11-28 23:24:09,030 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:24:09,031 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 8 letters. Loop has 3 letters. [2018-11-28 23:24:09,031 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:24:09,031 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 5 letters. Loop has 6 letters. [2018-11-28 23:24:09,032 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:24:09,034 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 32 states and 44 transitions. [2018-11-28 23:24:09,037 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2018-11-28 23:24:09,042 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 32 states to 11 states and 15 transitions. [2018-11-28 23:24:09,044 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 7 [2018-11-28 23:24:09,044 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2018-11-28 23:24:09,045 INFO L73 IsDeterministic]: Start isDeterministic. Operand 11 states and 15 transitions. [2018-11-28 23:24:09,045 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2018-11-28 23:24:09,046 INFO L705 BuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2018-11-28 23:24:09,063 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 11 states and 15 transitions. [2018-11-28 23:24:09,070 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 11 to 11. [2018-11-28 23:24:09,071 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2018-11-28 23:24:09,071 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 15 transitions. [2018-11-28 23:24:09,073 INFO L728 BuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2018-11-28 23:24:09,073 INFO L608 BuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2018-11-28 23:24:09,073 INFO L442 BuchiCegarLoop]: ======== Iteration 2============ [2018-11-28 23:24:09,074 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 11 states and 15 transitions. [2018-11-28 23:24:09,074 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2018-11-28 23:24:09,075 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:24:09,075 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:24:09,075 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:24:09,075 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1] [2018-11-28 23:24:09,077 INFO L794 eck$LassoCheckResult]: Stem: 115#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 109#L-1 havoc main_#res;havoc main_#t~nondet205, main_#t~malloc206.base, main_#t~malloc206.offset, main_#t~nondet208, main_#t~mem209, main_#t~post207, main_#t~mem210, main_~i~0, main_~j~0, main_~length~0, main_~arr~0.base, main_~arr~0.offset;havoc main_~i~0;havoc main_~j~0;main_~length~0 := main_#t~nondet205;havoc main_#t~nondet205; 110#L367 assume !(main_~length~0 < 1); 116#L367-2 call main_#t~malloc206.base, main_#t~malloc206.offset := #Ultimate.alloc(4 * main_~length~0);main_~arr~0.base, main_~arr~0.offset := main_#t~malloc206.base, main_#t~malloc206.offset; 117#L369 assume !(main_~arr~0.base == 0 && main_~arr~0.offset == 0);main_~i~0 := 0; 118#L370-3 assume !(main_~i~0 < main_~length~0); 113#L370-4 main_~j~0 := 1; 114#L377-2 [2018-11-28 23:24:09,077 INFO L796 eck$LassoCheckResult]: Loop: 114#L377-2 assume !!(1 <= main_~j~0 && main_~j~0 < main_~length~0);call main_#t~mem210 := read~int(main_~arr~0.base, main_~arr~0.offset + 4 * main_~j~0, 4);main_~j~0 := main_~j~0 * main_#t~mem210;havoc main_#t~mem210; 114#L377-2 [2018-11-28 23:24:09,077 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:09,078 INFO L82 PathProgramCache]: Analyzing trace with hash 1806815510, now seen corresponding path program 1 times [2018-11-28 23:24:09,078 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:09,078 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:09,080 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,080 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:09,081 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,086 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:24:09,164 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:24:09,167 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 23:24:09,168 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-11-28 23:24:09,170 INFO L799 eck$LassoCheckResult]: stem already infeasible [2018-11-28 23:24:09,170 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:09,170 INFO L82 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 1 times [2018-11-28 23:24:09,170 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:09,171 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:09,172 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,173 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:09,173 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,175 ERROR L235 seRefinementStrategy]: Caught known exception: Unsupported non-linear arithmetic [2018-11-28 23:24:09,176 INFO L258 seRefinementStrategy]: Advancing trace checker [2018-11-28 23:24:09,176 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2018-11-28 23:24:09,187 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:09,190 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:09,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:09,414 WARN L180 SmtUtils]: Spent 187.00 ms on a formula simplification that was a NOOP. DAG size: 26 [2018-11-28 23:24:09,464 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-28 23:24:09,465 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-28 23:24:09,466 INFO L87 Difference]: Start difference. First operand 11 states and 15 transitions. cyclomatic complexity: 6 Second operand 4 states. [2018-11-28 23:24:09,502 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 23:24:09,502 INFO L93 Difference]: Finished difference Result 13 states and 17 transitions. [2018-11-28 23:24:09,503 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-28 23:24:09,505 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 13 states and 17 transitions. [2018-11-28 23:24:09,506 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2018-11-28 23:24:09,507 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 13 states to 13 states and 17 transitions. [2018-11-28 23:24:09,508 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2018-11-28 23:24:09,508 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2018-11-28 23:24:09,508 INFO L73 IsDeterministic]: Start isDeterministic. Operand 13 states and 17 transitions. [2018-11-28 23:24:09,508 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2018-11-28 23:24:09,508 INFO L705 BuchiCegarLoop]: Abstraction has 13 states and 17 transitions. [2018-11-28 23:24:09,510 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states and 17 transitions. [2018-11-28 23:24:09,510 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 11. [2018-11-28 23:24:09,511 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2018-11-28 23:24:09,511 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 14 transitions. [2018-11-28 23:24:09,511 INFO L728 BuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2018-11-28 23:24:09,511 INFO L608 BuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2018-11-28 23:24:09,512 INFO L442 BuchiCegarLoop]: ======== Iteration 3============ [2018-11-28 23:24:09,513 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 11 states and 14 transitions. [2018-11-28 23:24:09,513 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2018-11-28 23:24:09,513 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:24:09,514 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:24:09,515 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:24:09,515 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1] [2018-11-28 23:24:09,515 INFO L794 eck$LassoCheckResult]: Stem: 146#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 140#L-1 havoc main_#res;havoc main_#t~nondet205, main_#t~malloc206.base, main_#t~malloc206.offset, main_#t~nondet208, main_#t~mem209, main_#t~post207, main_#t~mem210, main_~i~0, main_~j~0, main_~length~0, main_~arr~0.base, main_~arr~0.offset;havoc main_~i~0;havoc main_~j~0;main_~length~0 := main_#t~nondet205;havoc main_#t~nondet205; 141#L367 assume !(main_~length~0 < 1); 147#L367-2 call main_#t~malloc206.base, main_#t~malloc206.offset := #Ultimate.alloc(4 * main_~length~0);main_~arr~0.base, main_~arr~0.offset := main_#t~malloc206.base, main_#t~malloc206.offset; 148#L369 assume !(main_~arr~0.base == 0 && main_~arr~0.offset == 0);main_~i~0 := 0; 149#L370-3 assume !!(main_~i~0 < main_~length~0);call write~int(main_#t~nondet208, main_~arr~0.base, main_~arr~0.offset + 4 * main_~i~0, 4);havoc main_#t~nondet208;call main_#t~mem209 := read~int(main_~arr~0.base, main_~arr~0.offset + 4 * main_~i~0, 4); 142#L372 assume !(main_#t~mem209 < 1);havoc main_#t~mem209; 143#L370-2 main_#t~post207 := main_~i~0;main_~i~0 := 1 + main_#t~post207;havoc main_#t~post207; 150#L370-3 assume !(main_~i~0 < main_~length~0); 144#L370-4 main_~j~0 := 1; 145#L377-2 [2018-11-28 23:24:09,515 INFO L796 eck$LassoCheckResult]: Loop: 145#L377-2 assume !!(1 <= main_~j~0 && main_~j~0 < main_~length~0);call main_#t~mem210 := read~int(main_~arr~0.base, main_~arr~0.offset + 4 * main_~j~0, 4);main_~j~0 := main_~j~0 * main_#t~mem210;havoc main_#t~mem210; 145#L377-2 [2018-11-28 23:24:09,515 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:09,516 INFO L82 PathProgramCache]: Analyzing trace with hash -1982565540, now seen corresponding path program 1 times [2018-11-28 23:24:09,516 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:09,516 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:09,519 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,519 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:09,519 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,528 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:09,537 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:09,541 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:09,541 INFO L82 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 2 times [2018-11-28 23:24:09,541 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:09,542 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:09,542 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,543 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:09,543 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,545 ERROR L235 seRefinementStrategy]: Caught known exception: Unsupported non-linear arithmetic [2018-11-28 23:24:09,545 INFO L258 seRefinementStrategy]: Advancing trace checker [2018-11-28 23:24:09,545 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2018-11-28 23:24:09,570 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-11-28 23:24:09,579 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2018-11-28 23:24:09,579 INFO L250 tOrderPrioritization]: Conjunction of SSA is sat [2018-11-28 23:24:09,585 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:09,615 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:09,619 INFO L82 PathProgramCache]: Analyzing trace with hash -1329989554, now seen corresponding path program 1 times [2018-11-28 23:24:09,619 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:09,619 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:09,621 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,621 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:24:09,621 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:09,634 ERROR L235 seRefinementStrategy]: Caught known exception: Unsupported non-linear arithmetic [2018-11-28 23:24:09,637 INFO L258 seRefinementStrategy]: Advancing trace checker [2018-11-28 23:24:09,643 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2018-11-28 23:24:09,666 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:09,684 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:24:09,687 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:24:09,861 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:24:09,886 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 1 imperfect interpolant sequences. [2018-11-28 23:24:09,887 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [5] total 5 [2018-11-28 23:24:10,065 WARN L180 SmtUtils]: Spent 141.00 ms on a formula simplification that was a NOOP. DAG size: 26 [2018-11-28 23:24:10,066 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-28 23:24:10,066 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2018-11-28 23:24:10,067 INFO L87 Difference]: Start difference. First operand 11 states and 14 transitions. cyclomatic complexity: 5 Second operand 6 states. [2018-11-28 23:24:10,549 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 23:24:10,549 INFO L93 Difference]: Finished difference Result 24 states and 31 transitions. [2018-11-28 23:24:10,549 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-11-28 23:24:10,550 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 24 states and 31 transitions. [2018-11-28 23:24:10,551 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2018-11-28 23:24:10,552 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 24 states to 16 states and 20 transitions. [2018-11-28 23:24:10,552 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2018-11-28 23:24:10,553 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2018-11-28 23:24:10,553 INFO L73 IsDeterministic]: Start isDeterministic. Operand 16 states and 20 transitions. [2018-11-28 23:24:10,553 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2018-11-28 23:24:10,553 INFO L705 BuchiCegarLoop]: Abstraction has 16 states and 20 transitions. [2018-11-28 23:24:10,553 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states and 20 transitions. [2018-11-28 23:24:10,556 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 14. [2018-11-28 23:24:10,556 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 14 states. [2018-11-28 23:24:10,556 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 17 transitions. [2018-11-28 23:24:10,557 INFO L728 BuchiCegarLoop]: Abstraction has 14 states and 17 transitions. [2018-11-28 23:24:10,557 INFO L608 BuchiCegarLoop]: Abstraction has 14 states and 17 transitions. [2018-11-28 23:24:10,557 INFO L442 BuchiCegarLoop]: ======== Iteration 4============ [2018-11-28 23:24:10,557 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states and 17 transitions. [2018-11-28 23:24:10,558 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2018-11-28 23:24:10,558 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:24:10,558 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:24:10,559 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:24:10,559 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1] [2018-11-28 23:24:10,559 INFO L794 eck$LassoCheckResult]: Stem: 228#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 222#L-1 havoc main_#res;havoc main_#t~nondet205, main_#t~malloc206.base, main_#t~malloc206.offset, main_#t~nondet208, main_#t~mem209, main_#t~post207, main_#t~mem210, main_~i~0, main_~j~0, main_~length~0, main_~arr~0.base, main_~arr~0.offset;havoc main_~i~0;havoc main_~j~0;main_~length~0 := main_#t~nondet205;havoc main_#t~nondet205; 223#L367 assume !(main_~length~0 < 1); 229#L367-2 call main_#t~malloc206.base, main_#t~malloc206.offset := #Ultimate.alloc(4 * main_~length~0);main_~arr~0.base, main_~arr~0.offset := main_#t~malloc206.base, main_#t~malloc206.offset; 230#L369 assume !(main_~arr~0.base == 0 && main_~arr~0.offset == 0);main_~i~0 := 0; 231#L370-3 assume !!(main_~i~0 < main_~length~0);call write~int(main_#t~nondet208, main_~arr~0.base, main_~arr~0.offset + 4 * main_~i~0, 4);havoc main_#t~nondet208;call main_#t~mem209 := read~int(main_~arr~0.base, main_~arr~0.offset + 4 * main_~i~0, 4); 233#L372 assume !(main_#t~mem209 < 1);havoc main_#t~mem209; 235#L370-2 main_#t~post207 := main_~i~0;main_~i~0 := 1 + main_#t~post207;havoc main_#t~post207; 234#L370-3 assume !!(main_~i~0 < main_~length~0);call write~int(main_#t~nondet208, main_~arr~0.base, main_~arr~0.offset + 4 * main_~i~0, 4);havoc main_#t~nondet208;call main_#t~mem209 := read~int(main_~arr~0.base, main_~arr~0.offset + 4 * main_~i~0, 4); 224#L372 assume !(main_#t~mem209 < 1);havoc main_#t~mem209; 225#L370-2 main_#t~post207 := main_~i~0;main_~i~0 := 1 + main_#t~post207;havoc main_#t~post207; 232#L370-3 assume !(main_~i~0 < main_~length~0); 226#L370-4 main_~j~0 := 1; 227#L377-2 [2018-11-28 23:24:10,560 INFO L796 eck$LassoCheckResult]: Loop: 227#L377-2 assume !!(1 <= main_~j~0 && main_~j~0 < main_~length~0);call main_#t~mem210 := read~int(main_~arr~0.base, main_~arr~0.offset + 4 * main_~j~0, 4);main_~j~0 := main_~j~0 * main_#t~mem210;havoc main_#t~mem210; 227#L377-2 [2018-11-28 23:24:10,562 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:10,562 INFO L82 PathProgramCache]: Analyzing trace with hash 1781949270, now seen corresponding path program 2 times [2018-11-28 23:24:10,563 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:10,563 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:10,564 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:10,564 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:24:10,564 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:10,573 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:10,584 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:10,589 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:10,589 INFO L82 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 3 times [2018-11-28 23:24:10,589 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:10,589 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:10,590 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:10,590 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:24:10,590 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:10,591 ERROR L235 seRefinementStrategy]: Caught known exception: Unsupported non-linear arithmetic [2018-11-28 23:24:10,591 INFO L258 seRefinementStrategy]: Advancing trace checker [2018-11-28 23:24:10,591 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 5 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2018-11-28 23:24:10,612 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST2 [2018-11-28 23:24:10,617 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 1 check-sat command(s) [2018-11-28 23:24:10,618 INFO L250 tOrderPrioritization]: Conjunction of SSA is sat [2018-11-28 23:24:10,622 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:10,654 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:24:10,655 INFO L82 PathProgramCache]: Analyzing trace with hash -594147436, now seen corresponding path program 2 times [2018-11-28 23:24:10,655 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:24:10,655 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:24:10,656 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:10,656 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:24:10,656 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:24:10,675 ERROR L235 seRefinementStrategy]: Caught known exception: Unsupported non-linear arithmetic [2018-11-28 23:24:10,679 INFO L258 seRefinementStrategy]: Advancing trace checker [2018-11-28 23:24:10,679 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 6 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2018-11-28 23:24:10,703 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-11-28 23:24:10,724 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-11-28 23:24:10,724 INFO L250 tOrderPrioritization]: Conjunction of SSA is sat [2018-11-28 23:24:10,732 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:24:11,482 WARN L180 SmtUtils]: Spent 675.00 ms on a formula simplification. DAG size of input: 92 DAG size of output: 75 [2018-11-28 23:24:11,596 WARN L180 SmtUtils]: Spent 102.00 ms on a formula simplification that was a NOOP. DAG size: 52 [2018-11-28 23:24:11,631 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.11 11:24:11 BoogieIcfgContainer [2018-11-28 23:24:11,631 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2018-11-28 23:24:11,631 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-28 23:24:11,632 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-28 23:24:11,632 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-28 23:24:11,632 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 11:24:06" (3/4) ... [2018-11-28 23:24:11,639 INFO L141 WitnessPrinter]: Generating witness for non-termination counterexample [2018-11-28 23:24:11,691 INFO L145 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2018-11-28 23:24:11,691 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-28 23:24:11,692 INFO L168 Benchmark]: Toolchain (without parser) took 6444.51 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 116.4 MB). Free memory was 952.7 MB in the beginning and 839.9 MB in the end (delta: 112.8 MB). Peak memory consumption was 229.2 MB. Max. memory is 11.5 GB. [2018-11-28 23:24:11,694 INFO L168 Benchmark]: CDTParser took 0.16 ms. Allocated memory is still 1.0 GB. Free memory is still 978.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-28 23:24:11,694 INFO L168 Benchmark]: CACSL2BoogieTranslator took 668.94 ms. Allocated memory is still 1.0 GB. Free memory was 952.7 MB in the beginning and 924.5 MB in the end (delta: 28.2 MB). Peak memory consumption was 28.2 MB. Max. memory is 11.5 GB. [2018-11-28 23:24:11,696 INFO L168 Benchmark]: Boogie Procedure Inliner took 127.47 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 116.4 MB). Free memory was 924.5 MB in the beginning and 1.1 GB in the end (delta: -179.9 MB). Peak memory consumption was 14.2 MB. Max. memory is 11.5 GB. [2018-11-28 23:24:11,697 INFO L168 Benchmark]: Boogie Preprocessor took 30.49 ms. Allocated memory is still 1.1 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-28 23:24:11,699 INFO L168 Benchmark]: RCFGBuilder took 420.39 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 18.9 MB). Peak memory consumption was 18.9 MB. Max. memory is 11.5 GB. [2018-11-28 23:24:11,699 INFO L168 Benchmark]: BuchiAutomizer took 5131.82 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 846.6 MB in the end (delta: 238.9 MB). Peak memory consumption was 238.9 MB. Max. memory is 11.5 GB. [2018-11-28 23:24:11,700 INFO L168 Benchmark]: Witness Printer took 59.63 ms. Allocated memory is still 1.1 GB. Free memory was 846.6 MB in the beginning and 839.9 MB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. [2018-11-28 23:24:11,706 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.16 ms. Allocated memory is still 1.0 GB. Free memory is still 978.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 668.94 ms. Allocated memory is still 1.0 GB. Free memory was 952.7 MB in the beginning and 924.5 MB in the end (delta: 28.2 MB). Peak memory consumption was 28.2 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 127.47 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 116.4 MB). Free memory was 924.5 MB in the beginning and 1.1 GB in the end (delta: -179.9 MB). Peak memory consumption was 14.2 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 30.49 ms. Allocated memory is still 1.1 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 420.39 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 18.9 MB). Peak memory consumption was 18.9 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 5131.82 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 846.6 MB in the end (delta: 238.9 MB). Peak memory consumption was 238.9 MB. Max. memory is 11.5 GB. * Witness Printer took 59.63 ms. Allocated memory is still 1.1 GB. Free memory was 846.6 MB in the beginning and 839.9 MB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 3 terminating modules (2 trivial, 1 deterministic, 0 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function -1 * i + length and consists of 5 locations. 2 modules have a trivial ranking function, the largest among these consists of 6 locations. The remainder module has 14 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 5.0s and 4 iterations. TraceHistogramMax:2. Analysis of lassos took 4.1s. Construction of modules took 0.3s. Büchi inclusion checks took 0.4s. Highest rank in rank-based complementation 3. Minimization of det autom 3. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 4 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 14 states and ocurred in iteration 3. Nontrivial modules had stage [1, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 29 SDtfs, 56 SDslu, 26 SDs, 0 SdLazy, 58 SolverSat, 9 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s Time LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT0 conc1 concLT0 SILN0 SILU1 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital101 mio100 ax100 hnf99 lsp91 ukn82 mio100 lsp66 div100 bol100 ite100 ukn100 eq167 hnf91 smp100 dnf100 smp100 tf100 neg100 sie102 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 11ms VariablesStem: 1 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 6 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 377]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {} State at position 1 is {NULL=0, \result=0, arr=3, arr=0, i=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@293d2295=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4f5ac95e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@62a608e4=0, length=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTArraySubscriptExpression@33bc0e69=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@62a608e4=3, j=1, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTArraySubscriptExpression@2a81d1ef=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTUnaryExpression@2e93828a=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 377]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L365] int i, j; [L366] int length = __VERIFIER_nondet_int(); [L367] COND FALSE !(length < 1) [L368] int *arr = __builtin_alloca(length*sizeof(int)); [L369] COND FALSE !(!arr) [L370] i=0 [L370] COND TRUE i