./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/memsafety-ext/tree_stack.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version c3fed411 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/memsafety-ext/tree_stack.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-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 32bit --witnessprinter.graph.data.programhash 882715956aab9fc92fb711e54ed51d64e792658e5015ed6151f84b857454f04c --- Real Ultimate output --- This is Ultimate 0.2.2-tmp.no-commuhash-c3fed41 [2021-12-19 20:30:14,290 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-19 20:30:14,292 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-19 20:30:14,328 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-19 20:30:14,329 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-19 20:30:14,329 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-19 20:30:14,331 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-19 20:30:14,332 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-19 20:30:14,334 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-19 20:30:14,335 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-19 20:30:14,336 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-19 20:30:14,337 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-19 20:30:14,337 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-19 20:30:14,338 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-19 20:30:14,339 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-19 20:30:14,340 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-19 20:30:14,341 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-19 20:30:14,341 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-19 20:30:14,343 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-19 20:30:14,344 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-19 20:30:14,346 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-19 20:30:14,350 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-19 20:30:14,351 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-19 20:30:14,351 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-19 20:30:14,353 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-19 20:30:14,355 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-19 20:30:14,356 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-19 20:30:14,356 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-19 20:30:14,357 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-19 20:30:14,358 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-19 20:30:14,358 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-19 20:30:14,359 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-19 20:30:14,359 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-19 20:30:14,360 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-19 20:30:14,361 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-19 20:30:14,361 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-19 20:30:14,361 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-19 20:30:14,362 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-19 20:30:14,362 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-19 20:30:14,363 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-19 20:30:14,363 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-19 20:30:14,364 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-12-19 20:30:14,383 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-19 20:30:14,383 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-19 20:30:14,383 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-19 20:30:14,383 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-19 20:30:14,384 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-19 20:30:14,384 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-19 20:30:14,385 INFO L138 SettingsManager]: * Use SBE=true [2021-12-19 20:30:14,385 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-12-19 20:30:14,385 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-12-19 20:30:14,385 INFO L138 SettingsManager]: * Use old map elimination=false [2021-12-19 20:30:14,385 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-12-19 20:30:14,385 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-12-19 20:30:14,386 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-12-19 20:30:14,386 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-19 20:30:14,386 INFO L138 SettingsManager]: * sizeof long=4 [2021-12-19 20:30:14,386 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-12-19 20:30:14,386 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-19 20:30:14,386 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-12-19 20:30:14,386 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-19 20:30:14,387 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-12-19 20:30:14,387 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-12-19 20:30:14,392 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-12-19 20:30:14,393 INFO L138 SettingsManager]: * sizeof long double=12 [2021-12-19 20:30:14,393 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-12-19 20:30:14,393 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-12-19 20:30:14,393 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-19 20:30:14,394 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-12-19 20:30:14,394 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-19 20:30:14,394 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-19 20:30:14,395 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-19 20:30:14,395 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-12-19 20:30:14,395 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-19 20:30:14,396 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-12-19 20:30:14,396 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 882715956aab9fc92fb711e54ed51d64e792658e5015ed6151f84b857454f04c [2021-12-19 20:30:14,611 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-19 20:30:14,632 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-19 20:30:14,634 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-19 20:30:14,635 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-19 20:30:14,636 INFO L275 PluginConnector]: CDTParser initialized [2021-12-19 20:30:14,636 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety-ext/tree_stack.i [2021-12-19 20:30:14,704 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/63da2d8c7/79bbb192675c4f10830546b98d0836a3/FLAG4367a1d72 [2021-12-19 20:30:15,094 INFO L306 CDTParser]: Found 1 translation units. [2021-12-19 20:30:15,095 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety-ext/tree_stack.i [2021-12-19 20:30:15,111 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/63da2d8c7/79bbb192675c4f10830546b98d0836a3/FLAG4367a1d72 [2021-12-19 20:30:15,492 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/63da2d8c7/79bbb192675c4f10830546b98d0836a3 [2021-12-19 20:30:15,494 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-19 20:30:15,496 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-19 20:30:15,497 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-19 20:30:15,498 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-19 20:30:15,501 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-19 20:30:15,501 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:15,502 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@356834d9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15, skipping insertion in model container [2021-12-19 20:30:15,503 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:15,508 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-19 20:30:15,554 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-19 20:30:15,833 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-19 20:30:15,843 INFO L203 MainTranslator]: Completed pre-run [2021-12-19 20:30:15,892 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-19 20:30:15,917 INFO L208 MainTranslator]: Completed translation [2021-12-19 20:30:15,918 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15 WrapperNode [2021-12-19 20:30:15,918 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-12-19 20:30:15,919 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-12-19 20:30:15,919 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-12-19 20:30:15,919 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-12-19 20:30:15,926 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:15,959 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:15,989 INFO L137 Inliner]: procedures = 123, calls = 44, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 122 [2021-12-19 20:30:15,989 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-12-19 20:30:15,990 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-12-19 20:30:15,990 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-12-19 20:30:15,990 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-12-19 20:30:15,997 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:15,998 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:16,013 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:16,014 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:16,020 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:16,032 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:16,034 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:16,041 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-12-19 20:30:16,041 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-12-19 20:30:16,042 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-12-19 20:30:16,042 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-12-19 20:30:16,042 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (1/1) ... [2021-12-19 20:30:16,050 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-19 20:30:16,059 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-19 20:30:16,072 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-19 20:30:16,095 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-12-19 20:30:16,113 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-12-19 20:30:16,113 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2021-12-19 20:30:16,113 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-12-19 20:30:16,114 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-12-19 20:30:16,114 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-12-19 20:30:16,114 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-12-19 20:30:16,114 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-12-19 20:30:16,115 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-12-19 20:30:16,193 INFO L236 CfgBuilder]: Building ICFG [2021-12-19 20:30:16,195 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-12-19 20:30:16,455 INFO L277 CfgBuilder]: Performing block encoding [2021-12-19 20:30:16,465 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-12-19 20:30:16,465 INFO L301 CfgBuilder]: Removed 3 assume(true) statements. [2021-12-19 20:30:16,467 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.12 08:30:16 BoogieIcfgContainer [2021-12-19 20:30:16,470 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-12-19 20:30:16,472 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-12-19 20:30:16,473 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-12-19 20:30:16,476 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-12-19 20:30:16,477 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-19 20:30:16,477 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.12 08:30:15" (1/3) ... [2021-12-19 20:30:16,478 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@15387d46 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.12 08:30:16, skipping insertion in model container [2021-12-19 20:30:16,482 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-19 20:30:16,483 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.12 08:30:15" (2/3) ... [2021-12-19 20:30:16,483 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@15387d46 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.12 08:30:16, skipping insertion in model container [2021-12-19 20:30:16,483 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-19 20:30:16,483 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.12 08:30:16" (3/3) ... [2021-12-19 20:30:16,485 INFO L388 chiAutomizerObserver]: Analyzing ICFG tree_stack.i [2021-12-19 20:30:16,526 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-12-19 20:30:16,526 INFO L360 BuchiCegarLoop]: Hoare is false [2021-12-19 20:30:16,527 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-12-19 20:30:16,527 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-12-19 20:30:16,527 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-12-19 20:30:16,527 INFO L364 BuchiCegarLoop]: Difference is false [2021-12-19 20:30:16,527 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-12-19 20:30:16,527 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-12-19 20:30:16,544 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 21 states, 20 states have (on average 1.6) internal successors, (32), 20 states have internal predecessors, (32), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-19 20:30:16,559 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-12-19 20:30:16,559 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 20:30:16,559 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 20:30:16,563 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-12-19 20:30:16,563 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-12-19 20:30:16,564 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-12-19 20:30:16,564 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 21 states, 20 states have (on average 1.6) internal successors, (32), 20 states have internal predecessors, (32), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-19 20:30:16,565 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-12-19 20:30:16,565 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 20:30:16,565 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 20:30:16,565 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-12-19 20:30:16,566 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-12-19 20:30:16,570 INFO L791 eck$LassoCheckResult]: Stem: 6#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(13, 2); 12#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~malloc3#1.base, main_#t~malloc3#1.offset, main_#t~nondet8#1, main_#t~mem9#1.base, main_#t~mem9#1.offset, main_#t~mem10#1.base, main_#t~mem10#1.offset, main_#t~mem5#1.base, main_#t~mem5#1.offset, main_#t~mem6#1.base, main_#t~mem6#1.offset, main_#t~short7#1, main_#t~mem11#1.base, main_#t~mem11#1.offset, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~mem14#1.base, main_#t~mem14#1.offset, main_#t~mem15#1.base, main_#t~mem15#1.offset, main_#t~mem16#1.base, main_#t~mem16#1.offset, main_#t~nondet17#1, main_#t~malloc18#1.base, main_#t~malloc18#1.offset, main_#t~mem19#1.base, main_#t~mem19#1.offset, main_#t~mem20#1.base, main_#t~mem20#1.offset, main_#t~nondet4#1, main_#t~malloc21#1.base, main_#t~malloc21#1.offset, main_#t~mem22#1.base, main_#t~mem22#1.offset, main_#t~mem23#1.base, main_#t~mem23#1.offset, main_#t~mem24#1.base, main_#t~mem24#1.offset, main_#t~malloc25#1.base, main_#t~malloc25#1.offset, main_#t~mem26#1.base, main_#t~mem26#1.offset, main_#t~mem27#1.base, main_#t~mem27#1.offset, main_#t~malloc28#1.base, main_#t~malloc28#1.offset, main_#t~mem29#1.base, main_#t~mem29#1.offset, main_~root~0#1.base, main_~root~0#1.offset, main_~n~0#1.base, main_~n~0#1.offset, main_~s~0#1.base, main_~s~0#1.offset, main_~st~0#1.base, main_~st~0#1.offset;call main_#t~malloc3#1.base, main_#t~malloc3#1.offset := #Ultimate.allocOnHeap(8);main_~root~0#1.base, main_~root~0#1.offset := main_#t~malloc3#1.base, main_#t~malloc3#1.offset;havoc main_#t~malloc3#1.base, main_#t~malloc3#1.offset;havoc main_~n~0#1.base, main_~n~0#1.offset;call write~$Pointer$(0, 0, main_~root~0#1.base, main_~root~0#1.offset, 4);call write~$Pointer$(0, 0, main_~root~0#1.base, 4 + main_~root~0#1.offset, 4); 16#L549-2true [2021-12-19 20:30:16,570 INFO L793 eck$LassoCheckResult]: Loop: 16#L549-2true assume !!(0 != main_#t~nondet4#1);havoc main_#t~nondet4#1;main_~n~0#1.base, main_~n~0#1.offset := main_~root~0#1.base, main_~root~0#1.offset; 21#L539-2true assume !true; 14#L538-5true call main_#t~mem11#1.base, main_#t~mem11#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4); 10#L544true assume (main_#t~mem11#1.base == 0 && main_#t~mem11#1.offset == 0) && 0 != main_#t~nondet12#1;havoc main_#t~mem11#1.base, main_#t~mem11#1.offset;havoc main_#t~nondet12#1;call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnHeap(8);call write~$Pointer$(main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_~n~0#1.base, main_~n~0#1.offset, 4);havoc main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~mem14#1.base, main_#t~mem14#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4);call write~$Pointer$(0, 0, main_#t~mem14#1.base, main_#t~mem14#1.offset, 4);havoc main_#t~mem14#1.base, main_#t~mem14#1.offset;call main_#t~mem15#1.base, main_#t~mem15#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4);call write~$Pointer$(0, 0, main_#t~mem15#1.base, 4 + main_#t~mem15#1.offset, 4);havoc main_#t~mem15#1.base, main_#t~mem15#1.offset; 7#L544-2true call main_#t~mem16#1.base, main_#t~mem16#1.offset := read~$Pointer$(main_~n~0#1.base, 4 + main_~n~0#1.offset, 4); 20#L549true assume !((main_#t~mem16#1.base == 0 && main_#t~mem16#1.offset == 0) && 0 != main_#t~nondet17#1);havoc main_#t~mem16#1.base, main_#t~mem16#1.offset;havoc main_#t~nondet17#1; 16#L549-2true [2021-12-19 20:30:16,574 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:16,574 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 1 times [2021-12-19 20:30:16,582 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:16,582 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [166669878] [2021-12-19 20:30:16,583 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:16,583 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:16,668 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:16,669 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 20:30:16,688 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:16,724 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 20:30:16,728 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:16,729 INFO L85 PathProgramCache]: Analyzing trace with hash 1235889697, now seen corresponding path program 1 times [2021-12-19 20:30:16,729 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:16,729 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1721539014] [2021-12-19 20:30:16,730 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:16,730 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:16,753 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-19 20:30:16,793 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 20:30:16,794 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-19 20:30:16,794 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1721539014] [2021-12-19 20:30:16,794 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1721539014] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-19 20:30:16,795 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-19 20:30:16,795 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-12-19 20:30:16,795 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1664403845] [2021-12-19 20:30:16,796 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-19 20:30:16,800 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-19 20:30:16,800 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-19 20:30:16,865 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2021-12-19 20:30:16,867 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2021-12-19 20:30:16,868 INFO L87 Difference]: Start difference. First operand has 21 states, 20 states have (on average 1.6) internal successors, (32), 20 states have internal predecessors, (32), 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 2 states, 2 states have (on average 3.0) internal successors, (6), 2 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-19 20:30:16,874 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-19 20:30:16,874 INFO L93 Difference]: Finished difference Result 21 states and 29 transitions. [2021-12-19 20:30:16,876 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2021-12-19 20:30:16,880 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 21 states and 29 transitions. [2021-12-19 20:30:16,882 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-12-19 20:30:16,885 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 21 states to 17 states and 25 transitions. [2021-12-19 20:30:16,886 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 17 [2021-12-19 20:30:16,887 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 17 [2021-12-19 20:30:16,887 INFO L73 IsDeterministic]: Start isDeterministic. Operand 17 states and 25 transitions. [2021-12-19 20:30:16,887 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-19 20:30:16,888 INFO L681 BuchiCegarLoop]: Abstraction has 17 states and 25 transitions. [2021-12-19 20:30:16,900 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 17 states and 25 transitions. [2021-12-19 20:30:16,906 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 17 to 17. [2021-12-19 20:30:16,907 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 17 states, 17 states have (on average 1.4705882352941178) internal successors, (25), 16 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-19 20:30:16,908 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 25 transitions. [2021-12-19 20:30:16,909 INFO L704 BuchiCegarLoop]: Abstraction has 17 states and 25 transitions. [2021-12-19 20:30:16,909 INFO L587 BuchiCegarLoop]: Abstraction has 17 states and 25 transitions. [2021-12-19 20:30:16,909 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-12-19 20:30:16,909 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 17 states and 25 transitions. [2021-12-19 20:30:16,911 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-12-19 20:30:16,911 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 20:30:16,911 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 20:30:16,912 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-12-19 20:30:16,913 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-12-19 20:30:16,913 INFO L791 eck$LassoCheckResult]: Stem: 56#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(13, 2); 57#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~malloc3#1.base, main_#t~malloc3#1.offset, main_#t~nondet8#1, main_#t~mem9#1.base, main_#t~mem9#1.offset, main_#t~mem10#1.base, main_#t~mem10#1.offset, main_#t~mem5#1.base, main_#t~mem5#1.offset, main_#t~mem6#1.base, main_#t~mem6#1.offset, main_#t~short7#1, main_#t~mem11#1.base, main_#t~mem11#1.offset, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~mem14#1.base, main_#t~mem14#1.offset, main_#t~mem15#1.base, main_#t~mem15#1.offset, main_#t~mem16#1.base, main_#t~mem16#1.offset, main_#t~nondet17#1, main_#t~malloc18#1.base, main_#t~malloc18#1.offset, main_#t~mem19#1.base, main_#t~mem19#1.offset, main_#t~mem20#1.base, main_#t~mem20#1.offset, main_#t~nondet4#1, main_#t~malloc21#1.base, main_#t~malloc21#1.offset, main_#t~mem22#1.base, main_#t~mem22#1.offset, main_#t~mem23#1.base, main_#t~mem23#1.offset, main_#t~mem24#1.base, main_#t~mem24#1.offset, main_#t~malloc25#1.base, main_#t~malloc25#1.offset, main_#t~mem26#1.base, main_#t~mem26#1.offset, main_#t~mem27#1.base, main_#t~mem27#1.offset, main_#t~malloc28#1.base, main_#t~malloc28#1.offset, main_#t~mem29#1.base, main_#t~mem29#1.offset, main_~root~0#1.base, main_~root~0#1.offset, main_~n~0#1.base, main_~n~0#1.offset, main_~s~0#1.base, main_~s~0#1.offset, main_~st~0#1.base, main_~st~0#1.offset;call main_#t~malloc3#1.base, main_#t~malloc3#1.offset := #Ultimate.allocOnHeap(8);main_~root~0#1.base, main_~root~0#1.offset := main_#t~malloc3#1.base, main_#t~malloc3#1.offset;havoc main_#t~malloc3#1.base, main_#t~malloc3#1.offset;havoc main_~n~0#1.base, main_~n~0#1.offset;call write~$Pointer$(0, 0, main_~root~0#1.base, main_~root~0#1.offset, 4);call write~$Pointer$(0, 0, main_~root~0#1.base, 4 + main_~root~0#1.offset, 4); 63#L549-2 [2021-12-19 20:30:16,913 INFO L793 eck$LassoCheckResult]: Loop: 63#L549-2 assume !!(0 != main_#t~nondet4#1);havoc main_#t~nondet4#1;main_~n~0#1.base, main_~n~0#1.offset := main_~root~0#1.base, main_~root~0#1.offset; 53#L539-2 call main_#t~mem5#1.base, main_#t~mem5#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4);main_#t~short7#1 := main_#t~mem5#1.base != 0 || main_#t~mem5#1.offset != 0; 64#L538-1 assume main_#t~short7#1;call main_#t~mem6#1.base, main_#t~mem6#1.offset := read~$Pointer$(main_~n~0#1.base, 4 + main_~n~0#1.offset, 4);main_#t~short7#1 := main_#t~mem6#1.base != 0 || main_#t~mem6#1.offset != 0; 50#L538-3 assume !main_#t~short7#1;havoc main_#t~mem5#1.base, main_#t~mem5#1.offset;havoc main_#t~mem6#1.base, main_#t~mem6#1.offset;havoc main_#t~short7#1; 51#L538-5 call main_#t~mem11#1.base, main_#t~mem11#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4); 62#L544 assume (main_#t~mem11#1.base == 0 && main_#t~mem11#1.offset == 0) && 0 != main_#t~nondet12#1;havoc main_#t~mem11#1.base, main_#t~mem11#1.offset;havoc main_#t~nondet12#1;call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnHeap(8);call write~$Pointer$(main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_~n~0#1.base, main_~n~0#1.offset, 4);havoc main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~mem14#1.base, main_#t~mem14#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4);call write~$Pointer$(0, 0, main_#t~mem14#1.base, main_#t~mem14#1.offset, 4);havoc main_#t~mem14#1.base, main_#t~mem14#1.offset;call main_#t~mem15#1.base, main_#t~mem15#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4);call write~$Pointer$(0, 0, main_#t~mem15#1.base, 4 + main_#t~mem15#1.offset, 4);havoc main_#t~mem15#1.base, main_#t~mem15#1.offset; 54#L544-2 call main_#t~mem16#1.base, main_#t~mem16#1.offset := read~$Pointer$(main_~n~0#1.base, 4 + main_~n~0#1.offset, 4); 55#L549 assume !((main_#t~mem16#1.base == 0 && main_#t~mem16#1.offset == 0) && 0 != main_#t~nondet17#1);havoc main_#t~mem16#1.base, main_#t~mem16#1.offset;havoc main_#t~nondet17#1; 63#L549-2 [2021-12-19 20:30:16,915 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:16,915 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 2 times [2021-12-19 20:30:16,916 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:16,916 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1820383333] [2021-12-19 20:30:16,917 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:16,917 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:16,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:16,959 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 20:30:16,968 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:16,983 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 20:30:16,983 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:16,984 INFO L85 PathProgramCache]: Analyzing trace with hash 2066931060, now seen corresponding path program 1 times [2021-12-19 20:30:16,984 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:16,986 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1673004641] [2021-12-19 20:30:16,987 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:16,987 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:17,058 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-19 20:30:17,167 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 20:30:17,168 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-19 20:30:17,168 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1673004641] [2021-12-19 20:30:17,168 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1673004641] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-19 20:30:17,168 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-19 20:30:17,168 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-19 20:30:17,169 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1466607581] [2021-12-19 20:30:17,169 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-19 20:30:17,169 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-19 20:30:17,169 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-19 20:30:17,170 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-12-19 20:30:17,170 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-12-19 20:30:17,170 INFO L87 Difference]: Start difference. First operand 17 states and 25 transitions. cyclomatic complexity: 10 Second operand has 5 states, 5 states have (on average 1.6) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-19 20:30:17,265 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-19 20:30:17,265 INFO L93 Difference]: Finished difference Result 24 states and 35 transitions. [2021-12-19 20:30:17,266 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2021-12-19 20:30:17,266 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 24 states and 35 transitions. [2021-12-19 20:30:17,269 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2021-12-19 20:30:17,274 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 24 states to 24 states and 35 transitions. [2021-12-19 20:30:17,274 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 24 [2021-12-19 20:30:17,274 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 24 [2021-12-19 20:30:17,275 INFO L73 IsDeterministic]: Start isDeterministic. Operand 24 states and 35 transitions. [2021-12-19 20:30:17,275 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-19 20:30:17,275 INFO L681 BuchiCegarLoop]: Abstraction has 24 states and 35 transitions. [2021-12-19 20:30:17,275 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 24 states and 35 transitions. [2021-12-19 20:30:17,278 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 24 to 20. [2021-12-19 20:30:17,279 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 20 states, 20 states have (on average 1.45) internal successors, (29), 19 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-19 20:30:17,280 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 29 transitions. [2021-12-19 20:30:17,280 INFO L704 BuchiCegarLoop]: Abstraction has 20 states and 29 transitions. [2021-12-19 20:30:17,280 INFO L587 BuchiCegarLoop]: Abstraction has 20 states and 29 transitions. [2021-12-19 20:30:17,280 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-12-19 20:30:17,280 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 20 states and 29 transitions. [2021-12-19 20:30:17,281 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 17 [2021-12-19 20:30:17,282 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 20:30:17,282 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 20:30:17,283 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-12-19 20:30:17,283 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-12-19 20:30:17,283 INFO L791 eck$LassoCheckResult]: Stem: 107#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(13, 2); 108#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~malloc3#1.base, main_#t~malloc3#1.offset, main_#t~nondet8#1, main_#t~mem9#1.base, main_#t~mem9#1.offset, main_#t~mem10#1.base, main_#t~mem10#1.offset, main_#t~mem5#1.base, main_#t~mem5#1.offset, main_#t~mem6#1.base, main_#t~mem6#1.offset, main_#t~short7#1, main_#t~mem11#1.base, main_#t~mem11#1.offset, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~mem14#1.base, main_#t~mem14#1.offset, main_#t~mem15#1.base, main_#t~mem15#1.offset, main_#t~mem16#1.base, main_#t~mem16#1.offset, main_#t~nondet17#1, main_#t~malloc18#1.base, main_#t~malloc18#1.offset, main_#t~mem19#1.base, main_#t~mem19#1.offset, main_#t~mem20#1.base, main_#t~mem20#1.offset, main_#t~nondet4#1, main_#t~malloc21#1.base, main_#t~malloc21#1.offset, main_#t~mem22#1.base, main_#t~mem22#1.offset, main_#t~mem23#1.base, main_#t~mem23#1.offset, main_#t~mem24#1.base, main_#t~mem24#1.offset, main_#t~malloc25#1.base, main_#t~malloc25#1.offset, main_#t~mem26#1.base, main_#t~mem26#1.offset, main_#t~mem27#1.base, main_#t~mem27#1.offset, main_#t~malloc28#1.base, main_#t~malloc28#1.offset, main_#t~mem29#1.base, main_#t~mem29#1.offset, main_~root~0#1.base, main_~root~0#1.offset, main_~n~0#1.base, main_~n~0#1.offset, main_~s~0#1.base, main_~s~0#1.offset, main_~st~0#1.base, main_~st~0#1.offset;call main_#t~malloc3#1.base, main_#t~malloc3#1.offset := #Ultimate.allocOnHeap(8);main_~root~0#1.base, main_~root~0#1.offset := main_#t~malloc3#1.base, main_#t~malloc3#1.offset;havoc main_#t~malloc3#1.base, main_#t~malloc3#1.offset;havoc main_~n~0#1.base, main_~n~0#1.offset;call write~$Pointer$(0, 0, main_~root~0#1.base, main_~root~0#1.offset, 4);call write~$Pointer$(0, 0, main_~root~0#1.base, 4 + main_~root~0#1.offset, 4); 114#L549-2 [2021-12-19 20:30:17,284 INFO L793 eck$LassoCheckResult]: Loop: 114#L549-2 assume !!(0 != main_#t~nondet4#1);havoc main_#t~nondet4#1;main_~n~0#1.base, main_~n~0#1.offset := main_~root~0#1.base, main_~root~0#1.offset; 104#L539-2 call main_#t~mem5#1.base, main_#t~mem5#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4);main_#t~short7#1 := main_#t~mem5#1.base != 0 || main_#t~mem5#1.offset != 0; 115#L538-1 assume main_#t~short7#1;call main_#t~mem6#1.base, main_#t~mem6#1.offset := read~$Pointer$(main_~n~0#1.base, 4 + main_~n~0#1.offset, 4);main_#t~short7#1 := main_#t~mem6#1.base != 0 || main_#t~mem6#1.offset != 0; 116#L538-3 assume !main_#t~short7#1;havoc main_#t~mem5#1.base, main_#t~mem5#1.offset;havoc main_#t~mem6#1.base, main_#t~mem6#1.offset;havoc main_#t~short7#1; 120#L538-5 call main_#t~mem11#1.base, main_#t~mem11#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4); 113#L544 assume !((main_#t~mem11#1.base == 0 && main_#t~mem11#1.offset == 0) && 0 != main_#t~nondet12#1);havoc main_#t~mem11#1.base, main_#t~mem11#1.offset;havoc main_#t~nondet12#1; 105#L544-2 call main_#t~mem16#1.base, main_#t~mem16#1.offset := read~$Pointer$(main_~n~0#1.base, 4 + main_~n~0#1.offset, 4); 106#L549 assume !((main_#t~mem16#1.base == 0 && main_#t~mem16#1.offset == 0) && 0 != main_#t~nondet17#1);havoc main_#t~mem16#1.base, main_#t~mem16#1.offset;havoc main_#t~nondet17#1; 114#L549-2 [2021-12-19 20:30:17,284 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:17,284 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 3 times [2021-12-19 20:30:17,285 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:17,286 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [451963806] [2021-12-19 20:30:17,286 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:17,286 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:17,305 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,305 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 20:30:17,321 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,326 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 20:30:17,327 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:17,327 INFO L85 PathProgramCache]: Analyzing trace with hash 2066932982, now seen corresponding path program 1 times [2021-12-19 20:30:17,328 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:17,328 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [958115483] [2021-12-19 20:30:17,328 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:17,328 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:17,338 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,339 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 20:30:17,350 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,356 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 20:30:17,356 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:17,356 INFO L85 PathProgramCache]: Analyzing trace with hash -1537472840, now seen corresponding path program 1 times [2021-12-19 20:30:17,357 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:17,357 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [857775939] [2021-12-19 20:30:17,358 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:17,358 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:17,375 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-19 20:30:17,416 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-19 20:30:17,418 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-19 20:30:17,418 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [857775939] [2021-12-19 20:30:17,418 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [857775939] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-19 20:30:17,419 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-19 20:30:17,419 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-12-19 20:30:17,419 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1917447538] [2021-12-19 20:30:17,419 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-19 20:30:17,663 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-19 20:30:17,663 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-12-19 20:30:17,664 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-12-19 20:30:17,664 INFO L87 Difference]: Start difference. First operand 20 states and 29 transitions. cyclomatic complexity: 11 Second operand has 5 states, 5 states have (on average 2.0) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-19 20:30:17,831 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-19 20:30:17,831 INFO L93 Difference]: Finished difference Result 33 states and 46 transitions. [2021-12-19 20:30:17,832 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-12-19 20:30:17,833 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 33 states and 46 transitions. [2021-12-19 20:30:17,834 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 25 [2021-12-19 20:30:17,834 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 33 states to 33 states and 46 transitions. [2021-12-19 20:30:17,834 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 33 [2021-12-19 20:30:17,834 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 33 [2021-12-19 20:30:17,835 INFO L73 IsDeterministic]: Start isDeterministic. Operand 33 states and 46 transitions. [2021-12-19 20:30:17,835 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-19 20:30:17,835 INFO L681 BuchiCegarLoop]: Abstraction has 33 states and 46 transitions. [2021-12-19 20:30:17,835 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states and 46 transitions. [2021-12-19 20:30:17,837 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 28. [2021-12-19 20:30:17,837 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 28 states, 28 states have (on average 1.3928571428571428) internal successors, (39), 27 states have internal predecessors, (39), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-19 20:30:17,837 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 28 states and 39 transitions. [2021-12-19 20:30:17,837 INFO L704 BuchiCegarLoop]: Abstraction has 28 states and 39 transitions. [2021-12-19 20:30:17,837 INFO L587 BuchiCegarLoop]: Abstraction has 28 states and 39 transitions. [2021-12-19 20:30:17,838 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-12-19 20:30:17,838 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 28 states and 39 transitions. [2021-12-19 20:30:17,838 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 25 [2021-12-19 20:30:17,838 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-19 20:30:17,838 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-19 20:30:17,838 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-12-19 20:30:17,839 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-12-19 20:30:17,839 INFO L791 eck$LassoCheckResult]: Stem: 172#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int(48, 1, 0, 1);call write~init~int(0, 1, 1, 1);call #Ultimate.allocInit(13, 2); 173#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~malloc3#1.base, main_#t~malloc3#1.offset, main_#t~nondet8#1, main_#t~mem9#1.base, main_#t~mem9#1.offset, main_#t~mem10#1.base, main_#t~mem10#1.offset, main_#t~mem5#1.base, main_#t~mem5#1.offset, main_#t~mem6#1.base, main_#t~mem6#1.offset, main_#t~short7#1, main_#t~mem11#1.base, main_#t~mem11#1.offset, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~mem14#1.base, main_#t~mem14#1.offset, main_#t~mem15#1.base, main_#t~mem15#1.offset, main_#t~mem16#1.base, main_#t~mem16#1.offset, main_#t~nondet17#1, main_#t~malloc18#1.base, main_#t~malloc18#1.offset, main_#t~mem19#1.base, main_#t~mem19#1.offset, main_#t~mem20#1.base, main_#t~mem20#1.offset, main_#t~nondet4#1, main_#t~malloc21#1.base, main_#t~malloc21#1.offset, main_#t~mem22#1.base, main_#t~mem22#1.offset, main_#t~mem23#1.base, main_#t~mem23#1.offset, main_#t~mem24#1.base, main_#t~mem24#1.offset, main_#t~malloc25#1.base, main_#t~malloc25#1.offset, main_#t~mem26#1.base, main_#t~mem26#1.offset, main_#t~mem27#1.base, main_#t~mem27#1.offset, main_#t~malloc28#1.base, main_#t~malloc28#1.offset, main_#t~mem29#1.base, main_#t~mem29#1.offset, main_~root~0#1.base, main_~root~0#1.offset, main_~n~0#1.base, main_~n~0#1.offset, main_~s~0#1.base, main_~s~0#1.offset, main_~st~0#1.base, main_~st~0#1.offset;call main_#t~malloc3#1.base, main_#t~malloc3#1.offset := #Ultimate.allocOnHeap(8);main_~root~0#1.base, main_~root~0#1.offset := main_#t~malloc3#1.base, main_#t~malloc3#1.offset;havoc main_#t~malloc3#1.base, main_#t~malloc3#1.offset;havoc main_~n~0#1.base, main_~n~0#1.offset;call write~$Pointer$(0, 0, main_~root~0#1.base, main_~root~0#1.offset, 4);call write~$Pointer$(0, 0, main_~root~0#1.base, 4 + main_~root~0#1.offset, 4); 181#L549-2 [2021-12-19 20:30:17,841 INFO L793 eck$LassoCheckResult]: Loop: 181#L549-2 assume !!(0 != main_#t~nondet4#1);havoc main_#t~nondet4#1;main_~n~0#1.base, main_~n~0#1.offset := main_~root~0#1.base, main_~root~0#1.offset; 185#L539-2 call main_#t~mem5#1.base, main_#t~mem5#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4);main_#t~short7#1 := main_#t~mem5#1.base != 0 || main_#t~mem5#1.offset != 0; 182#L538-1 assume !main_#t~short7#1; 183#L538-3 assume !main_#t~short7#1;havoc main_#t~mem5#1.base, main_#t~mem5#1.offset;havoc main_#t~mem6#1.base, main_#t~mem6#1.offset;havoc main_#t~short7#1; 194#L538-5 call main_#t~mem11#1.base, main_#t~mem11#1.offset := read~$Pointer$(main_~n~0#1.base, main_~n~0#1.offset, 4); 193#L544 assume !((main_#t~mem11#1.base == 0 && main_#t~mem11#1.offset == 0) && 0 != main_#t~nondet12#1);havoc main_#t~mem11#1.base, main_#t~mem11#1.offset;havoc main_#t~nondet12#1; 192#L544-2 call main_#t~mem16#1.base, main_#t~mem16#1.offset := read~$Pointer$(main_~n~0#1.base, 4 + main_~n~0#1.offset, 4); 191#L549 assume !((main_#t~mem16#1.base == 0 && main_#t~mem16#1.offset == 0) && 0 != main_#t~nondet17#1);havoc main_#t~mem16#1.base, main_#t~mem16#1.offset;havoc main_#t~nondet17#1; 181#L549-2 [2021-12-19 20:30:17,842 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:17,842 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 4 times [2021-12-19 20:30:17,842 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:17,842 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1246858863] [2021-12-19 20:30:17,843 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:17,843 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:17,857 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,859 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 20:30:17,864 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,872 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 20:30:17,874 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:17,874 INFO L85 PathProgramCache]: Analyzing trace with hash 2124191284, now seen corresponding path program 1 times [2021-12-19 20:30:17,874 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:17,874 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [416422286] [2021-12-19 20:30:17,875 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:17,875 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:17,881 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,881 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 20:30:17,887 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,892 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 20:30:17,893 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-19 20:30:17,893 INFO L85 PathProgramCache]: Analyzing trace with hash -1480214538, now seen corresponding path program 1 times [2021-12-19 20:30:17,893 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-19 20:30:17,894 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [664875269] [2021-12-19 20:30:17,894 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-19 20:30:17,895 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-19 20:30:17,906 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,906 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-19 20:30:17,915 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-19 20:30:17,924 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-19 20:30:18,404 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.12 08:30:18 BoogieIcfgContainer [2021-12-19 20:30:18,404 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-12-19 20:30:18,420 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-12-19 20:30:18,420 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-12-19 20:30:18,420 INFO L275 PluginConnector]: Witness Printer initialized [2021-12-19 20:30:18,420 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.12 08:30:16" (3/4) ... [2021-12-19 20:30:18,423 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-12-19 20:30:18,460 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-12-19 20:30:18,461 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-12-19 20:30:18,461 INFO L158 Benchmark]: Toolchain (without parser) took 2965.36ms. Allocated memory was 92.3MB in the beginning and 117.4MB in the end (delta: 25.2MB). Free memory was 57.8MB in the beginning and 47.1MB in the end (delta: 10.7MB). Peak memory consumption was 34.9MB. Max. memory is 16.1GB. [2021-12-19 20:30:18,462 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 92.3MB. Free memory was 49.2MB in the beginning and 49.2MB in the end (delta: 39.8kB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-19 20:30:18,462 INFO L158 Benchmark]: CACSL2BoogieTranslator took 421.10ms. Allocated memory was 92.3MB in the beginning and 117.4MB in the end (delta: 25.2MB). Free memory was 57.7MB in the beginning and 86.2MB in the end (delta: -28.5MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2021-12-19 20:30:18,462 INFO L158 Benchmark]: Boogie Procedure Inliner took 70.13ms. Allocated memory is still 117.4MB. Free memory was 86.2MB in the beginning and 84.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-19 20:30:18,463 INFO L158 Benchmark]: Boogie Preprocessor took 50.84ms. Allocated memory is still 117.4MB. Free memory was 84.1MB in the beginning and 82.4MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-19 20:30:18,463 INFO L158 Benchmark]: RCFGBuilder took 429.11ms. Allocated memory is still 117.4MB. Free memory was 82.4MB in the beginning and 63.1MB in the end (delta: 19.3MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2021-12-19 20:30:18,464 INFO L158 Benchmark]: BuchiAutomizer took 1947.17ms. Allocated memory is still 117.4MB. Free memory was 63.1MB in the beginning and 48.6MB in the end (delta: 14.5MB). Peak memory consumption was 16.6MB. Max. memory is 16.1GB. [2021-12-19 20:30:18,464 INFO L158 Benchmark]: Witness Printer took 40.99ms. Allocated memory is still 117.4MB. Free memory was 48.6MB in the beginning and 47.1MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-19 20:30:18,466 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.19ms. Allocated memory is still 92.3MB. Free memory was 49.2MB in the beginning and 49.2MB in the end (delta: 39.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 421.10ms. Allocated memory was 92.3MB in the beginning and 117.4MB in the end (delta: 25.2MB). Free memory was 57.7MB in the beginning and 86.2MB in the end (delta: -28.5MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 70.13ms. Allocated memory is still 117.4MB. Free memory was 86.2MB in the beginning and 84.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 50.84ms. Allocated memory is still 117.4MB. Free memory was 84.1MB in the beginning and 82.4MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 429.11ms. Allocated memory is still 117.4MB. Free memory was 82.4MB in the beginning and 63.1MB in the end (delta: 19.3MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * BuchiAutomizer took 1947.17ms. Allocated memory is still 117.4MB. Free memory was 63.1MB in the beginning and 48.6MB in the end (delta: 14.5MB). Peak memory consumption was 16.6MB. Max. memory is 16.1GB. * Witness Printer took 40.99ms. Allocated memory is still 117.4MB. Free memory was 48.6MB in the beginning and 47.1MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 3 terminating modules (3 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.3 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 28 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 1.8s and 4 iterations. TraceHistogramMax:1. Analysis of lassos took 1.4s. Construction of modules took 0.1s. Büchi inclusion checks took 0.1s. Highest rank in rank-based complementation 0. Minimization of det autom 3. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 9 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 28 states and ocurred in iteration 3. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 29 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 29 mSDsluCounter, 128 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 60 mSDsCounter, 11 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 100 IncrementalHoareTripleChecker+Invalid, 111 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 11 mSolverCounterUnsat, 68 mSDtfsCounter, 100 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI2 SFLT0 conc1 concLT0 SILN0 SILU0 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 536]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=1} State at position 1 is {NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@41e34ac=0, NULL=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3ba33b1c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@417e9c03=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4cdcc1c2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7e86dd9a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@417e9c03=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@21c3d7e1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@360f8a5e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6798dc50=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1bcc9fd7=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2e4b101e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2ad87a0d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@8de31d6=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@360f8a5e=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@721f0135=0, n=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4cdcc1c2=0, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1bcc9fd7=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7d47c3af=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@347854f5=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@76a28d17=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@158bb4ff=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@347854f5=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1676ea69=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6798dc50=0, n=0, root=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@427c9786=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@2cf81ba3=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1b89da72=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@b05a50d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@41e34ac=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1b89da72=0, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@b05a50d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2ad87a0d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7e86dd9a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6f8d1613=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@d7be013=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2e4b101e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@721f0135=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@158bb4ff=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3ba33b1c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1676ea69=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@8de31d6=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@76a28d17=0, root=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7f7fd259=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@427c9786=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5d16d63b=7, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@d7be013=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@21c3d7e1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3d950282=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6f8d1613=0, s=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 536]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L533] struct TreeNode* root = malloc(sizeof(*root)), *n; [L533] struct TreeNode* root = malloc(sizeof(*root)), *n; [L534] root->left = ((void *)0) [L535] root->right = ((void *)0) Loop: [L536] COND TRUE __VERIFIER_nondet_int() [L537] n = root [L538] EXPR n->left [L538] n->left && n->right [L538] COND FALSE !(n->left && n->right) [L544] EXPR n->left [L544] COND FALSE !(!n->left && __VERIFIER_nondet_int()) [L549] EXPR n->right [L549] COND FALSE !(!n->right && __VERIFIER_nondet_int()) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-12-19 20:30:18,539 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM)