./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/memsafety-ext/tree_dsw.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version e943c265 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/memsafety-ext/tree_dsw.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be --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 6527731a1486e677feb1440c4f57330edff23abded92b5eda1225729ba969b33 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 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-e943c26 [2021-10-21 20:00:24,828 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-21 20:00:24,830 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-21 20:00:24,866 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-21 20:00:24,867 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-21 20:00:24,868 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-21 20:00:24,870 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-21 20:00:24,872 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-21 20:00:24,874 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-21 20:00:24,876 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-21 20:00:24,877 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-21 20:00:24,878 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-21 20:00:24,879 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-21 20:00:24,880 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-21 20:00:24,882 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-21 20:00:24,884 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-21 20:00:24,885 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-21 20:00:24,886 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-21 20:00:24,889 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-21 20:00:24,891 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-21 20:00:24,893 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-21 20:00:24,895 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-21 20:00:24,897 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-21 20:00:24,898 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-21 20:00:24,902 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-21 20:00:24,905 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-21 20:00:24,906 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-21 20:00:24,907 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-21 20:00:24,909 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-21 20:00:24,910 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-21 20:00:24,912 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-21 20:00:24,913 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-21 20:00:24,914 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-21 20:00:24,916 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-21 20:00:24,918 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-21 20:00:24,919 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-21 20:00:24,920 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-21 20:00:24,920 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-21 20:00:24,920 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-21 20:00:24,921 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-21 20:00:24,922 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-21 20:00:24,923 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-10-21 20:00:24,976 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-21 20:00:24,982 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-21 20:00:24,983 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-21 20:00:24,983 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-21 20:00:24,984 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-21 20:00:24,985 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-21 20:00:24,985 INFO L138 SettingsManager]: * Use SBE=true [2021-10-21 20:00:24,985 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-10-21 20:00:24,986 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-10-21 20:00:24,986 INFO L138 SettingsManager]: * Use old map elimination=false [2021-10-21 20:00:24,987 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-10-21 20:00:24,987 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-10-21 20:00:24,988 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-10-21 20:00:24,988 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-21 20:00:24,988 INFO L138 SettingsManager]: * sizeof long=4 [2021-10-21 20:00:24,989 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-10-21 20:00:24,989 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-21 20:00:24,989 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-10-21 20:00:24,989 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-21 20:00:24,990 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-10-21 20:00:24,990 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-10-21 20:00:24,990 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-10-21 20:00:24,990 INFO L138 SettingsManager]: * sizeof long double=12 [2021-10-21 20:00:24,991 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-21 20:00:24,991 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-10-21 20:00:24,991 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-21 20:00:24,991 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-10-21 20:00:24,992 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-21 20:00:24,992 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-21 20:00:24,992 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-21 20:00:24,992 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-21 20:00:24,993 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-21 20:00:24,994 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-10-21 20:00:24,994 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_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/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_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be 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 -> 6527731a1486e677feb1440c4f57330edff23abded92b5eda1225729ba969b33 [2021-10-21 20:00:25,289 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-21 20:00:25,309 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-21 20:00:25,312 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-21 20:00:25,313 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-21 20:00:25,322 INFO L275 PluginConnector]: CDTParser initialized [2021-10-21 20:00:25,323 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/../../sv-benchmarks/c/memsafety-ext/tree_dsw.i [2021-10-21 20:00:25,390 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/data/4cc87a915/ff7e2455811d416595dcdb572cda9e97/FLAGaa745f35f [2021-10-21 20:00:25,874 INFO L306 CDTParser]: Found 1 translation units. [2021-10-21 20:00:25,875 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/sv-benchmarks/c/memsafety-ext/tree_dsw.i [2021-10-21 20:00:25,901 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/data/4cc87a915/ff7e2455811d416595dcdb572cda9e97/FLAGaa745f35f [2021-10-21 20:00:26,185 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/data/4cc87a915/ff7e2455811d416595dcdb572cda9e97 [2021-10-21 20:00:26,188 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-21 20:00:26,189 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-21 20:00:26,194 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-21 20:00:26,194 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-21 20:00:26,197 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-21 20:00:26,198 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,199 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@679103cc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26, skipping insertion in model container [2021-10-21 20:00:26,199 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,206 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-21 20:00:26,271 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-21 20:00:26,624 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-21 20:00:26,638 INFO L203 MainTranslator]: Completed pre-run [2021-10-21 20:00:26,711 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-21 20:00:26,744 INFO L208 MainTranslator]: Completed translation [2021-10-21 20:00:26,745 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26 WrapperNode [2021-10-21 20:00:26,745 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-21 20:00:26,746 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-21 20:00:26,746 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-21 20:00:26,746 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-21 20:00:26,754 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,768 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,815 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-21 20:00:26,816 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-21 20:00:26,816 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-21 20:00:26,816 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-21 20:00:26,824 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,825 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,832 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,834 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,854 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,858 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,860 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,877 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-21 20:00:26,878 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-21 20:00:26,878 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-21 20:00:26,878 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-21 20:00:26,884 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (1/1) ... [2021-10-21 20:00:26,893 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-10-21 20:00:26,905 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/z3 [2021-10-21 20:00:26,923 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-10-21 20:00:26,940 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-10-21 20:00:26,971 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-10-21 20:00:26,972 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-10-21 20:00:26,972 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-21 20:00:26,972 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-10-21 20:00:26,972 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-10-21 20:00:26,973 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-21 20:00:26,973 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-21 20:00:26,973 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-21 20:00:27,540 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-21 20:00:27,544 INFO L299 CfgBuilder]: Removed 8 assume(true) statements. [2021-10-21 20:00:27,546 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.10 08:00:27 BoogieIcfgContainer [2021-10-21 20:00:27,546 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-21 20:00:27,547 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-10-21 20:00:27,547 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-10-21 20:00:27,550 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-10-21 20:00:27,551 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-21 20:00:27,551 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 21.10 08:00:26" (1/3) ... [2021-10-21 20:00:27,552 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@788bb93a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 21.10 08:00:27, skipping insertion in model container [2021-10-21 20:00:27,553 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-21 20:00:27,553 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:00:26" (2/3) ... [2021-10-21 20:00:27,553 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@788bb93a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 21.10 08:00:27, skipping insertion in model container [2021-10-21 20:00:27,553 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-21 20:00:27,554 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.10 08:00:27" (3/3) ... [2021-10-21 20:00:27,555 INFO L389 chiAutomizerObserver]: Analyzing ICFG tree_dsw.i [2021-10-21 20:00:27,615 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-10-21 20:00:27,615 INFO L360 BuchiCegarLoop]: Hoare is false [2021-10-21 20:00:27,615 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-10-21 20:00:27,615 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-10-21 20:00:27,615 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-10-21 20:00:27,616 INFO L364 BuchiCegarLoop]: Difference is false [2021-10-21 20:00:27,616 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-10-21 20:00:27,616 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-10-21 20:00:27,635 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 25 states, 24 states have (on average 1.6666666666666667) internal successors, (40), 24 states have internal predecessors, (40), 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-21 20:00:27,663 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 16 [2021-10-21 20:00:27,663 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:00:27,663 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:00:27,669 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-21 20:00:27,669 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-10-21 20:00:27,669 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-10-21 20:00:27,670 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 25 states, 24 states have (on average 1.6666666666666667) internal successors, (40), 24 states have internal predecessors, (40), 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-21 20:00:27,677 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 16 [2021-10-21 20:00:27,677 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:00:27,677 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:00:27,678 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-21 20:00:27,678 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-10-21 20:00:27,685 INFO L791 eck$LassoCheckResult]: Stem: 15#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(11); 8#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~nondet19, main_#t~malloc20.base, main_#t~malloc20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~nondet6, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, 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_~#sentinel~0.base, main_~#sentinel~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~succ~0.base, main_~succ~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(8);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); 21#L549-2true [2021-10-21 20:00:27,686 INFO L793 eck$LassoCheckResult]: Loop: 21#L549-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; 12#L539-2true assume !true; 18#L538-5true call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 7#L544true 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(8);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; 5#L544-2true call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 11#L549true assume !((main_#t~mem18.base == 0 && main_#t~mem18.offset == 0) && 0 != main_#t~nondet19);havoc main_#t~mem18.base, main_#t~mem18.offset;havoc main_#t~nondet19; 21#L549-2true [2021-10-21 20:00:27,691 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:27,691 INFO L82 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 1 times [2021-10-21 20:00:27,700 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:27,700 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [75371396] [2021-10-21 20:00:27,701 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:27,702 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:27,842 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:27,843 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:00:27,881 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:27,940 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:00:27,943 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:27,943 INFO L82 PathProgramCache]: Analyzing trace with hash 1235889697, now seen corresponding path program 1 times [2021-10-21 20:00:27,944 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:27,944 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [573308541] [2021-10-21 20:00:27,944 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:27,944 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:27,965 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 20:00:28,013 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-21 20:00:28,014 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 20:00:28,015 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [573308541] [2021-10-21 20:00:28,015 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [573308541] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 20:00:28,015 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 20:00:28,016 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-21 20:00:28,016 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [14607337] [2021-10-21 20:00:28,021 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-21 20:00:28,022 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 20:00:28,036 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2021-10-21 20:00:28,037 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2021-10-21 20:00:28,039 INFO L87 Difference]: Start difference. First operand has 25 states, 24 states have (on average 1.6666666666666667) internal successors, (40), 24 states have internal predecessors, (40), 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-21 20:00:28,047 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 20:00:28,048 INFO L93 Difference]: Finished difference Result 25 states and 36 transitions. [2021-10-21 20:00:28,048 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2021-10-21 20:00:28,049 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 25 states and 36 transitions. [2021-10-21 20:00:28,052 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 16 [2021-10-21 20:00:28,057 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 25 states to 21 states and 32 transitions. [2021-10-21 20:00:28,058 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 21 [2021-10-21 20:00:28,058 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 21 [2021-10-21 20:00:28,059 INFO L73 IsDeterministic]: Start isDeterministic. Operand 21 states and 32 transitions. [2021-10-21 20:00:28,060 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 20:00:28,060 INFO L681 BuchiCegarLoop]: Abstraction has 21 states and 32 transitions. [2021-10-21 20:00:28,073 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 21 states and 32 transitions. [2021-10-21 20:00:28,079 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 21 to 21. [2021-10-21 20:00:28,080 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 21 states, 21 states have (on average 1.5238095238095237) 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-21 20:00:28,081 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 32 transitions. [2021-10-21 20:00:28,082 INFO L704 BuchiCegarLoop]: Abstraction has 21 states and 32 transitions. [2021-10-21 20:00:28,082 INFO L587 BuchiCegarLoop]: Abstraction has 21 states and 32 transitions. [2021-10-21 20:00:28,082 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-10-21 20:00:28,082 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 21 states and 32 transitions. [2021-10-21 20:00:28,083 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 16 [2021-10-21 20:00:28,083 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:00:28,083 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:00:28,083 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-21 20:00:28,083 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 20:00:28,084 INFO L791 eck$LassoCheckResult]: Stem: 64#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(11); 65#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~nondet19, main_#t~malloc20.base, main_#t~malloc20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~nondet6, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, 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_~#sentinel~0.base, main_~#sentinel~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~succ~0.base, main_~succ~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(8);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); 70#L549-2 [2021-10-21 20:00:28,084 INFO L793 eck$LassoCheckResult]: Loop: 70#L549-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; 63#L539-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; 71#L538-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; 58#L538-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; 59#L538-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 69#L544 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(8);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; 66#L544-2 call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 67#L549 assume !((main_#t~mem18.base == 0 && main_#t~mem18.offset == 0) && 0 != main_#t~nondet19);havoc main_#t~mem18.base, main_#t~mem18.offset;havoc main_#t~nondet19; 70#L549-2 [2021-10-21 20:00:28,084 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:28,084 INFO L82 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 2 times [2021-10-21 20:00:28,085 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:28,085 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [191299174] [2021-10-21 20:00:28,085 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:28,085 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:28,102 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:28,103 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:00:28,117 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:28,123 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:00:28,123 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:28,124 INFO L82 PathProgramCache]: Analyzing trace with hash 2066931060, now seen corresponding path program 1 times [2021-10-21 20:00:28,124 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:28,124 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [17213649] [2021-10-21 20:00:28,124 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:28,124 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:28,141 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 20:00:28,218 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-21 20:00:28,219 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 20:00:28,219 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [17213649] [2021-10-21 20:00:28,219 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [17213649] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 20:00:28,219 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 20:00:28,219 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-21 20:00:28,220 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [668431111] [2021-10-21 20:00:28,220 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-21 20:00:28,220 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 20:00:28,221 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-21 20:00:28,221 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-21 20:00:28,221 INFO L87 Difference]: Start difference. First operand 21 states and 32 transitions. cyclomatic complexity: 14 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-21 20:00:28,360 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 20:00:28,361 INFO L93 Difference]: Finished difference Result 28 states and 42 transitions. [2021-10-21 20:00:28,361 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2021-10-21 20:00:28,362 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 28 states and 42 transitions. [2021-10-21 20:00:28,363 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2021-10-21 20:00:28,365 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 28 states to 28 states and 42 transitions. [2021-10-21 20:00:28,365 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 28 [2021-10-21 20:00:28,366 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 28 [2021-10-21 20:00:28,366 INFO L73 IsDeterministic]: Start isDeterministic. Operand 28 states and 42 transitions. [2021-10-21 20:00:28,366 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 20:00:28,366 INFO L681 BuchiCegarLoop]: Abstraction has 28 states and 42 transitions. [2021-10-21 20:00:28,366 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 28 states and 42 transitions. [2021-10-21 20:00:28,368 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 28 to 24. [2021-10-21 20:00:28,368 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 24 states, 24 states have (on average 1.5) internal successors, (36), 23 states have internal predecessors, (36), 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-21 20:00:28,369 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 36 transitions. [2021-10-21 20:00:28,369 INFO L704 BuchiCegarLoop]: Abstraction has 24 states and 36 transitions. [2021-10-21 20:00:28,369 INFO L587 BuchiCegarLoop]: Abstraction has 24 states and 36 transitions. [2021-10-21 20:00:28,369 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-10-21 20:00:28,369 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 24 states and 36 transitions. [2021-10-21 20:00:28,370 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 19 [2021-10-21 20:00:28,370 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:00:28,370 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:00:28,371 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-21 20:00:28,371 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 20:00:28,371 INFO L791 eck$LassoCheckResult]: Stem: 123#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(11); 124#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~nondet19, main_#t~malloc20.base, main_#t~malloc20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~nondet6, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, 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_~#sentinel~0.base, main_~#sentinel~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~succ~0.base, main_~succ~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(8);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); 129#L549-2 [2021-10-21 20:00:28,371 INFO L793 eck$LassoCheckResult]: Loop: 129#L549-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; 122#L539-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; 130#L538-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; 131#L538-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; 140#L538-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 128#L544 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; 125#L544-2 call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 126#L549 assume !((main_#t~mem18.base == 0 && main_#t~mem18.offset == 0) && 0 != main_#t~nondet19);havoc main_#t~mem18.base, main_#t~mem18.offset;havoc main_#t~nondet19; 129#L549-2 [2021-10-21 20:00:28,372 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:28,372 INFO L82 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 3 times [2021-10-21 20:00:28,372 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:28,372 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2121444131] [2021-10-21 20:00:28,373 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:28,373 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:28,390 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:28,396 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:00:28,429 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:28,442 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:00:28,443 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:28,443 INFO L82 PathProgramCache]: Analyzing trace with hash 2066932982, now seen corresponding path program 1 times [2021-10-21 20:00:28,443 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:28,444 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1261573124] [2021-10-21 20:00:28,444 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:28,444 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:28,455 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:28,462 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:00:28,470 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:28,483 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:00:28,486 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:28,486 INFO L82 PathProgramCache]: Analyzing trace with hash -1537472840, now seen corresponding path program 1 times [2021-10-21 20:00:28,487 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:28,487 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [507115329] [2021-10-21 20:00:28,487 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:28,488 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:28,515 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 20:00:28,599 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-21 20:00:28,599 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 20:00:28,603 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [507115329] [2021-10-21 20:00:28,603 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [507115329] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 20:00:28,603 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 20:00:28,604 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-21 20:00:28,604 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1106536045] [2021-10-21 20:00:28,915 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 20:00:28,915 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-21 20:00:28,916 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-21 20:00:28,916 INFO L87 Difference]: Start difference. First operand 24 states and 36 transitions. cyclomatic complexity: 15 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-21 20:00:29,116 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 20:00:29,117 INFO L93 Difference]: Finished difference Result 40 states and 58 transitions. [2021-10-21 20:00:29,117 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-21 20:00:29,117 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 40 states and 58 transitions. [2021-10-21 20:00:29,119 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 27 [2021-10-21 20:00:29,120 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 40 states to 40 states and 58 transitions. [2021-10-21 20:00:29,120 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 40 [2021-10-21 20:00:29,120 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 40 [2021-10-21 20:00:29,120 INFO L73 IsDeterministic]: Start isDeterministic. Operand 40 states and 58 transitions. [2021-10-21 20:00:29,121 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 20:00:29,121 INFO L681 BuchiCegarLoop]: Abstraction has 40 states and 58 transitions. [2021-10-21 20:00:29,121 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 40 states and 58 transitions. [2021-10-21 20:00:29,123 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 40 to 32. [2021-10-21 20:00:29,124 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 32 states, 32 states have (on average 1.4375) internal successors, (46), 31 states have internal predecessors, (46), 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-21 20:00:29,124 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 32 states and 46 transitions. [2021-10-21 20:00:29,124 INFO L704 BuchiCegarLoop]: Abstraction has 32 states and 46 transitions. [2021-10-21 20:00:29,125 INFO L587 BuchiCegarLoop]: Abstraction has 32 states and 46 transitions. [2021-10-21 20:00:29,125 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-10-21 20:00:29,125 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 32 states and 46 transitions. [2021-10-21 20:00:29,126 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 27 [2021-10-21 20:00:29,126 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:00:29,126 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:00:29,126 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-21 20:00:29,126 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 20:00:29,127 INFO L791 eck$LassoCheckResult]: Stem: 201#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(11); 202#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~nondet19, main_#t~malloc20.base, main_#t~malloc20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~nondet6, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, 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_~#sentinel~0.base, main_~#sentinel~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~succ~0.base, main_~succ~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(8);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); 208#L549-2 [2021-10-21 20:00:29,127 INFO L793 eck$LassoCheckResult]: Loop: 208#L549-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; 217#L539-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; 209#L538-1 assume !main_#t~short9; 210#L538-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; 226#L538-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 224#L544 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; 203#L544-2 call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 204#L549 assume !((main_#t~mem18.base == 0 && main_#t~mem18.offset == 0) && 0 != main_#t~nondet19);havoc main_#t~mem18.base, main_#t~mem18.offset;havoc main_#t~nondet19; 208#L549-2 [2021-10-21 20:00:29,127 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:29,127 INFO L82 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 4 times [2021-10-21 20:00:29,127 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:29,128 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1172049512] [2021-10-21 20:00:29,128 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:29,128 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:29,138 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:29,138 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:00:29,150 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:29,155 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:00:29,162 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:29,162 INFO L82 PathProgramCache]: Analyzing trace with hash 2124191284, now seen corresponding path program 1 times [2021-10-21 20:00:29,162 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:29,163 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1982801000] [2021-10-21 20:00:29,163 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:29,163 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:29,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:29,170 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:00:29,175 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:29,192 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:00:29,193 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:00:29,193 INFO L82 PathProgramCache]: Analyzing trace with hash -1480214538, now seen corresponding path program 1 times [2021-10-21 20:00:29,193 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:00:29,193 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [681900534] [2021-10-21 20:00:29,193 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:00:29,193 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:00:29,207 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:29,207 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:00:29,219 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:00:29,224 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:00:30,037 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 21.10 08:00:30 BoogieIcfgContainer [2021-10-21 20:00:30,037 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-10-21 20:00:30,037 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-21 20:00:30,038 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-21 20:00:30,038 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-21 20:00:30,038 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.10 08:00:27" (3/4) ... [2021-10-21 20:00:30,041 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-10-21 20:00:30,097 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/witness.graphml [2021-10-21 20:00:30,097 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-21 20:00:30,099 INFO L168 Benchmark]: Toolchain (without parser) took 3908.98 ms. Allocated memory was 94.4 MB in the beginning and 115.3 MB in the end (delta: 21.0 MB). Free memory was 58.0 MB in the beginning and 82.9 MB in the end (delta: -24.9 MB). There was no memory consumed. Max. memory is 16.1 GB. [2021-10-21 20:00:30,099 INFO L168 Benchmark]: CDTParser took 0.23 ms. Allocated memory is still 94.4 MB. Free memory was 66.8 MB in the beginning and 66.7 MB in the end (delta: 21.2 kB). There was no memory consumed. Max. memory is 16.1 GB. [2021-10-21 20:00:30,100 INFO L168 Benchmark]: CACSL2BoogieTranslator took 551.41 ms. Allocated memory was 94.4 MB in the beginning and 115.3 MB in the end (delta: 21.0 MB). Free memory was 57.8 MB in the beginning and 83.2 MB in the end (delta: -25.4 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. [2021-10-21 20:00:30,101 INFO L168 Benchmark]: Boogie Procedure Inliner took 69.04 ms. Allocated memory is still 115.3 MB. Free memory was 83.2 MB in the beginning and 81.2 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-21 20:00:30,101 INFO L168 Benchmark]: Boogie Preprocessor took 61.38 ms. Allocated memory is still 115.3 MB. Free memory was 81.2 MB in the beginning and 79.1 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-21 20:00:30,102 INFO L168 Benchmark]: RCFGBuilder took 668.69 ms. Allocated memory is still 115.3 MB. Free memory was 79.1 MB in the beginning and 58.1 MB in the end (delta: 21.0 MB). Peak memory consumption was 21.0 MB. Max. memory is 16.1 GB. [2021-10-21 20:00:30,103 INFO L168 Benchmark]: BuchiAutomizer took 2489.75 ms. Allocated memory is still 115.3 MB. Free memory was 58.1 MB in the beginning and 85.0 MB in the end (delta: -26.9 MB). Peak memory consumption was 23.2 MB. Max. memory is 16.1 GB. [2021-10-21 20:00:30,103 INFO L168 Benchmark]: Witness Printer took 59.95 ms. Allocated memory is still 115.3 MB. Free memory was 85.0 MB in the beginning and 82.9 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-21 20:00:30,120 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.23 ms. Allocated memory is still 94.4 MB. Free memory was 66.8 MB in the beginning and 66.7 MB in the end (delta: 21.2 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 551.41 ms. Allocated memory was 94.4 MB in the beginning and 115.3 MB in the end (delta: 21.0 MB). Free memory was 57.8 MB in the beginning and 83.2 MB in the end (delta: -25.4 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 69.04 ms. Allocated memory is still 115.3 MB. Free memory was 83.2 MB in the beginning and 81.2 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 61.38 ms. Allocated memory is still 115.3 MB. Free memory was 81.2 MB in the beginning and 79.1 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 668.69 ms. Allocated memory is still 115.3 MB. Free memory was 79.1 MB in the beginning and 58.1 MB in the end (delta: 21.0 MB). Peak memory consumption was 21.0 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 2489.75 ms. Allocated memory is still 115.3 MB. Free memory was 58.1 MB in the beginning and 85.0 MB in the end (delta: -26.9 MB). Peak memory consumption was 23.2 MB. Max. memory is 16.1 GB. * Witness Printer took 59.95 ms. Allocated memory is still 115.3 MB. Free memory was 85.0 MB in the beginning and 82.9 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. 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 32 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 2.3s and 4 iterations. TraceHistogramMax:1. Analysis of lassos took 1.8s. Construction of modules took 0.2s. 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 16.4ms AutomataMinimizationTime, 3 MinimizatonAttempts, 12 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 32 states and ocurred in iteration 3. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 85 SDtfs, 29 SDslu, 82 SDs, 0 SdLazy, 147 SolverSat, 12 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 231.5ms 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: 536]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=23101} State at position 1 is {s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2bbf8dbe=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@48624500=0, NULL=23102, NULL=23101, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6b1dd2b4=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@63550098=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@44c4bfe5=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6d63a8cd=0, root=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7948c852=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@f488d77=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2bbf8dbe=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@568d2d77=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3ba58708=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3e8bf19b=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@32f98349=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@145ac058=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@f488d77=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@be23dee=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3ea3263d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1df9c3d0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3ea3263d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@44c4bfe5=0, pred=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7948c852=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@16831f8d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6b1dd2b4=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@467cc505=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6ef21554=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@77f12996=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3822454d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1df9c3d0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@69cefa81=0, sentinel=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3ee8babb=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@16831f8d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@63550098=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6be528d9=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@60c48943=0, succ=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6ef21554=0, n=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@60c48943=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@71973e0=22, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@467cc505=0, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@48624500=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3ba58708=0, sentinel=0, succ=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6d63a8cd=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@84447fc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3822454d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@3ee8babb=0, root=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@3526dadb=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6be528d9=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@84447fc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@be23dee=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@32f98349=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@607f8406=0, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@69cefa81=0, pred=0, s=0, NULL=23103, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@607f8406=0, n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@77f12996=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-10-21 20:00:30,211 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_9944bee2-3b2c-4b20-8c20-5a223af53e03/bin/uautomizer-j4sWxH34Be/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...