./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/memsafety-ext/tree_parent_ptr.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 4e77c044 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/memsafety-ext/tree_parent_ptr.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt --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 43439d71f7b47b10e5196ff582d5d2564aed0e67 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.2.1-dev-4e77c04 [2021-10-13 00:40:37,637 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-13 00:40:37,640 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-13 00:40:37,690 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-13 00:40:37,691 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-13 00:40:37,695 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-13 00:40:37,699 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-13 00:40:37,704 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-13 00:40:37,707 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-13 00:40:37,714 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-13 00:40:37,715 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-13 00:40:37,718 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-13 00:40:37,718 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-13 00:40:37,721 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-13 00:40:37,724 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-13 00:40:37,727 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-13 00:40:37,730 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-13 00:40:37,731 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-13 00:40:37,737 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-13 00:40:37,746 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-13 00:40:37,748 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-13 00:40:37,750 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-13 00:40:37,754 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-13 00:40:37,755 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-13 00:40:37,765 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-13 00:40:37,766 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-13 00:40:37,767 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-13 00:40:37,769 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-13 00:40:37,770 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-13 00:40:37,772 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-13 00:40:37,773 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-13 00:40:37,774 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-13 00:40:37,776 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-13 00:40:37,778 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-13 00:40:37,780 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-13 00:40:37,780 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-13 00:40:37,781 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-13 00:40:37,782 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-13 00:40:37,782 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-13 00:40:37,783 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-13 00:40:37,784 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-13 00:40:37,785 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-10-13 00:40:37,837 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-13 00:40:37,837 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-13 00:40:37,838 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-13 00:40:37,839 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-13 00:40:37,841 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-13 00:40:37,841 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-13 00:40:37,842 INFO L138 SettingsManager]: * Use SBE=true [2021-10-13 00:40:37,842 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-10-13 00:40:37,842 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-10-13 00:40:37,843 INFO L138 SettingsManager]: * Use old map elimination=false [2021-10-13 00:40:37,844 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-10-13 00:40:37,844 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-10-13 00:40:37,845 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-10-13 00:40:37,845 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-13 00:40:37,846 INFO L138 SettingsManager]: * sizeof long=4 [2021-10-13 00:40:37,846 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-10-13 00:40:37,846 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-13 00:40:37,846 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-10-13 00:40:37,847 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-13 00:40:37,847 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-10-13 00:40:37,847 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-10-13 00:40:37,847 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-10-13 00:40:37,855 INFO L138 SettingsManager]: * sizeof long double=12 [2021-10-13 00:40:37,855 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-13 00:40:37,856 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-10-13 00:40:37,856 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-13 00:40:37,856 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-10-13 00:40:37,857 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-13 00:40:37,857 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-13 00:40:37,857 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-13 00:40:37,857 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-13 00:40:37,858 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-13 00:40:37,859 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-10-13 00:40:37,860 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:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt 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 -> 43439d71f7b47b10e5196ff582d5d2564aed0e67 [2021-10-13 00:40:38,204 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-13 00:40:38,228 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-13 00:40:38,231 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-13 00:40:38,233 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-13 00:40:38,234 INFO L275 PluginConnector]: CDTParser initialized [2021-10-13 00:40:38,235 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/../../sv-benchmarks/c/memsafety-ext/tree_parent_ptr.i [2021-10-13 00:40:38,314 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/data/3e7537006/79fa6b52e19642589eeefc3ad682833a/FLAGc11310fcb [2021-10-13 00:40:39,045 INFO L306 CDTParser]: Found 1 translation units. [2021-10-13 00:40:39,046 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/sv-benchmarks/c/memsafety-ext/tree_parent_ptr.i [2021-10-13 00:40:39,075 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/data/3e7537006/79fa6b52e19642589eeefc3ad682833a/FLAGc11310fcb [2021-10-13 00:40:39,249 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/data/3e7537006/79fa6b52e19642589eeefc3ad682833a [2021-10-13 00:40:39,263 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-13 00:40:39,266 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-13 00:40:39,271 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-13 00:40:39,272 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-13 00:40:39,296 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-13 00:40:39,297 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,298 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4f243ff3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39, skipping insertion in model container [2021-10-13 00:40:39,298 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,307 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-13 00:40:39,368 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-13 00:40:39,669 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-13 00:40:39,678 INFO L203 MainTranslator]: Completed pre-run [2021-10-13 00:40:39,724 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-13 00:40:39,763 INFO L208 MainTranslator]: Completed translation [2021-10-13 00:40:39,764 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39 WrapperNode [2021-10-13 00:40:39,765 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-13 00:40:39,768 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-13 00:40:39,769 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-13 00:40:39,769 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-13 00:40:39,777 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,818 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,846 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-13 00:40:39,847 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-13 00:40:39,847 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-13 00:40:39,847 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-13 00:40:39,861 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,861 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,869 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,870 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,881 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,885 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,887 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,891 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-13 00:40:39,892 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-13 00:40:39,892 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-13 00:40:39,892 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-13 00:40:39,897 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (1/1) ... [2021-10-13 00:40:39,906 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-10-13 00:40:39,925 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/z3 [2021-10-13 00:40:39,947 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-10-13 00:40:39,949 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-10-13 00:40:39,992 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-10-13 00:40:39,994 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-10-13 00:40:39,994 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-13 00:40:39,994 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-10-13 00:40:39,995 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-10-13 00:40:39,995 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-13 00:40:39,995 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-13 00:40:39,996 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-13 00:40:40,723 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-13 00:40:40,723 INFO L299 CfgBuilder]: Removed 7 assume(true) statements. [2021-10-13 00:40:40,725 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:40:40 BoogieIcfgContainer [2021-10-13 00:40:40,725 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-13 00:40:40,726 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-10-13 00:40:40,727 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-10-13 00:40:40,733 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-10-13 00:40:40,734 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-13 00:40:40,734 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 13.10 12:40:39" (1/3) ... [2021-10-13 00:40:40,736 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@3c903b3e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 13.10 12:40:40, skipping insertion in model container [2021-10-13 00:40:40,736 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-13 00:40:40,736 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:40:39" (2/3) ... [2021-10-13 00:40:40,737 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@3c903b3e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 13.10 12:40:40, skipping insertion in model container [2021-10-13 00:40:40,737 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-13 00:40:40,737 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:40:40" (3/3) ... [2021-10-13 00:40:40,738 INFO L389 chiAutomizerObserver]: Analyzing ICFG tree_parent_ptr.i [2021-10-13 00:40:40,806 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-10-13 00:40:40,807 INFO L360 BuchiCegarLoop]: Hoare is false [2021-10-13 00:40:40,807 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-10-13 00:40:40,807 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-10-13 00:40:40,807 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-10-13 00:40:40,807 INFO L364 BuchiCegarLoop]: Difference is false [2021-10-13 00:40:40,807 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-10-13 00:40:40,808 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-10-13 00:40:40,822 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-10-13 00:40:40,843 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-10-13 00:40:40,843 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-13 00:40:40,843 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-13 00:40:40,849 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-13 00:40:40,850 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-10-13 00:40:40,850 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-10-13 00:40:40,850 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-10-13 00:40:40,852 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-10-13 00:40:40,852 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-13 00:40:40,853 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-13 00:40:40,853 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-13 00:40:40,853 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-10-13 00:40:40,860 INFO L791 eck$LassoCheckResult]: Stem: 5#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(18); 9#L-1true havoc main_#res;havoc main_#t~malloc5.base, main_#t~malloc5.offset, main_#t~nondet10, main_#t~mem11.base, main_#t~mem11.offset, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~mem8.base, main_#t~mem8.offset, main_#t~short9, main_#t~mem13.base, main_#t~mem13.offset, main_#t~nondet14, main_#t~malloc15.base, main_#t~malloc15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_#t~mem17.base, main_#t~mem17.offset, main_#t~mem18.base, main_#t~mem18.offset, main_#t~mem19.base, main_#t~mem19.offset, main_#t~nondet20, main_#t~malloc21.base, main_#t~malloc21.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~nondet6, main_#t~malloc25.base, main_#t~malloc25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~mem30.base, main_#t~mem30.offset, main_#t~mem31.base, main_#t~mem31.offset, main_#t~malloc32.base, main_#t~malloc32.offset, main_#t~mem33.base, main_#t~mem33.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~s~0.base, main_~s~0.offset, main_~st~0.base, main_~st~0.offset;call main_#t~malloc5.base, main_#t~malloc5.offset := #Ultimate.allocOnHeap(12);main_~root~0.base, main_~root~0.offset := main_#t~malloc5.base, main_#t~malloc5.offset;havoc main_#t~malloc5.base, main_#t~malloc5.offset;havoc main_~n~0.base, main_~n~0.offset;call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 8 + main_~root~0.offset, 4); 14#L552-2true [2021-10-13 00:40:40,860 INFO L793 eck$LassoCheckResult]: Loop: 14#L552-2true assume !!(0 != main_#t~nondet6);havoc main_#t~nondet6;main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; 22#L541-2true assume !true; 7#L540-5true call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 6#L546true assume (main_#t~mem13.base == 0 && main_#t~mem13.offset == 0) && 0 != main_#t~nondet14;havoc main_#t~mem13.base, main_#t~mem13.offset;havoc main_#t~nondet14;call main_#t~malloc15.base, main_#t~malloc15.offset := #Ultimate.allocOnHeap(12);call write~$Pointer$(main_#t~malloc15.base, main_#t~malloc15.offset, main_~n~0.base, main_~n~0.offset, 4);havoc main_#t~malloc15.base, main_#t~malloc15.offset;call main_#t~mem16.base, main_#t~mem16.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);call write~$Pointer$(0, 0, main_#t~mem16.base, main_#t~mem16.offset, 4);havoc main_#t~mem16.base, main_#t~mem16.offset;call main_#t~mem17.base, main_#t~mem17.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);call write~$Pointer$(0, 0, main_#t~mem17.base, 4 + main_#t~mem17.offset, 4);havoc main_#t~mem17.base, main_#t~mem17.offset;call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);call write~$Pointer$(main_~n~0.base, main_~n~0.offset, main_#t~mem18.base, 8 + main_#t~mem18.offset, 4);havoc main_#t~mem18.base, main_#t~mem18.offset; 16#L546-2true call main_#t~mem19.base, main_#t~mem19.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 12#L552true assume !((main_#t~mem19.base == 0 && main_#t~mem19.offset == 0) && 0 != main_#t~nondet20);havoc main_#t~mem19.base, main_#t~mem19.offset;havoc main_#t~nondet20; 14#L552-2true [2021-10-13 00:40:40,865 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:40,866 INFO L82 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 1 times [2021-10-13 00:40:40,876 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:40,877 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2021037255] [2021-10-13 00:40:40,877 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:40,878 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:41,006 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:41,006 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-13 00:40:41,036 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:41,062 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-13 00:40:41,066 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:41,066 INFO L82 PathProgramCache]: Analyzing trace with hash 1235889697, now seen corresponding path program 1 times [2021-10-13 00:40:41,067 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:41,067 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [778035369] [2021-10-13 00:40:41,067 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:41,068 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:41,078 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-13 00:40:41,126 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-13 00:40:41,127 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-13 00:40:41,127 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [778035369] [2021-10-13 00:40:41,128 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [778035369] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-13 00:40:41,128 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-13 00:40:41,128 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-13 00:40:41,129 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1041823406] [2021-10-13 00:40:41,135 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-13 00:40:41,136 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-13 00:40:41,153 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2021-10-13 00:40:41,154 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2021-10-13 00:40:41,156 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-10-13 00:40:41,164 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-13 00:40:41,164 INFO L93 Difference]: Finished difference Result 21 states and 29 transitions. [2021-10-13 00:40:41,164 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2021-10-13 00:40:41,166 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 21 states and 29 transitions. [2021-10-13 00:40:41,171 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-10-13 00:40:41,178 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 21 states to 17 states and 25 transitions. [2021-10-13 00:40:41,180 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 17 [2021-10-13 00:40:41,180 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 17 [2021-10-13 00:40:41,182 INFO L73 IsDeterministic]: Start isDeterministic. Operand 17 states and 25 transitions. [2021-10-13 00:40:41,182 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-13 00:40:41,182 INFO L681 BuchiCegarLoop]: Abstraction has 17 states and 25 transitions. [2021-10-13 00:40:41,202 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 17 states and 25 transitions. [2021-10-13 00:40:41,212 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 17 to 17. [2021-10-13 00:40:41,213 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-10-13 00:40:41,215 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 25 transitions. [2021-10-13 00:40:41,216 INFO L704 BuchiCegarLoop]: Abstraction has 17 states and 25 transitions. [2021-10-13 00:40:41,216 INFO L587 BuchiCegarLoop]: Abstraction has 17 states and 25 transitions. [2021-10-13 00:40:41,216 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-10-13 00:40:41,217 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 17 states and 25 transitions. [2021-10-13 00:40:41,218 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-10-13 00:40:41,218 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-13 00:40:41,218 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-13 00:40:41,219 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-13 00:40:41,219 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-13 00:40:41,219 INFO L791 eck$LassoCheckResult]: Stem: 52#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(18); 53#L-1 havoc main_#res;havoc main_#t~malloc5.base, main_#t~malloc5.offset, main_#t~nondet10, main_#t~mem11.base, main_#t~mem11.offset, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~mem8.base, main_#t~mem8.offset, main_#t~short9, main_#t~mem13.base, main_#t~mem13.offset, main_#t~nondet14, main_#t~malloc15.base, main_#t~malloc15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_#t~mem17.base, main_#t~mem17.offset, main_#t~mem18.base, main_#t~mem18.offset, main_#t~mem19.base, main_#t~mem19.offset, main_#t~nondet20, main_#t~malloc21.base, main_#t~malloc21.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~nondet6, main_#t~malloc25.base, main_#t~malloc25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~mem30.base, main_#t~mem30.offset, main_#t~mem31.base, main_#t~mem31.offset, main_#t~malloc32.base, main_#t~malloc32.offset, main_#t~mem33.base, main_#t~mem33.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~s~0.base, main_~s~0.offset, main_~st~0.base, main_~st~0.offset;call main_#t~malloc5.base, main_#t~malloc5.offset := #Ultimate.allocOnHeap(12);main_~root~0.base, main_~root~0.offset := main_#t~malloc5.base, main_#t~malloc5.offset;havoc main_#t~malloc5.base, main_#t~malloc5.offset;havoc main_~n~0.base, main_~n~0.offset;call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 8 + main_~root~0.offset, 4); 61#L552-2 [2021-10-13 00:40:41,219 INFO L793 eck$LassoCheckResult]: Loop: 61#L552-2 assume !!(0 != main_#t~nondet6);havoc main_#t~nondet6;main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; 64#L541-2 call main_#t~mem7.base, main_#t~mem7.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);main_#t~short9 := main_#t~mem7.base != 0 || main_#t~mem7.offset != 0; 50#L540-1 assume main_#t~short9;call main_#t~mem8.base, main_#t~mem8.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4);main_#t~short9 := main_#t~mem8.base != 0 || main_#t~mem8.offset != 0; 51#L540-3 assume !main_#t~short9;havoc main_#t~mem7.base, main_#t~mem7.offset;havoc main_#t~mem8.base, main_#t~mem8.offset;havoc main_#t~short9; 56#L540-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 54#L546 assume (main_#t~mem13.base == 0 && main_#t~mem13.offset == 0) && 0 != main_#t~nondet14;havoc main_#t~mem13.base, main_#t~mem13.offset;havoc main_#t~nondet14;call main_#t~malloc15.base, main_#t~malloc15.offset := #Ultimate.allocOnHeap(12);call write~$Pointer$(main_#t~malloc15.base, main_#t~malloc15.offset, main_~n~0.base, main_~n~0.offset, 4);havoc main_#t~malloc15.base, main_#t~malloc15.offset;call main_#t~mem16.base, main_#t~mem16.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);call write~$Pointer$(0, 0, main_#t~mem16.base, main_#t~mem16.offset, 4);havoc main_#t~mem16.base, main_#t~mem16.offset;call main_#t~mem17.base, main_#t~mem17.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);call write~$Pointer$(0, 0, main_#t~mem17.base, 4 + main_#t~mem17.offset, 4);havoc main_#t~mem17.base, main_#t~mem17.offset;call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);call write~$Pointer$(main_~n~0.base, main_~n~0.offset, main_#t~mem18.base, 8 + main_#t~mem18.offset, 4);havoc main_#t~mem18.base, main_#t~mem18.offset; 55#L546-2 call main_#t~mem19.base, main_#t~mem19.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 62#L552 assume !((main_#t~mem19.base == 0 && main_#t~mem19.offset == 0) && 0 != main_#t~nondet20);havoc main_#t~mem19.base, main_#t~mem19.offset;havoc main_#t~nondet20; 61#L552-2 [2021-10-13 00:40:41,220 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:41,220 INFO L82 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 2 times [2021-10-13 00:40:41,221 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:41,221 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [681013211] [2021-10-13 00:40:41,221 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:41,222 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:41,273 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:41,274 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-13 00:40:41,326 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:41,348 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-13 00:40:41,349 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:41,349 INFO L82 PathProgramCache]: Analyzing trace with hash 2066931060, now seen corresponding path program 1 times [2021-10-13 00:40:41,349 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:41,349 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1158037387] [2021-10-13 00:40:41,350 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:41,350 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:41,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-13 00:40:41,555 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-13 00:40:41,560 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-13 00:40:41,561 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1158037387] [2021-10-13 00:40:41,561 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1158037387] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-13 00:40:41,562 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-13 00:40:41,562 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-13 00:40:41,565 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1906413432] [2021-10-13 00:40:41,565 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-13 00:40:41,566 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-13 00:40:41,569 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-13 00:40:41,574 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-13 00:40:41,574 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-10-13 00:40:41,822 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-13 00:40:41,822 INFO L93 Difference]: Finished difference Result 24 states and 35 transitions. [2021-10-13 00:40:41,823 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2021-10-13 00:40:41,824 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 24 states and 35 transitions. [2021-10-13 00:40:41,825 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2021-10-13 00:40:41,827 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 24 states to 24 states and 35 transitions. [2021-10-13 00:40:41,828 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 24 [2021-10-13 00:40:41,828 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 24 [2021-10-13 00:40:41,828 INFO L73 IsDeterministic]: Start isDeterministic. Operand 24 states and 35 transitions. [2021-10-13 00:40:41,829 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-13 00:40:41,829 INFO L681 BuchiCegarLoop]: Abstraction has 24 states and 35 transitions. [2021-10-13 00:40:41,829 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 24 states and 35 transitions. [2021-10-13 00:40:41,832 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 24 to 20. [2021-10-13 00:40:41,832 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-10-13 00:40:41,835 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 29 transitions. [2021-10-13 00:40:41,835 INFO L704 BuchiCegarLoop]: Abstraction has 20 states and 29 transitions. [2021-10-13 00:40:41,835 INFO L587 BuchiCegarLoop]: Abstraction has 20 states and 29 transitions. [2021-10-13 00:40:41,836 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-10-13 00:40:41,836 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 20 states and 29 transitions. [2021-10-13 00:40:41,839 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 17 [2021-10-13 00:40:41,839 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-13 00:40:41,839 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-13 00:40:41,841 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-13 00:40:41,841 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-13 00:40:41,841 INFO L791 eck$LassoCheckResult]: Stem: 104#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(18); 105#L-1 havoc main_#res;havoc main_#t~malloc5.base, main_#t~malloc5.offset, main_#t~nondet10, main_#t~mem11.base, main_#t~mem11.offset, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~mem8.base, main_#t~mem8.offset, main_#t~short9, main_#t~mem13.base, main_#t~mem13.offset, main_#t~nondet14, main_#t~malloc15.base, main_#t~malloc15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_#t~mem17.base, main_#t~mem17.offset, main_#t~mem18.base, main_#t~mem18.offset, main_#t~mem19.base, main_#t~mem19.offset, main_#t~nondet20, main_#t~malloc21.base, main_#t~malloc21.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~nondet6, main_#t~malloc25.base, main_#t~malloc25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~mem30.base, main_#t~mem30.offset, main_#t~mem31.base, main_#t~mem31.offset, main_#t~malloc32.base, main_#t~malloc32.offset, main_#t~mem33.base, main_#t~mem33.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~s~0.base, main_~s~0.offset, main_~st~0.base, main_~st~0.offset;call main_#t~malloc5.base, main_#t~malloc5.offset := #Ultimate.allocOnHeap(12);main_~root~0.base, main_~root~0.offset := main_#t~malloc5.base, main_#t~malloc5.offset;havoc main_#t~malloc5.base, main_#t~malloc5.offset;havoc main_~n~0.base, main_~n~0.offset;call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 8 + main_~root~0.offset, 4); 111#L552-2 [2021-10-13 00:40:41,842 INFO L793 eck$LassoCheckResult]: Loop: 111#L552-2 assume !!(0 != main_#t~nondet6);havoc main_#t~nondet6;main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; 116#L541-2 call main_#t~mem7.base, main_#t~mem7.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);main_#t~short9 := main_#t~mem7.base != 0 || main_#t~mem7.offset != 0; 101#L540-1 assume main_#t~short9;call main_#t~mem8.base, main_#t~mem8.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4);main_#t~short9 := main_#t~mem8.base != 0 || main_#t~mem8.offset != 0; 102#L540-3 assume !main_#t~short9;havoc main_#t~mem7.base, main_#t~mem7.offset;havoc main_#t~mem8.base, main_#t~mem8.offset;havoc main_#t~short9; 108#L540-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 106#L546 assume !((main_#t~mem13.base == 0 && main_#t~mem13.offset == 0) && 0 != main_#t~nondet14);havoc main_#t~mem13.base, main_#t~mem13.offset;havoc main_#t~nondet14; 107#L546-2 call main_#t~mem19.base, main_#t~mem19.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 114#L552 assume !((main_#t~mem19.base == 0 && main_#t~mem19.offset == 0) && 0 != main_#t~nondet20);havoc main_#t~mem19.base, main_#t~mem19.offset;havoc main_#t~nondet20; 111#L552-2 [2021-10-13 00:40:41,843 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:41,844 INFO L82 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 3 times [2021-10-13 00:40:41,844 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:41,845 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [466647997] [2021-10-13 00:40:41,845 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:41,846 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:41,887 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:41,887 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-13 00:40:41,908 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:41,915 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-13 00:40:41,915 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:41,916 INFO L82 PathProgramCache]: Analyzing trace with hash 2066932982, now seen corresponding path program 1 times [2021-10-13 00:40:41,916 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:41,922 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2094825903] [2021-10-13 00:40:41,923 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:41,925 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:41,945 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:41,945 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-13 00:40:41,953 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:41,957 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-13 00:40:41,958 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:41,958 INFO L82 PathProgramCache]: Analyzing trace with hash -1537472840, now seen corresponding path program 1 times [2021-10-13 00:40:41,959 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:41,959 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [396344142] [2021-10-13 00:40:41,959 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:41,959 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:41,998 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-13 00:40:42,107 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-13 00:40:42,108 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-13 00:40:42,108 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [396344142] [2021-10-13 00:40:42,108 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [396344142] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-13 00:40:42,109 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-13 00:40:42,109 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-13 00:40:42,109 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1656000865] [2021-10-13 00:40:42,436 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-13 00:40:42,437 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-13 00:40:42,438 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-13 00:40:42,438 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-10-13 00:40:42,793 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-13 00:40:42,793 INFO L93 Difference]: Finished difference Result 33 states and 46 transitions. [2021-10-13 00:40:42,795 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-13 00:40:42,795 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 33 states and 46 transitions. [2021-10-13 00:40:42,797 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 25 [2021-10-13 00:40:42,798 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 33 states to 33 states and 46 transitions. [2021-10-13 00:40:42,799 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 33 [2021-10-13 00:40:42,799 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 33 [2021-10-13 00:40:42,799 INFO L73 IsDeterministic]: Start isDeterministic. Operand 33 states and 46 transitions. [2021-10-13 00:40:42,799 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-13 00:40:42,800 INFO L681 BuchiCegarLoop]: Abstraction has 33 states and 46 transitions. [2021-10-13 00:40:42,800 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states and 46 transitions. [2021-10-13 00:40:42,802 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 28. [2021-10-13 00:40:42,803 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-10-13 00:40:42,803 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 28 states and 39 transitions. [2021-10-13 00:40:42,804 INFO L704 BuchiCegarLoop]: Abstraction has 28 states and 39 transitions. [2021-10-13 00:40:42,804 INFO L587 BuchiCegarLoop]: Abstraction has 28 states and 39 transitions. [2021-10-13 00:40:42,804 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-10-13 00:40:42,807 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 28 states and 39 transitions. [2021-10-13 00:40:42,810 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 25 [2021-10-13 00:40:42,810 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-13 00:40:42,810 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-13 00:40:42,811 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-13 00:40:42,811 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-13 00:40:42,811 INFO L791 eck$LassoCheckResult]: Stem: 170#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(18); 171#L-1 havoc main_#res;havoc main_#t~malloc5.base, main_#t~malloc5.offset, main_#t~nondet10, main_#t~mem11.base, main_#t~mem11.offset, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~mem8.base, main_#t~mem8.offset, main_#t~short9, main_#t~mem13.base, main_#t~mem13.offset, main_#t~nondet14, main_#t~malloc15.base, main_#t~malloc15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_#t~mem17.base, main_#t~mem17.offset, main_#t~mem18.base, main_#t~mem18.offset, main_#t~mem19.base, main_#t~mem19.offset, main_#t~nondet20, main_#t~malloc21.base, main_#t~malloc21.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~nondet6, main_#t~malloc25.base, main_#t~malloc25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~mem30.base, main_#t~mem30.offset, main_#t~mem31.base, main_#t~mem31.offset, main_#t~malloc32.base, main_#t~malloc32.offset, main_#t~mem33.base, main_#t~mem33.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~s~0.base, main_~s~0.offset, main_~st~0.base, main_~st~0.offset;call main_#t~malloc5.base, main_#t~malloc5.offset := #Ultimate.allocOnHeap(12);main_~root~0.base, main_~root~0.offset := main_#t~malloc5.base, main_#t~malloc5.offset;havoc main_#t~malloc5.base, main_#t~malloc5.offset;havoc main_~n~0.base, main_~n~0.offset;call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 8 + main_~root~0.offset, 4); 177#L552-2 [2021-10-13 00:40:42,811 INFO L793 eck$LassoCheckResult]: Loop: 177#L552-2 assume !!(0 != main_#t~nondet6);havoc main_#t~nondet6;main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; 184#L541-2 call main_#t~mem7.base, main_#t~mem7.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);main_#t~short9 := main_#t~mem7.base != 0 || main_#t~mem7.offset != 0; 168#L540-1 assume !main_#t~short9; 169#L540-3 assume !main_#t~short9;havoc main_#t~mem7.base, main_#t~mem7.offset;havoc main_#t~mem8.base, main_#t~mem8.offset;havoc main_#t~short9; 195#L540-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 193#L546 assume !((main_#t~mem13.base == 0 && main_#t~mem13.offset == 0) && 0 != main_#t~nondet14);havoc main_#t~mem13.base, main_#t~mem13.offset;havoc main_#t~nondet14; 185#L546-2 call main_#t~mem19.base, main_#t~mem19.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 181#L552 assume !((main_#t~mem19.base == 0 && main_#t~mem19.offset == 0) && 0 != main_#t~nondet20);havoc main_#t~mem19.base, main_#t~mem19.offset;havoc main_#t~nondet20; 177#L552-2 [2021-10-13 00:40:42,812 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:42,812 INFO L82 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 4 times [2021-10-13 00:40:42,812 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:42,812 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [148298246] [2021-10-13 00:40:42,813 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:42,813 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:42,835 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:42,835 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-13 00:40:42,851 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:42,866 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-13 00:40:42,867 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:42,867 INFO L82 PathProgramCache]: Analyzing trace with hash 2124191284, now seen corresponding path program 1 times [2021-10-13 00:40:42,868 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:42,868 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2040706442] [2021-10-13 00:40:42,869 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:42,869 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:42,887 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:42,887 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-13 00:40:42,902 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:42,912 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-13 00:40:42,913 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-13 00:40:42,913 INFO L82 PathProgramCache]: Analyzing trace with hash -1480214538, now seen corresponding path program 1 times [2021-10-13 00:40:42,913 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-13 00:40:42,914 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [622320886] [2021-10-13 00:40:42,914 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-13 00:40:42,914 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-13 00:40:42,937 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:42,938 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-13 00:40:42,964 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-13 00:40:42,978 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-13 00:40:44,197 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 13.10 12:40:44 BoogieIcfgContainer [2021-10-13 00:40:44,197 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-10-13 00:40:44,198 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-13 00:40:44,198 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-13 00:40:44,198 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-13 00:40:44,199 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:40:40" (3/4) ... [2021-10-13 00:40:44,202 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-10-13 00:40:44,241 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/witness.graphml [2021-10-13 00:40:44,241 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-13 00:40:44,242 INFO L168 Benchmark]: Toolchain (without parser) took 4975.73 ms. Allocated memory was 100.7 MB in the beginning and 121.6 MB in the end (delta: 21.0 MB). Free memory was 55.8 MB in the beginning and 82.5 MB in the end (delta: -26.7 MB). There was no memory consumed. Max. memory is 16.1 GB. [2021-10-13 00:40:44,243 INFO L168 Benchmark]: CDTParser took 0.30 ms. Allocated memory is still 100.7 MB. Free memory was 73.5 MB in the beginning and 73.5 MB in the end (delta: 54.5 kB). There was no memory consumed. Max. memory is 16.1 GB. [2021-10-13 00:40:44,244 INFO L168 Benchmark]: CACSL2BoogieTranslator took 494.55 ms. Allocated memory is still 100.7 MB. Free memory was 55.6 MB in the beginning and 66.4 MB in the end (delta: -10.8 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-10-13 00:40:44,244 INFO L168 Benchmark]: Boogie Procedure Inliner took 78.77 ms. Allocated memory is still 100.7 MB. Free memory was 66.4 MB in the beginning and 64.3 MB in the end (delta: 2.2 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-13 00:40:44,245 INFO L168 Benchmark]: Boogie Preprocessor took 44.03 ms. Allocated memory is still 100.7 MB. Free memory was 64.3 MB in the beginning and 62.4 MB in the end (delta: 1.9 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-13 00:40:44,246 INFO L168 Benchmark]: RCFGBuilder took 833.66 ms. Allocated memory was 100.7 MB in the beginning and 121.6 MB in the end (delta: 21.0 MB). Free memory was 62.4 MB in the beginning and 94.6 MB in the end (delta: -32.2 MB). Peak memory consumption was 32.8 MB. Max. memory is 16.1 GB. [2021-10-13 00:40:44,246 INFO L168 Benchmark]: BuchiAutomizer took 3470.63 ms. Allocated memory is still 121.6 MB. Free memory was 94.6 MB in the beginning and 83.7 MB in the end (delta: 10.9 MB). Peak memory consumption was 59.6 MB. Max. memory is 16.1 GB. [2021-10-13 00:40:44,247 INFO L168 Benchmark]: Witness Printer took 43.25 ms. Allocated memory is still 121.6 MB. Free memory was 83.7 MB in the beginning and 82.5 MB in the end (delta: 1.1 MB). There was no memory consumed. Max. memory is 16.1 GB. [2021-10-13 00:40:44,250 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.30 ms. Allocated memory is still 100.7 MB. Free memory was 73.5 MB in the beginning and 73.5 MB in the end (delta: 54.5 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 494.55 ms. Allocated memory is still 100.7 MB. Free memory was 55.6 MB in the beginning and 66.4 MB in the end (delta: -10.8 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 78.77 ms. Allocated memory is still 100.7 MB. Free memory was 66.4 MB in the beginning and 64.3 MB in the end (delta: 2.2 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 44.03 ms. Allocated memory is still 100.7 MB. Free memory was 64.3 MB in the beginning and 62.4 MB in the end (delta: 1.9 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 833.66 ms. Allocated memory was 100.7 MB in the beginning and 121.6 MB in the end (delta: 21.0 MB). Free memory was 62.4 MB in the beginning and 94.6 MB in the end (delta: -32.2 MB). Peak memory consumption was 32.8 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 3470.63 ms. Allocated memory is still 121.6 MB. Free memory was 94.6 MB in the beginning and 83.7 MB in the end (delta: 10.9 MB). Peak memory consumption was 59.6 MB. Max. memory is 16.1 GB. * Witness Printer took 43.25 ms. Allocated memory is still 121.6 MB. Free memory was 83.7 MB in the beginning and 82.5 MB in the end (delta: 1.1 MB). There was no memory consumed. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 3 terminating modules (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 3.3s and 4 iterations. TraceHistogramMax:1. Analysis of lassos took 2.5s. Construction of modules took 0.4s. 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 26.1ms 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: 68 SDtfs, 29 SDslu, 60 SDs, 0 SdLazy, 100 SolverSat, 11 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 448.1ms Time 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: 538]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=32661} State at position 1 is {s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3e43f4c4=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3262ae5c=0, NULL=32663, NULL=32661, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6349e406=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@53de2113=0, root=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@41f98e1f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@380dffae=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3e43f4c4=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@20f22d32=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4e027786=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4b36a467=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7527fdf2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@380dffae=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2db05958=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3c4344bc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2e0189af=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3c4344bc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@53de2113=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@41f98e1f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@13de3079=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1074992a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@75c1f85=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@fa20988=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6c3d5561=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2e0189af=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@c49d672=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2ad0571b=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@13de3079=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6349e406=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@611273a1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@38714ed3=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@75c1f85=0, n=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@38714ed3=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@68dc99b2=24, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1074992a=0, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3262ae5c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4e027786=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@638e272=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@52ab4ec7=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6c3d5561=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2ad0571b=0, root=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@29348da1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@611273a1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@52ab4ec7=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@638e272=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2db05958=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4b36a467=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@b883490=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3686bf8b=0, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@c49d672=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3686bf8b=0, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@67441dd5=0, NULL=32662, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@b883490=0, n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@fa20988=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 538]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L534] struct TreeNode* root = malloc(sizeof(*root)), *n; [L534] struct TreeNode* root = malloc(sizeof(*root)), *n; [L535] root->left = ((void *)0) [L536] root->right = ((void *)0) [L537] root->parent = ((void *)0) Loop: [L538] COND TRUE __VERIFIER_nondet_int() [L539] n = root [L540] EXPR n->left [L540] n->left && n->right [L540] COND FALSE !(n->left && n->right) [L546] EXPR n->left [L546] COND FALSE !(!n->left && __VERIFIER_nondet_int()) [L552] EXPR n->right [L552] COND FALSE !(!n->right && __VERIFIER_nondet_int()) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-10-13 00:40:44,327 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_189e56b3-b11f-4bd3-aaff-20a8121853b9/bin/uautomizer-WNIpwEf4Nt/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...