./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 20ed64ec Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.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.2.1-dev-20ed64e [2021-08-27 14:30:55,035 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-08-27 14:30:55,036 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-08-27 14:30:55,056 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-08-27 14:30:55,056 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-08-27 14:30:55,065 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-08-27 14:30:55,066 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-08-27 14:30:55,068 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-08-27 14:30:55,070 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-08-27 14:30:55,071 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-08-27 14:30:55,072 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-08-27 14:30:55,073 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-08-27 14:30:55,075 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-08-27 14:30:55,075 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-08-27 14:30:55,077 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-08-27 14:30:55,079 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-08-27 14:30:55,080 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-08-27 14:30:55,081 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-08-27 14:30:55,084 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-08-27 14:30:55,086 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-08-27 14:30:55,088 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-08-27 14:30:55,089 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-08-27 14:30:55,090 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-08-27 14:30:55,091 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-08-27 14:30:55,094 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-08-27 14:30:55,099 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-08-27 14:30:55,099 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-08-27 14:30:55,100 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-08-27 14:30:55,100 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-08-27 14:30:55,101 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-08-27 14:30:55,101 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-08-27 14:30:55,102 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-08-27 14:30:55,102 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-08-27 14:30:55,103 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-08-27 14:30:55,103 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-08-27 14:30:55,103 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-08-27 14:30:55,104 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-08-27 14:30:55,105 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-08-27 14:30:55,105 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-08-27 14:30:55,106 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-08-27 14:30:55,107 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-08-27 14:30:55,108 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2021-08-27 14:30:55,138 INFO L113 SettingsManager]: Loading preferences was successful [2021-08-27 14:30:55,138 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-08-27 14:30:55,139 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-08-27 14:30:55,139 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-08-27 14:30:55,140 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-08-27 14:30:55,140 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-08-27 14:30:55,140 INFO L138 SettingsManager]: * Use SBE=true [2021-08-27 14:30:55,141 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-08-27 14:30:55,141 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-08-27 14:30:55,141 INFO L138 SettingsManager]: * Use old map elimination=false [2021-08-27 14:30:55,142 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-08-27 14:30:55,142 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-08-27 14:30:55,142 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-08-27 14:30:55,142 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-08-27 14:30:55,142 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-08-27 14:30:55,142 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-08-27 14:30:55,142 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-08-27 14:30:55,143 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-08-27 14:30:55,143 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-08-27 14:30:55,153 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-08-27 14:30:55,153 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-08-27 14:30:55,153 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-08-27 14:30:55,153 INFO L138 SettingsManager]: * Use constant arrays=true [2021-08-27 14:30:55,154 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-08-27 14:30:55,154 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-08-27 14:30:55,154 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-08-27 14:30:55,154 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-08-27 14:30:55,154 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-08-27 14:30:55,154 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-08-27 14:30:55,156 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-08-27 14:30:55,156 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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 [2021-08-27 14:30:55,425 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-08-27 14:30:55,439 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-08-27 14:30:55,440 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-08-27 14:30:55,441 INFO L271 PluginConnector]: Initializing CDTParser... [2021-08-27 14:30:55,442 INFO L275 PluginConnector]: CDTParser initialized [2021-08-27 14:30:55,442 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-15/array20_alloca.i [2021-08-27 14:30:55,489 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c690c9ee0/eb04574a2c714ee2b54114b6b9f1268a/FLAG64c78391d [2021-08-27 14:30:55,898 INFO L306 CDTParser]: Found 1 translation units. [2021-08-27 14:30:55,899 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-15/array20_alloca.i [2021-08-27 14:30:55,904 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c690c9ee0/eb04574a2c714ee2b54114b6b9f1268a/FLAG64c78391d [2021-08-27 14:30:56,278 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c690c9ee0/eb04574a2c714ee2b54114b6b9f1268a [2021-08-27 14:30:56,280 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-08-27 14:30:56,281 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-08-27 14:30:56,282 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-08-27 14:30:56,282 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-08-27 14:30:56,285 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-08-27 14:30:56,285 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,286 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7693c2ec and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56, skipping insertion in model container [2021-08-27 14:30:56,286 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,291 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-08-27 14:30:56,316 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-08-27 14:30:56,524 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-27 14:30:56,538 INFO L203 MainTranslator]: Completed pre-run [2021-08-27 14:30:56,561 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-27 14:30:56,582 INFO L208 MainTranslator]: Completed translation [2021-08-27 14:30:56,583 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56 WrapperNode [2021-08-27 14:30:56,583 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-08-27 14:30:56,584 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-08-27 14:30:56,584 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-08-27 14:30:56,584 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-08-27 14:30:56,588 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,595 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,607 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-08-27 14:30:56,608 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-08-27 14:30:56,608 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-08-27 14:30:56,608 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-08-27 14:30:56,613 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,613 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,615 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,615 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,617 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,620 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,620 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,621 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-08-27 14:30:56,622 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-08-27 14:30:56,622 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-08-27 14:30:56,622 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-08-27 14:30:56,623 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (1/1) ... [2021-08-27 14:30:56,627 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:56,631 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:56,655 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:56,674 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-08-27 14:30:56,702 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-08-27 14:30:56,702 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-08-27 14:30:56,702 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-08-27 14:30:56,702 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-08-27 14:30:56,702 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-08-27 14:30:56,702 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-08-27 14:30:56,843 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-08-27 14:30:56,844 INFO L299 CfgBuilder]: Removed 6 assume(true) statements. [2021-08-27 14:30:56,845 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 02:30:56 BoogieIcfgContainer [2021-08-27 14:30:56,845 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-08-27 14:30:56,853 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-08-27 14:30:56,854 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-08-27 14:30:56,856 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-08-27 14:30:56,857 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-08-27 14:30:56,857 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 27.08 02:30:56" (1/3) ... [2021-08-27 14:30:56,857 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@56fa005d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 27.08 02:30:56, skipping insertion in model container [2021-08-27 14:30:56,857 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-08-27 14:30:56,857 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 02:30:56" (2/3) ... [2021-08-27 14:30:56,858 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@56fa005d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 27.08 02:30:56, skipping insertion in model container [2021-08-27 14:30:56,858 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-08-27 14:30:56,858 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 02:30:56" (3/3) ... [2021-08-27 14:30:56,859 INFO L389 chiAutomizerObserver]: Analyzing ICFG array20_alloca.i [2021-08-27 14:30:56,911 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-08-27 14:30:56,912 INFO L360 BuchiCegarLoop]: Hoare is false [2021-08-27 14:30:56,912 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-08-27 14:30:56,912 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-08-27 14:30:56,912 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-08-27 14:30:56,912 INFO L364 BuchiCegarLoop]: Difference is false [2021-08-27 14:30:56,912 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-08-27 14:30:56,912 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-08-27 14:30:56,938 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 14 states, 13 states have (on average 1.5384615384615385) internal successors, (20), 13 states have internal predecessors, (20), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 14:30:56,948 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 4 [2021-08-27 14:30:56,948 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 14:30:56,948 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 14:30:56,962 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2021-08-27 14:30:56,962 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-08-27 14:30:56,962 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-08-27 14:30:56,963 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 14 states, 13 states have (on average 1.5384615384615385) internal successors, (20), 13 states have internal predecessors, (20), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 14:30:56,964 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 4 [2021-08-27 14:30:56,972 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 14:30:56,972 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 14:30:56,973 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2021-08-27 14:30:56,973 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-08-27 14:30:56,977 INFO L791 eck$LassoCheckResult]: Stem: 4#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 9#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; 12#L367true assume !(main_~length~0 < 1); 10#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; 6#L369true assume !(main_~arr~0.base == 0 && main_~arr~0.offset == 0);main_~i~0 := 0; 8#L370-3true [2021-08-27 14:30:56,977 INFO L793 eck$LassoCheckResult]: Loop: 8#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); 13#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); 15#L370-2true main_#t~post207 := main_~i~0;main_~i~0 := 1 + main_#t~post207;havoc main_#t~post207; 8#L370-3true [2021-08-27 14:30:56,981 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:56,981 INFO L82 PathProgramCache]: Analyzing trace with hash 28695753, now seen corresponding path program 1 times [2021-08-27 14:30:56,986 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:56,986 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1060021558] [2021-08-27 14:30:56,986 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:56,987 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:57,072 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:57,072 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 14:30:57,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:57,104 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 14:30:57,106 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:57,106 INFO L82 PathProgramCache]: Analyzing trace with hash 51737, now seen corresponding path program 1 times [2021-08-27 14:30:57,106 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:57,107 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [698053834] [2021-08-27 14:30:57,107 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:57,107 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:57,122 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:57,122 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 14:30:57,133 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:57,135 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 14:30:57,136 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:57,136 INFO L82 PathProgramCache]: Analyzing trace with hash 176707665, now seen corresponding path program 1 times [2021-08-27 14:30:57,136 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:57,136 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1270809842] [2021-08-27 14:30:57,136 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:57,136 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:57,160 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:57,160 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 14:30:57,168 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:57,178 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 14:30:57,441 INFO L210 LassoAnalysis]: Preferences: [2021-08-27 14:30:57,441 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2021-08-27 14:30:57,442 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2021-08-27 14:30:57,442 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2021-08-27 14:30:57,442 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2021-08-27 14:30:57,442 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:57,442 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2021-08-27 14:30:57,442 INFO L132 ssoRankerPreferences]: Path of dumped script: [2021-08-27 14:30:57,442 INFO L133 ssoRankerPreferences]: Filename of dumped script: array20_alloca.i_Iteration1_Lasso [2021-08-27 14:30:57,442 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2021-08-27 14:30:57,442 INFO L276 LassoAnalysis]: Starting lasso preprocessing... [2021-08-27 14:30:57,456 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,460 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,462 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,464 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,468 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,470 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,544 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,546 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,552 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,554 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-08-27 14:30:57,685 INFO L294 LassoAnalysis]: Preprocessing complete. [2021-08-27 14:30:57,687 INFO L490 LassoAnalysis]: Using template 'affine'. [2021-08-27 14:30:57,688 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:57,688 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:57,689 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:57,707 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (2)] Waiting until timeout for monitored process [2021-08-27 14:30:57,721 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-08-27 14:30:57,726 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-08-27 14:30:57,727 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-08-27 14:30:57,727 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-08-27 14:30:57,727 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-08-27 14:30:57,727 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-08-27 14:30:57,728 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-08-27 14:30:57,728 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-08-27 14:30:57,745 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-08-27 14:30:57,785 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (2)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:57,785 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:57,786 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:57,787 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:57,788 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Waiting until timeout for monitored process [2021-08-27 14:30:57,792 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-08-27 14:30:57,805 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-08-27 14:30:57,805 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-08-27 14:30:57,806 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-08-27 14:30:57,806 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-08-27 14:30:57,806 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-08-27 14:30:57,806 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-08-27 14:30:57,807 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-08-27 14:30:57,819 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-08-27 14:30:57,834 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:57,834 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:57,834 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:57,835 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:57,846 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Waiting until timeout for monitored process [2021-08-27 14:30:57,847 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-08-27 14:30:57,852 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-08-27 14:30:57,852 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-08-27 14:30:57,852 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-08-27 14:30:57,852 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-08-27 14:30:57,852 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-08-27 14:30:57,853 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-08-27 14:30:57,853 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-08-27 14:30:57,856 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-08-27 14:30:57,871 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:57,871 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:57,871 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:57,872 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:57,873 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Waiting until timeout for monitored process [2021-08-27 14:30:57,884 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-08-27 14:30:57,890 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-08-27 14:30:57,890 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-08-27 14:30:57,890 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-08-27 14:30:57,890 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-08-27 14:30:57,894 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-08-27 14:30:57,894 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-08-27 14:30:57,906 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-08-27 14:30:57,937 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:57,938 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:57,938 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:57,939 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:57,940 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Waiting until timeout for monitored process [2021-08-27 14:30:57,942 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-08-27 14:30:57,946 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-08-27 14:30:57,947 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-08-27 14:30:57,947 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-08-27 14:30:57,947 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-08-27 14:30:57,947 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-08-27 14:30:57,948 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-08-27 14:30:57,948 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-08-27 14:30:57,964 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-08-27 14:30:57,981 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:57,981 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:57,981 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:57,983 INFO L229 MonitoredProcess]: Starting monitored process 7 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:57,984 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Waiting until timeout for monitored process [2021-08-27 14:30:57,985 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-08-27 14:30:57,990 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-08-27 14:30:57,991 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-08-27 14:30:57,991 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-08-27 14:30:57,991 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-08-27 14:30:57,996 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-08-27 14:30:57,996 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-08-27 14:30:58,001 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-08-27 14:30:58,016 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:58,016 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:58,016 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:58,017 INFO L229 MonitoredProcess]: Starting monitored process 8 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:58,018 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Waiting until timeout for monitored process [2021-08-27 14:30:58,020 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-08-27 14:30:58,025 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-08-27 14:30:58,025 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-08-27 14:30:58,026 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-08-27 14:30:58,026 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-08-27 14:30:58,029 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-08-27 14:30:58,029 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-08-27 14:30:58,040 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-08-27 14:30:58,055 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:58,055 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:58,055 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:58,056 INFO L229 MonitoredProcess]: Starting monitored process 9 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:58,057 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (9)] Waiting until timeout for monitored process [2021-08-27 14:30:58,059 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-08-27 14:30:58,064 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-08-27 14:30:58,064 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-08-27 14:30:58,064 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-08-27 14:30:58,064 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-08-27 14:30:58,064 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-08-27 14:30:58,065 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-08-27 14:30:58,065 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-08-27 14:30:58,081 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-08-27 14:30:58,099 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (9)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:58,100 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:58,100 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:58,101 INFO L229 MonitoredProcess]: Starting monitored process 10 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:58,101 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (10)] Waiting until timeout for monitored process [2021-08-27 14:30:58,103 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-08-27 14:30:58,108 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-08-27 14:30:58,108 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-08-27 14:30:58,108 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-08-27 14:30:58,108 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-08-27 14:30:58,115 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-08-27 14:30:58,115 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-08-27 14:30:58,132 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2021-08-27 14:30:58,150 INFO L443 ModelExtractionUtils]: Simplification made 12 calls to the SMT solver. [2021-08-27 14:30:58,150 INFO L444 ModelExtractionUtils]: 9 out of 22 variables were initially zero. Simplification set additionally 10 variables to zero. [2021-08-27 14:30:58,152 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-08-27 14:30:58,152 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:58,153 INFO L229 MonitoredProcess]: Starting monitored process 11 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-08-27 14:30:58,153 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (11)] Waiting until timeout for monitored process [2021-08-27 14:30:58,154 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2021-08-27 14:30:58,176 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2021-08-27 14:30:58,176 INFO L513 LassoAnalysis]: Proved termination. [2021-08-27 14:30:58,176 INFO L515 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 [] [2021-08-27 14:30:58,194 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (10)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:58,200 INFO L297 tatePredicateManager]: 3 out of 3 supporting invariants were superfluous and have been removed [2021-08-27 14:30:58,226 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:58,269 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (11)] Forceful destruction successful, exit code 0 [2021-08-27 14:30:58,271 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 14:30:58,272 INFO L263 TraceCheckSpWp]: Trace formula consists of 26 conjuncts, 2 conjunts are in the unsatisfiable core [2021-08-27 14:30:58,273 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-27 14:30:58,308 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 14:30:58,309 INFO L263 TraceCheckSpWp]: Trace formula consists of 18 conjuncts, 4 conjunts are in the unsatisfiable core [2021-08-27 14:30:58,309 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-27 14:30:58,342 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 14:30:58,350 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 [2021-08-27 14:30:58,351 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand has 14 states, 13 states have (on average 1.5384615384615385) internal successors, (20), 13 states have internal predecessors, (20), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 3 states, 3 states have (on average 2.6666666666666665) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 14:30:58,395 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand has 14 states, 13 states have (on average 1.5384615384615385) internal successors, (20), 13 states have internal predecessors, (20), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0). Second operand has 3 states, 3 states have (on average 2.6666666666666665) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 32 states and 44 transitions. Complement of second has 7 states. [2021-08-27 14:30:58,395 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2021-08-27 14:30:58,396 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 3 states have (on average 2.6666666666666665) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 14:30:58,397 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 29 transitions. [2021-08-27 14:30:58,398 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 5 letters. Loop has 3 letters. [2021-08-27 14:30:58,399 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-08-27 14:30:58,399 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 8 letters. Loop has 3 letters. [2021-08-27 14:30:58,399 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-08-27 14:30:58,400 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 5 letters. Loop has 6 letters. [2021-08-27 14:30:58,401 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-08-27 14:30:58,402 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 32 states and 44 transitions. [2021-08-27 14:30:58,408 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2021-08-27 14:30:58,412 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 32 states to 11 states and 15 transitions. [2021-08-27 14:30:58,413 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 7 [2021-08-27 14:30:58,413 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2021-08-27 14:30:58,414 INFO L73 IsDeterministic]: Start isDeterministic. Operand 11 states and 15 transitions. [2021-08-27 14:30:58,414 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 14:30:58,414 INFO L681 BuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2021-08-27 14:30:58,428 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 11 states and 15 transitions. [2021-08-27 14:30:58,433 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 11 to 11. [2021-08-27 14:30:58,434 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 11 states, 11 states have (on average 1.3636363636363635) internal successors, (15), 10 states have internal predecessors, (15), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 14:30:58,435 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 15 transitions. [2021-08-27 14:30:58,436 INFO L704 BuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2021-08-27 14:30:58,436 INFO L587 BuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2021-08-27 14:30:58,437 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-08-27 14:30:58,437 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 11 states and 15 transitions. [2021-08-27 14:30:58,438 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2021-08-27 14:30:58,438 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 14:30:58,438 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 14:30:58,438 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2021-08-27 14:30:58,438 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1] [2021-08-27 14:30:58,439 INFO L791 eck$LassoCheckResult]: Stem: 109#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 110#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; 116#L367 assume !(main_~length~0 < 1); 111#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; 112#L369 assume !(main_~arr~0.base == 0 && main_~arr~0.offset == 0);main_~i~0 := 0; 113#L370-3 assume !(main_~i~0 < main_~length~0); 114#L370-4 main_~j~0 := 1; 115#L377-2 [2021-08-27 14:30:58,439 INFO L793 eck$LassoCheckResult]: Loop: 115#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; 115#L377-2 [2021-08-27 14:30:58,440 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:58,440 INFO L82 PathProgramCache]: Analyzing trace with hash 1806815510, now seen corresponding path program 1 times [2021-08-27 14:30:58,440 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:58,440 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1862106086] [2021-08-27 14:30:58,440 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:58,441 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:58,459 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 14:30:58,504 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 14:30:58,504 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 14:30:58,504 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1862106086] [2021-08-27 14:30:58,505 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1862106086] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 14:30:58,505 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 14:30:58,505 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-08-27 14:30:58,505 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1047349798] [2021-08-27 14:30:58,507 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-08-27 14:30:58,507 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:58,507 INFO L82 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 1 times [2021-08-27 14:30:58,507 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:58,507 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2113455758] [2021-08-27 14:30:58,507 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:58,507 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:58,510 ERROR L247 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2021-08-27 14:30:58,510 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [198404434] [2021-08-27 14:30:58,510 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:58,510 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 14:30:58,511 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:58,519 INFO L229 MonitoredProcess]: Starting monitored process 12 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-08-27 14:30:58,520 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (12)] Waiting until timeout for monitored process [2021-08-27 14:30:58,548 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:58,548 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 14:30:58,557 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:58,559 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 14:30:58,596 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 14:30:58,598 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-27 14:30:58,598 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2021-08-27 14:30:58,599 INFO L87 Difference]: Start difference. First operand 11 states and 15 transitions. cyclomatic complexity: 6 Second operand has 4 states, 4 states have (on average 1.75) internal successors, (7), 4 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 14:30:58,619 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 14:30:58,620 INFO L93 Difference]: Finished difference Result 13 states and 17 transitions. [2021-08-27 14:30:58,620 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-27 14:30:58,620 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 13 states and 17 transitions. [2021-08-27 14:30:58,621 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2021-08-27 14:30:58,621 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 13 states to 13 states and 17 transitions. [2021-08-27 14:30:58,621 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2021-08-27 14:30:58,621 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2021-08-27 14:30:58,621 INFO L73 IsDeterministic]: Start isDeterministic. Operand 13 states and 17 transitions. [2021-08-27 14:30:58,621 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 14:30:58,621 INFO L681 BuchiCegarLoop]: Abstraction has 13 states and 17 transitions. [2021-08-27 14:30:58,621 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states and 17 transitions. [2021-08-27 14:30:58,622 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 11. [2021-08-27 14:30:58,622 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 11 states, 11 states have (on average 1.2727272727272727) internal successors, (14), 10 states have internal predecessors, (14), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 14:30:58,622 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 14 transitions. [2021-08-27 14:30:58,622 INFO L704 BuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2021-08-27 14:30:58,622 INFO L587 BuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2021-08-27 14:30:58,622 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-08-27 14:30:58,622 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 11 states and 14 transitions. [2021-08-27 14:30:58,623 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2021-08-27 14:30:58,623 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 14:30:58,623 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 14:30:58,623 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 14:30:58,623 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1] [2021-08-27 14:30:58,623 INFO L791 eck$LassoCheckResult]: Stem: 142#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 143#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; 147#L367 assume !(main_~length~0 < 1); 140#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; 141#L369 assume !(main_~arr~0.base == 0 && main_~arr~0.offset == 0);main_~i~0 := 0; 144#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); 148#L372 assume !(main_#t~mem209 < 1);havoc main_#t~mem209; 150#L370-2 main_#t~post207 := main_~i~0;main_~i~0 := 1 + main_#t~post207;havoc main_#t~post207; 149#L370-3 assume !(main_~i~0 < main_~length~0); 145#L370-4 main_~j~0 := 1; 146#L377-2 [2021-08-27 14:30:58,623 INFO L793 eck$LassoCheckResult]: Loop: 146#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; 146#L377-2 [2021-08-27 14:30:58,623 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:58,624 INFO L82 PathProgramCache]: Analyzing trace with hash -1982565540, now seen corresponding path program 1 times [2021-08-27 14:30:58,624 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:58,624 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [400149352] [2021-08-27 14:30:58,624 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:58,624 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:58,631 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:58,631 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 14:30:58,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:58,639 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 14:30:58,639 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:58,639 INFO L82 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 2 times [2021-08-27 14:30:58,639 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:58,639 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1664938011] [2021-08-27 14:30:58,640 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:58,640 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:58,641 ERROR L247 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2021-08-27 14:30:58,641 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [869733762] [2021-08-27 14:30:58,641 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2021-08-27 14:30:58,641 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 14:30:58,642 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:58,658 INFO L229 MonitoredProcess]: Starting monitored process 13 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-08-27 14:30:58,669 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (13)] Waiting until timeout for monitored process [2021-08-27 14:30:58,697 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2021-08-27 14:30:58,697 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2021-08-27 14:30:58,697 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 14:30:58,700 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:58,702 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 14:30:58,702 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:58,702 INFO L82 PathProgramCache]: Analyzing trace with hash -1329989554, now seen corresponding path program 1 times [2021-08-27 14:30:58,702 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:58,702 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [397470361] [2021-08-27 14:30:58,703 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:58,703 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:58,708 ERROR L247 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2021-08-27 14:30:58,708 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1419127724] [2021-08-27 14:30:58,708 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:58,708 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 14:30:58,708 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:58,741 INFO L229 MonitoredProcess]: Starting monitored process 14 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-08-27 14:30:58,753 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (14)] Waiting until timeout for monitored process [2021-08-27 14:30:58,789 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 14:30:58,789 INFO L263 TraceCheckSpWp]: Trace formula consists of 48 conjuncts, 5 conjunts are in the unsatisfiable core [2021-08-27 14:30:58,790 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-27 14:30:58,863 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 14:30:58,863 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 14:30:58,864 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [397470361] [2021-08-27 14:30:58,864 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: Unknown [2021-08-27 14:30:58,864 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1419127724] [2021-08-27 14:30:58,864 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1419127724] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-27 14:30:58,864 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 1 imperfect interpolant sequences. [2021-08-27 14:30:58,864 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5] total 5 [2021-08-27 14:30:58,864 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [736950578] [2021-08-27 14:30:58,908 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 14:30:58,909 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2021-08-27 14:30:58,909 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2021-08-27 14:30:58,909 INFO L87 Difference]: Start difference. First operand 11 states and 14 transitions. cyclomatic complexity: 5 Second operand has 6 states, 5 states have (on average 2.2) internal successors, (11), 6 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 14:30:58,963 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 14:30:58,963 INFO L93 Difference]: Finished difference Result 24 states and 31 transitions. [2021-08-27 14:30:58,964 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2021-08-27 14:30:58,964 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 24 states and 31 transitions. [2021-08-27 14:30:58,964 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2021-08-27 14:30:58,965 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 24 states to 16 states and 20 transitions. [2021-08-27 14:30:58,965 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2021-08-27 14:30:58,965 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2021-08-27 14:30:58,965 INFO L73 IsDeterministic]: Start isDeterministic. Operand 16 states and 20 transitions. [2021-08-27 14:30:58,965 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-08-27 14:30:58,965 INFO L681 BuchiCegarLoop]: Abstraction has 16 states and 20 transitions. [2021-08-27 14:30:58,965 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states and 20 transitions. [2021-08-27 14:30:58,966 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 14. [2021-08-27 14:30:58,966 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 14 states, 14 states have (on average 1.2142857142857142) internal successors, (17), 13 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-27 14:30:58,966 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 17 transitions. [2021-08-27 14:30:58,966 INFO L704 BuchiCegarLoop]: Abstraction has 14 states and 17 transitions. [2021-08-27 14:30:58,966 INFO L587 BuchiCegarLoop]: Abstraction has 14 states and 17 transitions. [2021-08-27 14:30:58,966 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-08-27 14:30:58,966 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states and 17 transitions. [2021-08-27 14:30:58,966 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2021-08-27 14:30:58,967 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-08-27 14:30:58,967 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-08-27 14:30:58,967 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 14:30:58,967 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1] [2021-08-27 14:30:58,967 INFO L791 eck$LassoCheckResult]: Stem: 222#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 223#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; 229#L367 assume !(main_~length~0 < 1); 224#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; 225#L369 assume !(main_~arr~0.base == 0 && main_~arr~0.offset == 0);main_~i~0 := 0; 226#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); 230#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; 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); 232#L372 assume !(main_#t~mem209 < 1);havoc main_#t~mem209; 233#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); 227#L370-4 main_~j~0 := 1; 228#L377-2 [2021-08-27 14:30:58,967 INFO L793 eck$LassoCheckResult]: Loop: 228#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; 228#L377-2 [2021-08-27 14:30:58,967 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:58,967 INFO L82 PathProgramCache]: Analyzing trace with hash 1781949270, now seen corresponding path program 2 times [2021-08-27 14:30:58,967 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:58,968 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [476884361] [2021-08-27 14:30:58,968 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:58,968 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:58,975 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:58,975 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 14:30:58,980 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:58,982 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 14:30:58,983 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:58,983 INFO L82 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 3 times [2021-08-27 14:30:58,983 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:58,983 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [858528146] [2021-08-27 14:30:58,983 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:58,983 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:58,985 ERROR L247 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2021-08-27 14:30:58,985 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [25548165] [2021-08-27 14:30:58,985 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2021-08-27 14:30:58,985 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 14:30:58,985 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:59,024 INFO L229 MonitoredProcess]: Starting monitored process 15 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-08-27 14:30:59,059 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (15)] Waiting until timeout for monitored process [2021-08-27 14:30:59,090 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 1 check-sat command(s) [2021-08-27 14:30:59,090 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2021-08-27 14:30:59,090 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 14:30:59,092 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:59,094 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 14:30:59,094 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 14:30:59,094 INFO L82 PathProgramCache]: Analyzing trace with hash -594147436, now seen corresponding path program 2 times [2021-08-27 14:30:59,095 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 14:30:59,095 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2072474905] [2021-08-27 14:30:59,095 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 14:30:59,095 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 14:30:59,100 ERROR L247 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2021-08-27 14:30:59,100 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1476426980] [2021-08-27 14:30:59,100 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2021-08-27 14:30:59,100 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 14:30:59,100 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 14:30:59,120 INFO L229 MonitoredProcess]: Starting monitored process 16 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-08-27 14:30:59,159 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (16)] Waiting until timeout for monitored process [2021-08-27 14:30:59,207 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2021-08-27 14:30:59,208 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2021-08-27 14:30:59,208 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 14:30:59,215 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 14:30:59,221 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 14:30:59,517 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 27.08 02:30:59 BoogieIcfgContainer [2021-08-27 14:30:59,518 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-08-27 14:30:59,518 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-08-27 14:30:59,518 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-08-27 14:30:59,518 INFO L275 PluginConnector]: Witness Printer initialized [2021-08-27 14:30:59,518 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 02:30:56" (3/4) ... [2021-08-27 14:30:59,520 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-08-27 14:30:59,539 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-08-27 14:30:59,539 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-08-27 14:30:59,540 INFO L168 Benchmark]: Toolchain (without parser) took 3258.56 ms. Allocated memory was 54.5 MB in the beginning and 107.0 MB in the end (delta: 52.4 MB). Free memory was 32.5 MB in the beginning and 61.4 MB in the end (delta: -28.9 MB). Peak memory consumption was 23.8 MB. Max. memory is 16.1 GB. [2021-08-27 14:30:59,540 INFO L168 Benchmark]: CDTParser took 0.14 ms. Allocated memory is still 54.5 MB. Free memory was 36.5 MB in the beginning and 36.4 MB in the end (delta: 44.5 kB). There was no memory consumed. Max. memory is 16.1 GB. [2021-08-27 14:30:59,541 INFO L168 Benchmark]: CACSL2BoogieTranslator took 301.19 ms. Allocated memory was 54.5 MB in the beginning and 73.4 MB in the end (delta: 18.9 MB). Free memory was 32.3 MB in the beginning and 50.0 MB in the end (delta: -17.7 MB). Peak memory consumption was 9.4 MB. Max. memory is 16.1 GB. [2021-08-27 14:30:59,541 INFO L168 Benchmark]: Boogie Procedure Inliner took 23.70 ms. Allocated memory is still 73.4 MB. Free memory was 50.0 MB in the beginning and 48.1 MB in the end (delta: 1.9 MB). There was no memory consumed. Max. memory is 16.1 GB. [2021-08-27 14:30:59,541 INFO L168 Benchmark]: Boogie Preprocessor took 13.53 ms. Allocated memory is still 73.4 MB. Free memory was 48.1 MB in the beginning and 47.1 MB in the end (delta: 1.0 MB). There was no memory consumed. Max. memory is 16.1 GB. [2021-08-27 14:30:59,541 INFO L168 Benchmark]: RCFGBuilder took 223.49 ms. Allocated memory is still 73.4 MB. Free memory was 46.8 MB in the beginning and 55.2 MB in the end (delta: -8.3 MB). Peak memory consumption was 20.1 MB. Max. memory is 16.1 GB. [2021-08-27 14:30:59,542 INFO L168 Benchmark]: BuchiAutomizer took 2664.28 ms. Allocated memory was 73.4 MB in the beginning and 107.0 MB in the end (delta: 33.6 MB). Free memory was 54.9 MB in the beginning and 63.5 MB in the end (delta: -8.6 MB). Peak memory consumption was 50.2 MB. Max. memory is 16.1 GB. [2021-08-27 14:30:59,542 INFO L168 Benchmark]: Witness Printer took 21.13 ms. Allocated memory is still 107.0 MB. Free memory was 62.6 MB in the beginning and 61.4 MB in the end (delta: 1.2 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-08-27 14:30:59,543 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.14 ms. Allocated memory is still 54.5 MB. Free memory was 36.5 MB in the beginning and 36.4 MB in the end (delta: 44.5 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 301.19 ms. Allocated memory was 54.5 MB in the beginning and 73.4 MB in the end (delta: 18.9 MB). Free memory was 32.3 MB in the beginning and 50.0 MB in the end (delta: -17.7 MB). Peak memory consumption was 9.4 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 23.70 ms. Allocated memory is still 73.4 MB. Free memory was 50.0 MB in the beginning and 48.1 MB in the end (delta: 1.9 MB). There was no memory consumed. Max. memory is 16.1 GB. * Boogie Preprocessor took 13.53 ms. Allocated memory is still 73.4 MB. Free memory was 48.1 MB in the beginning and 47.1 MB in the end (delta: 1.0 MB). There was no memory consumed. Max. memory is 16.1 GB. * RCFGBuilder took 223.49 ms. Allocated memory is still 73.4 MB. Free memory was 46.8 MB in the beginning and 55.2 MB in the end (delta: -8.3 MB). Peak memory consumption was 20.1 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 2664.28 ms. Allocated memory was 73.4 MB in the beginning and 107.0 MB in the end (delta: 33.6 MB). Free memory was 54.9 MB in the beginning and 63.5 MB in the end (delta: -8.6 MB). Peak memory consumption was 50.2 MB. Max. memory is 16.1 GB. * Witness Printer took 21.13 ms. Allocated memory is still 107.0 MB. Free memory was 62.6 MB in the beginning and 61.4 MB in the end (delta: 1.2 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 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 length + -1 * i 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 2.6s and 4 iterations. TraceHistogramMax:2. Analysis of lassos took 2.2s. 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 11.1ms 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, 50 SDslu, 28 SDs, 0 SdLazy, 63 SolverSat, 9 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 46.3ms Time LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT0 conc1 concLT0 SILN0 SILU1 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital102 mio100 ax100 hnf100 lsp91 ukn82 mio100 lsp64 div100 bol100 ite100 ukn100 eq167 hnf91 smp100 dnf100 smp100 tf100 neg100 sie102 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 35ms 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@2119e067=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7dd7e731=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@761d165a=0, length=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTArraySubscriptExpression@55702948=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@761d165a=2, j=1, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTArraySubscriptExpression@39ad4a79=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTUnaryExpression@6b5d1d0=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