./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/array-memsafety/insertionsort-alloca_true-valid-memsafety_true-termination.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version aa418289 Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/array-memsafety/insertionsort-alloca_true-valid-memsafety_true-termination.i -s /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/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 32bit --witnessprinter.graph.data.programhash c911d3bfcad41488f605dca082dbd47805d189ae ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.1.23-aa41828 [2018-11-23 11:34:52,936 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:34:52,937 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:34:52,944 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:34:52,945 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:34:52,945 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:34:52,947 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:34:52,948 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:34:52,949 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:34:52,950 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:34:52,951 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:34:52,951 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:34:52,952 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:34:52,953 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:34:52,953 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:34:52,954 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:34:52,954 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:34:52,956 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:34:52,957 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:34:52,958 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:34:52,959 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:34:52,960 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:34:52,962 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:34:52,962 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:34:52,962 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:34:52,963 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:34:52,964 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:34:52,964 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:34:52,965 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:34:52,965 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:34:52,965 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:34:52,966 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:34:52,966 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:34:52,966 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:34:52,967 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:34:52,967 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:34:52,967 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf [2018-11-23 11:34:52,976 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:34:52,977 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:34:52,977 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:34:52,978 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:34:52,978 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:34:52,978 INFO L131 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2018-11-23 11:34:52,978 INFO L133 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2018-11-23 11:34:52,978 INFO L133 SettingsManager]: * Use old map elimination=false [2018-11-23 11:34:52,978 INFO L133 SettingsManager]: * Use external solver (rank synthesis)=false [2018-11-23 11:34:52,979 INFO L133 SettingsManager]: * Use only trivial implications for array writes=true [2018-11-23 11:34:52,979 INFO L133 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2018-11-23 11:34:52,979 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:34:52,979 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:34:52,979 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-11-23 11:34:52,979 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 11:34:52,980 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:34:52,980 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:34:52,980 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2018-11-23 11:34:52,980 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2018-11-23 11:34:52,980 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2018-11-23 11:34:52,980 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:34:52,981 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:34:52,981 INFO L133 SettingsManager]: * Assume nondeterminstic values are in range=false [2018-11-23 11:34:52,981 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:34:52,981 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2018-11-23 11:34:52,981 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:34:52,981 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:34:52,982 INFO L133 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2018-11-23 11:34:52,982 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:34:52,982 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 11:34:52,982 INFO L133 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2018-11-23 11:34:52,983 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-11-23 11:34:52,983 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_48ef7bce-730f-4a26-94a2-e2b6a652b781/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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> c911d3bfcad41488f605dca082dbd47805d189ae [2018-11-23 11:34:53,011 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:34:53,021 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:34:53,024 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:34:53,026 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:34:53,026 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:34:53,027 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/../../sv-benchmarks/c/array-memsafety/insertionsort-alloca_true-valid-memsafety_true-termination.i [2018-11-23 11:34:53,076 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/data/4b56705e2/54e35cf5da744a78b15231ae92063b80/FLAGb9ad6d2ae [2018-11-23 11:34:53,466 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:34:53,466 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/sv-benchmarks/c/array-memsafety/insertionsort-alloca_true-valid-memsafety_true-termination.i [2018-11-23 11:34:53,474 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/data/4b56705e2/54e35cf5da744a78b15231ae92063b80/FLAGb9ad6d2ae [2018-11-23 11:34:53,487 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/bin-2019/uautomizer/data/4b56705e2/54e35cf5da744a78b15231ae92063b80 [2018-11-23 11:34:53,490 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:34:53,492 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:34:53,492 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:34:53,493 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:34:53,496 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:34:53,497 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,499 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@693217b4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53, skipping insertion in model container [2018-11-23 11:34:53,500 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,510 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:34:53,541 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:34:53,765 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:34:53,774 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:34:53,852 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:34:53,889 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:34:53,889 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53 WrapperNode [2018-11-23 11:34:53,889 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:34:53,890 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:34:53,890 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:34:53,890 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:34:53,898 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,908 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,924 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:34:53,925 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:34:53,925 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:34:53,925 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:34:53,932 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,932 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,934 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,934 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,938 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,941 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,942 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... [2018-11-23 11:34:53,943 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:34:53,944 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:34:53,944 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:34:53,944 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:34:53,945 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_48ef7bce-730f-4a26-94a2-e2b6a652b781/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-23 11:34:53,987 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:34:53,987 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 11:34:53,987 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 11:34:53,987 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 11:34:53,987 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:34:53,988 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:34:54,164 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:34:54,164 INFO L280 CfgBuilder]: Removed 8 assue(true) statements. [2018-11-23 11:34:54,164 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:34:54 BoogieIcfgContainer [2018-11-23 11:34:54,164 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:34:54,165 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2018-11-23 11:34:54,165 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2018-11-23 11:34:54,169 INFO L276 PluginConnector]: BuchiAutomizer initialized [2018-11-23 11:34:54,170 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-23 11:34:54,170 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 23.11 11:34:53" (1/3) ... [2018-11-23 11:34:54,171 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7b39f98c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 23.11 11:34:54, skipping insertion in model container [2018-11-23 11:34:54,171 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-23 11:34:54,171 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:34:53" (2/3) ... [2018-11-23 11:34:54,172 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7b39f98c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 23.11 11:34:54, skipping insertion in model container [2018-11-23 11:34:54,172 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-23 11:34:54,172 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:34:54" (3/3) ... [2018-11-23 11:34:54,176 INFO L375 chiAutomizerObserver]: Analyzing ICFG insertionsort-alloca_true-valid-memsafety_true-termination.i [2018-11-23 11:34:54,221 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:34:54,221 INFO L374 BuchiCegarLoop]: Interprodecural is true [2018-11-23 11:34:54,221 INFO L375 BuchiCegarLoop]: Hoare is false [2018-11-23 11:34:54,221 INFO L376 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2018-11-23 11:34:54,221 INFO L377 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:34:54,222 INFO L378 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:34:54,222 INFO L379 BuchiCegarLoop]: Difference is false [2018-11-23 11:34:54,222 INFO L380 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:34:54,222 INFO L383 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2018-11-23 11:34:54,232 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 15 states. [2018-11-23 11:34:54,252 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2018-11-23 11:34:54,252 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-23 11:34:54,252 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-23 11:34:54,257 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2018-11-23 11:34:54,258 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2018-11-23 11:34:54,258 INFO L442 BuchiCegarLoop]: ======== Iteration 1============ [2018-11-23 11:34:54,258 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 15 states. [2018-11-23 11:34:54,259 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2018-11-23 11:34:54,260 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-23 11:34:54,260 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-23 11:34:54,260 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2018-11-23 11:34:54,260 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2018-11-23 11:34:54,269 INFO L794 eck$LassoCheckResult]: Stem: 8#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 6#L-1true havoc main_#res;havoc main_#t~nondet8, main_#t~malloc9.base, main_#t~malloc9.offset, main_~array_size~0, main_~a~0.base, main_~a~0.offset;main_~array_size~0 := main_#t~nondet8;havoc main_#t~nondet8; 7#L553true assume !(main_~array_size~0 < 1 || main_~array_size~0 >= 536870911); 11#L553-2true call main_#t~malloc9.base, main_#t~malloc9.offset := #Ultimate.alloc(4 * main_~array_size~0);main_~a~0.base, main_~a~0.offset := main_#t~malloc9.base, main_#t~malloc9.offset;insertionSort_#in~a.base, insertionSort_#in~a.offset, insertionSort_#in~array_size := main_~a~0.base, main_~a~0.offset, main_~array_size~0;havoc insertionSort_#t~mem3, insertionSort_#t~mem7, insertionSort_#t~post4, insertionSort_#t~mem5, insertionSort_#t~short6, insertionSort_#t~pre2, insertionSort_~a.base, insertionSort_~a.offset, insertionSort_~array_size, insertionSort_~i~0, insertionSort_~j~0, insertionSort_~index~0;insertionSort_~a.base, insertionSort_~a.offset := insertionSort_#in~a.base, insertionSort_#in~a.offset;insertionSort_~array_size := insertionSort_#in~array_size;havoc insertionSort_~i~0;havoc insertionSort_~j~0;havoc insertionSort_~index~0;insertionSort_~i~0 := 1; 12#L543-3true [2018-11-23 11:34:54,269 INFO L796 eck$LassoCheckResult]: Loop: 12#L543-3true assume !!(insertionSort_~i~0 < insertionSort_~array_size);call insertionSort_#t~mem3 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~i~0, 4);insertionSort_~index~0 := insertionSort_#t~mem3;havoc insertionSort_#t~mem3;insertionSort_~j~0 := insertionSort_~i~0; 14#L546-6true assume !true; 16#L546-7true call write~int(insertionSort_~index~0, insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~j~0, 4); 9#L543-2true insertionSort_#t~pre2 := 1 + insertionSort_~i~0;insertionSort_~i~0 := 1 + insertionSort_~i~0;havoc insertionSort_#t~pre2; 12#L543-3true [2018-11-23 11:34:54,275 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:54,276 INFO L82 PathProgramCache]: Analyzing trace with hash 925669, now seen corresponding path program 1 times [2018-11-23 11:34:54,278 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:54,279 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:54,317 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,317 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:34:54,317 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,349 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:54,359 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:54,378 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:54,379 INFO L82 PathProgramCache]: Analyzing trace with hash 1465782, now seen corresponding path program 1 times [2018-11-23 11:34:54,379 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:54,379 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:54,380 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,380 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:34:54,380 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:54,407 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-23 11:34:54,408 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:34:54,408 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 11:34:54,411 INFO L811 eck$LassoCheckResult]: loop already infeasible [2018-11-23 11:34:54,423 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 11:34:54,424 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 11:34:54,426 INFO L87 Difference]: Start difference. First operand 15 states. Second operand 2 states. [2018-11-23 11:34:54,434 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:34:54,434 INFO L93 Difference]: Finished difference Result 15 states and 18 transitions. [2018-11-23 11:34:54,434 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 11:34:54,436 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 15 states and 18 transitions. [2018-11-23 11:34:54,437 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2018-11-23 11:34:54,442 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 15 states to 11 states and 14 transitions. [2018-11-23 11:34:54,443 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 11 [2018-11-23 11:34:54,443 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 11 [2018-11-23 11:34:54,444 INFO L73 IsDeterministic]: Start isDeterministic. Operand 11 states and 14 transitions. [2018-11-23 11:34:54,444 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2018-11-23 11:34:54,445 INFO L705 BuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2018-11-23 11:34:54,460 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 11 states and 14 transitions. [2018-11-23 11:34:54,467 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 11 to 11. [2018-11-23 11:34:54,467 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2018-11-23 11:34:54,468 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 14 transitions. [2018-11-23 11:34:54,468 INFO L728 BuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2018-11-23 11:34:54,468 INFO L608 BuchiCegarLoop]: Abstraction has 11 states and 14 transitions. [2018-11-23 11:34:54,469 INFO L442 BuchiCegarLoop]: ======== Iteration 2============ [2018-11-23 11:34:54,469 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 11 states and 14 transitions. [2018-11-23 11:34:54,469 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 7 [2018-11-23 11:34:54,469 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-23 11:34:54,469 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-23 11:34:54,470 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2018-11-23 11:34:54,470 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2018-11-23 11:34:54,470 INFO L794 eck$LassoCheckResult]: Stem: 41#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 38#L-1 havoc main_#res;havoc main_#t~nondet8, main_#t~malloc9.base, main_#t~malloc9.offset, main_~array_size~0, main_~a~0.base, main_~a~0.offset;main_~array_size~0 := main_#t~nondet8;havoc main_#t~nondet8; 39#L553 assume !(main_~array_size~0 < 1 || main_~array_size~0 >= 536870911); 40#L553-2 call main_#t~malloc9.base, main_#t~malloc9.offset := #Ultimate.alloc(4 * main_~array_size~0);main_~a~0.base, main_~a~0.offset := main_#t~malloc9.base, main_#t~malloc9.offset;insertionSort_#in~a.base, insertionSort_#in~a.offset, insertionSort_#in~array_size := main_~a~0.base, main_~a~0.offset, main_~array_size~0;havoc insertionSort_#t~mem3, insertionSort_#t~mem7, insertionSort_#t~post4, insertionSort_#t~mem5, insertionSort_#t~short6, insertionSort_#t~pre2, insertionSort_~a.base, insertionSort_~a.offset, insertionSort_~array_size, insertionSort_~i~0, insertionSort_~j~0, insertionSort_~index~0;insertionSort_~a.base, insertionSort_~a.offset := insertionSort_#in~a.base, insertionSort_#in~a.offset;insertionSort_~array_size := insertionSort_#in~array_size;havoc insertionSort_~i~0;havoc insertionSort_~j~0;havoc insertionSort_~index~0;insertionSort_~i~0 := 1; 45#L543-3 [2018-11-23 11:34:54,470 INFO L796 eck$LassoCheckResult]: Loop: 45#L543-3 assume !!(insertionSort_~i~0 < insertionSort_~array_size);call insertionSort_#t~mem3 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~i~0, 4);insertionSort_~index~0 := insertionSort_#t~mem3;havoc insertionSort_#t~mem3;insertionSort_~j~0 := insertionSort_~i~0; 43#L546-6 insertionSort_#t~short6 := insertionSort_~j~0 > 0; 46#L546-1 assume insertionSort_#t~short6;call insertionSort_#t~mem5 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * (insertionSort_~j~0 - 1), 4);insertionSort_#t~short6 := insertionSort_#t~mem5 > insertionSort_~index~0; 47#L546-3 assume !insertionSort_#t~short6;havoc insertionSort_#t~short6;havoc insertionSort_#t~mem5; 48#L546-7 call write~int(insertionSort_~index~0, insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~j~0, 4); 44#L543-2 insertionSort_#t~pre2 := 1 + insertionSort_~i~0;insertionSort_~i~0 := 1 + insertionSort_~i~0;havoc insertionSort_#t~pre2; 45#L543-3 [2018-11-23 11:34:54,471 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:54,471 INFO L82 PathProgramCache]: Analyzing trace with hash 925669, now seen corresponding path program 2 times [2018-11-23 11:34:54,471 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:54,471 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:54,472 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,472 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:34:54,472 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,479 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:54,485 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:54,488 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:54,489 INFO L82 PathProgramCache]: Analyzing trace with hash 1394338221, now seen corresponding path program 1 times [2018-11-23 11:34:54,489 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:54,489 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:54,490 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,490 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 11:34:54,490 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,507 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:54,516 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:54,519 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:54,519 INFO L82 PathProgramCache]: Analyzing trace with hash -1897689455, now seen corresponding path program 1 times [2018-11-23 11:34:54,519 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:54,519 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:54,520 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,520 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:34:54,520 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:54,534 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:54,547 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:54,699 WARN L180 SmtUtils]: Spent 145.00 ms on a formula simplification. DAG size of input: 59 DAG size of output: 46 [2018-11-23 11:34:54,832 INFO L216 LassoAnalysis]: Preferences: [2018-11-23 11:34:54,833 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-23 11:34:54,833 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-23 11:34:54,833 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-23 11:34:54,833 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-23 11:34:54,833 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-23 11:34:54,834 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-23 11:34:54,834 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-23 11:34:54,834 INFO L131 ssoRankerPreferences]: Filename of dumped script: insertionsort-alloca_true-valid-memsafety_true-termination.i_Iteration2_Lasso [2018-11-23 11:34:54,834 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-23 11:34:54,834 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-23 11:34:54,851 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-23 11:34:54,857 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-23 11:34:54,859 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-23 11:34:54,861 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-23 11:34:54,865 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-23 11:34:54,868 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-23 11:34:55,034 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-23 11:34:55,045 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-23 11:34:55,047 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-23 11:34:55,049 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-23 11:34:55,051 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-23 11:34:55,299 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-23 11:34:55,304 INFO L497 LassoAnalysis]: Using template 'affine'. [2018-11-23 11:34:55,307 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-23 11:34:55,308 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,309 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:55,309 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,310 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,310 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,312 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:55,312 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:55,314 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,315 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-23 11:34:55,315 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,315 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:55,316 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,316 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,316 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,316 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:55,317 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:55,317 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,318 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-23 11:34:55,318 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,318 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:55,319 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,319 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,319 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,319 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:55,319 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:55,320 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,320 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-23 11:34:55,321 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,321 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,321 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,321 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,323 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-23 11:34:55,323 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-23 11:34:55,326 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,326 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-23 11:34:55,326 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,327 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:55,327 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,327 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,327 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,327 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:55,328 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:55,328 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,329 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-23 11:34:55,329 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,329 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:55,330 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,330 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,330 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,331 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:55,331 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:55,333 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,334 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-23 11:34:55,334 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,335 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,335 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,335 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,337 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-23 11:34:55,338 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-23 11:34:55,350 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,351 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-23 11:34:55,351 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,351 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,351 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,352 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,355 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-23 11:34:55,355 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-23 11:34:55,359 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,359 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-23 11:34:55,360 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,360 INFO L205 nArgumentSynthesizer]: 2 stem disjuncts [2018-11-23 11:34:55,360 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,360 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,365 INFO L402 nArgumentSynthesizer]: We have 8 Motzkin's Theorem applications. [2018-11-23 11:34:55,365 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-23 11:34:55,380 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,380 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-23 11:34:55,381 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,381 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:55,383 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,383 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,383 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,384 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:55,384 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:55,385 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:55,386 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-23 11:34:55,387 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:55,387 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:55,387 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:55,387 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:55,393 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-23 11:34:55,393 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-23 11:34:55,436 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-23 11:34:55,470 INFO L443 ModelExtractionUtils]: Simplification made 6 calls to the SMT solver. [2018-11-23 11:34:55,470 INFO L444 ModelExtractionUtils]: 31 out of 37 variables were initially zero. Simplification set additionally 3 variables to zero. [2018-11-23 11:34:55,472 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-23 11:34:55,477 INFO L440 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2018-11-23 11:34:55,478 INFO L518 LassoAnalysis]: Proved termination. [2018-11-23 11:34:55,478 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_insertionSort_~array_size, ULTIMATE.start_insertionSort_~i~0) = 1*ULTIMATE.start_insertionSort_~array_size - 1*ULTIMATE.start_insertionSort_~i~0 Supporting invariants [] [2018-11-23 11:34:55,510 INFO L297 tatePredicateManager]: 4 out of 4 supporting invariants were superfluous and have been removed [2018-11-23 11:34:55,529 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:55,547 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:55,549 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:55,559 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:55,560 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:55,571 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-23 11:34:55,573 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2018-11-23 11:34:55,574 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 11 states and 14 transitions. cyclomatic complexity: 4 Second operand 3 states. [2018-11-23 11:34:55,603 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 11 states and 14 transitions. cyclomatic complexity: 4. Second operand 3 states. Result 19 states and 25 transitions. Complement of second has 4 states. [2018-11-23 11:34:55,603 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 3 states 1 stem states 1 non-accepting loop states 1 accepting loop states [2018-11-23 11:34:55,604 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 11:34:55,605 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 14 transitions. [2018-11-23 11:34:55,606 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 14 transitions. Stem has 4 letters. Loop has 6 letters. [2018-11-23 11:34:55,607 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:55,607 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 14 transitions. Stem has 10 letters. Loop has 6 letters. [2018-11-23 11:34:55,608 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:55,608 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 14 transitions. Stem has 4 letters. Loop has 12 letters. [2018-11-23 11:34:55,608 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:55,609 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 19 states and 25 transitions. [2018-11-23 11:34:55,611 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2018-11-23 11:34:55,612 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 19 states to 17 states and 23 transitions. [2018-11-23 11:34:55,612 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 9 [2018-11-23 11:34:55,612 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 10 [2018-11-23 11:34:55,612 INFO L73 IsDeterministic]: Start isDeterministic. Operand 17 states and 23 transitions. [2018-11-23 11:34:55,613 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-23 11:34:55,613 INFO L705 BuchiCegarLoop]: Abstraction has 17 states and 23 transitions. [2018-11-23 11:34:55,613 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 17 states and 23 transitions. [2018-11-23 11:34:55,614 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 17 to 16. [2018-11-23 11:34:55,614 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 16 states. [2018-11-23 11:34:55,615 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 22 transitions. [2018-11-23 11:34:55,615 INFO L728 BuchiCegarLoop]: Abstraction has 16 states and 22 transitions. [2018-11-23 11:34:55,615 INFO L608 BuchiCegarLoop]: Abstraction has 16 states and 22 transitions. [2018-11-23 11:34:55,616 INFO L442 BuchiCegarLoop]: ======== Iteration 3============ [2018-11-23 11:34:55,616 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 16 states and 22 transitions. [2018-11-23 11:34:55,617 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2018-11-23 11:34:55,617 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-23 11:34:55,617 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-23 11:34:55,618 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2018-11-23 11:34:55,618 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2018-11-23 11:34:55,618 INFO L794 eck$LassoCheckResult]: Stem: 137#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 134#L-1 havoc main_#res;havoc main_#t~nondet8, main_#t~malloc9.base, main_#t~malloc9.offset, main_~array_size~0, main_~a~0.base, main_~a~0.offset;main_~array_size~0 := main_#t~nondet8;havoc main_#t~nondet8; 135#L553 assume !(main_~array_size~0 < 1 || main_~array_size~0 >= 536870911); 136#L553-2 call main_#t~malloc9.base, main_#t~malloc9.offset := #Ultimate.alloc(4 * main_~array_size~0);main_~a~0.base, main_~a~0.offset := main_#t~malloc9.base, main_#t~malloc9.offset;insertionSort_#in~a.base, insertionSort_#in~a.offset, insertionSort_#in~array_size := main_~a~0.base, main_~a~0.offset, main_~array_size~0;havoc insertionSort_#t~mem3, insertionSort_#t~mem7, insertionSort_#t~post4, insertionSort_#t~mem5, insertionSort_#t~short6, insertionSort_#t~pre2, insertionSort_~a.base, insertionSort_~a.offset, insertionSort_~array_size, insertionSort_~i~0, insertionSort_~j~0, insertionSort_~index~0;insertionSort_~a.base, insertionSort_~a.offset := insertionSort_#in~a.base, insertionSort_#in~a.offset;insertionSort_~array_size := insertionSort_#in~array_size;havoc insertionSort_~i~0;havoc insertionSort_~j~0;havoc insertionSort_~index~0;insertionSort_~i~0 := 1; 144#L543-3 assume !!(insertionSort_~i~0 < insertionSort_~array_size);call insertionSort_#t~mem3 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~i~0, 4);insertionSort_~index~0 := insertionSort_#t~mem3;havoc insertionSort_#t~mem3;insertionSort_~j~0 := insertionSort_~i~0; 139#L546-6 [2018-11-23 11:34:55,618 INFO L796 eck$LassoCheckResult]: Loop: 139#L546-6 insertionSort_#t~short6 := insertionSort_~j~0 > 0; 145#L546-1 assume insertionSort_#t~short6;call insertionSort_#t~mem5 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * (insertionSort_~j~0 - 1), 4);insertionSort_#t~short6 := insertionSort_#t~mem5 > insertionSort_~index~0; 147#L546-3 assume !!insertionSort_#t~short6;havoc insertionSort_#t~short6;havoc insertionSort_#t~mem5;call insertionSort_#t~mem7 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * (insertionSort_~j~0 - 1), 4);call write~int(insertionSort_#t~mem7, insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~j~0, 4);havoc insertionSort_#t~mem7; 138#L546-5 insertionSort_#t~post4 := insertionSort_~j~0;insertionSort_~j~0 := insertionSort_#t~post4 - 1;havoc insertionSort_#t~post4; 139#L546-6 [2018-11-23 11:34:55,618 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:55,619 INFO L82 PathProgramCache]: Analyzing trace with hash 28695756, now seen corresponding path program 1 times [2018-11-23 11:34:55,619 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:55,619 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:55,619 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:55,620 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:34:55,620 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:55,624 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:55,630 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:55,633 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:55,633 INFO L82 PathProgramCache]: Analyzing trace with hash 1573222, now seen corresponding path program 1 times [2018-11-23 11:34:55,633 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:55,634 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:55,634 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:55,635 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:34:55,635 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:55,639 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:55,643 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:55,645 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:55,645 INFO L82 PathProgramCache]: Analyzing trace with hash 1185710257, now seen corresponding path program 1 times [2018-11-23 11:34:55,645 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:55,645 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:55,646 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:55,646 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:34:55,647 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:55,657 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:55,665 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:55,889 WARN L180 SmtUtils]: Spent 113.00 ms on a formula simplification. DAG size of input: 67 DAG size of output: 61 [2018-11-23 11:34:55,956 INFO L216 LassoAnalysis]: Preferences: [2018-11-23 11:34:55,956 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-23 11:34:55,957 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-23 11:34:55,957 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-23 11:34:55,957 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-23 11:34:55,957 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-23 11:34:55,957 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-23 11:34:55,957 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-23 11:34:55,957 INFO L131 ssoRankerPreferences]: Filename of dumped script: insertionsort-alloca_true-valid-memsafety_true-termination.i_Iteration3_Lasso [2018-11-23 11:34:55,957 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-23 11:34:55,957 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-23 11:34:55,960 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-23 11:34:56,110 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-23 11:34:56,112 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-23 11:34:56,114 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-23 11:34:56,116 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-23 11:34:56,119 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-23 11:34:56,122 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-23 11:34:56,124 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-23 11:34:56,126 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-23 11:34:56,128 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-23 11:34:56,131 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-23 11:34:56,349 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-23 11:34:56,349 INFO L497 LassoAnalysis]: Using template 'affine'. [2018-11-23 11:34:56,349 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-23 11:34:56,350 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:56,350 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:56,351 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:56,351 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:56,356 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-23 11:34:56,357 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-23 11:34:56,384 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-23 11:34:56,401 INFO L443 ModelExtractionUtils]: Simplification made 4 calls to the SMT solver. [2018-11-23 11:34:56,401 INFO L444 ModelExtractionUtils]: 31 out of 37 variables were initially zero. Simplification set additionally 4 variables to zero. [2018-11-23 11:34:56,402 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-23 11:34:56,403 INFO L440 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2018-11-23 11:34:56,403 INFO L518 LassoAnalysis]: Proved termination. [2018-11-23 11:34:56,403 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_insertionSort_~j~0) = 1*ULTIMATE.start_insertionSort_~j~0 Supporting invariants [] [2018-11-23 11:34:56,428 INFO L297 tatePredicateManager]: 4 out of 4 supporting invariants were superfluous and have been removed [2018-11-23 11:34:56,437 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:56,444 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:56,445 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:56,452 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:56,453 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:56,481 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-23 11:34:56,481 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-23 11:34:56,481 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 16 states and 22 transitions. cyclomatic complexity: 8 Second operand 4 states. [2018-11-23 11:34:56,518 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 16 states and 22 transitions. cyclomatic complexity: 8. Second operand 4 states. Result 47 states and 62 transitions. Complement of second has 9 states. [2018-11-23 11:34:56,519 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 3 non-accepting loop states 1 accepting loop states [2018-11-23 11:34:56,519 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 11:34:56,520 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 18 transitions. [2018-11-23 11:34:56,520 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 18 transitions. Stem has 5 letters. Loop has 4 letters. [2018-11-23 11:34:56,520 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:56,520 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 18 transitions. Stem has 9 letters. Loop has 4 letters. [2018-11-23 11:34:56,520 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:56,520 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 18 transitions. Stem has 5 letters. Loop has 8 letters. [2018-11-23 11:34:56,521 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:56,521 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 47 states and 62 transitions. [2018-11-23 11:34:56,522 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2018-11-23 11:34:56,524 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 47 states to 30 states and 40 transitions. [2018-11-23 11:34:56,524 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 9 [2018-11-23 11:34:56,525 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 9 [2018-11-23 11:34:56,525 INFO L73 IsDeterministic]: Start isDeterministic. Operand 30 states and 40 transitions. [2018-11-23 11:34:56,525 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-23 11:34:56,525 INFO L705 BuchiCegarLoop]: Abstraction has 30 states and 40 transitions. [2018-11-23 11:34:56,525 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states and 40 transitions. [2018-11-23 11:34:56,527 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 22. [2018-11-23 11:34:56,527 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 22 states. [2018-11-23 11:34:56,528 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 22 states and 30 transitions. [2018-11-23 11:34:56,528 INFO L728 BuchiCegarLoop]: Abstraction has 22 states and 30 transitions. [2018-11-23 11:34:56,528 INFO L608 BuchiCegarLoop]: Abstraction has 22 states and 30 transitions. [2018-11-23 11:34:56,528 INFO L442 BuchiCegarLoop]: ======== Iteration 4============ [2018-11-23 11:34:56,528 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 22 states and 30 transitions. [2018-11-23 11:34:56,528 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2018-11-23 11:34:56,529 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-23 11:34:56,529 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-23 11:34:56,529 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:34:56,529 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2018-11-23 11:34:56,529 INFO L794 eck$LassoCheckResult]: Stem: 271#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 268#L-1 havoc main_#res;havoc main_#t~nondet8, main_#t~malloc9.base, main_#t~malloc9.offset, main_~array_size~0, main_~a~0.base, main_~a~0.offset;main_~array_size~0 := main_#t~nondet8;havoc main_#t~nondet8; 269#L553 assume !(main_~array_size~0 < 1 || main_~array_size~0 >= 536870911); 270#L553-2 call main_#t~malloc9.base, main_#t~malloc9.offset := #Ultimate.alloc(4 * main_~array_size~0);main_~a~0.base, main_~a~0.offset := main_#t~malloc9.base, main_#t~malloc9.offset;insertionSort_#in~a.base, insertionSort_#in~a.offset, insertionSort_#in~array_size := main_~a~0.base, main_~a~0.offset, main_~array_size~0;havoc insertionSort_#t~mem3, insertionSort_#t~mem7, insertionSort_#t~post4, insertionSort_#t~mem5, insertionSort_#t~short6, insertionSort_#t~pre2, insertionSort_~a.base, insertionSort_~a.offset, insertionSort_~array_size, insertionSort_~i~0, insertionSort_~j~0, insertionSort_~index~0;insertionSort_~a.base, insertionSort_~a.offset := insertionSort_#in~a.base, insertionSort_#in~a.offset;insertionSort_~array_size := insertionSort_#in~array_size;havoc insertionSort_~i~0;havoc insertionSort_~j~0;havoc insertionSort_~index~0;insertionSort_~i~0 := 1; 278#L543-3 assume !!(insertionSort_~i~0 < insertionSort_~array_size);call insertionSort_#t~mem3 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~i~0, 4);insertionSort_~index~0 := insertionSort_#t~mem3;havoc insertionSort_#t~mem3;insertionSort_~j~0 := insertionSort_~i~0; 275#L546-6 insertionSort_#t~short6 := insertionSort_~j~0 > 0; 283#L546-1 assume !insertionSort_#t~short6; 284#L546-3 assume !insertionSort_#t~short6;havoc insertionSort_#t~short6;havoc insertionSort_#t~mem5; 285#L546-7 call write~int(insertionSort_~index~0, insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~j~0, 4); 276#L543-2 insertionSort_#t~pre2 := 1 + insertionSort_~i~0;insertionSort_~i~0 := 1 + insertionSort_~i~0;havoc insertionSort_#t~pre2; 277#L543-3 assume !!(insertionSort_~i~0 < insertionSort_~array_size);call insertionSort_#t~mem3 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~i~0, 4);insertionSort_~index~0 := insertionSort_#t~mem3;havoc insertionSort_#t~mem3;insertionSort_~j~0 := insertionSort_~i~0; 273#L546-6 [2018-11-23 11:34:56,529 INFO L796 eck$LassoCheckResult]: Loop: 273#L546-6 insertionSort_#t~short6 := insertionSort_~j~0 > 0; 279#L546-1 assume insertionSort_#t~short6;call insertionSort_#t~mem5 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * (insertionSort_~j~0 - 1), 4);insertionSort_#t~short6 := insertionSort_#t~mem5 > insertionSort_~index~0; 282#L546-3 assume !!insertionSort_#t~short6;havoc insertionSort_#t~short6;havoc insertionSort_#t~mem5;call insertionSort_#t~mem7 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * (insertionSort_~j~0 - 1), 4);call write~int(insertionSort_#t~mem7, insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~j~0, 4);havoc insertionSort_#t~mem7; 272#L546-5 insertionSort_#t~post4 := insertionSort_~j~0;insertionSort_~j~0 := insertionSort_#t~post4 - 1;havoc insertionSort_#t~post4; 273#L546-6 [2018-11-23 11:34:56,530 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:56,530 INFO L82 PathProgramCache]: Analyzing trace with hash 1303016098, now seen corresponding path program 1 times [2018-11-23 11:34:56,530 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:56,530 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:56,530 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,531 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:34:56,531 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,539 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:56,583 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:34:56,584 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:34:56,584 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-11-23 11:34:56,584 INFO L799 eck$LassoCheckResult]: stem already infeasible [2018-11-23 11:34:56,584 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:56,584 INFO L82 PathProgramCache]: Analyzing trace with hash 1573222, now seen corresponding path program 2 times [2018-11-23 11:34:56,584 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:56,584 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:56,585 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,585 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:34:56,585 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,587 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:56,590 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:56,668 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 11:34:56,668 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-11-23 11:34:56,668 INFO L87 Difference]: Start difference. First operand 22 states and 30 transitions. cyclomatic complexity: 11 Second operand 5 states. [2018-11-23 11:34:56,725 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:34:56,725 INFO L93 Difference]: Finished difference Result 33 states and 43 transitions. [2018-11-23 11:34:56,726 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-11-23 11:34:56,726 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 33 states and 43 transitions. [2018-11-23 11:34:56,727 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2018-11-23 11:34:56,728 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 33 states to 33 states and 43 transitions. [2018-11-23 11:34:56,728 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 9 [2018-11-23 11:34:56,728 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 9 [2018-11-23 11:34:56,728 INFO L73 IsDeterministic]: Start isDeterministic. Operand 33 states and 43 transitions. [2018-11-23 11:34:56,728 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-23 11:34:56,729 INFO L705 BuchiCegarLoop]: Abstraction has 33 states and 43 transitions. [2018-11-23 11:34:56,729 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states and 43 transitions. [2018-11-23 11:34:56,733 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 25. [2018-11-23 11:34:56,733 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 25 states. [2018-11-23 11:34:56,733 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 25 states and 34 transitions. [2018-11-23 11:34:56,734 INFO L728 BuchiCegarLoop]: Abstraction has 25 states and 34 transitions. [2018-11-23 11:34:56,734 INFO L608 BuchiCegarLoop]: Abstraction has 25 states and 34 transitions. [2018-11-23 11:34:56,734 INFO L442 BuchiCegarLoop]: ======== Iteration 5============ [2018-11-23 11:34:56,734 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 25 states and 34 transitions. [2018-11-23 11:34:56,736 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2018-11-23 11:34:56,736 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-23 11:34:56,736 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-23 11:34:56,736 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:34:56,736 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2018-11-23 11:34:56,737 INFO L794 eck$LassoCheckResult]: Stem: 338#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 335#L-1 havoc main_#res;havoc main_#t~nondet8, main_#t~malloc9.base, main_#t~malloc9.offset, main_~array_size~0, main_~a~0.base, main_~a~0.offset;main_~array_size~0 := main_#t~nondet8;havoc main_#t~nondet8; 336#L553 assume !(main_~array_size~0 < 1 || main_~array_size~0 >= 536870911); 337#L553-2 call main_#t~malloc9.base, main_#t~malloc9.offset := #Ultimate.alloc(4 * main_~array_size~0);main_~a~0.base, main_~a~0.offset := main_#t~malloc9.base, main_#t~malloc9.offset;insertionSort_#in~a.base, insertionSort_#in~a.offset, insertionSort_#in~array_size := main_~a~0.base, main_~a~0.offset, main_~array_size~0;havoc insertionSort_#t~mem3, insertionSort_#t~mem7, insertionSort_#t~post4, insertionSort_#t~mem5, insertionSort_#t~short6, insertionSort_#t~pre2, insertionSort_~a.base, insertionSort_~a.offset, insertionSort_~array_size, insertionSort_~i~0, insertionSort_~j~0, insertionSort_~index~0;insertionSort_~a.base, insertionSort_~a.offset := insertionSort_#in~a.base, insertionSort_#in~a.offset;insertionSort_~array_size := insertionSort_#in~array_size;havoc insertionSort_~i~0;havoc insertionSort_~j~0;havoc insertionSort_~index~0;insertionSort_~i~0 := 1; 345#L543-3 assume !!(insertionSort_~i~0 < insertionSort_~array_size);call insertionSort_#t~mem3 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~i~0, 4);insertionSort_~index~0 := insertionSort_#t~mem3;havoc insertionSort_#t~mem3;insertionSort_~j~0 := insertionSort_~i~0; 347#L546-6 insertionSort_#t~short6 := insertionSort_~j~0 > 0; 349#L546-1 assume insertionSort_#t~short6;call insertionSort_#t~mem5 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * (insertionSort_~j~0 - 1), 4);insertionSort_#t~short6 := insertionSort_#t~mem5 > insertionSort_~index~0; 352#L546-3 assume !insertionSort_#t~short6;havoc insertionSort_#t~short6;havoc insertionSort_#t~mem5; 353#L546-7 call write~int(insertionSort_~index~0, insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~j~0, 4); 343#L543-2 insertionSort_#t~pre2 := 1 + insertionSort_~i~0;insertionSort_~i~0 := 1 + insertionSort_~i~0;havoc insertionSort_#t~pre2; 344#L543-3 assume !!(insertionSort_~i~0 < insertionSort_~array_size);call insertionSort_#t~mem3 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~i~0, 4);insertionSort_~index~0 := insertionSort_#t~mem3;havoc insertionSort_#t~mem3;insertionSort_~j~0 := insertionSort_~i~0; 340#L546-6 [2018-11-23 11:34:56,737 INFO L796 eck$LassoCheckResult]: Loop: 340#L546-6 insertionSort_#t~short6 := insertionSort_~j~0 > 0; 346#L546-1 assume insertionSort_#t~short6;call insertionSort_#t~mem5 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * (insertionSort_~j~0 - 1), 4);insertionSort_#t~short6 := insertionSort_#t~mem5 > insertionSort_~index~0; 351#L546-3 assume !!insertionSort_#t~short6;havoc insertionSort_#t~short6;havoc insertionSort_#t~mem5;call insertionSort_#t~mem7 := read~int(insertionSort_~a.base, insertionSort_~a.offset + 4 * (insertionSort_~j~0 - 1), 4);call write~int(insertionSort_#t~mem7, insertionSort_~a.base, insertionSort_~a.offset + 4 * insertionSort_~j~0, 4);havoc insertionSort_#t~mem7; 339#L546-5 insertionSort_#t~post4 := insertionSort_~j~0;insertionSort_~j~0 := insertionSort_#t~post4 - 1;havoc insertionSort_#t~post4; 340#L546-6 [2018-11-23 11:34:56,737 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:56,737 INFO L82 PathProgramCache]: Analyzing trace with hash 1301169056, now seen corresponding path program 2 times [2018-11-23 11:34:56,737 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:56,737 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:56,738 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,738 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 11:34:56,738 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,746 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:56,753 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:56,756 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:56,756 INFO L82 PathProgramCache]: Analyzing trace with hash 1573222, now seen corresponding path program 3 times [2018-11-23 11:34:56,756 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:56,756 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:56,757 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,757 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 11:34:56,757 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,759 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:56,762 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:56,763 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:56,763 INFO L82 PathProgramCache]: Analyzing trace with hash -1886560891, now seen corresponding path program 1 times [2018-11-23 11:34:56,763 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 11:34:56,764 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 11:34:56,764 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,764 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 11:34:56,764 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 11:34:56,774 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:56,783 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:34:57,015 WARN L180 SmtUtils]: Spent 164.00 ms on a formula simplification. DAG size of input: 113 DAG size of output: 88 [2018-11-23 11:34:57,064 INFO L216 LassoAnalysis]: Preferences: [2018-11-23 11:34:57,064 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-23 11:34:57,065 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-23 11:34:57,065 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-23 11:34:57,065 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-23 11:34:57,065 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-23 11:34:57,065 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-23 11:34:57,065 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-23 11:34:57,065 INFO L131 ssoRankerPreferences]: Filename of dumped script: insertionsort-alloca_true-valid-memsafety_true-termination.i_Iteration5_Lasso [2018-11-23 11:34:57,065 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-23 11:34:57,065 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-23 11:34:57,068 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-23 11:34:57,078 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-23 11:34:57,082 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-23 11:34:57,083 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-23 11:34:57,086 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-23 11:34:57,243 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-23 11:34:57,245 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-23 11:34:57,246 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-23 11:34:57,247 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-23 11:34:57,250 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-23 11:34:57,251 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-23 11:34:57,431 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-23 11:34:57,431 INFO L497 LassoAnalysis]: Using template 'affine'. [2018-11-23 11:34:57,431 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-23 11:34:57,432 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:57,432 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:57,432 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:57,432 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:57,432 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:57,435 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:57,436 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:57,436 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:57,437 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-23 11:34:57,437 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:57,437 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:57,437 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:57,437 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:57,437 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:57,438 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:57,438 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:57,438 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:57,439 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-23 11:34:57,439 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:57,439 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:57,439 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:57,439 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:57,439 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:57,440 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:57,440 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:57,440 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:57,441 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-23 11:34:57,441 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:57,441 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:57,441 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:57,441 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:57,442 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-23 11:34:57,442 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-23 11:34:57,443 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:57,444 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-23 11:34:57,444 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:57,444 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-23 11:34:57,444 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:57,444 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:57,444 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:57,445 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-23 11:34:57,445 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-23 11:34:57,447 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:57,448 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-23 11:34:57,448 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:57,448 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:57,448 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:57,448 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:57,449 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-23 11:34:57,449 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-23 11:34:57,452 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-23 11:34:57,452 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-23 11:34:57,452 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-23 11:34:57,453 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-23 11:34:57,453 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-23 11:34:57,453 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-23 11:34:57,455 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-23 11:34:57,455 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-23 11:34:57,466 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-23 11:34:57,479 INFO L443 ModelExtractionUtils]: Simplification made 6 calls to the SMT solver. [2018-11-23 11:34:57,479 INFO L444 ModelExtractionUtils]: 31 out of 37 variables were initially zero. Simplification set additionally 4 variables to zero. [2018-11-23 11:34:57,479 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-23 11:34:57,480 INFO L440 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2018-11-23 11:34:57,480 INFO L518 LassoAnalysis]: Proved termination. [2018-11-23 11:34:57,480 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_insertionSort_~j~0) = 1*ULTIMATE.start_insertionSort_~j~0 Supporting invariants [] [2018-11-23 11:34:57,497 INFO L297 tatePredicateManager]: 7 out of 7 supporting invariants were superfluous and have been removed [2018-11-23 11:34:57,506 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:57,515 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:57,516 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:57,522 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:57,523 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:57,548 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-23 11:34:57,549 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-23 11:34:57,549 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 25 states and 34 transitions. cyclomatic complexity: 12 Second operand 4 states. [2018-11-23 11:34:57,581 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 25 states and 34 transitions. cyclomatic complexity: 12. Second operand 4 states. Result 48 states and 62 transitions. Complement of second has 9 states. [2018-11-23 11:34:57,582 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 3 non-accepting loop states 1 accepting loop states [2018-11-23 11:34:57,582 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 11:34:57,582 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 18 transitions. [2018-11-23 11:34:57,583 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 18 transitions. Stem has 11 letters. Loop has 4 letters. [2018-11-23 11:34:57,583 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:57,583 INFO L642 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2018-11-23 11:34:57,594 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:57,604 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:57,605 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:57,611 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:57,612 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:57,632 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-23 11:34:57,633 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and with honda bouncer for loop.1 stem predicates 3 loop predicates [2018-11-23 11:34:57,633 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 25 states and 34 transitions. cyclomatic complexity: 12 Second operand 4 states. [2018-11-23 11:34:57,665 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 25 states and 34 transitions. cyclomatic complexity: 12. Second operand 4 states. Result 48 states and 62 transitions. Complement of second has 9 states. [2018-11-23 11:34:57,666 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 3 non-accepting loop states 1 accepting loop states [2018-11-23 11:34:57,666 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 11:34:57,667 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 18 transitions. [2018-11-23 11:34:57,667 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 18 transitions. Stem has 11 letters. Loop has 4 letters. [2018-11-23 11:34:57,667 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:57,667 INFO L642 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2018-11-23 11:34:57,677 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:34:57,686 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:57,687 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:57,692 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:34:57,693 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:34:57,712 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-23 11:34:57,712 INFO L152 lantAutomatonBouncer]: Defining Buchi interpolant automaton with scrooge nondeterminism in stemwith honda bouncer for stem and without honda bouncer for loop.1 stem predicates 3 loop predicates [2018-11-23 11:34:57,712 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 25 states and 34 transitions. cyclomatic complexity: 12 Second operand 4 states. [2018-11-23 11:34:57,746 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 25 states and 34 transitions. cyclomatic complexity: 12. Second operand 4 states. Result 56 states and 75 transitions. Complement of second has 8 states. [2018-11-23 11:34:57,747 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 3 non-accepting loop states 1 accepting loop states [2018-11-23 11:34:57,747 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-23 11:34:57,748 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 27 transitions. [2018-11-23 11:34:57,748 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 27 transitions. Stem has 11 letters. Loop has 4 letters. [2018-11-23 11:34:57,748 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:57,748 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 27 transitions. Stem has 15 letters. Loop has 4 letters. [2018-11-23 11:34:57,748 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:57,749 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 27 transitions. Stem has 11 letters. Loop has 8 letters. [2018-11-23 11:34:57,749 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-23 11:34:57,749 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 56 states and 75 transitions. [2018-11-23 11:34:57,751 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2018-11-23 11:34:57,751 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 56 states to 0 states and 0 transitions. [2018-11-23 11:34:57,751 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2018-11-23 11:34:57,751 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2018-11-23 11:34:57,752 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2018-11-23 11:34:57,752 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2018-11-23 11:34:57,752 INFO L705 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-23 11:34:57,752 INFO L728 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-23 11:34:57,752 INFO L608 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-23 11:34:57,752 INFO L442 BuchiCegarLoop]: ======== Iteration 6============ [2018-11-23 11:34:57,752 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2018-11-23 11:34:57,752 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2018-11-23 11:34:57,752 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2018-11-23 11:34:57,759 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 23.11 11:34:57 BoogieIcfgContainer [2018-11-23 11:34:57,759 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2018-11-23 11:34:57,759 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:34:57,759 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:34:57,760 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:34:57,760 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:34:54" (3/4) ... [2018-11-23 11:34:57,764 INFO L147 WitnessPrinter]: No result that supports witness generation found [2018-11-23 11:34:57,764 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:34:57,765 INFO L168 Benchmark]: Toolchain (without parser) took 4273.96 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 194.0 MB). Free memory was 955.5 MB in the beginning and 1.1 GB in the end (delta: -105.1 MB). Peak memory consumption was 88.9 MB. Max. memory is 11.5 GB. [2018-11-23 11:34:57,766 INFO L168 Benchmark]: CDTParser took 0.19 ms. Allocated memory is still 1.0 GB. Free memory is still 985.6 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 11:34:57,766 INFO L168 Benchmark]: CACSL2BoogieTranslator took 397.47 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 143.1 MB). Free memory was 955.5 MB in the beginning and 1.1 GB in the end (delta: -176.2 MB). Peak memory consumption was 29.4 MB. Max. memory is 11.5 GB. [2018-11-23 11:34:57,766 INFO L168 Benchmark]: Boogie Procedure Inliner took 34.26 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 11:34:57,767 INFO L168 Benchmark]: Boogie Preprocessor took 18.60 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. [2018-11-23 11:34:57,767 INFO L168 Benchmark]: RCFGBuilder took 221.01 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 19.7 MB). Peak memory consumption was 19.7 MB. Max. memory is 11.5 GB. [2018-11-23 11:34:57,768 INFO L168 Benchmark]: BuchiAutomizer took 3594.11 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 50.9 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 48.8 MB). Peak memory consumption was 99.6 MB. Max. memory is 11.5 GB. [2018-11-23 11:34:57,768 INFO L168 Benchmark]: Witness Printer took 4.57 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 11:34:57,772 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.19 ms. Allocated memory is still 1.0 GB. Free memory is still 985.6 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 397.47 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 143.1 MB). Free memory was 955.5 MB in the beginning and 1.1 GB in the end (delta: -176.2 MB). Peak memory consumption was 29.4 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 34.26 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 18.60 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. * RCFGBuilder took 221.01 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 19.7 MB). Peak memory consumption was 19.7 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 3594.11 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 50.9 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 48.8 MB). Peak memory consumption was 99.6 MB. Max. memory is 11.5 GB. * Witness Printer took 4.57 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. 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 5 terminating modules (2 trivial, 2 deterministic, 1 nondeterministic). One deterministic module has affine ranking function array_size + -1 * i and consists of 3 locations. One deterministic module has affine ranking function j and consists of 5 locations. One nondeterministic module has affine ranking function j and consists of 5 locations. 2 modules have a trivial ranking function, the largest among these consists of 5 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.5s and 6 iterations. TraceHistogramMax:2. Analysis of lassos took 2.9s. Construction of modules took 0.1s. Büchi inclusion checks took 0.4s. Highest rank in rank-based complementation 3. Minimization of det autom 2. Minimization of nondet autom 3. Automata minimization 0.0s AutomataMinimizationTime, 4 MinimizatonAttempts, 17 StatesRemovedByMinimization, 3 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 25 states and ocurred in iteration 4. Nontrivial modules had stage [2, 0, 1, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 82 SDtfs, 116 SDslu, 43 SDs, 0 SdLazy, 130 SolverSat, 34 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time LassoAnalysisResults: nont0 unkn0 SFLI1 SFLT0 conc0 concLT0 SILN0 SILU1 SILI0 SILT0 lasso3 LassoPreprocessingBenchmarks: Lassos: inital167 mio100 ax100 hnf99 lsp96 ukn76 mio100 lsp66 div100 bol100 ite100 ukn100 eq177 hnf85 smp100 dnf100 smp100 tf100 neg100 sie103 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 20ms VariablesStem: 4 VariablesLoop: 2 DisjunctsStem: 2 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 8 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Termination proven Buchi Automizer proved that your program is terminating RESULT: Ultimate proved your program to be correct! Received shutdown request...