./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-crafted/NonTermination3-1.c --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version c3fed411 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-crafted/NonTermination3-1.c -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 fabc9d8a61dd824da0c561a6d62c57fe8eb320f6ad8009599cd12699fa04e01c --- Real Ultimate output --- This is Ultimate 0.2.2-tmp.no-commuhash-c3fed41 [2021-12-19 17:01:50,250 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-19 17:01:50,279 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-19 17:01:50,297 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-19 17:01:50,297 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-19 17:01:50,298 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-19 17:01:50,299 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-19 17:01:50,300 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-19 17:01:50,302 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-19 17:01:50,302 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-19 17:01:50,303 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-19 17:01:50,304 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-19 17:01:50,304 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-19 17:01:50,305 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-19 17:01:50,306 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-19 17:01:50,306 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-19 17:01:50,307 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-19 17:01:50,308 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-19 17:01:50,309 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-19 17:01:50,310 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-19 17:01:50,311 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-19 17:01:50,320 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-19 17:01:50,321 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-19 17:01:50,321 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-19 17:01:50,326 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-19 17:01:50,326 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-19 17:01:50,327 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-19 17:01:50,327 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-19 17:01:50,328 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-19 17:01:50,328 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-19 17:01:50,329 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-19 17:01:50,329 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-19 17:01:50,330 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-19 17:01:50,330 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-19 17:01:50,331 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-19 17:01:50,334 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-19 17:01:50,334 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-19 17:01:50,334 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-19 17:01:50,335 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-19 17:01:50,336 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-19 17:01:50,337 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-19 17:01:50,338 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2021-12-19 17:01:50,354 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-19 17:01:50,355 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-19 17:01:50,355 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-19 17:01:50,355 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-19 17:01:50,356 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-19 17:01:50,356 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-19 17:01:50,356 INFO L138 SettingsManager]: * Use SBE=true [2021-12-19 17:01:50,356 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-12-19 17:01:50,357 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-12-19 17:01:50,357 INFO L138 SettingsManager]: * Use old map elimination=false [2021-12-19 17:01:50,357 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-12-19 17:01:50,357 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-12-19 17:01:50,357 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-12-19 17:01:50,357 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-19 17:01:50,358 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-12-19 17:01:50,358 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-19 17:01:50,358 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-19 17:01:50,358 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-12-19 17:01:50,358 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-12-19 17:01:50,358 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-12-19 17:01:50,358 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-12-19 17:01:50,359 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-12-19 17:01:50,359 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-19 17:01:50,359 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-12-19 17:01:50,359 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-19 17:01:50,359 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-19 17:01:50,359 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-19 17:01:50,360 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-12-19 17:01:50,360 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-19 17:01:50,360 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-12-19 17:01:50,360 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 -> fabc9d8a61dd824da0c561a6d62c57fe8eb320f6ad8009599cd12699fa04e01c [2021-12-19 17:01:50,514 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-19 17:01:50,535 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-19 17:01:50,537 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-19 17:01:50,537 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-19 17:01:50,538 INFO L275 PluginConnector]: CDTParser initialized [2021-12-19 17:01:50,538 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-crafted/NonTermination3-1.c [2021-12-19 17:01:50,598 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e966316dc/ba0d04c075094cfa9723ff94dfc1143d/FLAG30d4be857 [2021-12-19 17:01:50,905 INFO L306 CDTParser]: Found 1 translation units. [2021-12-19 17:01:50,905 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-crafted/NonTermination3-1.c [2021-12-19 17:01:50,910 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e966316dc/ba0d04c075094cfa9723ff94dfc1143d/FLAG30d4be857 [2021-12-19 17:01:51,372 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e966316dc/ba0d04c075094cfa9723ff94dfc1143d [2021-12-19 17:01:51,373 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-19 17:01:51,374 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-19 17:01:51,376 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-19 17:01:51,376 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-19 17:01:51,380 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-19 17:01:51,381 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,383 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@75f841bc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51, skipping insertion in model container [2021-12-19 17:01:51,383 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,391 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-19 17:01:51,398 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-19 17:01:51,496 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-19 17:01:51,516 INFO L203 MainTranslator]: Completed pre-run [2021-12-19 17:01:51,530 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-19 17:01:51,544 INFO L208 MainTranslator]: Completed translation [2021-12-19 17:01:51,545 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51 WrapperNode [2021-12-19 17:01:51,545 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-12-19 17:01:51,546 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-12-19 17:01:51,547 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-12-19 17:01:51,547 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-12-19 17:01:51,552 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,557 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,569 INFO L137 Inliner]: procedures = 8, calls = 8, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 39 [2021-12-19 17:01:51,570 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-12-19 17:01:51,571 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-12-19 17:01:51,571 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-12-19 17:01:51,571 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-12-19 17:01:51,575 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,576 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,576 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,577 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,579 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,581 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,581 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,582 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-12-19 17:01:51,583 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-12-19 17:01:51,583 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-12-19 17:01:51,583 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-12-19 17:01:51,583 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (1/1) ... [2021-12-19 17:01:51,588 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-19 17:01:51,594 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-19 17:01:51,603 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-12-19 17:01:51,605 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-12-19 17:01:51,626 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-12-19 17:01:51,626 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-12-19 17:01:51,626 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-12-19 17:01:51,627 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-12-19 17:01:51,627 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-12-19 17:01:51,627 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-12-19 17:01:51,666 INFO L236 CfgBuilder]: Building ICFG [2021-12-19 17:01:51,667 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-12-19 17:01:51,733 INFO L277 CfgBuilder]: Performing block encoding [2021-12-19 17:01:51,747 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-12-19 17:01:51,747 INFO L301 CfgBuilder]: Removed 2 assume(true) statements. [2021-12-19 17:01:51,749 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.12 05:01:51 BoogieIcfgContainer [2021-12-19 17:01:51,749 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-12-19 17:01:51,750 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-12-19 17:01:51,750 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-12-19 17:01:51,753 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-12-19 17:01:51,753 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-19 17:01:51,753 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.12 05:01:51" (1/3) ... [2021-12-19 17:01:51,754 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@31d70960 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.12 05:01:51, skipping insertion in model container [2021-12-19 17:01:51,754 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-19 17:01:51,754 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 05:01:51" (2/3) ... [2021-12-19 17:01:51,755 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@31d70960 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.12 05:01:51, skipping insertion in model container [2021-12-19 17:01:51,755 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-19 17:01:51,755 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.12 05:01:51" (3/3) ... [2021-12-19 17:01:51,756 INFO L388 chiAutomizerObserver]: Analyzing ICFG NonTermination3-1.c [2021-12-19 17:01:51,789 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-12-19 17:01:51,790 INFO L360 BuchiCegarLoop]: Hoare is false [2021-12-19 17:01:51,790 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-12-19 17:01:51,790 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-12-19 17:01:51,790 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-12-19 17:01:51,790 INFO L364 BuchiCegarLoop]: Difference is false [2021-12-19 17:01:51,791 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-12-19 17:01:51,791 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-12-19 17:01:51,801 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 11 states, 10 states have (on average 1.5) 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-12-19 17:01:51,819 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 5 [2021-12-19 17:01:51,819 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 17:01:51,819 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 17:01:51,823 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-12-19 17:01:51,823 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2021-12-19 17:01:51,824 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-12-19 17:01:51,824 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 11 states, 10 states have (on average 1.5) 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-12-19 17:01:51,825 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 5 [2021-12-19 17:01:51,825 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 17:01:51,826 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 17:01:51,826 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-12-19 17:01:51,826 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2021-12-19 17:01:51,831 INFO L791 eck$LassoCheckResult]: Stem: 7#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 10#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet2#1, main_#t~pre1#1, main_~n~0#1, main_#t~nondet5#1, main_#t~mem3#1, main_#t~short4#1, main_~i~0#1, main_~#a~0#1.base, main_~#a~0#1.offset;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;call main_~#a~0#1.base, main_~#a~0#1.offset := #Ultimate.allocOnStack(40);main_~n~0#1 := 0; 9#L13-3true [2021-12-19 17:01:51,831 INFO L793 eck$LassoCheckResult]: Loop: 9#L13-3true assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 8#L13-2true main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 9#L13-3true [2021-12-19 17:01:51,836 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:51,836 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 1 times [2021-12-19 17:01:51,844 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:51,844 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1696644405] [2021-12-19 17:01:51,844 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:51,845 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:51,902 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:51,902 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 17:01:51,907 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:51,917 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 17:01:51,919 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:51,919 INFO L85 PathProgramCache]: Analyzing trace with hash 1283, now seen corresponding path program 1 times [2021-12-19 17:01:51,919 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:51,919 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [197064864] [2021-12-19 17:01:51,919 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:51,920 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:51,926 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:51,926 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 17:01:51,929 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:51,931 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 17:01:51,932 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:51,932 INFO L85 PathProgramCache]: Analyzing trace with hash 925765, now seen corresponding path program 1 times [2021-12-19 17:01:51,932 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:51,933 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1210606287] [2021-12-19 17:01:51,933 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:51,933 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:51,945 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:51,945 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 17:01:51,952 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:51,955 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 17:01:52,191 INFO L210 LassoAnalysis]: Preferences: [2021-12-19 17:01:52,191 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2021-12-19 17:01:52,191 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2021-12-19 17:01:52,191 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2021-12-19 17:01:52,192 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2021-12-19 17:01:52,192 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-19 17:01:52,192 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2021-12-19 17:01:52,192 INFO L132 ssoRankerPreferences]: Path of dumped script: [2021-12-19 17:01:52,192 INFO L133 ssoRankerPreferences]: Filename of dumped script: NonTermination3-1.c_Iteration1_Lasso [2021-12-19 17:01:52,192 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2021-12-19 17:01:52,193 INFO L276 LassoAnalysis]: Starting lasso preprocessing... [2021-12-19 17:01:52,206 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,246 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,249 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,251 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,253 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,255 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,261 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,263 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,266 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,269 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-19 17:01:52,385 INFO L294 LassoAnalysis]: Preprocessing complete. [2021-12-19 17:01:52,388 INFO L490 LassoAnalysis]: Using template 'affine'. [2021-12-19 17:01:52,390 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-19 17:01:52,390 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-19 17:01:52,391 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-12-19 17:01:52,397 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-12-19 17:01:52,399 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-12-19 17:01:52,406 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-19 17:01:52,406 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-19 17:01:52,406 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-19 17:01:52,406 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-19 17:01:52,414 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-19 17:01:52,416 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-19 17:01:52,430 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2021-12-19 17:01:52,442 INFO L443 ModelExtractionUtils]: Simplification made 8 calls to the SMT solver. [2021-12-19 17:01:52,442 INFO L444 ModelExtractionUtils]: 0 out of 13 variables were initially zero. Simplification set additionally 10 variables to zero. [2021-12-19 17:01:52,444 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-19 17:01:52,444 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-19 17:01:52,488 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-12-19 17:01:52,489 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-12-19 17:01:52,490 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2021-12-19 17:01:52,497 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2021-12-19 17:01:52,498 INFO L513 LassoAnalysis]: Proved termination. [2021-12-19 17:01:52,498 INFO L515 LassoAnalysis]: Termination argument consisting of: Ranking function f(v_rep(select #length ULTIMATE.start_main_~#a~0#1.base)_1, ULTIMATE.start_main_~n~0#1) = 19*v_rep(select #length ULTIMATE.start_main_~#a~0#1.base)_1 - 8*ULTIMATE.start_main_~n~0#1 Supporting invariants [] [2021-12-19 17:01:52,517 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-12-19 17:01:52,525 INFO L297 tatePredicateManager]: 1 out of 1 supporting invariants were superfluous and have been removed [2021-12-19 17:01:52,544 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:52,555 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-19 17:01:52,557 INFO L263 TraceCheckSpWp]: Trace formula consists of 23 conjuncts, 2 conjunts are in the unsatisfiable core [2021-12-19 17:01:52,557 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-19 17:01:52,570 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-19 17:01:52,571 INFO L263 TraceCheckSpWp]: Trace formula consists of 13 conjuncts, 6 conjunts are in the unsatisfiable core [2021-12-19 17:01:52,575 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-19 17:01:52,618 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 17:01:52,650 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-12-19 17:01:52,651 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand has 11 states, 10 states have (on average 1.5) 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) Second operand has 3 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 3 states have internal predecessors, (4), 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-12-19 17:01:52,695 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand has 11 states, 10 states have (on average 1.5) 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). Second operand has 3 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 3 states have internal predecessors, (4), 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 25 states and 37 transitions. Complement of second has 8 states. [2021-12-19 17:01:52,697 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-12-19 17:01:52,700 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 3 states have internal predecessors, (4), 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-12-19 17:01:52,700 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 21 transitions. [2021-12-19 17:01:52,701 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 21 transitions. Stem has 2 letters. Loop has 2 letters. [2021-12-19 17:01:52,701 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-19 17:01:52,701 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 21 transitions. Stem has 4 letters. Loop has 2 letters. [2021-12-19 17:01:52,701 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-19 17:01:52,701 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 21 transitions. Stem has 2 letters. Loop has 4 letters. [2021-12-19 17:01:52,702 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-19 17:01:52,702 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 25 states and 37 transitions. [2021-12-19 17:01:52,704 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-19 17:01:52,705 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 25 states to 9 states and 12 transitions. [2021-12-19 17:01:52,706 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 6 [2021-12-19 17:01:52,706 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 7 [2021-12-19 17:01:52,706 INFO L73 IsDeterministic]: Start isDeterministic. Operand 9 states and 12 transitions. [2021-12-19 17:01:52,707 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-19 17:01:52,707 INFO L681 BuchiCegarLoop]: Abstraction has 9 states and 12 transitions. [2021-12-19 17:01:52,716 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 9 states and 12 transitions. [2021-12-19 17:01:52,720 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 9 to 8. [2021-12-19 17:01:52,720 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 8 states, 8 states have (on average 1.375) internal successors, (11), 7 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-12-19 17:01:52,721 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 8 states to 8 states and 11 transitions. [2021-12-19 17:01:52,721 INFO L704 BuchiCegarLoop]: Abstraction has 8 states and 11 transitions. [2021-12-19 17:01:52,721 INFO L587 BuchiCegarLoop]: Abstraction has 8 states and 11 transitions. [2021-12-19 17:01:52,722 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-12-19 17:01:52,722 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 8 states and 11 transitions. [2021-12-19 17:01:52,722 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-19 17:01:52,722 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 17:01:52,722 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 17:01:52,722 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2021-12-19 17:01:52,723 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-12-19 17:01:52,723 INFO L791 eck$LassoCheckResult]: Stem: 83#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 84#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet2#1, main_#t~pre1#1, main_~n~0#1, main_#t~nondet5#1, main_#t~mem3#1, main_#t~short4#1, main_~i~0#1, main_~#a~0#1.base, main_~#a~0#1.offset;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;call main_~#a~0#1.base, main_~#a~0#1.offset := #Ultimate.allocOnStack(40);main_~n~0#1 := 0; 87#L13-3 assume !(main_~n~0#1 < 10); 82#L17-4 [2021-12-19 17:01:52,723 INFO L793 eck$LassoCheckResult]: Loop: 82#L17-4 main_#t~short4#1 := 0 <= main_~i~0#1 && main_~i~0#1 < 10; 80#L17 assume main_#t~short4#1;call main_#t~mem3#1 := read~int(main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~i~0#1, 4);main_#t~short4#1 := main_#t~mem3#1 >= 0; 81#L17-2 assume !!main_#t~short4#1;havoc main_#t~mem3#1;havoc main_#t~short4#1;main_~i~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1;call write~int(0, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~i~0#1, 4); 82#L17-4 [2021-12-19 17:01:52,723 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:52,723 INFO L85 PathProgramCache]: Analyzing trace with hash 29861, now seen corresponding path program 1 times [2021-12-19 17:01:52,724 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:52,724 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1971712358] [2021-12-19 17:01:52,724 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:52,724 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:52,732 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-19 17:01:52,754 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 17:01:52,755 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-19 17:01:52,755 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1971712358] [2021-12-19 17:01:52,755 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1971712358] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-19 17:01:52,755 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-19 17:01:52,756 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-12-19 17:01:52,756 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1523422055] [2021-12-19 17:01:52,758 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-19 17:01:52,759 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-19 17:01:52,760 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:52,761 INFO L85 PathProgramCache]: Analyzing trace with hash 48762, now seen corresponding path program 1 times [2021-12-19 17:01:52,761 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:52,761 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [892011395] [2021-12-19 17:01:52,761 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:52,761 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:52,773 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:52,787 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 17:01:52,793 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-12-19 17:01:52,802 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:52,804 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 17:01:52,948 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-19 17:01:52,950 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-19 17:01:52,950 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-19 17:01:52,951 INFO L87 Difference]: Start difference. First operand 8 states and 11 transitions. cyclomatic complexity: 5 Second operand has 3 states, 2 states have (on average 1.5) internal successors, (3), 3 states have internal predecessors, (3), 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-12-19 17:01:52,958 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-19 17:01:52,958 INFO L93 Difference]: Finished difference Result 9 states and 11 transitions. [2021-12-19 17:01:52,958 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-19 17:01:52,959 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 9 states and 11 transitions. [2021-12-19 17:01:52,959 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-19 17:01:52,960 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 9 states to 9 states and 11 transitions. [2021-12-19 17:01:52,960 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 6 [2021-12-19 17:01:52,960 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 6 [2021-12-19 17:01:52,960 INFO L73 IsDeterministic]: Start isDeterministic. Operand 9 states and 11 transitions. [2021-12-19 17:01:52,960 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-19 17:01:52,960 INFO L681 BuchiCegarLoop]: Abstraction has 9 states and 11 transitions. [2021-12-19 17:01:52,960 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 9 states and 11 transitions. [2021-12-19 17:01:52,961 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 9 to 8. [2021-12-19 17:01:52,961 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 8 states, 8 states have (on average 1.25) internal successors, (10), 7 states have internal predecessors, (10), 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-12-19 17:01:52,961 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 8 states to 8 states and 10 transitions. [2021-12-19 17:01:52,961 INFO L704 BuchiCegarLoop]: Abstraction has 8 states and 10 transitions. [2021-12-19 17:01:52,961 INFO L587 BuchiCegarLoop]: Abstraction has 8 states and 10 transitions. [2021-12-19 17:01:52,961 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-12-19 17:01:52,962 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 8 states and 10 transitions. [2021-12-19 17:01:52,962 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-19 17:01:52,962 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 17:01:52,962 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 17:01:52,962 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2021-12-19 17:01:52,962 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-12-19 17:01:52,963 INFO L791 eck$LassoCheckResult]: Stem: 106#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 107#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet2#1, main_#t~pre1#1, main_~n~0#1, main_#t~nondet5#1, main_#t~mem3#1, main_#t~short4#1, main_~i~0#1, main_~#a~0#1.base, main_~#a~0#1.offset;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;call main_~#a~0#1.base, main_~#a~0#1.offset := #Ultimate.allocOnStack(40);main_~n~0#1 := 0; 110#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 108#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 109#L13-3 assume !(main_~n~0#1 < 10); 105#L17-4 [2021-12-19 17:01:52,963 INFO L793 eck$LassoCheckResult]: Loop: 105#L17-4 main_#t~short4#1 := 0 <= main_~i~0#1 && main_~i~0#1 < 10; 103#L17 assume main_#t~short4#1;call main_#t~mem3#1 := read~int(main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~i~0#1, 4);main_#t~short4#1 := main_#t~mem3#1 >= 0; 104#L17-2 assume !!main_#t~short4#1;havoc main_#t~mem3#1;havoc main_#t~short4#1;main_~i~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1;call write~int(0, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~i~0#1, 4); 105#L17-4 [2021-12-19 17:01:52,963 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:52,963 INFO L85 PathProgramCache]: Analyzing trace with hash 28698723, now seen corresponding path program 1 times [2021-12-19 17:01:52,963 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:52,963 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1948055792] [2021-12-19 17:01:52,964 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:52,964 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:52,970 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-19 17:01:52,982 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 17:01:52,982 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-19 17:01:52,983 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1948055792] [2021-12-19 17:01:52,983 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1948055792] provided 0 perfect and 1 imperfect interpolant sequences [2021-12-19 17:01:52,983 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [577995937] [2021-12-19 17:01:52,983 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:52,983 INFO L168 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-12-19 17:01:52,983 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-19 17:01:52,984 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-12-19 17:01:53,007 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2021-12-19 17:01:53,012 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-19 17:01:53,012 INFO L263 TraceCheckSpWp]: Trace formula consists of 35 conjuncts, 3 conjunts are in the unsatisfiable core [2021-12-19 17:01:53,013 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-19 17:01:53,025 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 17:01:53,025 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-12-19 17:01:53,040 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 17:01:53,040 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [577995937] provided 0 perfect and 2 imperfect interpolant sequences [2021-12-19 17:01:53,041 INFO L186 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2021-12-19 17:01:53,041 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 3, 3] total 6 [2021-12-19 17:01:53,041 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [782021213] [2021-12-19 17:01:53,041 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2021-12-19 17:01:53,041 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-19 17:01:53,042 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:53,042 INFO L85 PathProgramCache]: Analyzing trace with hash 48762, now seen corresponding path program 2 times [2021-12-19 17:01:53,042 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:53,042 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [892274890] [2021-12-19 17:01:53,042 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:53,042 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:53,065 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,065 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 17:01:53,070 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,072 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 17:01:53,199 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-19 17:01:53,200 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2021-12-19 17:01:53,201 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=21, Invalid=21, Unknown=0, NotChecked=0, Total=42 [2021-12-19 17:01:53,201 INFO L87 Difference]: Start difference. First operand 8 states and 10 transitions. cyclomatic complexity: 4 Second operand has 7 states, 6 states have (on average 2.0) internal successors, (12), 7 states have internal predecessors, (12), 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-12-19 17:01:53,222 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-19 17:01:53,222 INFO L93 Difference]: Finished difference Result 14 states and 16 transitions. [2021-12-19 17:01:53,222 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2021-12-19 17:01:53,224 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 14 states and 16 transitions. [2021-12-19 17:01:53,225 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-19 17:01:53,226 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 14 states to 14 states and 16 transitions. [2021-12-19 17:01:53,227 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 6 [2021-12-19 17:01:53,227 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 6 [2021-12-19 17:01:53,227 INFO L73 IsDeterministic]: Start isDeterministic. Operand 14 states and 16 transitions. [2021-12-19 17:01:53,227 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-19 17:01:53,227 INFO L681 BuchiCegarLoop]: Abstraction has 14 states and 16 transitions. [2021-12-19 17:01:53,227 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 14 states and 16 transitions. [2021-12-19 17:01:53,229 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 14 to 14. [2021-12-19 17:01:53,229 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 14 states, 14 states have (on average 1.1428571428571428) internal successors, (16), 13 states have internal predecessors, (16), 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-12-19 17:01:53,230 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 16 transitions. [2021-12-19 17:01:53,230 INFO L704 BuchiCegarLoop]: Abstraction has 14 states and 16 transitions. [2021-12-19 17:01:53,230 INFO L587 BuchiCegarLoop]: Abstraction has 14 states and 16 transitions. [2021-12-19 17:01:53,230 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-12-19 17:01:53,231 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states and 16 transitions. [2021-12-19 17:01:53,232 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-19 17:01:53,232 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 17:01:53,232 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 17:01:53,233 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [4, 4, 1, 1, 1] [2021-12-19 17:01:53,233 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-12-19 17:01:53,234 INFO L791 eck$LassoCheckResult]: Stem: 162#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 163#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet2#1, main_#t~pre1#1, main_~n~0#1, main_#t~nondet5#1, main_#t~mem3#1, main_#t~short4#1, main_~i~0#1, main_~#a~0#1.base, main_~#a~0#1.offset;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;call main_~#a~0#1.base, main_~#a~0#1.offset := #Ultimate.allocOnStack(40);main_~n~0#1 := 0; 166#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 167#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 168#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 164#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 165#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 172#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 171#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 170#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 169#L13-3 assume !(main_~n~0#1 < 10); 161#L17-4 [2021-12-19 17:01:53,234 INFO L793 eck$LassoCheckResult]: Loop: 161#L17-4 main_#t~short4#1 := 0 <= main_~i~0#1 && main_~i~0#1 < 10; 159#L17 assume main_#t~short4#1;call main_#t~mem3#1 := read~int(main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~i~0#1, 4);main_#t~short4#1 := main_#t~mem3#1 >= 0; 160#L17-2 assume !!main_#t~short4#1;havoc main_#t~mem3#1;havoc main_#t~short4#1;main_~i~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1;call write~int(0, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~i~0#1, 4); 161#L17-4 [2021-12-19 17:01:53,234 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:53,234 INFO L85 PathProgramCache]: Analyzing trace with hash -1081477475, now seen corresponding path program 2 times [2021-12-19 17:01:53,234 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:53,235 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [620135309] [2021-12-19 17:01:53,235 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:53,235 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:53,248 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-19 17:01:53,283 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 0 proven. 16 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 17:01:53,283 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-19 17:01:53,283 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [620135309] [2021-12-19 17:01:53,283 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [620135309] provided 0 perfect and 1 imperfect interpolant sequences [2021-12-19 17:01:53,284 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [924054776] [2021-12-19 17:01:53,284 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2021-12-19 17:01:53,284 INFO L168 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-12-19 17:01:53,284 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-19 17:01:53,298 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-12-19 17:01:53,299 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2021-12-19 17:01:53,328 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2021-12-19 17:01:53,329 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2021-12-19 17:01:53,329 INFO L263 TraceCheckSpWp]: Trace formula consists of 68 conjuncts, 6 conjunts are in the unsatisfiable core [2021-12-19 17:01:53,330 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-19 17:01:53,352 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 0 proven. 16 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 17:01:53,352 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-12-19 17:01:53,408 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 0 proven. 16 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 17:01:53,408 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [924054776] provided 0 perfect and 2 imperfect interpolant sequences [2021-12-19 17:01:53,408 INFO L186 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2021-12-19 17:01:53,408 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 6, 6] total 12 [2021-12-19 17:01:53,409 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1056054882] [2021-12-19 17:01:53,409 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2021-12-19 17:01:53,409 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-19 17:01:53,409 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:53,409 INFO L85 PathProgramCache]: Analyzing trace with hash 48762, now seen corresponding path program 3 times [2021-12-19 17:01:53,409 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:53,410 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1895649985] [2021-12-19 17:01:53,410 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:53,410 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:53,415 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,415 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 17:01:53,434 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,436 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 17:01:53,537 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-19 17:01:53,538 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 13 interpolants. [2021-12-19 17:01:53,538 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=78, Invalid=78, Unknown=0, NotChecked=0, Total=156 [2021-12-19 17:01:53,538 INFO L87 Difference]: Start difference. First operand 14 states and 16 transitions. cyclomatic complexity: 4 Second operand has 13 states, 12 states have (on average 2.0) internal successors, (24), 13 states have internal predecessors, (24), 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-12-19 17:01:53,568 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-19 17:01:53,569 INFO L93 Difference]: Finished difference Result 26 states and 28 transitions. [2021-12-19 17:01:53,569 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 12 states. [2021-12-19 17:01:53,569 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 26 states and 28 transitions. [2021-12-19 17:01:53,570 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-19 17:01:53,570 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 26 states to 26 states and 28 transitions. [2021-12-19 17:01:53,571 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 6 [2021-12-19 17:01:53,571 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 6 [2021-12-19 17:01:53,571 INFO L73 IsDeterministic]: Start isDeterministic. Operand 26 states and 28 transitions. [2021-12-19 17:01:53,571 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-19 17:01:53,571 INFO L681 BuchiCegarLoop]: Abstraction has 26 states and 28 transitions. [2021-12-19 17:01:53,571 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states and 28 transitions. [2021-12-19 17:01:53,572 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 26. [2021-12-19 17:01:53,572 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 26 states, 26 states have (on average 1.0769230769230769) internal successors, (28), 25 states have internal predecessors, (28), 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-12-19 17:01:53,572 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 28 transitions. [2021-12-19 17:01:53,573 INFO L704 BuchiCegarLoop]: Abstraction has 26 states and 28 transitions. [2021-12-19 17:01:53,573 INFO L587 BuchiCegarLoop]: Abstraction has 26 states and 28 transitions. [2021-12-19 17:01:53,573 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-12-19 17:01:53,573 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 26 states and 28 transitions. [2021-12-19 17:01:53,573 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-19 17:01:53,573 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 17:01:53,574 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 17:01:53,574 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [10, 10, 1, 1, 1] [2021-12-19 17:01:53,574 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-12-19 17:01:53,574 INFO L791 eck$LassoCheckResult]: Stem: 278#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 279#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet2#1, main_#t~pre1#1, main_~n~0#1, main_#t~nondet5#1, main_#t~mem3#1, main_#t~short4#1, main_~i~0#1, main_~#a~0#1.base, main_~#a~0#1.offset;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;call main_~#a~0#1.base, main_~#a~0#1.offset := #Ultimate.allocOnStack(40);main_~n~0#1 := 0; 282#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 283#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 284#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 280#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 281#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 300#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 299#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 298#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 297#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 296#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 295#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 294#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 293#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 292#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 291#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 290#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 289#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 288#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 287#L13-3 assume !!(main_~n~0#1 < 10);call write~int(main_#t~nondet2#1, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~n~0#1, 4);havoc main_#t~nondet2#1; 286#L13-2 main_#t~pre1#1 := 1 + main_~n~0#1;main_~n~0#1 := 1 + main_~n~0#1;havoc main_#t~pre1#1; 285#L13-3 assume !(main_~n~0#1 < 10); 277#L17-4 [2021-12-19 17:01:53,574 INFO L793 eck$LassoCheckResult]: Loop: 277#L17-4 main_#t~short4#1 := 0 <= main_~i~0#1 && main_~i~0#1 < 10; 275#L17 assume main_#t~short4#1;call main_#t~mem3#1 := read~int(main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~i~0#1, 4);main_#t~short4#1 := main_#t~mem3#1 >= 0; 276#L17-2 assume !!main_#t~short4#1;havoc main_#t~mem3#1;havoc main_#t~short4#1;main_~i~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1;call write~int(0, main_~#a~0#1.base, main_~#a~0#1.offset + 4 * main_~i~0#1, 4); 277#L17-4 [2021-12-19 17:01:53,575 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:53,575 INFO L85 PathProgramCache]: Analyzing trace with hash 899905681, now seen corresponding path program 3 times [2021-12-19 17:01:53,575 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:53,575 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [487884852] [2021-12-19 17:01:53,575 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:53,575 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:53,608 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,609 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 17:01:53,629 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,641 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 17:01:53,642 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:53,642 INFO L85 PathProgramCache]: Analyzing trace with hash 48762, now seen corresponding path program 4 times [2021-12-19 17:01:53,642 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:53,643 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1189184849] [2021-12-19 17:01:53,643 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:53,643 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:53,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,648 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 17:01:53,657 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,660 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 17:01:53,662 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 17:01:53,662 INFO L85 PathProgramCache]: Analyzing trace with hash -95699990, now seen corresponding path program 1 times [2021-12-19 17:01:53,663 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 17:01:53,664 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1681004282] [2021-12-19 17:01:53,664 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 17:01:53,664 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 17:01:53,697 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,698 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 17:01:53,711 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 17:01:53,717 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 17:01:56,076 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.12 05:01:56 BoogieIcfgContainer [2021-12-19 17:01:56,076 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-12-19 17:01:56,077 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-12-19 17:01:56,079 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-12-19 17:01:56,079 INFO L275 PluginConnector]: Witness Printer initialized [2021-12-19 17:01:56,079 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.12 05:01:51" (3/4) ... [2021-12-19 17:01:56,081 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-12-19 17:01:56,126 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-12-19 17:01:56,127 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-12-19 17:01:56,127 INFO L158 Benchmark]: Toolchain (without parser) took 4753.16ms. Allocated memory was 88.1MB in the beginning and 109.1MB in the end (delta: 21.0MB). Free memory was 56.6MB in the beginning and 72.2MB in the end (delta: -15.7MB). Peak memory consumption was 4.0MB. Max. memory is 16.1GB. [2021-12-19 17:01:56,143 INFO L158 Benchmark]: CDTParser took 0.10ms. Allocated memory is still 88.1MB. Free memory was 45.1MB in the beginning and 45.0MB in the end (delta: 43.2kB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-19 17:01:56,144 INFO L158 Benchmark]: CACSL2BoogieTranslator took 169.49ms. Allocated memory is still 88.1MB. Free memory was 56.4MB in the beginning and 66.4MB in the end (delta: -10.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2021-12-19 17:01:56,144 INFO L158 Benchmark]: Boogie Procedure Inliner took 23.66ms. Allocated memory is still 88.1MB. Free memory was 66.1MB in the beginning and 64.6MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-19 17:01:56,144 INFO L158 Benchmark]: Boogie Preprocessor took 11.29ms. Allocated memory is still 88.1MB. Free memory was 64.6MB in the beginning and 63.6MB in the end (delta: 1.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-19 17:01:56,145 INFO L158 Benchmark]: RCFGBuilder took 166.87ms. Allocated memory is still 88.1MB. Free memory was 63.6MB in the beginning and 54.9MB in the end (delta: 8.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2021-12-19 17:01:56,145 INFO L158 Benchmark]: BuchiAutomizer took 4326.16ms. Allocated memory was 88.1MB in the beginning and 109.1MB in the end (delta: 21.0MB). Free memory was 54.5MB in the beginning and 74.3MB in the end (delta: -19.7MB). Peak memory consumption was 46.0MB. Max. memory is 16.1GB. [2021-12-19 17:01:56,146 INFO L158 Benchmark]: Witness Printer took 50.07ms. Allocated memory is still 109.1MB. Free memory was 74.3MB in the beginning and 72.2MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-19 17:01:56,148 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.10ms. Allocated memory is still 88.1MB. Free memory was 45.1MB in the beginning and 45.0MB in the end (delta: 43.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 169.49ms. Allocated memory is still 88.1MB. Free memory was 56.4MB in the beginning and 66.4MB in the end (delta: -10.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 23.66ms. Allocated memory is still 88.1MB. Free memory was 66.1MB in the beginning and 64.6MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 11.29ms. Allocated memory is still 88.1MB. Free memory was 64.6MB in the beginning and 63.6MB in the end (delta: 1.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 166.87ms. Allocated memory is still 88.1MB. Free memory was 63.6MB in the beginning and 54.9MB in the end (delta: 8.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * BuchiAutomizer took 4326.16ms. Allocated memory was 88.1MB in the beginning and 109.1MB in the end (delta: 21.0MB). Free memory was 54.5MB in the beginning and 74.3MB in the end (delta: -19.7MB). Peak memory consumption was 46.0MB. Max. memory is 16.1GB. * Witness Printer took 50.07ms. Allocated memory is still 109.1MB. Free memory was 74.3MB in the beginning and 72.2MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 4 terminating modules (3 trivial, 1 deterministic, 0 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function 19 * unknown-#length-unknown[a] + -8 * n and consists of 5 locations. 3 modules have a trivial ranking function, the largest among these consists of 13 locations. The remainder module has 26 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 4.2s and 5 iterations. TraceHistogramMax:10. Analysis of lassos took 3.9s. Construction of modules took 0.0s. Büchi inclusion checks took 0.1s. Highest rank in rank-based complementation 3. Minimization of det autom 4. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 4 MinimizatonAttempts, 2 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 26 states and ocurred in iteration 4. Nontrivial modules had stage [1, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 23 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 22 mSDsluCounter, 67 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 41 mSDsCounter, 13 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 59 IncrementalHoareTripleChecker+Invalid, 72 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 13 mSolverCounterUnsat, 26 mSDtfsCounter, 59 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT0 conc0 concLT0 SILN0 SILU3 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital87 mio100 ax100 hnf100 lsp93 ukn64 mio100 lsp65 div100 bol100 ite100 ukn100 eq152 hnf92 smp100 dnf100 smp100 tf100 neg100 sie104 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: sat Degree: 0 Time: 108ms VariablesStem: 3 VariablesLoop: 4 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: 17]: 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 {org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@414d2278=5, NULL=0, a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6fbd5043=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTArraySubscriptExpression@1bff87ea=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@68931770=0, NULL=1, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1acb64c8=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTUnaryExpression@2deb75e0=0, i=5, NULL=0, n=10, a=2} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 9]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L10] int i = __VERIFIER_nondet_int(); [L11] int a[10]; [L13] int n = 0; [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND TRUE n < 10 [L14] a[n] = __VERIFIER_nondet_int() [L13] ++n [L13] COND FALSE !(n < 10) Loop: [L17] 0 <= i && i < 10 && a[i] >= 0 [L17] EXPR a[i] [L17] 0 <= i && i < 10 && a[i] >= 0 [L17] COND TRUE 0 <= i && i < 10 && a[i] >= 0 [L18] i = __VERIFIER_nondet_int() [L20] a[i] = 0 End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-12-19 17:01:56,193 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Forceful destruction successful, exit code 0 [2021-12-19 17:01:56,409 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2021-12-19 17:01:56,608 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM)