./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 35987657 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 ea5bfa8a156bc44b081b7e322054bf4f8b50233fa79918ee2b9ae09354893d3a --- Real Ultimate output --- This is Ultimate 0.2.2-?-3598765 [2022-07-22 01:42:25,770 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-22 01:42:25,772 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-22 01:42:25,811 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-22 01:42:25,812 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-22 01:42:25,813 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-22 01:42:25,816 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-22 01:42:25,818 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-22 01:42:25,820 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-22 01:42:25,823 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-22 01:42:25,824 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-22 01:42:25,828 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-22 01:42:25,828 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-22 01:42:25,830 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-22 01:42:25,831 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-22 01:42:25,833 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-22 01:42:25,834 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-22 01:42:25,835 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-22 01:42:25,836 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-22 01:42:25,841 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-22 01:42:25,842 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-22 01:42:25,843 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-22 01:42:25,844 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-22 01:42:25,845 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-22 01:42:25,846 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-22 01:42:25,851 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-22 01:42:25,851 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-22 01:42:25,852 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-22 01:42:25,852 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-22 01:42:25,853 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-22 01:42:25,853 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-22 01:42:25,854 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-22 01:42:25,855 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-22 01:42:25,855 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-22 01:42:25,856 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-22 01:42:25,857 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-22 01:42:25,857 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-22 01:42:25,858 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-22 01:42:25,858 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-22 01:42:25,858 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-22 01:42:25,858 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-22 01:42:25,859 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-22 01:42:25,864 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2022-07-22 01:42:25,889 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-22 01:42:25,889 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-22 01:42:25,890 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-22 01:42:25,890 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-22 01:42:25,891 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-22 01:42:25,891 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-22 01:42:25,891 INFO L138 SettingsManager]: * Use SBE=true [2022-07-22 01:42:25,892 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2022-07-22 01:42:25,892 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2022-07-22 01:42:25,892 INFO L138 SettingsManager]: * Use old map elimination=false [2022-07-22 01:42:25,893 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2022-07-22 01:42:25,893 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2022-07-22 01:42:25,893 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2022-07-22 01:42:25,893 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-22 01:42:25,893 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-22 01:42:25,893 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-22 01:42:25,893 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-22 01:42:25,894 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2022-07-22 01:42:25,894 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2022-07-22 01:42:25,894 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2022-07-22 01:42:25,895 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-07-22 01:42:25,895 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2022-07-22 01:42:25,896 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-22 01:42:25,896 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2022-07-22 01:42:25,896 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-22 01:42:25,896 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-22 01:42:25,897 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-22 01:42:25,897 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-22 01:42:25,898 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2022-07-22 01:42:25,899 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 -> ea5bfa8a156bc44b081b7e322054bf4f8b50233fa79918ee2b9ae09354893d3a [2022-07-22 01:42:26,169 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-22 01:42:26,193 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-22 01:42:26,196 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-22 01:42:26,197 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-22 01:42:26,197 INFO L275 PluginConnector]: CDTParser initialized [2022-07-22 01:42:26,199 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-15/array20_alloca.i [2022-07-22 01:42:26,249 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/85169f3bf/3229a0d004424a37958829326dad2f84/FLAG973317986 [2022-07-22 01:42:26,689 INFO L306 CDTParser]: Found 1 translation units. [2022-07-22 01:42:26,689 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-15/array20_alloca.i [2022-07-22 01:42:26,698 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/85169f3bf/3229a0d004424a37958829326dad2f84/FLAG973317986 [2022-07-22 01:42:26,715 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/85169f3bf/3229a0d004424a37958829326dad2f84 [2022-07-22 01:42:26,717 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-22 01:42:26,718 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-22 01:42:26,720 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-22 01:42:26,720 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-22 01:42:26,723 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-22 01:42:26,723 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 01:42:26" (1/1) ... [2022-07-22 01:42:26,724 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@73defa57 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:26, skipping insertion in model container [2022-07-22 01:42:26,724 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 01:42:26" (1/1) ... [2022-07-22 01:42:26,729 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-22 01:42:26,760 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-22 01:42:27,004 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 01:42:27,009 INFO L203 MainTranslator]: Completed pre-run [2022-07-22 01:42:27,049 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 01:42:27,074 INFO L208 MainTranslator]: Completed translation [2022-07-22 01:42:27,074 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27 WrapperNode [2022-07-22 01:42:27,074 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-07-22 01:42:27,075 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-07-22 01:42:27,075 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-07-22 01:42:27,075 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-07-22 01:42:27,081 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,090 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,107 INFO L137 Inliner]: procedures = 151, calls = 10, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 47 [2022-07-22 01:42:27,107 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-07-22 01:42:27,108 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-07-22 01:42:27,108 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-07-22 01:42:27,109 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-07-22 01:42:27,113 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,114 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,125 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,125 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,133 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,136 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,137 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,138 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-07-22 01:42:27,138 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-07-22 01:42:27,138 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-07-22 01:42:27,138 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-07-22 01:42:27,139 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (1/1) ... [2022-07-22 01:42:27,143 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:27,157 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:27,168 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) [2022-07-22 01:42:27,196 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 [2022-07-22 01:42:27,205 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-07-22 01:42:27,205 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-07-22 01:42:27,205 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-07-22 01:42:27,207 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-07-22 01:42:27,207 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-07-22 01:42:27,207 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-07-22 01:42:27,251 INFO L234 CfgBuilder]: Building ICFG [2022-07-22 01:42:27,253 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-07-22 01:42:27,388 INFO L275 CfgBuilder]: Performing block encoding [2022-07-22 01:42:27,391 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-07-22 01:42:27,392 INFO L299 CfgBuilder]: Removed 2 assume(true) statements. [2022-07-22 01:42:27,393 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 01:42:27 BoogieIcfgContainer [2022-07-22 01:42:27,407 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-07-22 01:42:27,408 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2022-07-22 01:42:27,408 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2022-07-22 01:42:27,410 INFO L275 PluginConnector]: BuchiAutomizer initialized [2022-07-22 01:42:27,411 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 01:42:27,411 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 22.07 01:42:26" (1/3) ... [2022-07-22 01:42:27,411 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2a2c2e79 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 01:42:27, skipping insertion in model container [2022-07-22 01:42:27,412 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 01:42:27,412 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:42:27" (2/3) ... [2022-07-22 01:42:27,412 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2a2c2e79 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 01:42:27, skipping insertion in model container [2022-07-22 01:42:27,412 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 01:42:27,412 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 01:42:27" (3/3) ... [2022-07-22 01:42:27,413 INFO L354 chiAutomizerObserver]: Analyzing ICFG array20_alloca.i [2022-07-22 01:42:27,479 INFO L255 stractBuchiCegarLoop]: Interprodecural is true [2022-07-22 01:42:27,479 INFO L256 stractBuchiCegarLoop]: Hoare is false [2022-07-22 01:42:27,480 INFO L257 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2022-07-22 01:42:27,480 INFO L258 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2022-07-22 01:42:27,480 INFO L259 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2022-07-22 01:42:27,480 INFO L260 stractBuchiCegarLoop]: Difference is false [2022-07-22 01:42:27,480 INFO L261 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2022-07-22 01:42:27,480 INFO L265 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2022-07-22 01:42:27,496 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) [2022-07-22 01:42:27,508 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 4 [2022-07-22 01:42:27,508 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 01:42:27,508 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 01:42:27,512 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2022-07-22 01:42:27,512 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1] [2022-07-22 01:42:27,512 INFO L287 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2022-07-22 01:42:27,526 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) [2022-07-22 01:42:27,528 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 4 [2022-07-22 01:42:27,528 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 01:42:27,528 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 01:42:27,528 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2022-07-22 01:42:27,528 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1] [2022-07-22 01:42:27,533 INFO L752 eck$LassoCheckResult]: Stem: 3#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 8#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet205#1, main_#t~malloc206#1.base, main_#t~malloc206#1.offset, main_#t~nondet208#1, main_#t~mem209#1, main_#t~post207#1, main_#t~mem210#1, main_~i~0#1, main_~j~0#1, main_~length~0#1, main_~arr~0#1.base, main_~arr~0#1.offset;havoc main_~i~0#1;havoc main_~j~0#1;main_~length~0#1 := main_#t~nondet205#1;havoc main_#t~nondet205#1; 11#L367true assume !(main_~length~0#1 < 1); 9#L367-2true call main_#t~malloc206#1.base, main_#t~malloc206#1.offset := #Ultimate.allocOnStack(4 * main_~length~0#1);main_~arr~0#1.base, main_~arr~0#1.offset := main_#t~malloc206#1.base, main_#t~malloc206#1.offset; 5#L369true assume !(main_~arr~0#1.base == 0 && main_~arr~0#1.offset == 0);main_~i~0#1 := 0; 7#L370-3true [2022-07-22 01:42:27,533 INFO L754 eck$LassoCheckResult]: Loop: 7#L370-3true assume !!(main_~i~0#1 < main_~length~0#1);call write~int(main_#t~nondet208#1, main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~i~0#1, 4);havoc main_#t~nondet208#1;call main_#t~mem209#1 := read~int(main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~i~0#1, 4); 12#L372true assume main_#t~mem209#1 < 1;havoc main_#t~mem209#1;call write~int(1, main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~i~0#1, 4); 14#L370-2true main_#t~post207#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post207#1;havoc main_#t~post207#1; 7#L370-3true [2022-07-22 01:42:27,537 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:27,539 INFO L85 PathProgramCache]: Analyzing trace with hash 28695753, now seen corresponding path program 1 times [2022-07-22 01:42:27,545 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:27,546 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [774664623] [2022-07-22 01:42:27,547 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:27,548 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:27,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:27,633 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:42:27,653 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:27,670 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:42:27,672 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:27,672 INFO L85 PathProgramCache]: Analyzing trace with hash 51737, now seen corresponding path program 1 times [2022-07-22 01:42:27,673 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:27,674 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1959925071] [2022-07-22 01:42:27,674 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:27,674 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:27,695 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:27,695 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:42:27,708 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:27,712 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:42:27,715 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:27,715 INFO L85 PathProgramCache]: Analyzing trace with hash 176707665, now seen corresponding path program 1 times [2022-07-22 01:42:27,715 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:27,715 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [622035848] [2022-07-22 01:42:27,715 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:27,716 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:27,746 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:27,749 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:42:27,764 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:27,774 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:42:28,020 INFO L210 LassoAnalysis]: Preferences: [2022-07-22 01:42:28,021 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2022-07-22 01:42:28,021 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2022-07-22 01:42:28,021 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2022-07-22 01:42:28,021 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2022-07-22 01:42:28,022 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,022 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2022-07-22 01:42:28,022 INFO L132 ssoRankerPreferences]: Path of dumped script: [2022-07-22 01:42:28,022 INFO L133 ssoRankerPreferences]: Filename of dumped script: array20_alloca.i_Iteration1_Lasso [2022-07-22 01:42:28,022 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2022-07-22 01:42:28,023 INFO L276 LassoAnalysis]: Starting lasso preprocessing... [2022-07-22 01:42:28,035 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,040 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,043 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,046 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,048 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,139 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,141 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,143 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,145 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,148 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2022-07-22 01:42:28,286 INFO L294 LassoAnalysis]: Preprocessing complete. [2022-07-22 01:42:28,289 INFO L490 LassoAnalysis]: Using template 'affine'. [2022-07-22 01:42:28,290 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,291 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:28,292 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) [2022-07-22 01:42:28,300 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 [2022-07-22 01:42:28,302 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 [2022-07-22 01:42:28,308 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2022-07-22 01:42:28,308 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2022-07-22 01:42:28,308 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2022-07-22 01:42:28,308 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2022-07-22 01:42:28,308 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2022-07-22 01:42:28,310 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2022-07-22 01:42:28,310 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2022-07-22 01:42:28,327 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2022-07-22 01:42:28,343 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 [2022-07-22 01:42:28,344 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,344 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:28,345 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) [2022-07-22 01:42:28,346 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 [2022-07-22 01:42:28,347 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 [2022-07-22 01:42:28,355 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2022-07-22 01:42:28,355 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2022-07-22 01:42:28,355 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2022-07-22 01:42:28,355 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2022-07-22 01:42:28,378 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2022-07-22 01:42:28,378 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2022-07-22 01:42:28,395 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2022-07-22 01:42:28,411 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Ended with exit code 0 [2022-07-22 01:42:28,411 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,411 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:28,413 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) [2022-07-22 01:42:28,420 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 [2022-07-22 01:42:28,421 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 [2022-07-22 01:42:28,427 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2022-07-22 01:42:28,427 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2022-07-22 01:42:28,427 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2022-07-22 01:42:28,427 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2022-07-22 01:42:28,427 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2022-07-22 01:42:28,428 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2022-07-22 01:42:28,428 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2022-07-22 01:42:28,432 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2022-07-22 01:42:28,449 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 [2022-07-22 01:42:28,449 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,449 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:28,450 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) [2022-07-22 01:42:28,451 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 [2022-07-22 01:42:28,453 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 [2022-07-22 01:42:28,459 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2022-07-22 01:42:28,459 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2022-07-22 01:42:28,459 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2022-07-22 01:42:28,459 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2022-07-22 01:42:28,459 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2022-07-22 01:42:28,460 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2022-07-22 01:42:28,460 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2022-07-22 01:42:28,476 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2022-07-22 01:42:28,501 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Ended with exit code 0 [2022-07-22 01:42:28,501 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,501 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:28,504 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) [2022-07-22 01:42:28,505 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 [2022-07-22 01:42:28,507 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 [2022-07-22 01:42:28,512 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2022-07-22 01:42:28,513 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2022-07-22 01:42:28,513 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2022-07-22 01:42:28,513 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2022-07-22 01:42:28,513 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2022-07-22 01:42:28,514 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2022-07-22 01:42:28,514 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2022-07-22 01:42:28,529 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2022-07-22 01:42:28,546 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 [2022-07-22 01:42:28,547 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,547 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:28,548 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) [2022-07-22 01:42:28,551 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 [2022-07-22 01:42:28,552 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 [2022-07-22 01:42:28,558 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2022-07-22 01:42:28,558 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2022-07-22 01:42:28,558 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2022-07-22 01:42:28,558 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2022-07-22 01:42:28,573 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2022-07-22 01:42:28,573 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2022-07-22 01:42:28,589 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2022-07-22 01:42:28,607 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 [2022-07-22 01:42:28,607 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,607 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:28,609 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) [2022-07-22 01:42:28,609 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 [2022-07-22 01:42:28,611 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 [2022-07-22 01:42:28,616 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2022-07-22 01:42:28,617 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2022-07-22 01:42:28,617 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2022-07-22 01:42:28,617 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2022-07-22 01:42:28,619 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2022-07-22 01:42:28,619 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2022-07-22 01:42:28,635 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2022-07-22 01:42:28,653 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 [2022-07-22 01:42:28,653 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,653 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:28,654 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) [2022-07-22 01:42:28,655 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 [2022-07-22 01:42:28,657 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 [2022-07-22 01:42:28,663 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2022-07-22 01:42:28,663 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2022-07-22 01:42:28,663 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2022-07-22 01:42:28,663 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2022-07-22 01:42:28,668 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2022-07-22 01:42:28,668 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2022-07-22 01:42:28,685 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2022-07-22 01:42:28,707 INFO L443 ModelExtractionUtils]: Simplification made 16 calls to the SMT solver. [2022-07-22 01:42:28,708 INFO L444 ModelExtractionUtils]: 8 out of 22 variables were initially zero. Simplification set additionally 10 variables to zero. [2022-07-22 01:42:28,709 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:42:28,709 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:28,710 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) [2022-07-22 01:42:28,711 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 [2022-07-22 01:42:28,713 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2022-07-22 01:42:28,734 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2022-07-22 01:42:28,734 INFO L513 LassoAnalysis]: Proved termination. [2022-07-22 01:42:28,734 INFO L515 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~0#1, ULTIMATE.start_main_~arr~0#1.offset, v_rep(select #length ULTIMATE.start_main_~arr~0#1.base)_1) = -4*ULTIMATE.start_main_~i~0#1 - 1*ULTIMATE.start_main_~arr~0#1.offset + 1*v_rep(select #length ULTIMATE.start_main_~arr~0#1.base)_1 Supporting invariants [] [2022-07-22 01:42:28,753 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 [2022-07-22 01:42:28,763 INFO L293 tatePredicateManager]: 3 out of 3 supporting invariants were superfluous and have been removed [2022-07-22 01:42:28,788 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:28,797 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 01:42:28,798 INFO L263 TraceCheckSpWp]: Trace formula consists of 30 conjuncts, 2 conjunts are in the unsatisfiable core [2022-07-22 01:42:28,799 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-07-22 01:42:28,825 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 01:42:28,826 INFO L263 TraceCheckSpWp]: Trace formula consists of 24 conjuncts, 4 conjunts are in the unsatisfiable core [2022-07-22 01:42:28,827 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-07-22 01:42:28,848 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-22 01:42:28,867 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 [2022-07-22 01:42:28,868 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) [2022-07-22 01:42:28,899 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. [2022-07-22 01:42:28,900 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 [2022-07-22 01:42:28,904 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) [2022-07-22 01:42:28,904 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 29 transitions. [2022-07-22 01:42:28,905 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 5 letters. Loop has 3 letters. [2022-07-22 01:42:28,905 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2022-07-22 01:42:28,905 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 8 letters. Loop has 3 letters. [2022-07-22 01:42:28,906 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2022-07-22 01:42:28,906 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 29 transitions. Stem has 5 letters. Loop has 6 letters. [2022-07-22 01:42:28,906 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2022-07-22 01:42:28,906 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 32 states and 44 transitions. [2022-07-22 01:42:28,908 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2022-07-22 01:42:28,910 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 32 states to 11 states and 15 transitions. [2022-07-22 01:42:28,910 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 7 [2022-07-22 01:42:28,911 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2022-07-22 01:42:28,911 INFO L73 IsDeterministic]: Start isDeterministic. Operand 11 states and 15 transitions. [2022-07-22 01:42:28,911 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 01:42:28,911 INFO L369 hiAutomatonCegarLoop]: Abstraction has 11 states and 15 transitions. [2022-07-22 01:42:28,921 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 11 states and 15 transitions. [2022-07-22 01:42:28,925 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 11 to 11. [2022-07-22 01:42:28,925 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) [2022-07-22 01:42:28,925 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 15 transitions. [2022-07-22 01:42:28,926 INFO L392 hiAutomatonCegarLoop]: Abstraction has 11 states and 15 transitions. [2022-07-22 01:42:28,926 INFO L374 stractBuchiCegarLoop]: Abstraction has 11 states and 15 transitions. [2022-07-22 01:42:28,926 INFO L287 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2022-07-22 01:42:28,926 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 11 states and 15 transitions. [2022-07-22 01:42:28,927 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2022-07-22 01:42:28,927 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 01:42:28,927 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 01:42:28,927 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 01:42:28,927 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1] [2022-07-22 01:42:28,927 INFO L752 eck$LassoCheckResult]: Stem: 109#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 110#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet205#1, main_#t~malloc206#1.base, main_#t~malloc206#1.offset, main_#t~nondet208#1, main_#t~mem209#1, main_#t~post207#1, main_#t~mem210#1, main_~i~0#1, main_~j~0#1, main_~length~0#1, main_~arr~0#1.base, main_~arr~0#1.offset;havoc main_~i~0#1;havoc main_~j~0#1;main_~length~0#1 := main_#t~nondet205#1;havoc main_#t~nondet205#1; 116#L367 assume !(main_~length~0#1 < 1); 111#L367-2 call main_#t~malloc206#1.base, main_#t~malloc206#1.offset := #Ultimate.allocOnStack(4 * main_~length~0#1);main_~arr~0#1.base, main_~arr~0#1.offset := main_#t~malloc206#1.base, main_#t~malloc206#1.offset; 112#L369 assume !(main_~arr~0#1.base == 0 && main_~arr~0#1.offset == 0);main_~i~0#1 := 0; 113#L370-3 assume !(main_~i~0#1 < main_~length~0#1); 114#L370-4 main_~j~0#1 := 1; 115#L377-2 [2022-07-22 01:42:28,927 INFO L754 eck$LassoCheckResult]: Loop: 115#L377-2 assume !!(1 <= main_~j~0#1 && main_~j~0#1 < main_~length~0#1);call main_#t~mem210#1 := read~int(main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~j~0#1, 4);main_~j~0#1 := main_~j~0#1 * main_#t~mem210#1;havoc main_#t~mem210#1; 115#L377-2 [2022-07-22 01:42:28,928 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:28,928 INFO L85 PathProgramCache]: Analyzing trace with hash 1806815510, now seen corresponding path program 1 times [2022-07-22 01:42:28,928 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:28,928 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [852613533] [2022-07-22 01:42:28,928 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:28,928 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:28,933 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 01:42:28,984 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (10)] Ended with exit code 0 [2022-07-22 01:42:28,995 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-22 01:42:28,995 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 01:42:28,995 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [852613533] [2022-07-22 01:42:28,996 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [852613533] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-22 01:42:28,996 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-22 01:42:28,996 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2022-07-22 01:42:28,996 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [810348388] [2022-07-22 01:42:28,997 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-22 01:42:28,999 INFO L757 eck$LassoCheckResult]: stem already infeasible [2022-07-22 01:42:28,999 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:28,999 INFO L85 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 1 times [2022-07-22 01:42:28,999 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:29,000 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [484819509] [2022-07-22 01:42:29,000 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:29,000 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:29,004 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-07-22 01:42:29,005 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [773589705] [2022-07-22 01:42:29,005 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:29,005 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-07-22 01:42:29,006 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:29,024 INFO L229 MonitoredProcess]: Starting monitored process 11 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-07-22 01:42:29,025 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (11)] Waiting until timeout for monitored process [2022-07-22 01:42:29,046 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:29,047 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:42:29,049 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:29,076 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:42:29,144 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 01:42:29,145 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-07-22 01:42:29,146 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-07-22 01:42:29,146 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) [2022-07-22 01:42:29,169 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 01:42:29,169 INFO L93 Difference]: Finished difference Result 13 states and 17 transitions. [2022-07-22 01:42:29,169 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-07-22 01:42:29,170 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 13 states and 17 transitions. [2022-07-22 01:42:29,170 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2022-07-22 01:42:29,170 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 13 states to 13 states and 17 transitions. [2022-07-22 01:42:29,170 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2022-07-22 01:42:29,171 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2022-07-22 01:42:29,171 INFO L73 IsDeterministic]: Start isDeterministic. Operand 13 states and 17 transitions. [2022-07-22 01:42:29,171 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 01:42:29,171 INFO L369 hiAutomatonCegarLoop]: Abstraction has 13 states and 17 transitions. [2022-07-22 01:42:29,171 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states and 17 transitions. [2022-07-22 01:42:29,171 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 11. [2022-07-22 01:42:29,172 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) [2022-07-22 01:42:29,172 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 14 transitions. [2022-07-22 01:42:29,172 INFO L392 hiAutomatonCegarLoop]: Abstraction has 11 states and 14 transitions. [2022-07-22 01:42:29,172 INFO L374 stractBuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2022-07-22 01:42:29,172 INFO L287 stractBuchiCegarLoop]: ======== Iteration 3 ============ [2022-07-22 01:42:29,172 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 11 states and 14 transitions. [2022-07-22 01:42:29,172 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2022-07-22 01:42:29,172 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 01:42:29,173 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 01:42:29,173 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 01:42:29,173 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1] [2022-07-22 01:42:29,173 INFO L752 eck$LassoCheckResult]: Stem: 142#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 143#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet205#1, main_#t~malloc206#1.base, main_#t~malloc206#1.offset, main_#t~nondet208#1, main_#t~mem209#1, main_#t~post207#1, main_#t~mem210#1, main_~i~0#1, main_~j~0#1, main_~length~0#1, main_~arr~0#1.base, main_~arr~0#1.offset;havoc main_~i~0#1;havoc main_~j~0#1;main_~length~0#1 := main_#t~nondet205#1;havoc main_#t~nondet205#1; 147#L367 assume !(main_~length~0#1 < 1); 140#L367-2 call main_#t~malloc206#1.base, main_#t~malloc206#1.offset := #Ultimate.allocOnStack(4 * main_~length~0#1);main_~arr~0#1.base, main_~arr~0#1.offset := main_#t~malloc206#1.base, main_#t~malloc206#1.offset; 141#L369 assume !(main_~arr~0#1.base == 0 && main_~arr~0#1.offset == 0);main_~i~0#1 := 0; 144#L370-3 assume !!(main_~i~0#1 < main_~length~0#1);call write~int(main_#t~nondet208#1, main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~i~0#1, 4);havoc main_#t~nondet208#1;call main_#t~mem209#1 := read~int(main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~i~0#1, 4); 148#L372 assume !(main_#t~mem209#1 < 1);havoc main_#t~mem209#1; 150#L370-2 main_#t~post207#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post207#1;havoc main_#t~post207#1; 149#L370-3 assume !(main_~i~0#1 < main_~length~0#1); 145#L370-4 main_~j~0#1 := 1; 146#L377-2 [2022-07-22 01:42:29,173 INFO L754 eck$LassoCheckResult]: Loop: 146#L377-2 assume !!(1 <= main_~j~0#1 && main_~j~0#1 < main_~length~0#1);call main_#t~mem210#1 := read~int(main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~j~0#1, 4);main_~j~0#1 := main_~j~0#1 * main_#t~mem210#1;havoc main_#t~mem210#1; 146#L377-2 [2022-07-22 01:42:29,173 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:29,173 INFO L85 PathProgramCache]: Analyzing trace with hash -1982565540, now seen corresponding path program 1 times [2022-07-22 01:42:29,173 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:29,174 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1508824299] [2022-07-22 01:42:29,174 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:29,174 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:29,181 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:29,182 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:42:29,190 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:29,192 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:42:29,193 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:29,193 INFO L85 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 2 times [2022-07-22 01:42:29,193 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:29,193 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1795034228] [2022-07-22 01:42:29,193 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:29,193 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:29,195 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-07-22 01:42:29,195 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [836157918] [2022-07-22 01:42:29,195 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2022-07-22 01:42:29,195 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-07-22 01:42:29,195 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:29,202 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) [2022-07-22 01:42:29,203 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (12)] Waiting until timeout for monitored process [2022-07-22 01:42:29,225 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2022-07-22 01:42:29,225 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2022-07-22 01:42:29,225 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:42:29,227 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:29,229 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:42:29,229 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:29,230 INFO L85 PathProgramCache]: Analyzing trace with hash -1329989554, now seen corresponding path program 1 times [2022-07-22 01:42:29,230 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:29,230 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [528658878] [2022-07-22 01:42:29,230 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:29,230 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:29,236 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-07-22 01:42:29,236 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [672131104] [2022-07-22 01:42:29,236 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:29,236 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-07-22 01:42:29,237 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:29,238 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) [2022-07-22 01:42:29,239 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (13)] Waiting until timeout for monitored process [2022-07-22 01:42:29,272 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 01:42:29,273 INFO L263 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 5 conjunts are in the unsatisfiable core [2022-07-22 01:42:29,274 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-07-22 01:42:29,310 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-22 01:42:29,310 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-07-22 01:42:29,328 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-22 01:42:29,328 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 01:42:29,328 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [528658878] [2022-07-22 01:42:29,328 WARN L310 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: SMT_SOLVER_CANNOT_INTERPOLATE_INPUT [2022-07-22 01:42:29,329 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [672131104] [2022-07-22 01:42:29,329 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleZ3 [672131104] provided 0 perfect and 2 imperfect interpolant sequences [2022-07-22 01:42:29,329 INFO L184 FreeRefinementEngine]: Found 0 perfect and 2 imperfect interpolant sequences. [2022-07-22 01:42:29,329 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 5] total 6 [2022-07-22 01:42:29,329 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1933125522] [2022-07-22 01:42:29,329 INFO L85 oduleStraightlineAll]: Using 2 imperfect interpolants to construct interpolant automaton [2022-07-22 01:42:29,366 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 01:42:29,366 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2022-07-22 01:42:29,367 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2022-07-22 01:42:29,367 INFO L87 Difference]: Start difference. First operand 11 states and 14 transitions. cyclomatic complexity: 5 Second operand has 7 states, 6 states have (on average 2.1666666666666665) internal successors, (13), 7 states have internal predecessors, (13), 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) [2022-07-22 01:42:29,421 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 01:42:29,421 INFO L93 Difference]: Finished difference Result 24 states and 31 transitions. [2022-07-22 01:42:29,421 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2022-07-22 01:42:29,422 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 24 states and 31 transitions. [2022-07-22 01:42:29,422 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2022-07-22 01:42:29,423 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 24 states to 16 states and 20 transitions. [2022-07-22 01:42:29,423 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2022-07-22 01:42:29,423 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 8 [2022-07-22 01:42:29,423 INFO L73 IsDeterministic]: Start isDeterministic. Operand 16 states and 20 transitions. [2022-07-22 01:42:29,423 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 01:42:29,423 INFO L369 hiAutomatonCegarLoop]: Abstraction has 16 states and 20 transitions. [2022-07-22 01:42:29,423 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states and 20 transitions. [2022-07-22 01:42:29,429 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 14. [2022-07-22 01:42:29,430 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) [2022-07-22 01:42:29,430 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 17 transitions. [2022-07-22 01:42:29,430 INFO L392 hiAutomatonCegarLoop]: Abstraction has 14 states and 17 transitions. [2022-07-22 01:42:29,430 INFO L374 stractBuchiCegarLoop]: Abstraction has 14 states and 17 transitions. [2022-07-22 01:42:29,430 INFO L287 stractBuchiCegarLoop]: ======== Iteration 4 ============ [2022-07-22 01:42:29,430 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states and 17 transitions. [2022-07-22 01:42:29,431 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 1 [2022-07-22 01:42:29,431 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 01:42:29,431 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 01:42:29,431 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1] [2022-07-22 01:42:29,431 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1] [2022-07-22 01:42:29,431 INFO L752 eck$LassoCheckResult]: Stem: 255#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 256#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet205#1, main_#t~malloc206#1.base, main_#t~malloc206#1.offset, main_#t~nondet208#1, main_#t~mem209#1, main_#t~post207#1, main_#t~mem210#1, main_~i~0#1, main_~j~0#1, main_~length~0#1, main_~arr~0#1.base, main_~arr~0#1.offset;havoc main_~i~0#1;havoc main_~j~0#1;main_~length~0#1 := main_#t~nondet205#1;havoc main_#t~nondet205#1; 260#L367 assume !(main_~length~0#1 < 1); 253#L367-2 call main_#t~malloc206#1.base, main_#t~malloc206#1.offset := #Ultimate.allocOnStack(4 * main_~length~0#1);main_~arr~0#1.base, main_~arr~0#1.offset := main_#t~malloc206#1.base, main_#t~malloc206#1.offset; 254#L369 assume !(main_~arr~0#1.base == 0 && main_~arr~0#1.offset == 0);main_~i~0#1 := 0; 257#L370-3 assume !!(main_~i~0#1 < main_~length~0#1);call write~int(main_#t~nondet208#1, main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~i~0#1, 4);havoc main_#t~nondet208#1;call main_#t~mem209#1 := read~int(main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~i~0#1, 4); 261#L372 assume !(main_#t~mem209#1 < 1);havoc main_#t~mem209#1; 266#L370-2 main_#t~post207#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post207#1;havoc main_#t~post207#1; 262#L370-3 assume !!(main_~i~0#1 < main_~length~0#1);call write~int(main_#t~nondet208#1, main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~i~0#1, 4);havoc main_#t~nondet208#1;call main_#t~mem209#1 := read~int(main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~i~0#1, 4); 263#L372 assume !(main_#t~mem209#1 < 1);havoc main_#t~mem209#1; 264#L370-2 main_#t~post207#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post207#1;havoc main_#t~post207#1; 265#L370-3 assume !(main_~i~0#1 < main_~length~0#1); 258#L370-4 main_~j~0#1 := 1; 259#L377-2 [2022-07-22 01:42:29,431 INFO L754 eck$LassoCheckResult]: Loop: 259#L377-2 assume !!(1 <= main_~j~0#1 && main_~j~0#1 < main_~length~0#1);call main_#t~mem210#1 := read~int(main_~arr~0#1.base, main_~arr~0#1.offset + 4 * main_~j~0#1, 4);main_~j~0#1 := main_~j~0#1 * main_#t~mem210#1;havoc main_#t~mem210#1; 259#L377-2 [2022-07-22 01:42:29,431 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:29,432 INFO L85 PathProgramCache]: Analyzing trace with hash 1781949270, now seen corresponding path program 2 times [2022-07-22 01:42:29,432 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:29,432 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1893050209] [2022-07-22 01:42:29,432 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:29,432 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:29,441 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:29,441 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:42:29,447 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:29,449 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:42:29,450 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:29,450 INFO L85 PathProgramCache]: Analyzing trace with hash 73, now seen corresponding path program 3 times [2022-07-22 01:42:29,450 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:29,450 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1369825592] [2022-07-22 01:42:29,450 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:29,450 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:29,452 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-07-22 01:42:29,452 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1955233824] [2022-07-22 01:42:29,452 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2022-07-22 01:42:29,452 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-07-22 01:42:29,453 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:29,454 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) [2022-07-22 01:42:29,455 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (14)] Waiting until timeout for monitored process [2022-07-22 01:42:29,476 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 1 check-sat command(s) [2022-07-22 01:42:29,476 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2022-07-22 01:42:29,476 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:42:29,478 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:29,480 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:42:29,480 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:42:29,480 INFO L85 PathProgramCache]: Analyzing trace with hash -594147436, now seen corresponding path program 2 times [2022-07-22 01:42:29,480 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:42:29,480 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [833656784] [2022-07-22 01:42:29,480 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:42:29,480 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:42:29,487 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-07-22 01:42:29,488 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [949956702] [2022-07-22 01:42:29,488 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2022-07-22 01:42:29,488 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-07-22 01:42:29,488 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:42:29,489 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) [2022-07-22 01:42:29,490 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (15)] Waiting until timeout for monitored process [2022-07-22 01:42:29,522 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2022-07-22 01:42:29,522 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2022-07-22 01:42:29,522 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:42:29,528 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:42:29,533 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:42:29,779 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 22.07 01:42:29 BoogieIcfgContainer [2022-07-22 01:42:29,779 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2022-07-22 01:42:29,780 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-07-22 01:42:29,780 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-07-22 01:42:29,780 INFO L275 PluginConnector]: Witness Printer initialized [2022-07-22 01:42:29,780 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 01:42:27" (3/4) ... [2022-07-22 01:42:29,782 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2022-07-22 01:42:29,801 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2022-07-22 01:42:29,801 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-07-22 01:42:29,801 INFO L158 Benchmark]: Toolchain (without parser) took 3083.11ms. Allocated memory was 65.0MB in the beginning and 96.5MB in the end (delta: 31.5MB). Free memory was 44.2MB in the beginning and 41.0MB in the end (delta: 3.2MB). Peak memory consumption was 33.0MB. Max. memory is 16.1GB. [2022-07-22 01:42:29,801 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 65.0MB. Free memory was 47.4MB in the beginning and 47.3MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-22 01:42:29,802 INFO L158 Benchmark]: CACSL2BoogieTranslator took 354.61ms. Allocated memory is still 65.0MB. Free memory was 44.0MB in the beginning and 41.4MB in the end (delta: 2.6MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2022-07-22 01:42:29,802 INFO L158 Benchmark]: Boogie Procedure Inliner took 32.47ms. Allocated memory is still 65.0MB. Free memory was 41.4MB in the beginning and 39.5MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-07-22 01:42:29,802 INFO L158 Benchmark]: Boogie Preprocessor took 29.39ms. Allocated memory is still 65.0MB. Free memory was 39.5MB in the beginning and 38.3MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-07-22 01:42:29,802 INFO L158 Benchmark]: RCFGBuilder took 269.04ms. Allocated memory was 65.0MB in the beginning and 79.7MB in the end (delta: 14.7MB). Free memory was 38.3MB in the beginning and 60.9MB in the end (delta: -22.6MB). Peak memory consumption was 9.7MB. Max. memory is 16.1GB. [2022-07-22 01:42:29,803 INFO L158 Benchmark]: BuchiAutomizer took 2371.55ms. Allocated memory was 79.7MB in the beginning and 96.5MB in the end (delta: 16.8MB). Free memory was 60.9MB in the beginning and 42.3MB in the end (delta: 18.6MB). Peak memory consumption was 36.5MB. Max. memory is 16.1GB. [2022-07-22 01:42:29,810 INFO L158 Benchmark]: Witness Printer took 20.89ms. Allocated memory is still 96.5MB. Free memory was 42.3MB in the beginning and 41.0MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-22 01:42:29,812 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.17ms. Allocated memory is still 65.0MB. Free memory was 47.4MB in the beginning and 47.3MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 354.61ms. Allocated memory is still 65.0MB. Free memory was 44.0MB in the beginning and 41.4MB in the end (delta: 2.6MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 32.47ms. Allocated memory is still 65.0MB. Free memory was 41.4MB in the beginning and 39.5MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 29.39ms. Allocated memory is still 65.0MB. Free memory was 39.5MB in the beginning and 38.3MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 269.04ms. Allocated memory was 65.0MB in the beginning and 79.7MB in the end (delta: 14.7MB). Free memory was 38.3MB in the beginning and 60.9MB in the end (delta: -22.6MB). Peak memory consumption was 9.7MB. Max. memory is 16.1GB. * BuchiAutomizer took 2371.55ms. Allocated memory was 79.7MB in the beginning and 96.5MB in the end (delta: 16.8MB). Free memory was 60.9MB in the beginning and 42.3MB in the end (delta: 18.6MB). Peak memory consumption was 36.5MB. Max. memory is 16.1GB. * Witness Printer took 20.89ms. Allocated memory is still 96.5MB. Free memory was 42.3MB in the beginning and 41.0MB in the end (delta: 1.3MB). There was no memory consumed. 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 3 terminating modules (2 trivial, 1 deterministic, 0 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function -4 * i + unknown-#length-unknown[arr] + -1 * arr and consists of 5 locations. 2 modules have a trivial ranking function, the largest among these consists of 7 locations. The remainder module has 14 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 2.3s and 4 iterations. TraceHistogramMax:2. Analysis of lassos took 1.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 3. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 4 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had -1 states and ocurred in iteration -1. Nontrivial modules had stage [1, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 51 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 50 mSDsluCounter, 60 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 30 mSDsCounter, 9 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 60 IncrementalHoareTripleChecker+Invalid, 69 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 9 mSolverCounterUnsat, 30 mSDtfsCounter, 60 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT0 conc1 concLT0 SILN0 SILU1 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital102 mio100 ax100 hnf100 lsp91 ukn83 mio100 lsp61 div100 bol100 ite100 ukn100 eq166 hnf91 smp100 dnf100 smp100 tf100 neg100 sie102 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 51ms VariablesStem: 1 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 6 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s InitialAbstractionConstructionTime: 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 {j=1, arr=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@28b163c5=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7af9e4c=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7af9e4c=0, NULL=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTArraySubscriptExpression@782f4938=0, \result=0, length=2, i=2, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTUnaryExpression@2261b05e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTArraySubscriptExpression@433ceece=0, arr=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1b780e90=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