./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-memory-alloca/fermat-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-memory-alloca/fermat-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 e779827438904e8a0bb49f414cbe4d14072e556fff2389d3772808230457c73c --- Real Ultimate output --- This is Ultimate 0.2.2-?-3598765 [2022-07-22 01:39:19,223 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-22 01:39:19,227 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-22 01:39:19,275 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-22 01:39:19,276 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-22 01:39:19,277 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-22 01:39:19,280 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-22 01:39:19,283 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-22 01:39:19,285 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-22 01:39:19,290 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-22 01:39:19,291 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-22 01:39:19,293 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-22 01:39:19,293 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-22 01:39:19,295 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-22 01:39:19,296 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-22 01:39:19,301 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-22 01:39:19,302 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-22 01:39:19,303 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-22 01:39:19,305 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-22 01:39:19,310 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-22 01:39:19,311 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-22 01:39:19,312 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-22 01:39:19,314 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-22 01:39:19,315 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-22 01:39:19,316 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-22 01:39:19,322 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-22 01:39:19,323 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-22 01:39:19,323 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-22 01:39:19,324 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-22 01:39:19,324 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-22 01:39:19,325 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-22 01:39:19,325 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-22 01:39:19,327 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-22 01:39:19,327 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-22 01:39:19,328 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-22 01:39:19,329 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-22 01:39:19,329 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-22 01:39:19,330 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-22 01:39:19,330 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-22 01:39:19,330 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-22 01:39:19,331 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-22 01:39:19,332 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-22 01:39:19,340 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:39:19,372 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-22 01:39:19,372 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-22 01:39:19,372 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-22 01:39:19,372 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-22 01:39:19,373 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-22 01:39:19,374 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-22 01:39:19,374 INFO L138 SettingsManager]: * Use SBE=true [2022-07-22 01:39:19,374 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2022-07-22 01:39:19,374 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2022-07-22 01:39:19,374 INFO L138 SettingsManager]: * Use old map elimination=false [2022-07-22 01:39:19,374 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2022-07-22 01:39:19,374 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2022-07-22 01:39:19,375 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2022-07-22 01:39:19,375 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-22 01:39:19,375 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-22 01:39:19,375 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-22 01:39:19,376 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-22 01:39:19,376 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2022-07-22 01:39:19,376 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2022-07-22 01:39:19,376 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2022-07-22 01:39:19,376 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-07-22 01:39:19,377 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2022-07-22 01:39:19,377 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-22 01:39:19,377 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2022-07-22 01:39:19,377 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-22 01:39:19,377 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-22 01:39:19,378 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-22 01:39:19,378 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-22 01:39:19,380 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2022-07-22 01:39:19,380 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 -> e779827438904e8a0bb49f414cbe4d14072e556fff2389d3772808230457c73c [2022-07-22 01:39:19,718 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-22 01:39:19,745 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-22 01:39:19,747 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-22 01:39:19,748 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-22 01:39:19,749 INFO L275 PluginConnector]: CDTParser initialized [2022-07-22 01:39:19,750 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-memory-alloca/fermat-alloca.i [2022-07-22 01:39:19,812 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8f6736f7b/44a6ab5bcc274cc597d299234e4fd97c/FLAG9ef7d206d [2022-07-22 01:39:20,259 INFO L306 CDTParser]: Found 1 translation units. [2022-07-22 01:39:20,260 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-memory-alloca/fermat-alloca.i [2022-07-22 01:39:20,270 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8f6736f7b/44a6ab5bcc274cc597d299234e4fd97c/FLAG9ef7d206d [2022-07-22 01:39:20,629 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8f6736f7b/44a6ab5bcc274cc597d299234e4fd97c [2022-07-22 01:39:20,631 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-22 01:39:20,632 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-22 01:39:20,634 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-22 01:39:20,634 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-22 01:39:20,637 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-22 01:39:20,638 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 01:39:20" (1/1) ... [2022-07-22 01:39:20,639 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@77e45560 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:20, skipping insertion in model container [2022-07-22 01:39:20,639 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 01:39:20" (1/1) ... [2022-07-22 01:39:20,646 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-22 01:39:20,687 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-22 01:39:20,944 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 01:39:20,952 INFO L203 MainTranslator]: Completed pre-run [2022-07-22 01:39:20,988 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 01:39:21,018 INFO L208 MainTranslator]: Completed translation [2022-07-22 01:39:21,018 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21 WrapperNode [2022-07-22 01:39:21,018 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-07-22 01:39:21,019 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-07-22 01:39:21,019 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-07-22 01:39:21,019 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-07-22 01:39:21,025 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:39:21" (1/1) ... [2022-07-22 01:39:21,035 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:39:21" (1/1) ... [2022-07-22 01:39:21,054 INFO L137 Inliner]: procedures = 109, calls = 45, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 116 [2022-07-22 01:39:21,054 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-07-22 01:39:21,055 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-07-22 01:39:21,055 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-07-22 01:39:21,055 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-07-22 01:39:21,062 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21" (1/1) ... [2022-07-22 01:39:21,062 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21" (1/1) ... [2022-07-22 01:39:21,065 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21" (1/1) ... [2022-07-22 01:39:21,067 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21" (1/1) ... [2022-07-22 01:39:21,073 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21" (1/1) ... [2022-07-22 01:39:21,082 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21" (1/1) ... [2022-07-22 01:39:21,084 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21" (1/1) ... [2022-07-22 01:39:21,086 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-07-22 01:39:21,087 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-07-22 01:39:21,087 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-07-22 01:39:21,087 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-07-22 01:39:21,088 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21" (1/1) ... [2022-07-22 01:39:21,094 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 01:39:21,104 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:39:21,114 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:39:21,116 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:39:21,154 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-07-22 01:39:21,154 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-07-22 01:39:21,154 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-07-22 01:39:21,155 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-07-22 01:39:21,155 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-07-22 01:39:21,155 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-07-22 01:39:21,303 INFO L234 CfgBuilder]: Building ICFG [2022-07-22 01:39:21,304 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-07-22 01:39:21,481 INFO L275 CfgBuilder]: Performing block encoding [2022-07-22 01:39:21,487 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-07-22 01:39:21,487 INFO L299 CfgBuilder]: Removed 1 assume(true) statements. [2022-07-22 01:39:21,489 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 01:39:21 BoogieIcfgContainer [2022-07-22 01:39:21,489 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-07-22 01:39:21,490 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2022-07-22 01:39:21,490 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2022-07-22 01:39:21,492 INFO L275 PluginConnector]: BuchiAutomizer initialized [2022-07-22 01:39:21,493 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 01:39:21,493 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 22.07 01:39:20" (1/3) ... [2022-07-22 01:39:21,494 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@64faa5be and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 01:39:21, skipping insertion in model container [2022-07-22 01:39:21,494 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 01:39:21,495 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 01:39:21" (2/3) ... [2022-07-22 01:39:21,495 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@64faa5be and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 01:39:21, skipping insertion in model container [2022-07-22 01:39:21,495 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 01:39:21,495 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 01:39:21" (3/3) ... [2022-07-22 01:39:21,496 INFO L354 chiAutomizerObserver]: Analyzing ICFG fermat-alloca.i [2022-07-22 01:39:21,553 INFO L255 stractBuchiCegarLoop]: Interprodecural is true [2022-07-22 01:39:21,553 INFO L256 stractBuchiCegarLoop]: Hoare is false [2022-07-22 01:39:21,553 INFO L257 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2022-07-22 01:39:21,553 INFO L258 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2022-07-22 01:39:21,553 INFO L259 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2022-07-22 01:39:21,554 INFO L260 stractBuchiCegarLoop]: Difference is false [2022-07-22 01:39:21,554 INFO L261 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2022-07-22 01:39:21,554 INFO L265 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2022-07-22 01:39:21,558 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 13 states, 12 states have (on average 1.5) internal successors, (18), 12 states have internal predecessors, (18), 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:39:21,582 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2022-07-22 01:39:21,583 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 01:39:21,583 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 01:39:21,588 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1] [2022-07-22 01:39:21,589 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 01:39:21,589 INFO L287 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2022-07-22 01:39:21,589 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 13 states, 12 states have (on average 1.5) internal successors, (18), 12 states have internal predecessors, (18), 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:39:21,592 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2022-07-22 01:39:21,592 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 01:39:21,592 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 01:39:21,593 INFO L179 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1] [2022-07-22 01:39:21,593 INFO L180 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 01:39:21,599 INFO L752 eck$LassoCheckResult]: Stem: 5#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 10#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~malloc2#1.base, main_#t~malloc2#1.offset, main_#t~malloc3#1.base, main_#t~malloc3#1.offset, main_#t~malloc4#1.base, main_#t~malloc4#1.offset, main_#t~malloc5#1.base, main_#t~malloc5#1.offset, main_#t~mem6#1, main_#t~mem7#1, main_#t~mem8#1, main_#t~mem9#1, main_#t~mem10#1, main_#t~mem11#1, main_#t~mem12#1, main_#t~mem13#1, main_#t~mem14#1, main_#t~mem15#1, main_#t~post16#1, main_#t~mem17#1, main_#t~mem18#1, main_#t~mem19#1, main_#t~post20#1, main_#t~mem21#1, main_#t~mem22#1, main_#t~mem23#1, main_#t~post24#1, main_#t~mem25#1, main_#t~mem26#1, main_~MAX~0#1.base, main_~MAX~0#1.offset, main_~a~0#1.base, main_~a~0#1.offset, main_~b~0#1.base, main_~b~0#1.offset, main_~c~0#1.base, main_~c~0#1.offset;call main_#t~malloc2#1.base, main_#t~malloc2#1.offset := #Ultimate.allocOnStack(4);main_~MAX~0#1.base, main_~MAX~0#1.offset := main_#t~malloc2#1.base, main_#t~malloc2#1.offset;call main_#t~malloc3#1.base, main_#t~malloc3#1.offset := #Ultimate.allocOnStack(4);main_~a~0#1.base, main_~a~0#1.offset := main_#t~malloc3#1.base, main_#t~malloc3#1.offset;call main_#t~malloc4#1.base, main_#t~malloc4#1.offset := #Ultimate.allocOnStack(4);main_~b~0#1.base, main_~b~0#1.offset := main_#t~malloc4#1.base, main_#t~malloc4#1.offset;call main_#t~malloc5#1.base, main_#t~malloc5#1.offset := #Ultimate.allocOnStack(4);main_~c~0#1.base, main_~c~0#1.offset := main_#t~malloc5#1.base, main_#t~malloc5#1.offset;call write~int(1000, main_~MAX~0#1.base, main_~MAX~0#1.offset, 4);call write~int(1, main_~a~0#1.base, main_~a~0#1.offset, 4);call write~int(1, main_~b~0#1.base, main_~b~0#1.offset, 4);call write~int(1, main_~c~0#1.base, main_~c~0#1.offset, 4); 8#L556-2true [2022-07-22 01:39:21,600 INFO L754 eck$LassoCheckResult]: Loop: 8#L556-2true assume !false;call main_#t~mem6#1 := read~int(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem7#1 := read~int(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem8#1 := read~int(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem9#1 := read~int(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem10#1 := read~int(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem11#1 := read~int(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem12#1 := read~int(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem13#1 := read~int(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem14#1 := read~int(main_~c~0#1.base, main_~c~0#1.offset, 4); 13#L557true assume !(main_#t~mem6#1 * main_#t~mem7#1 * main_#t~mem8#1 == main_#t~mem9#1 * main_#t~mem10#1 * main_#t~mem11#1 + main_#t~mem12#1 * main_#t~mem13#1 * main_#t~mem14#1);havoc main_#t~mem6#1;havoc main_#t~mem7#1;havoc main_#t~mem8#1;havoc main_#t~mem9#1;havoc main_#t~mem10#1;havoc main_#t~mem11#1;havoc main_#t~mem12#1;havoc main_#t~mem13#1;havoc main_#t~mem14#1;call main_#t~mem15#1 := read~int(main_~a~0#1.base, main_~a~0#1.offset, 4);main_#t~post16#1 := main_#t~mem15#1;call write~int(1 + main_#t~post16#1, main_~a~0#1.base, main_~a~0#1.offset, 4);havoc main_#t~mem15#1;havoc main_#t~post16#1;call main_#t~mem17#1 := read~int(main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem18#1 := read~int(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 6#L561true assume main_#t~mem17#1 > main_#t~mem18#1;havoc main_#t~mem17#1;havoc main_#t~mem18#1;call write~int(1, main_~a~0#1.base, main_~a~0#1.offset, 4);call main_#t~mem19#1 := read~int(main_~b~0#1.base, main_~b~0#1.offset, 4);main_#t~post20#1 := main_#t~mem19#1;call write~int(1 + main_#t~post20#1, main_~b~0#1.base, main_~b~0#1.offset, 4);havoc main_#t~mem19#1;havoc main_#t~post20#1; 9#L561-2true call main_#t~mem21#1 := read~int(main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem22#1 := read~int(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 4#L565true assume main_#t~mem21#1 > main_#t~mem22#1;havoc main_#t~mem21#1;havoc main_#t~mem22#1;call write~int(1, main_~b~0#1.base, main_~b~0#1.offset, 4);call main_#t~mem23#1 := read~int(main_~c~0#1.base, main_~c~0#1.offset, 4);main_#t~post24#1 := main_#t~mem23#1;call write~int(1 + main_#t~post24#1, main_~c~0#1.base, main_~c~0#1.offset, 4);havoc main_#t~mem23#1;havoc main_#t~post24#1; 11#L565-2true call main_#t~mem25#1 := read~int(main_~c~0#1.base, main_~c~0#1.offset, 4);call main_#t~mem26#1 := read~int(main_~MAX~0#1.base, main_~MAX~0#1.offset, 4); 3#L569true assume !(main_#t~mem25#1 > main_#t~mem26#1);havoc main_#t~mem25#1;havoc main_#t~mem26#1; 8#L556-2true [2022-07-22 01:39:21,604 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:39:21,605 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 1 times [2022-07-22 01:39:21,612 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:39:21,613 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [319182571] [2022-07-22 01:39:21,613 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:39:21,614 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:39:21,800 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:39:21,800 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:39:21,850 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:39:21,886 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:39:21,889 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:39:21,889 INFO L85 PathProgramCache]: Analyzing trace with hash -903226603, now seen corresponding path program 1 times [2022-07-22 01:39:21,889 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:39:21,890 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [389813340] [2022-07-22 01:39:21,890 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:39:21,891 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:39:21,915 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-07-22 01:39:21,916 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [321333036] [2022-07-22 01:39:21,916 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:39:21,916 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-07-22 01:39:21,917 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:39:21,925 INFO L229 MonitoredProcess]: Starting monitored process 2 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:39:21,931 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2022-07-22 01:39:22,044 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:39:22,045 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 01:39:22,085 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 01:39:22,098 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 01:39:22,099 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 01:39:22,100 INFO L85 PathProgramCache]: Analyzing trace with hash 643070227, now seen corresponding path program 1 times [2022-07-22 01:39:22,100 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 01:39:22,100 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [884810672] [2022-07-22 01:39:22,100 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:39:22,100 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 01:39:22,134 ERROR L245 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2022-07-22 01:39:22,134 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [157827520] [2022-07-22 01:39:22,134 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 01:39:22,135 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-07-22 01:39:22,135 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 01:39:22,137 INFO L229 MonitoredProcess]: Starting monitored process 3 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:39:22,168 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2022-07-22 01:39:22,317 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 01:39:22,321 INFO L263 TraceCheckSpWp]: Trace formula consists of 257 conjuncts, 53 conjunts are in the unsatisfiable core [2022-07-22 01:39:22,331 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-07-22 01:39:22,601 INFO L356 Elim1Store]: treesize reduction 34, result has 50.7 percent of original size [2022-07-22 01:39:22,602 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 3 select indices, 3 select index equivalence classes, 0 disjoint index pairs (out of 3 index pairs), introduced 4 new quantified variables, introduced 5 case distinctions, treesize of input 4758 treesize of output 3617 [2022-07-22 01:39:22,661 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-07-22 01:39:24,207 INFO L356 Elim1Store]: treesize reduction 680, result has 22.8 percent of original size [2022-07-22 01:39:24,209 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 8 stores, 3 select indices, 3 select index equivalence classes, 1 disjoint index pairs (out of 3 index pairs), introduced 11 new quantified variables, introduced 35 case distinctions, treesize of input 3601 treesize of output 2863 [2022-07-22 01:39:24,428 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 15 [2022-07-22 01:39:24,544 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 15 [2022-07-22 01:39:24,705 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 15 [2022-07-22 01:39:24,828 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 49 treesize of output 42 [2022-07-22 01:39:25,009 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-07-22 01:39:25,009 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 1 case distinctions, treesize of input 865 treesize of output 853 [2022-07-22 01:39:30,152 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 5 treesize of output 3 [2022-07-22 01:39:34,154 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-07-22 01:39:34,266 INFO L173 IndexEqualityManager]: detected equality via solver [2022-07-22 01:39:34,375 INFO L244 Elim1Store]: Index analysis took 185 ms [2022-07-22 01:39:34,615 INFO L356 Elim1Store]: treesize reduction 158, result has 9.7 percent of original size [2022-07-22 01:39:34,616 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 10 stores, 3 select indices, 3 select index equivalence classes, 1 disjoint index pairs (out of 3 index pairs), introduced 4 new quantified variables, introduced 42 case distinctions, treesize of input 1468 treesize of output 4840 [2022-07-22 01:41:37,234 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 2549 treesize of output 2499