./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/memsafety-ext/tree_stack.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version b2eff8ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/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_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/memsafety-ext/tree_stack.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/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_11122c4e-0e0b-4466-be9d-50d623ce1447/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 882715956aab9fc92fb711e54ed51d64e792658e5015ed6151f84b857454f04c ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 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:19:07,853 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-28 23:19:07,856 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-28 23:19:07,922 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-28 23:19:07,923 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-28 23:19:07,925 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-28 23:19:07,927 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-28 23:19:07,930 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-28 23:19:07,933 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-28 23:19:07,935 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-28 23:19:07,936 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-28 23:19:07,939 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-28 23:19:07,939 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-28 23:19:07,941 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-28 23:19:07,943 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-28 23:19:07,945 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-28 23:19:07,947 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-28 23:19:07,948 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-28 23:19:07,951 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-28 23:19:07,954 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-28 23:19:07,957 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-28 23:19:07,959 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-28 23:19:07,961 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-28 23:19:07,964 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-28 23:19:07,969 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-28 23:19:07,974 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-28 23:19:07,975 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-28 23:19:07,976 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-28 23:19:07,981 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-28 23:19:07,983 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-28 23:19:07,984 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-28 23:19:07,986 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-28 23:19:07,988 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-28 23:19:07,989 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-28 23:19:07,992 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-28 23:19:07,992 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-28 23:19:07,994 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-28 23:19:07,994 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-28 23:19:07,994 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-28 23:19:07,996 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-28 23:19:07,997 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-28 23:19:07,998 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-10-28 23:19:08,064 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-28 23:19:08,067 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-28 23:19:08,067 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-28 23:19:08,068 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-28 23:19:08,070 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-28 23:19:08,070 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-28 23:19:08,070 INFO L138 SettingsManager]: * Use SBE=true [2021-10-28 23:19:08,071 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-10-28 23:19:08,071 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-10-28 23:19:08,071 INFO L138 SettingsManager]: * Use old map elimination=false [2021-10-28 23:19:08,072 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-10-28 23:19:08,073 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-10-28 23:19:08,073 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-10-28 23:19:08,073 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-28 23:19:08,074 INFO L138 SettingsManager]: * sizeof long=4 [2021-10-28 23:19:08,074 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-10-28 23:19:08,074 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-28 23:19:08,074 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-10-28 23:19:08,075 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-28 23:19:08,075 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-10-28 23:19:08,075 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-10-28 23:19:08,075 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-10-28 23:19:08,076 INFO L138 SettingsManager]: * sizeof long double=12 [2021-10-28 23:19:08,076 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-28 23:19:08,076 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-10-28 23:19:08,077 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-28 23:19:08,078 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-10-28 23:19:08,079 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-28 23:19:08,079 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-28 23:19:08,080 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-28 23:19:08,080 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-28 23:19:08,080 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-28 23:19:08,082 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-10-28 23:19:08,082 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_11122c4e-0e0b-4466-be9d-50d623ce1447/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_11122c4e-0e0b-4466-be9d-50d623ce1447/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 -> 882715956aab9fc92fb711e54ed51d64e792658e5015ed6151f84b857454f04c [2021-10-28 23:19:08,471 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-28 23:19:08,496 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-28 23:19:08,500 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-28 23:19:08,501 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-28 23:19:08,502 INFO L275 PluginConnector]: CDTParser initialized [2021-10-28 23:19:08,503 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/../../sv-benchmarks/c/memsafety-ext/tree_stack.i [2021-10-28 23:19:08,575 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/data/3df016a13/393e52fc049b44a8baf786267907c513/FLAGbddbb1004 [2021-10-28 23:19:09,327 INFO L306 CDTParser]: Found 1 translation units. [2021-10-28 23:19:09,327 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/sv-benchmarks/c/memsafety-ext/tree_stack.i [2021-10-28 23:19:09,343 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/data/3df016a13/393e52fc049b44a8baf786267907c513/FLAGbddbb1004 [2021-10-28 23:19:09,575 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/data/3df016a13/393e52fc049b44a8baf786267907c513 [2021-10-28 23:19:09,580 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-28 23:19:09,584 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-28 23:19:09,589 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-28 23:19:09,589 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-28 23:19:09,594 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-28 23:19:09,596 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.10 11:19:09" (1/1) ... [2021-10-28 23:19:09,598 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7592a7e7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:09, skipping insertion in model container [2021-10-28 23:19:09,599 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.10 11:19:09" (1/1) ... [2021-10-28 23:19:09,608 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-28 23:19:09,673 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-28 23:19:10,142 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-28 23:19:10,155 INFO L203 MainTranslator]: Completed pre-run [2021-10-28 23:19:10,242 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-28 23:19:10,281 INFO L208 MainTranslator]: Completed translation [2021-10-28 23:19:10,282 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10 WrapperNode [2021-10-28 23:19:10,282 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-28 23:19:10,284 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-28 23:19:10,284 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-28 23:19:10,284 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-28 23:19:10,293 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:19:10" (1/1) ... [2021-10-28 23:19:10,310 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:19:10" (1/1) ... [2021-10-28 23:19:10,342 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-28 23:19:10,343 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-28 23:19:10,343 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-28 23:19:10,344 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-28 23:19:10,356 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10" (1/1) ... [2021-10-28 23:19:10,357 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10" (1/1) ... [2021-10-28 23:19:10,374 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10" (1/1) ... [2021-10-28 23:19:10,374 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10" (1/1) ... [2021-10-28 23:19:10,398 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10" (1/1) ... [2021-10-28 23:19:10,402 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10" (1/1) ... [2021-10-28 23:19:10,404 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10" (1/1) ... [2021-10-28 23:19:10,424 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-28 23:19:10,425 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-28 23:19:10,425 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-28 23:19:10,425 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-28 23:19:10,429 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10" (1/1) ... [2021-10-28 23:19:10,439 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-10-28 23:19:10,454 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/z3 [2021-10-28 23:19:10,474 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-10-28 23:19:10,504 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-10-28 23:19:10,523 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-10-28 23:19:10,523 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-10-28 23:19:10,524 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-28 23:19:10,524 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-10-28 23:19:10,524 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-10-28 23:19:10,524 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-28 23:19:10,524 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-28 23:19:10,525 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-28 23:19:11,102 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-28 23:19:11,102 INFO L299 CfgBuilder]: Removed 7 assume(true) statements. [2021-10-28 23:19:11,105 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 11:19:11 BoogieIcfgContainer [2021-10-28 23:19:11,107 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-28 23:19:11,108 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-10-28 23:19:11,124 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-10-28 23:19:11,128 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-10-28 23:19:11,129 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 23:19:11,130 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.10 11:19:09" (1/3) ... [2021-10-28 23:19:11,131 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@51dd42ab and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.10 11:19:11, skipping insertion in model container [2021-10-28 23:19:11,132 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 23:19:11,132 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.10 11:19:10" (2/3) ... [2021-10-28 23:19:11,132 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@51dd42ab and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.10 11:19:11, skipping insertion in model container [2021-10-28 23:19:11,133 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-28 23:19:11,133 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 11:19:11" (3/3) ... [2021-10-28 23:19:11,135 INFO L389 chiAutomizerObserver]: Analyzing ICFG tree_stack.i [2021-10-28 23:19:11,196 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-10-28 23:19:11,196 INFO L360 BuchiCegarLoop]: Hoare is false [2021-10-28 23:19:11,196 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-10-28 23:19:11,196 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-10-28 23:19:11,197 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-10-28 23:19:11,197 INFO L364 BuchiCegarLoop]: Difference is false [2021-10-28 23:19:11,197 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-10-28 23:19:11,197 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-10-28 23:19:11,221 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 21 states, 20 states have (on average 1.6) internal successors, (32), 20 states have internal predecessors, (32), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:19:11,250 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-10-28 23:19:11,251 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:19:11,251 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:19:11,258 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:19:11,258 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-10-28 23:19:11,258 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-10-28 23:19:11,259 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 21 states, 20 states have (on average 1.6) internal successors, (32), 20 states have internal predecessors, (32), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:19:11,262 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-10-28 23:19:11,263 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:19:11,264 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:19:11,264 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:19:11,264 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2021-10-28 23:19:11,273 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); 12#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~malloc23.base, main_#t~malloc23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~malloc27.base, main_#t~malloc27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~mem29.base, main_#t~mem29.offset, main_#t~malloc30.base, main_#t~malloc30.offset, main_#t~mem31.base, main_#t~mem31.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~s~0.base, main_~s~0.offset, main_~st~0.base, main_~st~0.offset;call main_#t~malloc5.base, main_#t~malloc5.offset := #Ultimate.allocOnHeap(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); 16#L549-2true [2021-10-28 23:19:11,275 INFO L793 eck$LassoCheckResult]: Loop: 16#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; 21#L539-2true assume !true; 14#L538-5true call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 10#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; 7#L544-2true call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 20#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; 16#L549-2true [2021-10-28 23:19:11,281 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:11,282 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 1 times [2021-10-28 23:19:11,296 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:11,296 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [199196314] [2021-10-28 23:19:11,297 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:11,298 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:11,460 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:11,461 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:19:11,510 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:11,539 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:19:11,552 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:11,552 INFO L85 PathProgramCache]: Analyzing trace with hash 1235889697, now seen corresponding path program 1 times [2021-10-28 23:19:11,552 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:11,553 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [216056368] [2021-10-28 23:19:11,553 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:11,553 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:11,560 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:19:11,636 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:19:11,638 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:19:11,638 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [216056368] [2021-10-28 23:19:11,639 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [216056368] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:19:11,640 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:19:11,640 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-10-28 23:19:11,640 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [282834520] [2021-10-28 23:19:11,647 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:19:11,648 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:19:11,678 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2021-10-28 23:19:11,680 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2021-10-28 23:19:11,682 INFO L87 Difference]: Start difference. First operand has 21 states, 20 states have (on average 1.6) internal successors, (32), 20 states have internal predecessors, (32), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 2 states, 2 states have (on average 3.0) internal successors, (6), 2 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:19:11,693 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:19:11,693 INFO L93 Difference]: Finished difference Result 21 states and 29 transitions. [2021-10-28 23:19:11,694 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2021-10-28 23:19:11,695 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 21 states and 29 transitions. [2021-10-28 23:19:11,699 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-10-28 23:19:11,704 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 21 states to 17 states and 25 transitions. [2021-10-28 23:19:11,705 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 17 [2021-10-28 23:19:11,706 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 17 [2021-10-28 23:19:11,707 INFO L73 IsDeterministic]: Start isDeterministic. Operand 17 states and 25 transitions. [2021-10-28 23:19:11,707 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:19:11,708 INFO L681 BuchiCegarLoop]: Abstraction has 17 states and 25 transitions. [2021-10-28 23:19:11,724 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 17 states and 25 transitions. [2021-10-28 23:19:11,768 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 17 to 17. [2021-10-28 23:19:11,771 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 17 states, 17 states have (on average 1.4705882352941178) internal successors, (25), 16 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:19:11,773 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 25 transitions. [2021-10-28 23:19:11,775 INFO L704 BuchiCegarLoop]: Abstraction has 17 states and 25 transitions. [2021-10-28 23:19:11,775 INFO L587 BuchiCegarLoop]: Abstraction has 17 states and 25 transitions. [2021-10-28 23:19:11,775 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-10-28 23:19:11,776 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 17 states and 25 transitions. [2021-10-28 23:19:11,786 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 14 [2021-10-28 23:19:11,786 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:19:11,786 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:19:11,787 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:19:11,787 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:19:11,787 INFO L791 eck$LassoCheckResult]: Stem: 56#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); 57#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~malloc23.base, main_#t~malloc23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~malloc27.base, main_#t~malloc27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~mem29.base, main_#t~mem29.offset, main_#t~malloc30.base, main_#t~malloc30.offset, main_#t~mem31.base, main_#t~mem31.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~s~0.base, main_~s~0.offset, main_~st~0.base, main_~st~0.offset;call main_#t~malloc5.base, main_#t~malloc5.offset := #Ultimate.allocOnHeap(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); 63#L549-2 [2021-10-28 23:19:11,789 INFO L793 eck$LassoCheckResult]: Loop: 63#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; 53#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; 64#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; 50#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; 51#L538-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 62#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; 54#L544-2 call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 55#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; 63#L549-2 [2021-10-28 23:19:11,790 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:11,791 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 2 times [2021-10-28 23:19:11,791 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:11,791 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1860614932] [2021-10-28 23:19:11,792 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:11,792 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:11,853 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:11,854 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:19:11,904 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:11,911 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:19:11,912 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:11,913 INFO L85 PathProgramCache]: Analyzing trace with hash 2066931060, now seen corresponding path program 1 times [2021-10-28 23:19:11,913 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:11,913 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2038915934] [2021-10-28 23:19:11,913 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:11,914 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:11,956 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:19:12,093 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:19:12,093 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:19:12,094 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2038915934] [2021-10-28 23:19:12,094 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2038915934] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:19:12,094 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:19:12,094 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:19:12,095 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [721821618] [2021-10-28 23:19:12,095 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-10-28 23:19:12,096 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:19:12,099 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 23:19:12,099 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-10-28 23:19:12,100 INFO L87 Difference]: Start difference. First operand 17 states and 25 transitions. cyclomatic complexity: 10 Second operand has 5 states, 5 states have (on average 1.6) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:19:12,308 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:19:12,308 INFO L93 Difference]: Finished difference Result 24 states and 35 transitions. [2021-10-28 23:19:12,309 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2021-10-28 23:19:12,310 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 24 states and 35 transitions. [2021-10-28 23:19:12,312 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2021-10-28 23:19:12,314 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 24 states to 24 states and 35 transitions. [2021-10-28 23:19:12,314 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 24 [2021-10-28 23:19:12,315 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 24 [2021-10-28 23:19:12,315 INFO L73 IsDeterministic]: Start isDeterministic. Operand 24 states and 35 transitions. [2021-10-28 23:19:12,315 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:19:12,315 INFO L681 BuchiCegarLoop]: Abstraction has 24 states and 35 transitions. [2021-10-28 23:19:12,316 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 24 states and 35 transitions. [2021-10-28 23:19:12,318 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 24 to 20. [2021-10-28 23:19:12,319 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 20 states, 20 states have (on average 1.45) internal successors, (29), 19 states have internal predecessors, (29), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:19:12,319 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 29 transitions. [2021-10-28 23:19:12,320 INFO L704 BuchiCegarLoop]: Abstraction has 20 states and 29 transitions. [2021-10-28 23:19:12,322 INFO L587 BuchiCegarLoop]: Abstraction has 20 states and 29 transitions. [2021-10-28 23:19:12,322 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-10-28 23:19:12,322 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 20 states and 29 transitions. [2021-10-28 23:19:12,324 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 17 [2021-10-28 23:19:12,325 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:19:12,326 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:19:12,328 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:19:12,328 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:19:12,329 INFO L791 eck$LassoCheckResult]: Stem: 107#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); 108#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~malloc23.base, main_#t~malloc23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~malloc27.base, main_#t~malloc27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~mem29.base, main_#t~mem29.offset, main_#t~malloc30.base, main_#t~malloc30.offset, main_#t~mem31.base, main_#t~mem31.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~s~0.base, main_~s~0.offset, main_~st~0.base, main_~st~0.offset;call main_#t~malloc5.base, main_#t~malloc5.offset := #Ultimate.allocOnHeap(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); 114#L549-2 [2021-10-28 23:19:12,329 INFO L793 eck$LassoCheckResult]: Loop: 114#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; 104#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; 115#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; 116#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; 120#L538-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 113#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; 105#L544-2 call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 106#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; 114#L549-2 [2021-10-28 23:19:12,331 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:12,331 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 3 times [2021-10-28 23:19:12,332 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:12,333 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1421752494] [2021-10-28 23:19:12,333 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:12,333 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:12,364 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:12,370 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:19:12,397 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:12,408 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:19:12,411 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:12,411 INFO L85 PathProgramCache]: Analyzing trace with hash 2066932982, now seen corresponding path program 1 times [2021-10-28 23:19:12,411 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:12,412 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [106131555] [2021-10-28 23:19:12,412 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:12,413 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:12,436 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:12,440 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:19:12,448 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:12,461 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:19:12,462 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:12,462 INFO L85 PathProgramCache]: Analyzing trace with hash -1537472840, now seen corresponding path program 1 times [2021-10-28 23:19:12,462 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:12,463 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [151310026] [2021-10-28 23:19:12,463 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:12,463 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:12,481 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-28 23:19:12,579 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:19:12,580 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-28 23:19:12,580 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [151310026] [2021-10-28 23:19:12,580 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [151310026] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-28 23:19:12,580 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-28 23:19:12,581 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2021-10-28 23:19:12,581 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [423571646] [2021-10-28 23:19:12,922 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-28 23:19:12,923 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-10-28 23:19:12,923 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2021-10-28 23:19:12,923 INFO L87 Difference]: Start difference. First operand 20 states and 29 transitions. cyclomatic complexity: 11 Second operand has 5 states, 5 states have (on average 2.0) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:19:13,182 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-28 23:19:13,182 INFO L93 Difference]: Finished difference Result 33 states and 46 transitions. [2021-10-28 23:19:13,183 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-10-28 23:19:13,183 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 33 states and 46 transitions. [2021-10-28 23:19:13,185 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 25 [2021-10-28 23:19:13,186 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 33 states to 33 states and 46 transitions. [2021-10-28 23:19:13,186 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 33 [2021-10-28 23:19:13,187 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 33 [2021-10-28 23:19:13,187 INFO L73 IsDeterministic]: Start isDeterministic. Operand 33 states and 46 transitions. [2021-10-28 23:19:13,187 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-28 23:19:13,187 INFO L681 BuchiCegarLoop]: Abstraction has 33 states and 46 transitions. [2021-10-28 23:19:13,188 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states and 46 transitions. [2021-10-28 23:19:13,190 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 28. [2021-10-28 23:19:13,190 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 28 states, 28 states have (on average 1.3928571428571428) internal successors, (39), 27 states have internal predecessors, (39), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-28 23:19:13,192 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 28 states and 39 transitions. [2021-10-28 23:19:13,192 INFO L704 BuchiCegarLoop]: Abstraction has 28 states and 39 transitions. [2021-10-28 23:19:13,192 INFO L587 BuchiCegarLoop]: Abstraction has 28 states and 39 transitions. [2021-10-28 23:19:13,192 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-10-28 23:19:13,192 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 28 states and 39 transitions. [2021-10-28 23:19:13,193 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 25 [2021-10-28 23:19:13,193 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-28 23:19:13,194 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-28 23:19:13,194 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2021-10-28 23:19:13,194 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-10-28 23:19:13,194 INFO L791 eck$LassoCheckResult]: Stem: 172#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); 173#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~malloc23.base, main_#t~malloc23.offset, main_#t~mem24.base, main_#t~mem24.offset, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~malloc27.base, main_#t~malloc27.offset, main_#t~mem28.base, main_#t~mem28.offset, main_#t~mem29.base, main_#t~mem29.offset, main_#t~malloc30.base, main_#t~malloc30.offset, main_#t~mem31.base, main_#t~mem31.offset, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~s~0.base, main_~s~0.offset, main_~st~0.base, main_~st~0.offset;call main_#t~malloc5.base, main_#t~malloc5.offset := #Ultimate.allocOnHeap(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); 181#L549-2 [2021-10-28 23:19:13,195 INFO L793 eck$LassoCheckResult]: Loop: 181#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; 185#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; 182#L538-1 assume !main_#t~short9; 183#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; 194#L538-5 call main_#t~mem13.base, main_#t~mem13.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); 193#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; 192#L544-2 call main_#t~mem18.base, main_#t~mem18.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); 191#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; 181#L549-2 [2021-10-28 23:19:13,195 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:13,195 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 4 times [2021-10-28 23:19:13,195 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:13,195 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1097129017] [2021-10-28 23:19:13,196 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:13,196 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:13,207 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:13,207 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:19:13,217 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:13,223 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:19:13,223 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:13,224 INFO L85 PathProgramCache]: Analyzing trace with hash 2124191284, now seen corresponding path program 1 times [2021-10-28 23:19:13,224 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:13,224 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1134557935] [2021-10-28 23:19:13,225 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:13,225 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:13,233 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:13,233 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:19:13,240 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:13,244 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:19:13,245 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-28 23:19:13,245 INFO L85 PathProgramCache]: Analyzing trace with hash -1480214538, now seen corresponding path program 1 times [2021-10-28 23:19:13,245 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-28 23:19:13,245 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [538322825] [2021-10-28 23:19:13,246 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-28 23:19:13,246 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-28 23:19:13,262 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:13,262 INFO L355 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-28 23:19:13,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-28 23:19:13,288 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-28 23:19:14,355 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.10 11:19:14 BoogieIcfgContainer [2021-10-28 23:19:14,356 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-10-28 23:19:14,357 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-28 23:19:14,358 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-28 23:19:14,358 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-28 23:19:14,358 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.10 11:19:11" (3/4) ... [2021-10-28 23:19:14,368 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2021-10-28 23:19:14,426 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/witness.graphml [2021-10-28 23:19:14,427 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-28 23:19:14,428 INFO L168 Benchmark]: Toolchain (without parser) took 4843.76 ms. Allocated memory was 123.7 MB in the beginning and 167.8 MB in the end (delta: 44.0 MB). Free memory was 83.9 MB in the beginning and 106.6 MB in the end (delta: -22.6 MB). Peak memory consumption was 20.4 MB. Max. memory is 16.1 GB. [2021-10-28 23:19:14,428 INFO L168 Benchmark]: CDTParser took 0.27 ms. Allocated memory is still 123.7 MB. Free memory is still 102.3 MB. There was no memory consumed. Max. memory is 16.1 GB. [2021-10-28 23:19:14,429 INFO L168 Benchmark]: CACSL2BoogieTranslator took 693.73 ms. Allocated memory is still 123.7 MB. Free memory was 83.7 MB in the beginning and 91.1 MB in the end (delta: -7.4 MB). Peak memory consumption was 10.5 MB. Max. memory is 16.1 GB. [2021-10-28 23:19:14,429 INFO L168 Benchmark]: Boogie Procedure Inliner took 58.95 ms. Allocated memory is still 123.7 MB. Free memory was 91.1 MB in the beginning and 89.0 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:19:14,430 INFO L168 Benchmark]: Boogie Preprocessor took 80.86 ms. Allocated memory is still 123.7 MB. Free memory was 88.4 MB in the beginning and 86.9 MB in the end (delta: 1.6 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-10-28 23:19:14,430 INFO L168 Benchmark]: RCFGBuilder took 681.90 ms. Allocated memory is still 123.7 MB. Free memory was 86.9 MB in the beginning and 67.3 MB in the end (delta: 19.6 MB). Peak memory consumption was 18.9 MB. Max. memory is 16.1 GB. [2021-10-28 23:19:14,431 INFO L168 Benchmark]: BuchiAutomizer took 3248.72 ms. Allocated memory was 123.7 MB in the beginning and 167.8 MB in the end (delta: 44.0 MB). Free memory was 67.3 MB in the beginning and 108.7 MB in the end (delta: -41.4 MB). Peak memory consumption was 31.2 MB. Max. memory is 16.1 GB. [2021-10-28 23:19:14,432 INFO L168 Benchmark]: Witness Printer took 69.39 ms. Allocated memory is still 167.8 MB. Free memory was 108.7 MB in the beginning and 106.6 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:19:14,435 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 123.7 MB. Free memory is still 102.3 MB. There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 693.73 ms. Allocated memory is still 123.7 MB. Free memory was 83.7 MB in the beginning and 91.1 MB in the end (delta: -7.4 MB). Peak memory consumption was 10.5 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 58.95 ms. Allocated memory is still 123.7 MB. Free memory was 91.1 MB in the beginning and 89.0 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 80.86 ms. Allocated memory is still 123.7 MB. Free memory was 88.4 MB in the beginning and 86.9 MB in the end (delta: 1.6 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 681.90 ms. Allocated memory is still 123.7 MB. Free memory was 86.9 MB in the beginning and 67.3 MB in the end (delta: 19.6 MB). Peak memory consumption was 18.9 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 3248.72 ms. Allocated memory was 123.7 MB in the beginning and 167.8 MB in the end (delta: 44.0 MB). Free memory was 67.3 MB in the beginning and 108.7 MB in the end (delta: -41.4 MB). Peak memory consumption was 31.2 MB. Max. memory is 16.1 GB. * Witness Printer took 69.39 ms. Allocated memory is still 167.8 MB. Free memory was 108.7 MB in the beginning and 106.6 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 28 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.1s and 4 iterations. TraceHistogramMax:1. Analysis of lassos took 2.3s. Construction of modules took 0.3s. Büchi inclusion checks took 0.1s. Highest rank in rank-based complementation 0. Minimization of det autom 3. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 9 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 28 states and ocurred in iteration 3. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 68 SDtfs, 29 SDslu, 60 SDs, 0 SdLazy, 100 SolverSat, 11 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s 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=5609} State at position 1 is {s=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@58ac873c=0, NULL=5610, NULL=5609, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3256f904=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7057f4c5=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@37d8449c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@27c8cd53=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1233eef3=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@54d20d07=0, root=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7df0d97a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@61f27746=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7057f4c5=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@49e8af1c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@12a1a950=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@73c38f69=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@184abece=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@61f27746=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1ce66771=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6fa73f7b=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1ce66771=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@27c8cd53=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@7df0d97a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@54d20d07=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3256f904=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4dcf9b03=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1dcdf9dc=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@5b1efaf8=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6fa73f7b=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@19faaa2d=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@72582842=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@17bd2109=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@37d8449c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@5d6caaa5=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4d586c0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4dcf9b03=0, n=-1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@4d586c0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@35f82b22=22, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4d07e906=0, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@58ac873c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@12a1a950=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1233eef3=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@5b1efaf8=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@17bd2109=0, root=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@74d0c6f6=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@5d6caaa5=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@42e7e410=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@72582842=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4d07e906=0, s=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@19faaa2d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@42e7e410=0, s=0, NULL=5611, n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFieldReference@1dcdf9dc=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-28 23:19:14,530 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_11122c4e-0e0b-4466-be9d-50d623ce1447/bin/uautomizer-GMMbpWq8iD/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...