./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-15/array20_alloca.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version f470102c Calling Ultimate with: /usr/bin/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 ../sv-benchmarks/c/termination-15/array20_alloca.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.25-f470102 [2019-11-28 20:35:57,279 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-11-28 20:35:57,281 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-11-28 20:35:57,295 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-11-28 20:35:57,296 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-11-28 20:35:57,298 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-11-28 20:35:57,301 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-11-28 20:35:57,311 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-11-28 20:35:57,313 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-11-28 20:35:57,316 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-11-28 20:35:57,318 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2019-11-28 20:35:57,319 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-11-28 20:35:57,321 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-11-28 20:35:57,324 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-11-28 20:35:57,326 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-11-28 20:35:57,328 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-11-28 20:35:57,330 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-11-28 20:35:57,333 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-11-28 20:35:57,336 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-11-28 20:35:57,341 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-11-28 20:35:57,346 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-11-28 20:35:57,350 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-11-28 20:35:57,351 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-11-28 20:35:57,353 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-11-28 20:35:57,356 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-11-28 20:35:57,356 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-11-28 20:35:57,356 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-11-28 20:35:57,358 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-11-28 20:35:57,359 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-11-28 20:35:57,360 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-11-28 20:35:57,361 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-11-28 20:35:57,362 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-11-28 20:35:57,363 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-11-28 20:35:57,365 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-11-28 20:35:57,366 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-11-28 20:35:57,366 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-11-28 20:35:57,367 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-11-28 20:35:57,368 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-11-28 20:35:57,368 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-11-28 20:35:57,369 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-11-28 20:35:57,370 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-11-28 20:35:57,372 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2019-11-28 20:35:57,411 INFO L113 SettingsManager]: Loading preferences was successful [2019-11-28 20:35:57,411 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-11-28 20:35:57,414 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-11-28 20:35:57,415 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-11-28 20:35:57,415 INFO L138 SettingsManager]: * Use SBE=true [2019-11-28 20:35:57,417 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2019-11-28 20:35:57,418 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2019-11-28 20:35:57,418 INFO L138 SettingsManager]: * Use old map elimination=false [2019-11-28 20:35:57,418 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2019-11-28 20:35:57,419 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2019-11-28 20:35:57,420 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2019-11-28 20:35:57,420 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-11-28 20:35:57,420 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2019-11-28 20:35:57,421 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-11-28 20:35:57,421 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-11-28 20:35:57,422 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2019-11-28 20:35:57,422 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2019-11-28 20:35:57,422 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2019-11-28 20:35:57,422 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-11-28 20:35:57,423 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2019-11-28 20:35:57,423 INFO L138 SettingsManager]: * Use constant arrays=true [2019-11-28 20:35:57,423 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2019-11-28 20:35:57,423 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-11-28 20:35:57,424 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-11-28 20:35:57,424 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2019-11-28 20:35:57,425 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-11-28 20:35:57,425 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2019-11-28 20:35:57,425 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2019-11-28 20:35:57,425 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2019-11-28 20:35:57,427 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2019-11-28 20:35:57,428 INFO L138 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 [2019-11-28 20:35:57,752 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-11-28 20:35:57,772 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-11-28 20:35:57,775 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-11-28 20:35:57,777 INFO L271 PluginConnector]: Initializing CDTParser... [2019-11-28 20:35:57,778 INFO L275 PluginConnector]: CDTParser initialized [2019-11-28 20:35:57,779 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-15/array20_alloca.i [2019-11-28 20:35:57,853 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/59a62eefe/46dc1fd1d6ed411cac6f1c4325eff3ba/FLAG218dd7c09 [2019-11-28 20:35:58,418 INFO L306 CDTParser]: Found 1 translation units. [2019-11-28 20:35:58,419 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-15/array20_alloca.i [2019-11-28 20:35:58,431 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/59a62eefe/46dc1fd1d6ed411cac6f1c4325eff3ba/FLAG218dd7c09 [2019-11-28 20:35:58,766 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/59a62eefe/46dc1fd1d6ed411cac6f1c4325eff3ba [2019-11-28 20:35:58,769 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-11-28 20:35:58,771 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2019-11-28 20:35:58,772 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2019-11-28 20:35:58,772 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2019-11-28 20:35:58,776 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2019-11-28 20:35:58,777 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 08:35:58" (1/1) ... [2019-11-28 20:35:58,780 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5f7ce7e5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:58, skipping insertion in model container [2019-11-28 20:35:58,780 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 08:35:58" (1/1) ... [2019-11-28 20:35:58,791 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2019-11-28 20:35:58,844 INFO L178 MainTranslator]: Built tables and reachable declarations [2019-11-28 20:35:59,331 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 20:35:59,344 INFO L203 MainTranslator]: Completed pre-run [2019-11-28 20:35:59,408 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 20:35:59,488 INFO L208 MainTranslator]: Completed translation [2019-11-28 20:35:59,488 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59 WrapperNode [2019-11-28 20:35:59,489 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2019-11-28 20:35:59,489 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-11-28 20:35:59,490 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-11-28 20:35:59,490 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-11-28 20:35:59,499 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (1/1) ... [2019-11-28 20:35:59,514 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (1/1) ... [2019-11-28 20:35:59,536 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-11-28 20:35:59,537 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-11-28 20:35:59,537 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-11-28 20:35:59,537 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-11-28 20:35:59,547 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (1/1) ... [2019-11-28 20:35:59,547 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (1/1) ... [2019-11-28 20:35:59,549 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (1/1) ... [2019-11-28 20:35:59,549 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (1/1) ... [2019-11-28 20:35:59,555 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (1/1) ... [2019-11-28 20:35:59,562 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (1/1) ... [2019-11-28 20:35:59,567 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (1/1) ... [2019-11-28 20:35:59,572 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-11-28 20:35:59,575 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-11-28 20:35:59,575 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-11-28 20:35:59,577 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-11-28 20:35:59,578 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (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 [2019-11-28 20:35:59,649 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2019-11-28 20:35:59,649 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2019-11-28 20:35:59,650 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2019-11-28 20:35:59,650 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2019-11-28 20:35:59,650 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-11-28 20:35:59,650 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-11-28 20:35:59,872 INFO L282 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-11-28 20:35:59,873 INFO L287 CfgBuilder]: Removed 6 assume(true) statements. [2019-11-28 20:35:59,875 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:35:59 BoogieIcfgContainer [2019-11-28 20:35:59,875 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-11-28 20:35:59,876 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2019-11-28 20:35:59,877 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2019-11-28 20:35:59,882 INFO L275 PluginConnector]: BuchiAutomizer initialized [2019-11-28 20:35:59,884 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 20:35:59,884 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.11 08:35:58" (1/3) ... [2019-11-28 20:35:59,886 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6a0acda6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 08:35:59, skipping insertion in model container [2019-11-28 20:35:59,886 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 20:35:59,886 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:35:59" (2/3) ... [2019-11-28 20:35:59,887 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6a0acda6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 08:35:59, skipping insertion in model container [2019-11-28 20:35:59,887 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 20:35:59,887 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:35:59" (3/3) ... [2019-11-28 20:35:59,890 INFO L371 chiAutomizerObserver]: Analyzing ICFG array20_alloca.i [2019-11-28 20:35:59,958 INFO L356 BuchiCegarLoop]: Interprodecural is true [2019-11-28 20:35:59,958 INFO L357 BuchiCegarLoop]: Hoare is false [2019-11-28 20:35:59,958 INFO L358 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2019-11-28 20:35:59,958 INFO L359 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2019-11-28 20:35:59,959 INFO L360 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-11-28 20:35:59,959 INFO L361 BuchiCegarLoop]: Difference is false [2019-11-28 20:35:59,959 INFO L362 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-11-28 20:35:59,959 INFO L365 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2019-11-28 20:35:59,975 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states. [2019-11-28 20:36:00,000 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 4 [2019-11-28 20:36:00,001 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:36:00,001 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:36:00,010 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2019-11-28 20:36:00,010 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 20:36:00,011 INFO L424 BuchiCegarLoop]: ======== Iteration 1============ [2019-11-28 20:36:00,011 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states. [2019-11-28 20:36:00,013 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 4 [2019-11-28 20:36:00,013 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:36:00,013 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:36:00,014 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2019-11-28 20:36:00,014 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 20:36:00,023 INFO L794 eck$LassoCheckResult]: Stem: 9#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 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.allocOnStack(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 [2019-11-28 20:36:00,023 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 [2019-11-28 20:36:00,028 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:00,029 INFO L82 PathProgramCache]: Analyzing trace with hash 28695753, now seen corresponding path program 1 times [2019-11-28 20:36:00,036 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:00,036 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [731680635] [2019-11-28 20:36:00,036 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:00,121 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:00,133 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:00,154 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:36:00,155 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:00,155 INFO L82 PathProgramCache]: Analyzing trace with hash 51737, now seen corresponding path program 1 times [2019-11-28 20:36:00,156 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:00,156 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [672710354] [2019-11-28 20:36:00,156 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:00,167 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:00,177 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:00,180 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:36:00,185 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:00,185 INFO L82 PathProgramCache]: Analyzing trace with hash 176707665, now seen corresponding path program 1 times [2019-11-28 20:36:00,186 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:00,186 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [174955421] [2019-11-28 20:36:00,186 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:00,222 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:00,238 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:00,243 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:36:00,485 WARN L192 SmtUtils]: Spent 120.00 ms on a formula simplification. DAG size of input: 46 DAG size of output: 39 [2019-11-28 20:36:00,537 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:36:00,538 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:36:00,539 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:36:00,539 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:36:00,540 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 20:36:00,540 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:00,540 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:36:00,540 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:36:00,541 INFO L133 ssoRankerPreferences]: Filename of dumped script: array20_alloca.i_Iteration1_Lasso [2019-11-28 20:36:00,541 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:36:00,541 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:36:00,578 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:00,588 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:00,591 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:00,595 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:00,601 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:00,607 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:00,613 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:00,621 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:00,760 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:00,763 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:36:01,025 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:36:01,031 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 20:36:01,048 INFO L120 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 [2019-11-28 20:36:01,053 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:36:01,054 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:36:01,055 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:36:01,055 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:36:01,055 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:36:01,058 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:36:01,059 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:01,062 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 20:36:01,081 INFO L120 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 [2019-11-28 20:36:01,084 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:36:01,084 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:36:01,084 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:36:01,085 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:36:01,085 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:36:01,088 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:36:01,090 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:01,094 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 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 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:01,111 INFO L120 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 [2019-11-28 20:36:01,114 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:36:01,114 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:36:01,114 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:36:01,114 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:36:01,117 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:36:01,118 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:36:01,118 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 20:36:01,121 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 20:36:01,143 INFO L120 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 [2019-11-28 20:36:01,145 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:36:01,145 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:36:01,145 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:36:01,145 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:36:01,156 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:36:01,156 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:01,169 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 6 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 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:01,192 INFO L120 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 [2019-11-28 20:36:01,197 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:36:01,197 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:36:01,197 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:36:01,197 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:36:01,198 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:36:01,201 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:36:01,201 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 20:36:01,206 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 7 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 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:01,214 INFO L120 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 [2019-11-28 20:36:01,216 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:36:01,216 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:36:01,216 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:36:01,216 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:36:01,217 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:36:01,218 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:36:01,218 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 20:36:01,220 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 8 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 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:01,234 INFO L120 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 [2019-11-28 20:36:01,236 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:36:01,236 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:36:01,236 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:36:01,238 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:36:01,242 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:36:01,242 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2019-11-28 20:36:01,251 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. [MP z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Exception during sending of exit command (exit): Broken pipe No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 20:36:01,265 INFO L120 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 Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:01,268 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:36:01,268 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:36:01,268 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:36:01,269 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:36:01,278 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:36:01,279 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2019-11-28 20:36:01,295 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 20:36:01,352 INFO L443 ModelExtractionUtils]: Simplification made 16 calls to the SMT solver. [2019-11-28 20:36:01,352 INFO L444 ModelExtractionUtils]: 4 out of 22 variables were initially zero. Simplification set additionally 15 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 20:36:01,360 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:36:01,364 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2019-11-28 20:36:01,364 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 20:36:01,365 INFO L512 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 [] [2019-11-28 20:36:01,386 INFO L297 tatePredicateManager]: 3 out of 3 supporting invariants were superfluous and have been removed [2019-11-28 20:36:01,423 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:01,445 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:36:01,448 INFO L264 TraceCheckSpWp]: Trace formula consists of 26 conjuncts, 2 conjunts are in the unsatisfiable core [2019-11-28 20:36:01,450 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:36:01,473 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:36:01,475 INFO L264 TraceCheckSpWp]: Trace formula consists of 18 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-28 20:36:01,476 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:36:01,492 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:36:01,511 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 [2019-11-28 20:36:01,512 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 14 states. Second operand 3 states. [2019-11-28 20:36:01,593 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. [2019-11-28 20:36:01,595 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 [2019-11-28 20:36:01,597 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-11-28 20:36:01,597 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 29 transitions. [2019-11-28 20:36:01,600 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 5 letters. Loop has 3 letters. [2019-11-28 20:36:01,603 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:36:01,603 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 8 letters. Loop has 3 letters. [2019-11-28 20:36:01,604 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:36:01,604 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 5 letters. Loop has 6 letters. [2019-11-28 20:36:01,604 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:36:01,606 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 32 states and 44 transitions. [2019-11-28 20:36:01,618 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2019-11-28 20:36:01,623 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 32 states to 11 states and 15 transitions. [2019-11-28 20:36:01,625 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 7 [2019-11-28 20:36:01,625 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2019-11-28 20:36:01,626 INFO L73 IsDeterministic]: Start isDeterministic. Operand 11 states and 15 transitions. [2019-11-28 20:36:01,628 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2019-11-28 20:36:01,628 INFO L688 BuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2019-11-28 20:36:01,651 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 11 states and 15 transitions. [2019-11-28 20:36:01,662 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 11 to 11. [2019-11-28 20:36:01,662 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2019-11-28 20:36:01,665 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 15 transitions. [2019-11-28 20:36:01,666 INFO L711 BuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2019-11-28 20:36:01,666 INFO L591 BuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2019-11-28 20:36:01,667 INFO L424 BuchiCegarLoop]: ======== Iteration 2============ [2019-11-28 20:36:01,667 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 11 states and 15 transitions. [2019-11-28 20:36:01,669 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2019-11-28 20:36:01,670 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:36:01,670 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:36:01,670 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2019-11-28 20:36:01,670 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1] [2019-11-28 20:36:01,671 INFO L794 eck$LassoCheckResult]: Stem: 115#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 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.allocOnStack(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 [2019-11-28 20:36:01,671 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 [2019-11-28 20:36:01,672 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:01,672 INFO L82 PathProgramCache]: Analyzing trace with hash 1806815510, now seen corresponding path program 1 times [2019-11-28 20:36:01,672 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:01,672 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [218266877] [2019-11-28 20:36:01,673 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:01,707 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:36:01,792 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:36:01,793 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [218266877] [2019-11-28 20:36:01,793 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 20:36:01,794 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2019-11-28 20:36:01,794 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [611987776] [2019-11-28 20:36:01,799 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 20:36:01,802 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:01,802 INFO L82 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 1 times [2019-11-28 20:36:01,802 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:01,804 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2047038351] [2019-11-28 20:36:01,804 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:01,810 ERROR L271 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2019-11-28 20:36:01,811 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [458863410] [2019-11-28 20:36:01,811 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 11 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 11 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 20:36:01,851 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:01,857 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:01,866 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:36:02,009 WARN L192 SmtUtils]: Spent 141.00 ms on a formula simplification that was a NOOP. DAG size: 28 [2019-11-28 20:36:02,038 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 20:36:02,042 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2019-11-28 20:36:02,043 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2019-11-28 20:36:02,044 INFO L87 Difference]: Start difference. First operand 11 states and 15 transitions. cyclomatic complexity: 6 Second operand 4 states. [2019-11-28 20:36:02,088 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 20:36:02,089 INFO L93 Difference]: Finished difference Result 13 states and 17 transitions. [2019-11-28 20:36:02,089 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2019-11-28 20:36:02,090 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 13 states and 17 transitions. [2019-11-28 20:36:02,091 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2019-11-28 20:36:02,092 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 13 states to 13 states and 17 transitions. [2019-11-28 20:36:02,093 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2019-11-28 20:36:02,093 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2019-11-28 20:36:02,093 INFO L73 IsDeterministic]: Start isDeterministic. Operand 13 states and 17 transitions. [2019-11-28 20:36:02,093 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2019-11-28 20:36:02,094 INFO L688 BuchiCegarLoop]: Abstraction has 13 states and 17 transitions. [2019-11-28 20:36:02,094 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states and 17 transitions. [2019-11-28 20:36:02,096 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 11. [2019-11-28 20:36:02,097 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2019-11-28 20:36:02,098 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 14 transitions. [2019-11-28 20:36:02,098 INFO L711 BuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2019-11-28 20:36:02,098 INFO L591 BuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2019-11-28 20:36:02,098 INFO L424 BuchiCegarLoop]: ======== Iteration 3============ [2019-11-28 20:36:02,099 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 11 states and 14 transitions. [2019-11-28 20:36:02,100 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2019-11-28 20:36:02,100 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:36:02,100 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:36:02,101 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 20:36:02,101 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1] [2019-11-28 20:36:02,106 INFO L794 eck$LassoCheckResult]: Stem: 146#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 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.allocOnStack(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 [2019-11-28 20:36:02,108 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 [2019-11-28 20:36:02,108 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:02,108 INFO L82 PathProgramCache]: Analyzing trace with hash -1982565540, now seen corresponding path program 1 times [2019-11-28 20:36:02,109 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:02,109 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1036127048] [2019-11-28 20:36:02,109 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:02,136 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:02,164 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:02,171 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:36:02,176 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:02,176 INFO L82 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 2 times [2019-11-28 20:36:02,176 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:02,176 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [309241525] [2019-11-28 20:36:02,177 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:02,180 ERROR L271 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2019-11-28 20:36:02,180 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1148304175] [2019-11-28 20:36:02,180 INFO L92 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 12 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2019-11-28 20:36:02,212 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2019-11-28 20:36:02,213 INFO L250 tOrderPrioritization]: Conjunction of SSA is sat Waiting until toolchain timeout for monitored process 12 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 20:36:02,216 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:02,219 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:36:02,220 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:02,220 INFO L82 PathProgramCache]: Analyzing trace with hash -1329989554, now seen corresponding path program 1 times [2019-11-28 20:36:02,220 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:02,221 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1167049228] [2019-11-28 20:36:02,221 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:02,230 ERROR L271 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2019-11-28 20:36:02,230 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1150951259] [2019-11-28 20:36:02,231 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 13 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 13 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 20:36:02,270 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:36:02,271 INFO L264 TraceCheckSpWp]: Trace formula consists of 48 conjuncts, 5 conjunts are in the unsatisfiable core [2019-11-28 20:36:02,272 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:36:02,306 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:36:02,306 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1167049228] [2019-11-28 20:36:02,307 INFO L343 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: Unknown [2019-11-28 20:36:02,307 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1150951259] [2019-11-28 20:36:02,307 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 1 imperfect interpolant sequences. [2019-11-28 20:36:02,307 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5] total 5 [2019-11-28 20:36:02,307 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1322298746] [2019-11-28 20:36:02,334 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 20:36:02,334 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2019-11-28 20:36:02,334 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2019-11-28 20:36:02,334 INFO L87 Difference]: Start difference. First operand 11 states and 14 transitions. cyclomatic complexity: 5 Second operand 6 states. [2019-11-28 20:36:02,407 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 20:36:02,407 INFO L93 Difference]: Finished difference Result 24 states and 31 transitions. [2019-11-28 20:36:02,407 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2019-11-28 20:36:02,408 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 24 states and 31 transitions. [2019-11-28 20:36:02,409 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2019-11-28 20:36:02,410 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 24 states to 16 states and 20 transitions. [2019-11-28 20:36:02,410 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2019-11-28 20:36:02,410 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2019-11-28 20:36:02,411 INFO L73 IsDeterministic]: Start isDeterministic. Operand 16 states and 20 transitions. [2019-11-28 20:36:02,411 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2019-11-28 20:36:02,411 INFO L688 BuchiCegarLoop]: Abstraction has 16 states and 20 transitions. [2019-11-28 20:36:02,411 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states and 20 transitions. [2019-11-28 20:36:02,412 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 14. [2019-11-28 20:36:02,412 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 14 states. [2019-11-28 20:36:02,413 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 17 transitions. [2019-11-28 20:36:02,413 INFO L711 BuchiCegarLoop]: Abstraction has 14 states and 17 transitions. [2019-11-28 20:36:02,413 INFO L591 BuchiCegarLoop]: Abstraction has 14 states and 17 transitions. [2019-11-28 20:36:02,413 INFO L424 BuchiCegarLoop]: ======== Iteration 4============ [2019-11-28 20:36:02,414 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states and 17 transitions. [2019-11-28 20:36:02,414 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2019-11-28 20:36:02,414 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:36:02,415 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:36:02,415 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 20:36:02,415 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1] [2019-11-28 20:36:02,416 INFO L794 eck$LassoCheckResult]: Stem: 228#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 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.allocOnStack(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 [2019-11-28 20:36:02,416 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 [2019-11-28 20:36:02,416 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:02,416 INFO L82 PathProgramCache]: Analyzing trace with hash 1781949270, now seen corresponding path program 2 times [2019-11-28 20:36:02,417 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:02,417 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [147101849] [2019-11-28 20:36:02,417 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:02,431 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:02,444 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:02,449 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:36:02,449 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:02,449 INFO L82 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 3 times [2019-11-28 20:36:02,450 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:02,450 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [753618311] [2019-11-28 20:36:02,450 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:02,452 ERROR L271 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2019-11-28 20:36:02,452 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1067246965] [2019-11-28 20:36:02,453 INFO L92 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 14 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 14 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 20:36:02,493 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 1 check-sat command(s) [2019-11-28 20:36:02,493 INFO L250 tOrderPrioritization]: Conjunction of SSA is sat [2019-11-28 20:36:02,496 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:02,499 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:36:02,500 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:36:02,500 INFO L82 PathProgramCache]: Analyzing trace with hash -594147436, now seen corresponding path program 2 times [2019-11-28 20:36:02,500 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:36:02,500 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1287104786] [2019-11-28 20:36:02,501 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:36:02,513 ERROR L271 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2019-11-28 20:36:02,516 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1284016300] [2019-11-28 20:36:02,517 INFO L92 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 15 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 15 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 20:36:02,579 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2019-11-28 20:36:02,580 INFO L250 tOrderPrioritization]: Conjunction of SSA is sat [2019-11-28 20:36:02,591 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:36:02,605 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:36:02,911 WARN L192 SmtUtils]: Spent 260.00 ms on a formula simplification. DAG size of input: 99 DAG size of output: 76 [2019-11-28 20:36:03,005 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.11 08:36:03 BoogieIcfgContainer [2019-11-28 20:36:03,005 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2019-11-28 20:36:03,005 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2019-11-28 20:36:03,006 INFO L271 PluginConnector]: Initializing Witness Printer... [2019-11-28 20:36:03,006 INFO L275 PluginConnector]: Witness Printer initialized [2019-11-28 20:36:03,007 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:35:59" (3/4) ... [2019-11-28 20:36:03,012 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2019-11-28 20:36:03,060 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2019-11-28 20:36:03,060 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2019-11-28 20:36:03,063 INFO L168 Benchmark]: Toolchain (without parser) took 4291.74 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 202.9 MB). Free memory was 956.3 MB in the beginning and 1.2 GB in the end (delta: -194.4 MB). Peak memory consumption was 8.5 MB. Max. memory is 11.5 GB. [2019-11-28 20:36:03,065 INFO L168 Benchmark]: CDTParser took 0.20 ms. Allocated memory is still 1.0 GB. Free memory is still 981.8 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 20:36:03,069 INFO L168 Benchmark]: CACSL2BoogieTranslator took 717.26 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 124.3 MB). Free memory was 956.3 MB in the beginning and 1.1 GB in the end (delta: -142.4 MB). Peak memory consumption was 20.7 MB. Max. memory is 11.5 GB. [2019-11-28 20:36:03,072 INFO L168 Benchmark]: Boogie Procedure Inliner took 46.87 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 20:36:03,073 INFO L168 Benchmark]: Boogie Preprocessor took 38.30 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 20:36:03,077 INFO L168 Benchmark]: RCFGBuilder took 300.25 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 17.8 MB). Peak memory consumption was 17.8 MB. Max. memory is 11.5 GB. [2019-11-28 20:36:03,078 INFO L168 Benchmark]: BuchiAutomizer took 3128.71 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 78.6 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -80.9 MB). Peak memory consumption was 296.0 MB. Max. memory is 11.5 GB. [2019-11-28 20:36:03,078 INFO L168 Benchmark]: Witness Printer took 55.02 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 11.1 MB). Peak memory consumption was 11.1 MB. Max. memory is 11.5 GB. [2019-11-28 20:36:03,085 INFO L335 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 1.0 GB. Free memory is still 981.8 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 717.26 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 124.3 MB). Free memory was 956.3 MB in the beginning and 1.1 GB in the end (delta: -142.4 MB). Peak memory consumption was 20.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 46.87 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 38.30 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 300.25 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 17.8 MB). Peak memory consumption was 17.8 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 3128.71 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 78.6 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -80.9 MB). Peak memory consumption was 296.0 MB. Max. memory is 11.5 GB. * Witness Printer took 55.02 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 11.1 MB). Peak memory consumption was 11.1 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 3.0s and 4 iterations. TraceHistogramMax:2. Analysis of lassos took 2.5s. Construction of modules took 0.0s. Büchi inclusion checks took 0.2s. 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.0s Time LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT0 conc1 concLT0 SILN0 SILU1 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital103 mio100 ax100 hnf99 lsp91 ukn82 mio100 lsp64 div100 bol100 ite100 ukn100 eq167 hnf91 smp100 dnf100 smp100 tf100 neg100 sie102 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 44ms 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 {NULL=1} State at position 1 is {NULL=0, \result=0, NULL=1, arr=2, arr=0, i=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@10110afd=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1cd75050=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@597a9151=0, length=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTArraySubscriptExpression@3d55888f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@597a9151=2, j=1, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTArraySubscriptExpression@4b4e8b4f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTUnaryExpression@3d01b589=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