./Ultimate.py --spec ../../sv-benchmarks/c/Termination.prp --file ../../sv-benchmarks/c/termination-crafted/Binary_Search_false-termination_true-valid-memsafety.c --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 1dbac8bc Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/termination-crafted/Binary_Search_false-termination_true-valid-memsafety.c -s /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/config/svcomp-Termination-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer --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 64bit --witnessprinter.graph.data.programhash c82b80ee1d840c8880cc584253dffda998627af8 ............................................................................................................................................................................................................................................................................................................................................................................................................................. 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.1.23-1dbac8b [2018-11-10 12:23:41,391 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-10 12:23:41,392 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-10 12:23:41,401 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-10 12:23:41,401 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-10 12:23:41,402 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-10 12:23:41,403 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-10 12:23:41,404 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-10 12:23:41,405 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-10 12:23:41,406 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-10 12:23:41,406 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-10 12:23:41,406 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-10 12:23:41,407 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-10 12:23:41,408 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-10 12:23:41,409 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-10 12:23:41,409 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-10 12:23:41,410 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-10 12:23:41,411 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-10 12:23:41,413 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-10 12:23:41,414 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-10 12:23:41,415 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-10 12:23:41,416 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-10 12:23:41,417 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-10 12:23:41,418 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-10 12:23:41,418 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-10 12:23:41,419 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-10 12:23:41,419 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-10 12:23:41,420 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-10 12:23:41,421 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-10 12:23:41,422 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-10 12:23:41,422 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-10 12:23:41,422 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-10 12:23:41,423 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-10 12:23:41,423 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-10 12:23:41,423 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-10 12:23:41,424 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-10 12:23:41,424 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/config/svcomp-Termination-64bit-Automizer_Default.epf [2018-11-10 12:23:41,435 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-10 12:23:41,435 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-10 12:23:41,436 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-10 12:23:41,436 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-10 12:23:41,436 INFO L133 SettingsManager]: * Use SBE=true [2018-11-10 12:23:41,436 INFO L131 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2018-11-10 12:23:41,437 INFO L133 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2018-11-10 12:23:41,437 INFO L133 SettingsManager]: * Use old map elimination=false [2018-11-10 12:23:41,437 INFO L133 SettingsManager]: * Use external solver (rank synthesis)=false [2018-11-10 12:23:41,437 INFO L133 SettingsManager]: * Use only trivial implications for array writes=true [2018-11-10 12:23:41,437 INFO L133 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2018-11-10 12:23:41,437 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-10 12:23:41,437 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-11-10 12:23:41,437 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-10 12:23:41,438 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-10 12:23:41,438 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2018-11-10 12:23:41,438 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2018-11-10 12:23:41,438 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2018-11-10 12:23:41,438 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-10 12:23:41,438 INFO L133 SettingsManager]: * Assume nondeterminstic values are in range=false [2018-11-10 12:23:41,438 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2018-11-10 12:23:41,439 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-10 12:23:41,439 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-10 12:23:41,439 INFO L133 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2018-11-10 12:23:41,439 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-10 12:23:41,439 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-10 12:23:41,439 INFO L133 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2018-11-10 12:23:41,440 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-11-10 12:23:41,440 INFO L133 SettingsManager]: * TransformationType=MODULO_NEIGHBOR 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-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer 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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> c82b80ee1d840c8880cc584253dffda998627af8 [2018-11-10 12:23:41,468 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-10 12:23:41,478 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-10 12:23:41,481 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-10 12:23:41,482 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-10 12:23:41,483 INFO L276 PluginConnector]: CDTParser initialized [2018-11-10 12:23:41,483 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/../../sv-benchmarks/c/termination-crafted/Binary_Search_false-termination_true-valid-memsafety.c [2018-11-10 12:23:41,530 INFO L218 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/data/b2b19cd07/1f06df26a54949ad87892c48a5d154dd/FLAG829b7c2fc [2018-11-10 12:23:41,867 INFO L298 CDTParser]: Found 1 translation units. [2018-11-10 12:23:41,868 INFO L158 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/sv-benchmarks/c/termination-crafted/Binary_Search_false-termination_true-valid-memsafety.c [2018-11-10 12:23:41,871 INFO L346 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/data/b2b19cd07/1f06df26a54949ad87892c48a5d154dd/FLAG829b7c2fc [2018-11-10 12:23:41,879 INFO L354 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/data/b2b19cd07/1f06df26a54949ad87892c48a5d154dd [2018-11-10 12:23:41,881 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-10 12:23:41,882 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-10 12:23:41,883 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-10 12:23:41,883 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-10 12:23:41,885 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-10 12:23:41,885 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 12:23:41" (1/1) ... [2018-11-10 12:23:41,887 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5b132657 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:41, skipping insertion in model container [2018-11-10 12:23:41,887 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 12:23:41" (1/1) ... [2018-11-10 12:23:41,893 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-10 12:23:41,907 INFO L174 MainTranslator]: Built tables and reachable declarations [2018-11-10 12:23:41,996 INFO L202 PostProcessor]: Analyzing one entry point: main [2018-11-10 12:23:41,998 INFO L189 MainTranslator]: Completed pre-run [2018-11-10 12:23:42,007 INFO L202 PostProcessor]: Analyzing one entry point: main [2018-11-10 12:23:42,016 INFO L193 MainTranslator]: Completed translation [2018-11-10 12:23:42,016 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42 WrapperNode [2018-11-10 12:23:42,016 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-10 12:23:42,016 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-10 12:23:42,017 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-10 12:23:42,017 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-10 12:23:42,022 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... [2018-11-10 12:23:42,025 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... [2018-11-10 12:23:42,035 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-10 12:23:42,036 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-10 12:23:42,036 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-10 12:23:42,036 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-10 12:23:42,044 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... [2018-11-10 12:23:42,044 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... [2018-11-10 12:23:42,045 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... [2018-11-10 12:23:42,045 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... [2018-11-10 12:23:42,046 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... [2018-11-10 12:23:42,047 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... [2018-11-10 12:23:42,048 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... [2018-11-10 12:23:42,049 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-10 12:23:42,049 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-10 12:23:42,049 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-10 12:23:42,049 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-10 12:23:42,050 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-10 12:23:42,145 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2018-11-10 12:23:42,145 INFO L138 BoogieDeclarations]: Found implementation of procedure bsearch [2018-11-10 12:23:42,145 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-10 12:23:42,145 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-10 12:23:42,269 INFO L341 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-10 12:23:42,270 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.11 12:23:42 BoogieIcfgContainer [2018-11-10 12:23:42,270 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-10 12:23:42,270 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2018-11-10 12:23:42,270 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2018-11-10 12:23:42,274 INFO L276 PluginConnector]: BuchiAutomizer initialized [2018-11-10 12:23:42,275 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-10 12:23:42,275 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 10.11 12:23:41" (1/3) ... [2018-11-10 12:23:42,276 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@117f98a1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 10.11 12:23:42, skipping insertion in model container [2018-11-10 12:23:42,277 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-10 12:23:42,277 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 12:23:42" (2/3) ... [2018-11-10 12:23:42,277 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@117f98a1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 10.11 12:23:42, skipping insertion in model container [2018-11-10 12:23:42,277 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-10 12:23:42,277 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.11 12:23:42" (3/3) ... [2018-11-10 12:23:42,279 INFO L375 chiAutomizerObserver]: Analyzing ICFG Binary_Search_false-termination_true-valid-memsafety.c [2018-11-10 12:23:42,325 INFO L135 ementStrategyFactory]: Using default assertion order modulation [2018-11-10 12:23:42,326 INFO L374 BuchiCegarLoop]: Interprodecural is true [2018-11-10 12:23:42,326 INFO L375 BuchiCegarLoop]: Hoare is false [2018-11-10 12:23:42,326 INFO L376 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2018-11-10 12:23:42,326 INFO L377 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-10 12:23:42,326 INFO L378 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-10 12:23:42,326 INFO L379 BuchiCegarLoop]: Difference is false [2018-11-10 12:23:42,326 INFO L380 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-10 12:23:42,326 INFO L383 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2018-11-10 12:23:42,337 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 18 states. [2018-11-10 12:23:42,354 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2018-11-10 12:23:42,354 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-10 12:23:42,354 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-10 12:23:42,359 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2018-11-10 12:23:42,359 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2018-11-10 12:23:42,359 INFO L442 BuchiCegarLoop]: ======== Iteration 1============ [2018-11-10 12:23:42,359 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 18 states. [2018-11-10 12:23:42,360 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2018-11-10 12:23:42,360 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-10 12:23:42,360 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-10 12:23:42,361 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2018-11-10 12:23:42,361 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2018-11-10 12:23:42,366 INFO L793 eck$LassoCheckResult]: Stem: 10#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true; 8#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res;havoc main_#t~nondet3, main_#t~nondet4, main_#t~ret5, main_~x~0, main_~y~0;main_~x~0 := main_#t~nondet3;havoc main_#t~nondet3;main_~y~0 := main_#t~nondet4;havoc main_#t~nondet4; 11#L22true assume !!(-1073741823 <= main_~x~0 && main_~x~0 <= 1073741823); 12#L23true assume !!(-1073741823 <= main_~y~0 && main_~y~0 <= 1073741823); 17#L24true call main_#t~ret5 := bsearch(main_~x~0, main_~y~0);< 15#bsearchENTRYtrue [2018-11-10 12:23:42,367 INFO L795 eck$LassoCheckResult]: Loop: 15#bsearchENTRYtrue ~i := #in~i;~j := #in~j; 6#L10true assume !(~i >= ~j);~mid~0 := (if ~i + ~j < 0 && (~i + ~j) % 2 != 0 then (~i + ~j) / 2 + 1 else (~i + ~j) / 2); 3#L12true assume !(#t~nondet0 != 0);havoc #t~nondet0; 16#L14true call #t~ret2 := bsearch(~mid~0 + 1, ~j);< 15#bsearchENTRYtrue [2018-11-10 12:23:42,371 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 12:23:42,371 INFO L82 PathProgramCache]: Analyzing trace with hash 42056124, now seen corresponding path program 1 times [2018-11-10 12:23:42,372 INFO L225 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-10 12:23:42,373 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-10 12:23:42,402 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:23:42,403 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-10 12:23:42,403 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:23:42,421 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:23:42,425 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:23:42,435 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 12:23:42,436 INFO L82 PathProgramCache]: Analyzing trace with hash 927709, now seen corresponding path program 1 times [2018-11-10 12:23:42,436 INFO L225 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-10 12:23:42,436 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-10 12:23:42,436 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:23:42,437 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-10 12:23:42,437 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:23:42,446 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:23:42,454 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:23:42,456 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 12:23:42,456 INFO L82 PathProgramCache]: Analyzing trace with hash 324439064, now seen corresponding path program 1 times [2018-11-10 12:23:42,456 INFO L225 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-10 12:23:42,456 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-10 12:23:42,457 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:23:42,457 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-10 12:23:42,457 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:23:42,467 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:23:42,477 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:23:42,642 INFO L214 LassoAnalysis]: Preferences: [2018-11-10 12:23:42,643 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-10 12:23:42,643 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-10 12:23:42,643 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-10 12:23:42,643 INFO L127 ssoRankerPreferences]: Use exernal solver: true [2018-11-10 12:23:42,643 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-10 12:23:42,644 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-10 12:23:42,644 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-10 12:23:42,644 INFO L131 ssoRankerPreferences]: Filename of dumped script: Binary_Search_false-termination_true-valid-memsafety.c_Iteration1_Loop [2018-11-10 12:23:42,644 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-10 12:23:42,644 INFO L280 LassoAnalysis]: Starting lasso preprocessing... [2018-11-10 12:23:42,661 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:42,734 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:42,736 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:42,742 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:42,744 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:42,745 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:42,747 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:42,749 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:42,940 WARN L179 SmtUtils]: Spent 113.00 ms on a formula simplification. DAG size of input: 35 DAG size of output: 33 [2018-11-10 12:23:42,955 INFO L298 LassoAnalysis]: Preprocessing complete. [2018-11-10 12:23:42,955 INFO L410 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-10 12:23:42,967 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-10 12:23:42,970 INFO L163 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-10 12:23:43,019 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2018-11-10 12:23:43,019 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-10 12:23:43,492 INFO L450 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2018-11-10 12:23:43,494 INFO L214 LassoAnalysis]: Preferences: [2018-11-10 12:23:43,494 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-10 12:23:43,494 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-10 12:23:43,494 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-10 12:23:43,494 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-10 12:23:43,494 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-10 12:23:43,494 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-10 12:23:43,494 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-10 12:23:43,494 INFO L131 ssoRankerPreferences]: Filename of dumped script: Binary_Search_false-termination_true-valid-memsafety.c_Iteration1_Loop [2018-11-10 12:23:43,495 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-10 12:23:43,495 INFO L280 LassoAnalysis]: Starting lasso preprocessing... [2018-11-10 12:23:43,496 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:43,558 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:43,560 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:43,563 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:43,565 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:43,567 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:43,569 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:43,572 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 12:23:43,818 WARN L179 SmtUtils]: Spent 135.00 ms on a formula simplification. DAG size of input: 36 DAG size of output: 34 [2018-11-10 12:23:43,828 INFO L298 LassoAnalysis]: Preprocessing complete. [2018-11-10 12:23:43,834 INFO L496 LassoAnalysis]: Using template 'affine'. [2018-11-10 12:23:43,836 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-10 12:23:43,837 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-10 12:23:43,837 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-10 12:23:43,837 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-10 12:23:43,838 INFO L206 nArgumentSynthesizer]: 3 loop disjuncts [2018-11-10 12:23:43,839 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-10 12:23:43,842 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-10 12:23:43,842 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-10 12:23:43,872 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-10 12:23:43,890 INFO L443 ModelExtractionUtils]: Simplification made 4 calls to the SMT solver. [2018-11-10 12:23:43,890 INFO L444 ModelExtractionUtils]: 0 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. [2018-11-10 12:23:43,892 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-10 12:23:43,892 INFO L440 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2018-11-10 12:23:43,893 INFO L517 LassoAnalysis]: Proved termination. [2018-11-10 12:23:43,894 INFO L519 LassoAnalysis]: Termination argument consisting of: Ranking function f(bsearch_#in~j, bsearch_#in~i) = 1*bsearch_#in~j - 1*bsearch_#in~i Supporting invariants [] [2018-11-10 12:23:43,896 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2018-11-10 12:23:43,916 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 12:23:43,930 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-10 12:23:43,932 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-10 12:23:43,945 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-10 12:23:43,946 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-10 12:24:21,181 WARN L179 SmtUtils]: Spent 37.18 s on a formula simplification that was a NOOP. DAG size: 43 [2018-11-10 12:24:21,186 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-10 12:24:21,197 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 3 loop predicates [2018-11-10 12:24:21,198 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 18 states. Second operand 4 states. [2018-11-10 12:25:45,951 WARN L179 SmtUtils]: Spent 1.41 m on a formula simplification that was a NOOP. DAG size: 48 [2018-11-10 12:25:46,248 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 18 states.. Second operand 4 states. Result 47 states and 60 transitions. Complement of second has 12 states. [2018-11-10 12:25:46,249 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2018-11-10 12:25:46,250 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-10 12:25:46,251 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 16 transitions. [2018-11-10 12:25:46,252 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 16 transitions. Stem has 5 letters. Loop has 4 letters. [2018-11-10 12:25:46,253 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-10 12:25:46,254 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 16 transitions. Stem has 9 letters. Loop has 4 letters. [2018-11-10 12:25:46,254 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-10 12:25:46,254 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 16 transitions. Stem has 5 letters. Loop has 8 letters. [2018-11-10 12:25:46,254 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-10 12:25:46,255 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 47 states and 60 transitions. [2018-11-10 12:25:46,257 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2018-11-10 12:25:46,261 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 47 states to 24 states and 27 transitions. [2018-11-10 12:25:46,262 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 15 [2018-11-10 12:25:46,262 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 17 [2018-11-10 12:25:46,262 INFO L73 IsDeterministic]: Start isDeterministic. Operand 24 states and 27 transitions. [2018-11-10 12:25:46,263 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-10 12:25:46,263 INFO L705 BuchiCegarLoop]: Abstraction has 24 states and 27 transitions. [2018-11-10 12:25:46,275 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 24 states and 27 transitions. [2018-11-10 12:25:46,281 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 24 to 17. [2018-11-10 12:25:46,282 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 17 states. [2018-11-10 12:25:46,282 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 20 transitions. [2018-11-10 12:25:46,283 INFO L728 BuchiCegarLoop]: Abstraction has 17 states and 20 transitions. [2018-11-10 12:25:46,283 INFO L608 BuchiCegarLoop]: Abstraction has 17 states and 20 transitions. [2018-11-10 12:25:46,283 INFO L442 BuchiCegarLoop]: ======== Iteration 2============ [2018-11-10 12:25:46,283 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 17 states and 20 transitions. [2018-11-10 12:25:46,284 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2018-11-10 12:25:46,284 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-10 12:25:46,284 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-10 12:25:46,284 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-10 12:25:46,285 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2018-11-10 12:25:46,285 INFO L793 eck$LassoCheckResult]: Stem: 134#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true; 132#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res;havoc main_#t~nondet3, main_#t~nondet4, main_#t~ret5, main_~x~0, main_~y~0;main_~x~0 := main_#t~nondet3;havoc main_#t~nondet3;main_~y~0 := main_#t~nondet4;havoc main_#t~nondet4; 133#L22 assume !!(-1073741823 <= main_~x~0 && main_~x~0 <= 1073741823); 135#L23 assume !!(-1073741823 <= main_~y~0 && main_~y~0 <= 1073741823); 128#L24 call main_#t~ret5 := bsearch(main_~x~0, main_~y~0);< 138#bsearchENTRY ~i := #in~i;~j := #in~j; 136#L10 assume !(~i >= ~j);~mid~0 := (if ~i + ~j < 0 && (~i + ~j) % 2 != 0 then (~i + ~j) / 2 + 1 else (~i + ~j) / 2); 127#L12 assume #t~nondet0 != 0;havoc #t~nondet0; 129#L13 [2018-11-10 12:25:46,285 INFO L795 eck$LassoCheckResult]: Loop: 129#L13 call #t~ret1 := bsearch(~i, ~mid~0);< 141#bsearchENTRY ~i := #in~i;~j := #in~j; 143#L10 assume !(~i >= ~j);~mid~0 := (if ~i + ~j < 0 && (~i + ~j) % 2 != 0 then (~i + ~j) / 2 + 1 else (~i + ~j) / 2); 142#L12 assume #t~nondet0 != 0;havoc #t~nondet0; 129#L13 [2018-11-10 12:25:46,285 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 12:25:46,285 INFO L82 PathProgramCache]: Analyzing trace with hash -1236460217, now seen corresponding path program 1 times [2018-11-10 12:25:46,285 INFO L225 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-10 12:25:46,285 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-10 12:25:46,286 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:25:46,286 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-10 12:25:46,286 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:25:46,292 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:25:46,297 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:25:46,298 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 12:25:46,299 INFO L82 PathProgramCache]: Analyzing trace with hash 1876964, now seen corresponding path program 1 times [2018-11-10 12:25:46,299 INFO L225 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-10 12:25:46,299 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-10 12:25:46,300 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:25:46,300 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-10 12:25:46,300 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:25:46,305 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:25:46,308 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:25:46,310 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 12:25:46,310 INFO L82 PathProgramCache]: Analyzing trace with hash 1684909610, now seen corresponding path program 1 times [2018-11-10 12:25:46,310 INFO L225 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-10 12:25:46,311 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-10 12:25:46,311 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:25:46,311 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-10 12:25:46,311 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 12:25:46,320 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:25:46,329 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 12:26:10,531 WARN L179 SmtUtils]: Spent 24.13 s on a formula simplification that was a NOOP. DAG size: 30 [2018-11-10 12:26:22,590 WARN L179 SmtUtils]: Spent 12.05 s on a formula simplification that was a NOOP. DAG size: 26 [2018-11-10 12:26:22,828 WARN L179 SmtUtils]: Spent 131.00 ms on a formula simplification. DAG size of input: 30 DAG size of output: 30 [2018-11-10 12:26:22,846 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 10.11 12:26:22 BoogieIcfgContainer [2018-11-10 12:26:22,846 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2018-11-10 12:26:22,846 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-10 12:26:22,846 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-10 12:26:22,847 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-10 12:26:22,847 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.11 12:23:42" (3/4) ... [2018-11-10 12:26:22,849 INFO L141 WitnessPrinter]: Generating witness for non-termination counterexample [2018-11-10 12:26:22,876 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_d2840264-1633-463d-971f-dd1a54cba62f/bin-2019/uautomizer/witness.graphml [2018-11-10 12:26:22,876 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-10 12:26:22,877 INFO L168 Benchmark]: Toolchain (without parser) took 160994.95 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.3 MB). Free memory was 962.9 MB in the beginning and 859.8 MB in the end (delta: 103.1 MB). Peak memory consumption was 249.4 MB. Max. memory is 11.5 GB. [2018-11-10 12:26:22,877 INFO L168 Benchmark]: CDTParser took 0.20 ms. Allocated memory is still 1.0 GB. Free memory is still 982.8 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-10 12:26:22,878 INFO L168 Benchmark]: CACSL2BoogieTranslator took 133.66 ms. Allocated memory is still 1.0 GB. Free memory was 962.9 MB in the beginning and 952.2 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2018-11-10 12:26:22,878 INFO L168 Benchmark]: Boogie Procedure Inliner took 19.08 ms. Allocated memory is still 1.0 GB. Free memory was 952.2 MB in the beginning and 951.1 MB in the end (delta: 1.1 MB). Peak memory consumption was 1.1 MB. Max. memory is 11.5 GB. [2018-11-10 12:26:22,878 INFO L168 Benchmark]: Boogie Preprocessor took 13.01 ms. Allocated memory is still 1.0 GB. Free memory was 951.1 MB in the beginning and 945.7 MB in the end (delta: 5.4 MB). Peak memory consumption was 5.4 MB. Max. memory is 11.5 GB. [2018-11-10 12:26:22,879 INFO L168 Benchmark]: RCFGBuilder took 220.80 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.3 MB). Free memory was 945.7 MB in the beginning and 1.1 GB in the end (delta: -182.0 MB). Peak memory consumption was 20.0 MB. Max. memory is 11.5 GB. [2018-11-10 12:26:22,879 INFO L168 Benchmark]: BuchiAutomizer took 160575.75 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 859.8 MB in the end (delta: 267.9 MB). Peak memory consumption was 267.9 MB. Max. memory is 11.5 GB. [2018-11-10 12:26:22,879 INFO L168 Benchmark]: Witness Printer took 29.70 ms. Allocated memory is still 1.2 GB. Free memory is still 859.8 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-10 12:26:22,881 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.20 ms. Allocated memory is still 1.0 GB. Free memory is still 982.8 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 133.66 ms. Allocated memory is still 1.0 GB. Free memory was 962.9 MB in the beginning and 952.2 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 19.08 ms. Allocated memory is still 1.0 GB. Free memory was 952.2 MB in the beginning and 951.1 MB in the end (delta: 1.1 MB). Peak memory consumption was 1.1 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 13.01 ms. Allocated memory is still 1.0 GB. Free memory was 951.1 MB in the beginning and 945.7 MB in the end (delta: 5.4 MB). Peak memory consumption was 5.4 MB. Max. memory is 11.5 GB. * RCFGBuilder took 220.80 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.3 MB). Free memory was 945.7 MB in the beginning and 1.1 GB in the end (delta: -182.0 MB). Peak memory consumption was 20.0 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 160575.75 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 859.8 MB in the end (delta: 267.9 MB). Peak memory consumption was 267.9 MB. Max. memory is 11.5 GB. * Witness Printer took 29.70 ms. Allocated memory is still 1.2 GB. Free memory is still 859.8 MB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 1 terminating modules (0 trivial, 1 deterministic, 0 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function \old(j) + -1 * \old(i) and consists of 4 locations. The remainder module has 17 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 160.5s and 2 iterations. TraceHistogramMax:1. Analysis of lassos took 38.0s. Construction of modules took 0.3s. Büchi inclusion checks took 122.0s. Highest rank in rank-based complementation 3. Minimization of det autom 0. Minimization of nondet autom 1. Automata minimization 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 7 StatesRemovedByMinimization, 1 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 17 states and ocurred in iteration 1. Nontrivial modules had stage [1, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 14 SDtfs, 21 SDslu, 4 SDs, 0 SdLazy, 22 SolverSat, 3 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s Time LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT1 conc0 concLT0 SILN0 SILU0 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: Lassos: inital84 mio100 ax100 hnf100 lsp119 ukn62 mio100 lsp100 div212 bol100 ite100 ukn100 eq137 hnf60 smp81 dnf294 smp54 tf101 neg99 sie106 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: sat Degree: 0 Time: 58ms VariablesStem: 0 VariablesLoop: 6 DisjunctsStem: 1 DisjunctsLoop: 3 SupportingInvariants: 0 MotzkinApplications: 6 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 1 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.5s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 13]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {} State at position 1 is {\old(j)=-1073741822, \result=0, \old(i)=-1073741823, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@40f61d8c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@48814d56=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2e778ddd=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@41f987ed=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3f088cc6=0, NULL=0, i=-1073741823, mid=-1073741822, j=-1073741822, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@fcc0154=0, x=0, y=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 13]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L19] int x = __VERIFIER_nondet_int(); [L20] int y = __VERIFIER_nondet_int(); [L22] COND FALSE !(!(-1073741823<=x && x<=1073741823)) [L23] COND FALSE !(!(-1073741823<=y && y<=1073741823)) [L24] CALL bsearch(x, y) [L10] COND FALSE !(i>=j) [L11] int mid = (i+j)/2; [L12] COND TRUE __VERIFIER_nondet_int() Loop: [L13] CALL bsearch(i,mid) [L10] COND FALSE !(i>=j) [L11] int mid = (i+j)/2; [L12] COND TRUE __VERIFIER_nondet_int() End of lasso representation. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...