./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/memsafety-ext/tree_cnstr.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version b2eff8ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/memsafety-ext/tree_cnstr.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD --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 ba983053090b7e7410066c63fe0cfe9ad27960a7dc19d54045684ba21359c88d ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 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-b2eff8b [2021-10-28 23:48:53,762 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-28 23:48:53,764 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-28 23:48:53,819 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-28 23:48:53,820 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-28 23:48:53,822 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-28 23:48:53,824 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-28 23:48:53,826 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-28 23:48:53,828 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-28 23:48:53,829 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-28 23:48:53,831 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-28 23:48:53,833 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-28 23:48:53,833 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-28 23:48:53,835 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-28 23:48:53,837 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-28 23:48:53,838 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-28 23:48:53,840 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-28 23:48:53,841 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-28 23:48:53,844 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-28 23:48:53,846 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-28 23:48:53,849 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-28 23:48:53,852 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-28 23:48:53,853 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-28 23:48:53,854 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-28 23:48:53,858 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-28 23:48:53,859 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-28 23:48:53,859 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-28 23:48:53,860 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-28 23:48:53,861 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-28 23:48:53,862 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-28 23:48:53,863 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-28 23:48:53,864 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-28 23:48:53,865 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-28 23:48:53,866 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-28 23:48:53,867 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-28 23:48:53,868 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-28 23:48:53,869 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-28 23:48:53,869 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-28 23:48:53,870 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-28 23:48:53,871 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-28 23:48:53,872 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-28 23:48:53,873 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-10-28 23:48:53,900 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-28 23:48:53,901 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-28 23:48:53,901 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-28 23:48:53,901 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-28 23:48:53,902 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-28 23:48:53,903 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-28 23:48:53,903 INFO L138 SettingsManager]: * Use SBE=true [2021-10-28 23:48:53,903 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-10-28 23:48:53,903 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-10-28 23:48:53,904 INFO L138 SettingsManager]: * Use old map elimination=false [2021-10-28 23:48:53,904 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-10-28 23:48:53,904 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-10-28 23:48:53,904 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-10-28 23:48:53,904 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-28 23:48:53,905 INFO L138 SettingsManager]: * sizeof long=4 [2021-10-28 23:48:53,905 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-10-28 23:48:53,905 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-28 23:48:53,905 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-10-28 23:48:53,905 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-28 23:48:53,906 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-10-28 23:48:53,906 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-10-28 23:48:53,906 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-10-28 23:48:53,906 INFO L138 SettingsManager]: * sizeof long double=12 [2021-10-28 23:48:53,907 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-28 23:48:53,907 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-10-28 23:48:53,907 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-28 23:48:53,907 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-10-28 23:48:53,907 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-28 23:48:53,908 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-28 23:48:53,908 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-28 23:48:53,908 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-28 23:48:53,908 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-28 23:48:53,909 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-10-28 23:48:53,910 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_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/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_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD 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 -> ba983053090b7e7410066c63fe0cfe9ad27960a7dc19d54045684ba21359c88d [2021-10-28 23:48:54,213 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-28 23:48:54,242 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-28 23:48:54,245 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-28 23:48:54,246 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-28 23:48:54,250 INFO L275 PluginConnector]: CDTParser initialized [2021-10-28 23:48:54,251 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/../../sv-benchmarks/c/memsafety-ext/tree_cnstr.i [2021-10-28 23:48:54,350 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/data/0e41f336d/deb7a24a08ab4c6a86babf7c40d6d5d2/FLAGfde723686 [2021-10-28 23:48:54,997 INFO L306 CDTParser]: Found 1 translation units. [2021-10-28 23:48:55,004 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/sv-benchmarks/c/memsafety-ext/tree_cnstr.i [2021-10-28 23:48:55,027 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/data/0e41f336d/deb7a24a08ab4c6a86babf7c40d6d5d2/FLAGfde723686 [2021-10-28 23:48:55,272 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/data/0e41f336d/deb7a24a08ab4c6a86babf7c40d6d5d2 [2021-10-28 23:48:55,275 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-28 23:48:55,278 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-28 23:48:55,294 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-28 23:48:55,294 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-28 23:48:55,298 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-28 23:48:55,298 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,299 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7228ec48 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55, skipping insertion in model container [2021-10-28 23:48:55,300 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,307 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-28 23:48:55,343 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-28 23:48:55,756 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-28 23:48:55,771 INFO L203 MainTranslator]: Completed pre-run [2021-10-28 23:48:55,812 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-28 23:48:55,844 INFO L208 MainTranslator]: Completed translation [2021-10-28 23:48:55,845 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55 WrapperNode [2021-10-28 23:48:55,845 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-28 23:48:55,846 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-28 23:48:55,846 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-28 23:48:55,847 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-28 23:48:55,855 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,882 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,908 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-28 23:48:55,909 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-28 23:48:55,909 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-28 23:48:55,909 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-28 23:48:55,918 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,918 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,922 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,923 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,933 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,937 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,939 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,942 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-28 23:48:55,943 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-28 23:48:55,944 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-28 23:48:55,944 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-28 23:48:55,946 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (1/1) ... [2021-10-28 23:48:55,960 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-10-28 23:48:55,972 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/z3 [2021-10-28 23:48:55,986 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-10-28 23:48:55,988 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-10-28 23:48:56,026 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-10-28 23:48:56,027 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-10-28 23:48:56,027 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-28 23:48:56,027 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-10-28 23:48:56,027 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-10-28 23:48:56,027 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-28 23:48:56,027 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-28 23:48:56,028 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-28 23:48:56,565 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-28 23:48:56,565 INFO L299 CfgBuilder]: Removed 8 assume(true) statements. [2021-10-28 23:48:56,567 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 11:48:56 BoogieIcfgContainer [2021-10-28 23:48:56,567 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-28 23:48:56,568 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-10-28 23:48:56,568 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-10-28 23:48:56,573 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-10-28 23:48:56,574 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 23:48:56,574 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.10 11:48:55" (1/3) ... [2021-10-28 23:48:56,576 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7ee5fb96 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.10 11:48:56, skipping insertion in model container [2021-10-28 23:48:56,576 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 23:48:56,576 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:48:55" (2/3) ... [2021-10-28 23:48:56,577 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7ee5fb96 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.10 11:48:56, skipping insertion in model container [2021-10-28 23:48:56,577 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 23:48:56,577 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 11:48:56" (3/3) ... [2021-10-28 23:48:56,578 INFO L389 chiAutomizerObserver]: Analyzing ICFG tree_cnstr.i [2021-10-28 23:48:56,631 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-10-28 23:48:56,632 INFO L360 BuchiCegarLoop]: Hoare is false [2021-10-28 23:48:56,632 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-10-28 23:48:56,632 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-10-28 23:48:56,632 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-10-28 23:48:56,632 INFO L364 BuchiCegarLoop]: Difference is false [2021-10-28 23:48:56,633 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-10-28 23:48:56,633 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-10-28 23:48:56,653 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 24 states, 23 states have (on average 1.6956521739130435) internal successors, (39), 23 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-28 23:48:56,678 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 17 [2021-10-28 23:48:56,678 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:48:56,678 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:48:56,685 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:48:56,685 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-10-28 23:48:56,685 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-10-28 23:48:56,686 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 24 states, 23 states have (on average 1.6956521739130435) internal successors, (39), 23 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-28 23:48:56,691 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 17 [2021-10-28 23:48:56,692 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:48:56,692 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:48:56,692 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:48:56,693 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-10-28 23:48:56,699 INFO L791 eck$LassoCheckResult]: Stem: 6#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(13); 17#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~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~short25, main_#t~mem29.base, main_#t~mem29.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~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); 13#L545-2true [2021-10-28 23:48:56,700 INFO L793 eck$LassoCheckResult]: Loop: 13#L545-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; 15#L535-2true assume !true; 18#L534-5true call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 19#L540true 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; 21#L540-2true call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 10#L545true 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; 13#L545-2true [2021-10-28 23:48:56,705 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:56,706 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 1 times [2021-10-28 23:48:56,716 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:56,716 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1358840850] [2021-10-28 23:48:56,717 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:56,718 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:56,866 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:56,867 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:48:56,915 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:56,946 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:48:56,958 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:56,958 INFO L85 PathProgramCache]: Analyzing trace with hash 1235889697, now seen corresponding path program 1 times [2021-10-28 23:48:56,959 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:56,959 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1760260315] [2021-10-28 23:48:56,959 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:56,959 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:56,970 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:48:57,016 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-28 23:48:57,017 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:48:57,017 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1760260315] [2021-10-28 23:48:57,018 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1760260315] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:48:57,018 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:48:57,019 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-28 23:48:57,019 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2090019645] [2021-10-28 23:48:57,024 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:48:57,025 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:48:57,048 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2021-10-28 23:48:57,050 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2021-10-28 23:48:57,052 INFO L87 Difference]: Start difference. First operand has 24 states, 23 states have (on average 1.6956521739130435) internal successors, (39), 23 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) 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-28 23:48:57,060 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:48:57,060 INFO L93 Difference]: Finished difference Result 24 states and 35 transitions. [2021-10-28 23:48:57,061 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2021-10-28 23:48:57,063 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 24 states and 35 transitions. [2021-10-28 23:48:57,066 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 17 [2021-10-28 23:48:57,070 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 24 states to 20 states and 31 transitions. [2021-10-28 23:48:57,071 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 20 [2021-10-28 23:48:57,071 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 20 [2021-10-28 23:48:57,072 INFO L73 IsDeterministic]: Start isDeterministic. Operand 20 states and 31 transitions. [2021-10-28 23:48:57,073 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:48:57,074 INFO L681 BuchiCegarLoop]: Abstraction has 20 states and 31 transitions. [2021-10-28 23:48:57,090 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 20 states and 31 transitions. [2021-10-28 23:48:57,099 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 20 to 20. [2021-10-28 23:48:57,101 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 20 states, 20 states have (on average 1.55) internal successors, (31), 19 states have internal predecessors, (31), 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-28 23:48:57,103 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 31 transitions. [2021-10-28 23:48:57,104 INFO L704 BuchiCegarLoop]: Abstraction has 20 states and 31 transitions. [2021-10-28 23:48:57,104 INFO L587 BuchiCegarLoop]: Abstraction has 20 states and 31 transitions. [2021-10-28 23:48:57,104 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-10-28 23:48:57,104 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 20 states and 31 transitions. [2021-10-28 23:48:57,106 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 17 [2021-10-28 23:48:57,106 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:48:57,107 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:48:57,107 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:48:57,107 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:48:57,107 INFO L791 eck$LassoCheckResult]: Stem: 60#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(13); 61#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~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~short25, main_#t~mem29.base, main_#t~mem29.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~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); 66#L545-2 [2021-10-28 23:48:57,108 INFO L793 eck$LassoCheckResult]: Loop: 66#L545-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; 62#L535-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; 56#L534-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; 57#L534-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; 58#L534-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 70#L540 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; 71#L540-2 call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 65#L545 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; 66#L545-2 [2021-10-28 23:48:57,108 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:57,108 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 2 times [2021-10-28 23:48:57,108 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:57,109 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1123282881] [2021-10-28 23:48:57,109 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:57,109 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:57,147 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:57,147 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:48:57,183 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:57,189 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:48:57,189 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:57,189 INFO L85 PathProgramCache]: Analyzing trace with hash 2066931060, now seen corresponding path program 1 times [2021-10-28 23:48:57,190 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:57,190 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [477750228] [2021-10-28 23:48:57,190 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:57,190 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:57,222 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:48:57,360 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-28 23:48:57,360 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:48:57,360 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [477750228] [2021-10-28 23:48:57,361 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [477750228] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:48:57,361 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:48:57,361 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:48:57,361 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1624274748] [2021-10-28 23:48:57,361 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:48:57,362 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:48:57,362 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 23:48:57,363 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-28 23:48:57,363 INFO L87 Difference]: Start difference. First operand 20 states and 31 transitions. cyclomatic complexity: 13 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-28 23:48:57,537 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:48:57,538 INFO L93 Difference]: Finished difference Result 27 states and 41 transitions. [2021-10-28 23:48:57,538 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2021-10-28 23:48:57,539 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 27 states and 41 transitions. [2021-10-28 23:48:57,540 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 23 [2021-10-28 23:48:57,542 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 27 states to 27 states and 41 transitions. [2021-10-28 23:48:57,542 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 27 [2021-10-28 23:48:57,542 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 27 [2021-10-28 23:48:57,543 INFO L73 IsDeterministic]: Start isDeterministic. Operand 27 states and 41 transitions. [2021-10-28 23:48:57,543 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:48:57,543 INFO L681 BuchiCegarLoop]: Abstraction has 27 states and 41 transitions. [2021-10-28 23:48:57,543 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 27 states and 41 transitions. [2021-10-28 23:48:57,547 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 27 to 23. [2021-10-28 23:48:57,547 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 23 states, 23 states have (on average 1.5217391304347827) internal successors, (35), 22 states have internal predecessors, (35), 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-28 23:48:57,548 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 23 states and 35 transitions. [2021-10-28 23:48:57,548 INFO L704 BuchiCegarLoop]: Abstraction has 23 states and 35 transitions. [2021-10-28 23:48:57,548 INFO L587 BuchiCegarLoop]: Abstraction has 23 states and 35 transitions. [2021-10-28 23:48:57,549 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-10-28 23:48:57,549 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 23 states and 35 transitions. [2021-10-28 23:48:57,553 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2021-10-28 23:48:57,553 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:48:57,553 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:48:57,554 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:48:57,554 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:48:57,555 INFO L791 eck$LassoCheckResult]: Stem: 118#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(13); 119#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~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~short25, main_#t~mem29.base, main_#t~mem29.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~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); 124#L545-2 [2021-10-28 23:48:57,555 INFO L793 eck$LassoCheckResult]: Loop: 124#L545-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; 120#L535-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; 113#L534-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; 114#L534-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; 135#L534-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 129#L540 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; 130#L540-2 call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 123#L545 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; 124#L545-2 [2021-10-28 23:48:57,556 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:57,556 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 3 times [2021-10-28 23:48:57,556 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:57,557 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [304150579] [2021-10-28 23:48:57,558 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:57,558 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:57,579 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:57,579 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:48:57,602 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:57,606 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:48:57,607 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:57,607 INFO L85 PathProgramCache]: Analyzing trace with hash 2066932982, now seen corresponding path program 1 times [2021-10-28 23:48:57,607 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:57,608 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1777300622] [2021-10-28 23:48:57,608 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:57,608 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:57,616 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:57,616 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:48:57,622 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:57,626 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:48:57,626 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:57,627 INFO L85 PathProgramCache]: Analyzing trace with hash -1537472840, now seen corresponding path program 1 times [2021-10-28 23:48:57,627 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:57,627 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [793856161] [2021-10-28 23:48:57,627 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:57,628 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:57,642 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:48:57,694 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-28 23:48:57,694 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:48:57,694 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [793856161] [2021-10-28 23:48:57,695 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [793856161] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:48:57,695 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:48:57,695 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:48:57,695 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [863738264] [2021-10-28 23:48:57,937 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:48:57,937 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 23:48:57,940 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-28 23:48:57,940 INFO L87 Difference]: Start difference. First operand 23 states and 35 transitions. cyclomatic complexity: 14 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-28 23:48:58,203 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:48:58,203 INFO L93 Difference]: Finished difference Result 54 states and 80 transitions. [2021-10-28 23:48:58,204 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-28 23:48:58,204 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 54 states and 80 transitions. [2021-10-28 23:48:58,206 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 44 [2021-10-28 23:48:58,207 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 54 states to 54 states and 80 transitions. [2021-10-28 23:48:58,207 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 54 [2021-10-28 23:48:58,208 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 54 [2021-10-28 23:48:58,208 INFO L73 IsDeterministic]: Start isDeterministic. Operand 54 states and 80 transitions. [2021-10-28 23:48:58,208 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:48:58,209 INFO L681 BuchiCegarLoop]: Abstraction has 54 states and 80 transitions. [2021-10-28 23:48:58,209 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states and 80 transitions. [2021-10-28 23:48:58,212 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 31. [2021-10-28 23:48:58,212 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 31 states, 31 states have (on average 1.4516129032258065) internal successors, (45), 30 states have internal predecessors, (45), 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-28 23:48:58,213 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 45 transitions. [2021-10-28 23:48:58,213 INFO L704 BuchiCegarLoop]: Abstraction has 31 states and 45 transitions. [2021-10-28 23:48:58,213 INFO L587 BuchiCegarLoop]: Abstraction has 31 states and 45 transitions. [2021-10-28 23:48:58,213 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-10-28 23:48:58,213 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 31 states and 45 transitions. [2021-10-28 23:48:58,214 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2021-10-28 23:48:58,214 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:48:58,215 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:48:58,215 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:48:58,215 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:48:58,215 INFO L791 eck$LassoCheckResult]: Stem: 208#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(13); 209#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~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~short25, main_#t~mem29.base, main_#t~mem29.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~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); 215#L545-2 [2021-10-28 23:48:58,215 INFO L793 eck$LassoCheckResult]: Loop: 215#L545-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; 218#L535-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; 204#L534-1 assume !main_#t~short9; 205#L534-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; 234#L534-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 232#L540 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; 227#L540-2 call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 214#L545 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; 215#L545-2 [2021-10-28 23:48:58,216 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:58,216 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 4 times [2021-10-28 23:48:58,216 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:58,216 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [689643700] [2021-10-28 23:48:58,216 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:58,217 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:58,225 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:58,225 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:48:58,232 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:58,237 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:48:58,237 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:58,237 INFO L85 PathProgramCache]: Analyzing trace with hash 2124191284, now seen corresponding path program 1 times [2021-10-28 23:48:58,238 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:58,238 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [967991633] [2021-10-28 23:48:58,238 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:58,238 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:58,244 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:58,245 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:48:58,250 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:58,253 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:48:58,254 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:48:58,254 INFO L85 PathProgramCache]: Analyzing trace with hash -1480214538, now seen corresponding path program 1 times [2021-10-28 23:48:58,254 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:48:58,254 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2032159409] [2021-10-28 23:48:58,255 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:48:58,255 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:48:58,267 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:58,267 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:48:58,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:48:58,284 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:48:59,122 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.10 11:48:59 BoogieIcfgContainer [2021-10-28 23:48:59,137 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-10-28 23:48:59,138 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-28 23:48:59,138 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-28 23:48:59,138 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-28 23:48:59,139 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 11:48:56" (3/4) ... [2021-10-28 23:48:59,142 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-10-28 23:48:59,180 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/witness.graphml [2021-10-28 23:48:59,193 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-28 23:48:59,195 INFO L168 Benchmark]: Toolchain (without parser) took 3915.86 ms. Allocated memory was 102.8 MB in the beginning and 138.4 MB in the end (delta: 35.7 MB). Free memory was 67.5 MB in the beginning and 108.1 MB in the end (delta: -40.6 MB). There was no memory consumed. Max. memory is 16.1 GB. [2021-10-28 23:48:59,196 INFO L168 Benchmark]: CDTParser took 0.27 ms. Allocated memory is still 102.8 MB. Free memory was 55.9 MB in the beginning and 55.9 MB in the end (delta: 57.9 kB). There was no memory consumed. Max. memory is 16.1 GB. [2021-10-28 23:48:59,197 INFO L168 Benchmark]: CACSL2BoogieTranslator took 551.52 ms. Allocated memory was 102.8 MB in the beginning and 138.4 MB in the end (delta: 35.7 MB). Free memory was 67.3 MB in the beginning and 104.3 MB in the end (delta: -37.0 MB). Peak memory consumption was 6.3 MB. Max. memory is 16.1 GB. [2021-10-28 23:48:59,198 INFO L168 Benchmark]: Boogie Procedure Inliner took 61.74 ms. Allocated memory is still 138.4 MB. Free memory was 104.3 MB in the beginning and 102.2 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-28 23:48:59,199 INFO L168 Benchmark]: Boogie Preprocessor took 34.03 ms. Allocated memory is still 138.4 MB. Free memory was 102.2 MB in the beginning and 100.5 MB in the end (delta: 1.7 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-28 23:48:59,199 INFO L168 Benchmark]: RCFGBuilder took 624.15 ms. Allocated memory is still 138.4 MB. Free memory was 100.5 MB in the beginning and 81.2 MB in the end (delta: 19.3 MB). Peak memory consumption was 18.9 MB. Max. memory is 16.1 GB. [2021-10-28 23:48:59,200 INFO L168 Benchmark]: BuchiAutomizer took 2569.20 ms. Allocated memory is still 138.4 MB. Free memory was 81.2 MB in the beginning and 109.2 MB in the end (delta: -28.0 MB). Peak memory consumption was 31.5 MB. Max. memory is 16.1 GB. [2021-10-28 23:48:59,201 INFO L168 Benchmark]: Witness Printer took 55.57 ms. Allocated memory is still 138.4 MB. Free memory was 109.2 MB in the beginning and 108.1 MB in the end (delta: 1.1 MB). There was no memory consumed. Max. memory is 16.1 GB. [2021-10-28 23:48:59,206 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.27 ms. Allocated memory is still 102.8 MB. Free memory was 55.9 MB in the beginning and 55.9 MB in the end (delta: 57.9 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 551.52 ms. Allocated memory was 102.8 MB in the beginning and 138.4 MB in the end (delta: 35.7 MB). Free memory was 67.3 MB in the beginning and 104.3 MB in the end (delta: -37.0 MB). Peak memory consumption was 6.3 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 61.74 ms. Allocated memory is still 138.4 MB. Free memory was 104.3 MB in the beginning and 102.2 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 34.03 ms. Allocated memory is still 138.4 MB. Free memory was 102.2 MB in the beginning and 100.5 MB in the end (delta: 1.7 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 624.15 ms. Allocated memory is still 138.4 MB. Free memory was 100.5 MB in the beginning and 81.2 MB in the end (delta: 19.3 MB). Peak memory consumption was 18.9 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 2569.20 ms. Allocated memory is still 138.4 MB. Free memory was 81.2 MB in the beginning and 109.2 MB in the end (delta: -28.0 MB). Peak memory consumption was 31.5 MB. Max. memory is 16.1 GB. * Witness Printer took 55.57 ms. Allocated memory is still 138.4 MB. Free memory was 109.2 MB in the beginning and 108.1 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 31 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 2.4s 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 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 27 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 31 states and ocurred in iteration 3. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 80 SDtfs, 50 SDslu, 76 SDs, 0 SdLazy, 156 SolverSat, 18 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.2s 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: 532]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=31292} State at position 1 is {org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@14188086=0, NULL=0, NULL=31293, NULL=31292, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@213f0718=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@cddbc9f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2f87451a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@29608413=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@e7111be=0, root=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4302f6c7=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7c1b56ca=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@14188086=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@cddbc9f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5d075d0e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@66b387b0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@48331474=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@419f36c9=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7c1b56ca=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@78bb51c4=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7470b4df=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@128e88a2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7470b4df=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@29608413=0, pred=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4302f6c7=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@213f0718=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@536e84d1=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@74546828=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2b262fec=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@128e88a2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6659ce5a=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@28903ebc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2f87451a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2d55cd9=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@5509513=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@536e84d1=0, n=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@5509513=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3ec8c56d=26, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@66b387b0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@e7111be=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2b262fec=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@28903ebc=0, root=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@f068aef=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@2d55cd9=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@16c17a5f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@78bb51c4=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@6659ce5a=0, pred=0, NULL=31294, n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@74546828=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 532]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L529] struct TreeNode* root = malloc(sizeof(*root)), *n; [L529] struct TreeNode* root = malloc(sizeof(*root)), *n; [L530] root->left = ((void *)0) [L531] root->right = ((void *)0) Loop: [L532] COND TRUE __VERIFIER_nondet_int() [L533] n = root [L534] EXPR n->left [L534] n->left && n->right [L534] COND FALSE !(n->left && n->right) [L540] EXPR n->left [L540] COND FALSE !(!n->left && __VERIFIER_nondet_int()) [L545] EXPR n->right [L545] COND FALSE !(!n->right && __VERIFIER_nondet_int()) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2021-10-28 23:48:59,340 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_525e0ebd-bd18-4e22-bb27-6538d6ab54db/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...