./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/array-memsafety/cstrncat-alloca-2.i --full-output -ea --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 03d7b7b3 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -ea -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/array-memsafety/cstrncat-alloca-2.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash d8697c629a22dee8b5a51c26261db89d3e1115a5e0c1bc03fd54c09ffc3b9b0d --- Real Ultimate output --- This is Ultimate 0.2.2-dev-03d7b7b [2022-02-20 23:39:18,050 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-02-20 23:39:18,052 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-02-20 23:39:18,088 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-02-20 23:39:18,089 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-02-20 23:39:18,091 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-02-20 23:39:18,092 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-02-20 23:39:18,094 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-02-20 23:39:18,096 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-02-20 23:39:18,099 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-02-20 23:39:18,099 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-02-20 23:39:18,100 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-02-20 23:39:18,100 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-02-20 23:39:18,102 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-02-20 23:39:18,102 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-02-20 23:39:18,103 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-02-20 23:39:18,105 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-02-20 23:39:18,106 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-02-20 23:39:18,107 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-02-20 23:39:18,109 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-02-20 23:39:18,111 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-02-20 23:39:18,112 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-02-20 23:39:18,113 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-02-20 23:39:18,114 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-02-20 23:39:18,116 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-02-20 23:39:18,117 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-02-20 23:39:18,117 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-02-20 23:39:18,118 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-02-20 23:39:18,119 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-02-20 23:39:18,119 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-02-20 23:39:18,119 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-02-20 23:39:18,120 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-02-20 23:39:18,120 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-02-20 23:39:18,121 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-02-20 23:39:18,121 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-02-20 23:39:18,122 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-02-20 23:39:18,123 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-02-20 23:39:18,123 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-02-20 23:39:18,123 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-02-20 23:39:18,124 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-02-20 23:39:18,124 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-02-20 23:39:18,125 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2022-02-20 23:39:18,143 INFO L113 SettingsManager]: Loading preferences was successful [2022-02-20 23:39:18,144 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-02-20 23:39:18,145 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-02-20 23:39:18,145 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-02-20 23:39:18,145 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-02-20 23:39:18,145 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-02-20 23:39:18,146 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-02-20 23:39:18,146 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-02-20 23:39:18,146 INFO L138 SettingsManager]: * Use SBE=true [2022-02-20 23:39:18,146 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-02-20 23:39:18,156 INFO L138 SettingsManager]: * sizeof long=4 [2022-02-20 23:39:18,157 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-02-20 23:39:18,157 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-02-20 23:39:18,157 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-02-20 23:39:18,157 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-02-20 23:39:18,157 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-02-20 23:39:18,157 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-02-20 23:39:18,158 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-02-20 23:39:18,158 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-02-20 23:39:18,158 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-02-20 23:39:18,158 INFO L138 SettingsManager]: * sizeof long double=12 [2022-02-20 23:39:18,158 INFO L138 SettingsManager]: * Use constant arrays=true [2022-02-20 23:39:18,158 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-02-20 23:39:18,158 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-02-20 23:39:18,159 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-02-20 23:39:18,159 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-02-20 23:39:18,159 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-02-20 23:39:18,159 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-02-20 23:39:18,159 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-02-20 23:39:18,159 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-02-20 23:39:18,160 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux 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(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> d8697c629a22dee8b5a51c26261db89d3e1115a5e0c1bc03fd54c09ffc3b9b0d [2022-02-20 23:39:18,329 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-02-20 23:39:18,353 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-02-20 23:39:18,355 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-02-20 23:39:18,356 INFO L271 PluginConnector]: Initializing CDTParser... [2022-02-20 23:39:18,356 INFO L275 PluginConnector]: CDTParser initialized [2022-02-20 23:39:18,357 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety/cstrncat-alloca-2.i [2022-02-20 23:39:18,424 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/93cbd7e7e/d08cb23082b64afb9e39707d3ad18a3e/FLAG8f1170ba9 [2022-02-20 23:39:18,852 INFO L306 CDTParser]: Found 1 translation units. [2022-02-20 23:39:18,854 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/cstrncat-alloca-2.i [2022-02-20 23:39:18,866 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/93cbd7e7e/d08cb23082b64afb9e39707d3ad18a3e/FLAG8f1170ba9 [2022-02-20 23:39:18,874 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/93cbd7e7e/d08cb23082b64afb9e39707d3ad18a3e [2022-02-20 23:39:18,876 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-02-20 23:39:18,877 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-02-20 23:39:18,878 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-02-20 23:39:18,878 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-02-20 23:39:18,881 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-02-20 23:39:18,881 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.02 11:39:18" (1/1) ... [2022-02-20 23:39:18,883 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2654d466 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:18, skipping insertion in model container [2022-02-20 23:39:18,883 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.02 11:39:18" (1/1) ... [2022-02-20 23:39:18,888 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-02-20 23:39:18,908 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-02-20 23:39:19,159 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-02-20 23:39:19,166 INFO L203 MainTranslator]: Completed pre-run [2022-02-20 23:39:19,197 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-02-20 23:39:19,214 INFO L208 MainTranslator]: Completed translation [2022-02-20 23:39:19,214 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19 WrapperNode [2022-02-20 23:39:19,214 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-02-20 23:39:19,215 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-02-20 23:39:19,215 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-02-20 23:39:19,215 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-02-20 23:39:19,220 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,245 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,280 INFO L137 Inliner]: procedures = 117, calls = 18, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 107 [2022-02-20 23:39:19,280 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-02-20 23:39:19,281 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-02-20 23:39:19,281 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-02-20 23:39:19,282 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-02-20 23:39:19,287 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,287 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,297 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,305 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,310 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,321 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,322 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,326 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-02-20 23:39:19,339 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-02-20 23:39:19,340 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-02-20 23:39:19,340 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-02-20 23:39:19,341 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (1/1) ... [2022-02-20 23:39:19,347 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-02-20 23:39:19,355 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:19,376 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-02-20 23:39:19,379 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-02-20 23:39:19,411 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-02-20 23:39:19,412 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-02-20 23:39:19,412 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-02-20 23:39:19,413 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-02-20 23:39:19,413 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-02-20 23:39:19,414 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-02-20 23:39:19,524 INFO L234 CfgBuilder]: Building ICFG [2022-02-20 23:39:19,525 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-02-20 23:39:19,925 INFO L275 CfgBuilder]: Performing block encoding [2022-02-20 23:39:19,930 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-02-20 23:39:19,931 INFO L299 CfgBuilder]: Removed 4 assume(true) statements. [2022-02-20 23:39:19,932 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.02 11:39:19 BoogieIcfgContainer [2022-02-20 23:39:19,944 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-02-20 23:39:19,945 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-02-20 23:39:19,945 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-02-20 23:39:19,947 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-02-20 23:39:19,949 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 20.02 11:39:18" (1/3) ... [2022-02-20 23:39:19,950 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@741351a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.02 11:39:19, skipping insertion in model container [2022-02-20 23:39:19,950 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.02 11:39:19" (2/3) ... [2022-02-20 23:39:19,950 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@741351a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.02 11:39:19, skipping insertion in model container [2022-02-20 23:39:19,951 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.02 11:39:19" (3/3) ... [2022-02-20 23:39:19,952 INFO L111 eAbstractionObserver]: Analyzing ICFG cstrncat-alloca-2.i [2022-02-20 23:39:19,957 INFO L205 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-02-20 23:39:19,958 INFO L164 ceAbstractionStarter]: Applying trace abstraction to program that has 19 error locations. [2022-02-20 23:39:19,997 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-02-20 23:39:20,001 INFO L339 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mLoopAccelerationTechnique=FAST_UPR [2022-02-20 23:39:20,001 INFO L340 AbstractCegarLoop]: Starting to check reachability of 19 error locations. [2022-02-20 23:39:20,014 INFO L276 IsEmpty]: Start isEmpty. Operand has 53 states, 33 states have (on average 2.0) internal successors, (66), 52 states have internal predecessors, (66), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,018 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2022-02-20 23:39:20,018 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:20,019 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:20,019 INFO L402 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr18ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:20,024 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:20,024 INFO L85 PathProgramCache]: Analyzing trace with hash 1805031117, now seen corresponding path program 1 times [2022-02-20 23:39:20,032 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:20,032 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [94816351] [2022-02-20 23:39:20,032 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:20,033 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:20,124 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:20,185 INFO L290 TraceCheckUtils]: 0: Hoare triple {56#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {56#true} is VALID [2022-02-20 23:39:20,187 INFO L290 TraceCheckUtils]: 1: Hoare triple {56#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:20,187 INFO L290 TraceCheckUtils]: 2: Hoare triple {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume main_~length1~0#1 < 1;main_~length1~0#1 := 1; {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:20,188 INFO L290 TraceCheckUtils]: 3: Hoare triple {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:20,189 INFO L290 TraceCheckUtils]: 4: Hoare triple {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:20,190 INFO L290 TraceCheckUtils]: 5: Hoare triple {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1;main_#res#1 := 0; {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:20,191 INFO L290 TraceCheckUtils]: 6: Hoare triple {58#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume !(#valid == main_old_#valid#1); {57#false} is VALID [2022-02-20 23:39:20,191 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:20,192 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:20,192 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [94816351] [2022-02-20 23:39:20,192 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [94816351] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:20,193 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:20,193 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-02-20 23:39:20,196 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [974214886] [2022-02-20 23:39:20,196 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:20,200 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 3.5) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 7 [2022-02-20 23:39:20,202 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:20,204 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 3 states, 2 states have (on average 3.5) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,216 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 7 edges. 7 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:20,216 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-02-20 23:39:20,217 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:20,233 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-02-20 23:39:20,234 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-02-20 23:39:20,237 INFO L87 Difference]: Start difference. First operand has 53 states, 33 states have (on average 2.0) internal successors, (66), 52 states have internal predecessors, (66), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 3 states, 2 states have (on average 3.5) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,364 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:20,364 INFO L93 Difference]: Finished difference Result 54 states and 63 transitions. [2022-02-20 23:39:20,365 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-02-20 23:39:20,365 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 3.5) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 7 [2022-02-20 23:39:20,366 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:20,367 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 2 states have (on average 3.5) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,376 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 68 transitions. [2022-02-20 23:39:20,377 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 2 states have (on average 3.5) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,378 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 68 transitions. [2022-02-20 23:39:20,378 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 68 transitions. [2022-02-20 23:39:20,435 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 68 edges. 68 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:20,445 INFO L225 Difference]: With dead ends: 54 [2022-02-20 23:39:20,445 INFO L226 Difference]: Without dead ends: 51 [2022-02-20 23:39:20,448 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-02-20 23:39:20,451 INFO L933 BasicCegarLoop]: 60 mSDtfsCounter, 5 mSDsluCounter, 30 mSDsCounter, 0 mSdLazyCounter, 24 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 5 SdHoareTripleChecker+Valid, 90 SdHoareTripleChecker+Invalid, 25 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 24 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:20,452 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [5 Valid, 90 Invalid, 25 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 24 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:20,465 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 51 states. [2022-02-20 23:39:20,476 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 51 to 51. [2022-02-20 23:39:20,476 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:20,478 INFO L82 GeneralOperation]: Start isEquivalent. First operand 51 states. Second operand has 51 states, 32 states have (on average 1.84375) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,479 INFO L74 IsIncluded]: Start isIncluded. First operand 51 states. Second operand has 51 states, 32 states have (on average 1.84375) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,481 INFO L87 Difference]: Start difference. First operand 51 states. Second operand has 51 states, 32 states have (on average 1.84375) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,485 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:20,486 INFO L93 Difference]: Finished difference Result 51 states and 59 transitions. [2022-02-20 23:39:20,486 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 59 transitions. [2022-02-20 23:39:20,487 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:20,487 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:20,488 INFO L74 IsIncluded]: Start isIncluded. First operand has 51 states, 32 states have (on average 1.84375) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 51 states. [2022-02-20 23:39:20,488 INFO L87 Difference]: Start difference. First operand has 51 states, 32 states have (on average 1.84375) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 51 states. [2022-02-20 23:39:20,493 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:20,493 INFO L93 Difference]: Finished difference Result 51 states and 59 transitions. [2022-02-20 23:39:20,493 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 59 transitions. [2022-02-20 23:39:20,494 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:20,494 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:20,494 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:20,494 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:20,497 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 51 states, 32 states have (on average 1.84375) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,499 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 51 states and 59 transitions. [2022-02-20 23:39:20,501 INFO L78 Accepts]: Start accepts. Automaton has 51 states and 59 transitions. Word has length 7 [2022-02-20 23:39:20,501 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:20,501 INFO L470 AbstractCegarLoop]: Abstraction has 51 states and 59 transitions. [2022-02-20 23:39:20,501 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 3.5) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,501 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 59 transitions. [2022-02-20 23:39:20,502 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2022-02-20 23:39:20,502 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:20,502 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:20,502 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-02-20 23:39:20,502 INFO L402 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:20,504 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:20,504 INFO L85 PathProgramCache]: Analyzing trace with hash 121388915, now seen corresponding path program 1 times [2022-02-20 23:39:20,504 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:20,505 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1888175057] [2022-02-20 23:39:20,505 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:20,505 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:20,541 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:20,606 INFO L290 TraceCheckUtils]: 0: Hoare triple {268#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {268#true} is VALID [2022-02-20 23:39:20,606 INFO L290 TraceCheckUtils]: 1: Hoare triple {268#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {268#true} is VALID [2022-02-20 23:39:20,607 INFO L290 TraceCheckUtils]: 2: Hoare triple {268#true} assume main_~length1~0#1 < 1;main_~length1~0#1 := 1; {270#(<= |ULTIMATE.start_main_~length1~0#1| 1)} is VALID [2022-02-20 23:39:20,608 INFO L290 TraceCheckUtils]: 3: Hoare triple {270#(<= |ULTIMATE.start_main_~length1~0#1| 1)} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {271#(<= |ULTIMATE.start_main_~length1~0#1| |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:20,610 INFO L290 TraceCheckUtils]: 4: Hoare triple {271#(<= |ULTIMATE.start_main_~length1~0#1| |ULTIMATE.start_main_~length2~0#1|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {272#(<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:20,611 INFO L290 TraceCheckUtils]: 5: Hoare triple {272#(<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {269#false} is VALID [2022-02-20 23:39:20,612 INFO L290 TraceCheckUtils]: 6: Hoare triple {269#false} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {269#false} is VALID [2022-02-20 23:39:20,612 INFO L290 TraceCheckUtils]: 7: Hoare triple {269#false} assume !(1 == #valid[main_~nondetString1~0#1.base]); {269#false} is VALID [2022-02-20 23:39:20,612 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:20,612 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:20,613 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1888175057] [2022-02-20 23:39:20,613 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1888175057] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:20,613 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:20,613 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2022-02-20 23:39:20,613 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [820301011] [2022-02-20 23:39:20,613 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:20,614 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 1.6) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 8 [2022-02-20 23:39:20,614 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:20,615 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 5 states, 5 states have (on average 1.6) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,621 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 8 edges. 8 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:20,621 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2022-02-20 23:39:20,621 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:20,622 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2022-02-20 23:39:20,622 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2022-02-20 23:39:20,622 INFO L87 Difference]: Start difference. First operand 51 states and 59 transitions. Second operand has 5 states, 5 states have (on average 1.6) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,785 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:20,785 INFO L93 Difference]: Finished difference Result 54 states and 63 transitions. [2022-02-20 23:39:20,785 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2022-02-20 23:39:20,785 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 1.6) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 8 [2022-02-20 23:39:20,786 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:20,786 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 5 states have (on average 1.6) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,787 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 64 transitions. [2022-02-20 23:39:20,787 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 5 states have (on average 1.6) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,788 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 64 transitions. [2022-02-20 23:39:20,788 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 64 transitions. [2022-02-20 23:39:20,836 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 64 edges. 64 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:20,838 INFO L225 Difference]: With dead ends: 54 [2022-02-20 23:39:20,838 INFO L226 Difference]: Without dead ends: 51 [2022-02-20 23:39:20,838 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=17, Invalid=25, Unknown=0, NotChecked=0, Total=42 [2022-02-20 23:39:20,839 INFO L933 BasicCegarLoop]: 59 mSDtfsCounter, 6 mSDsluCounter, 138 mSDsCounter, 0 mSdLazyCounter, 38 mSolverCounterSat, 2 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 6 SdHoareTripleChecker+Valid, 197 SdHoareTripleChecker+Invalid, 40 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 2 IncrementalHoareTripleChecker+Valid, 38 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:20,839 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [6 Valid, 197 Invalid, 40 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [2 Valid, 38 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:20,840 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 51 states. [2022-02-20 23:39:20,842 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 51 to 51. [2022-02-20 23:39:20,842 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:20,842 INFO L82 GeneralOperation]: Start isEquivalent. First operand 51 states. Second operand has 51 states, 32 states have (on average 1.8125) internal successors, (58), 50 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,842 INFO L74 IsIncluded]: Start isIncluded. First operand 51 states. Second operand has 51 states, 32 states have (on average 1.8125) internal successors, (58), 50 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,843 INFO L87 Difference]: Start difference. First operand 51 states. Second operand has 51 states, 32 states have (on average 1.8125) internal successors, (58), 50 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,844 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:20,844 INFO L93 Difference]: Finished difference Result 51 states and 58 transitions. [2022-02-20 23:39:20,844 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 58 transitions. [2022-02-20 23:39:20,845 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:20,845 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:20,845 INFO L74 IsIncluded]: Start isIncluded. First operand has 51 states, 32 states have (on average 1.8125) internal successors, (58), 50 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 51 states. [2022-02-20 23:39:20,845 INFO L87 Difference]: Start difference. First operand has 51 states, 32 states have (on average 1.8125) internal successors, (58), 50 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 51 states. [2022-02-20 23:39:20,847 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:20,847 INFO L93 Difference]: Finished difference Result 51 states and 58 transitions. [2022-02-20 23:39:20,847 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 58 transitions. [2022-02-20 23:39:20,847 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:20,847 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:20,847 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:20,847 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:20,848 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 51 states, 32 states have (on average 1.8125) internal successors, (58), 50 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,849 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 51 states and 58 transitions. [2022-02-20 23:39:20,849 INFO L78 Accepts]: Start accepts. Automaton has 51 states and 58 transitions. Word has length 8 [2022-02-20 23:39:20,849 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:20,849 INFO L470 AbstractCegarLoop]: Abstraction has 51 states and 58 transitions. [2022-02-20 23:39:20,849 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 1.6) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,849 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 58 transitions. [2022-02-20 23:39:20,850 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2022-02-20 23:39:20,850 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:20,850 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:20,850 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2022-02-20 23:39:20,850 INFO L402 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:20,851 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:20,851 INFO L85 PathProgramCache]: Analyzing trace with hash 178647217, now seen corresponding path program 1 times [2022-02-20 23:39:20,851 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:20,851 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [711665903] [2022-02-20 23:39:20,851 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:20,851 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:20,874 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:20,901 INFO L290 TraceCheckUtils]: 0: Hoare triple {486#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {486#true} is VALID [2022-02-20 23:39:20,902 INFO L290 TraceCheckUtils]: 1: Hoare triple {486#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {486#true} is VALID [2022-02-20 23:39:20,902 INFO L290 TraceCheckUtils]: 2: Hoare triple {486#true} assume !(main_~length1~0#1 < 1); {486#true} is VALID [2022-02-20 23:39:20,902 INFO L290 TraceCheckUtils]: 3: Hoare triple {486#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {486#true} is VALID [2022-02-20 23:39:20,902 INFO L290 TraceCheckUtils]: 4: Hoare triple {486#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {486#true} is VALID [2022-02-20 23:39:20,904 INFO L290 TraceCheckUtils]: 5: Hoare triple {486#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {488#(= (select |#valid| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1)} is VALID [2022-02-20 23:39:20,904 INFO L290 TraceCheckUtils]: 6: Hoare triple {488#(= (select |#valid| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1)} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {488#(= (select |#valid| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1)} is VALID [2022-02-20 23:39:20,905 INFO L290 TraceCheckUtils]: 7: Hoare triple {488#(= (select |#valid| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1)} assume !(1 == #valid[main_~nondetString1~0#1.base]); {487#false} is VALID [2022-02-20 23:39:20,905 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:20,905 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:20,906 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [711665903] [2022-02-20 23:39:20,906 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [711665903] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:20,906 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:20,906 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-02-20 23:39:20,906 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1963247698] [2022-02-20 23:39:20,906 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:20,907 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 4.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 8 [2022-02-20 23:39:20,907 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:20,907 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 3 states, 2 states have (on average 4.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,913 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 8 edges. 8 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:20,914 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-02-20 23:39:20,914 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:20,914 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-02-20 23:39:20,914 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-02-20 23:39:20,915 INFO L87 Difference]: Start difference. First operand 51 states and 58 transitions. Second operand has 3 states, 2 states have (on average 4.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,972 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:20,973 INFO L93 Difference]: Finished difference Result 49 states and 56 transitions. [2022-02-20 23:39:20,973 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-02-20 23:39:20,973 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 4.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 8 [2022-02-20 23:39:20,973 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:20,973 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 2 states have (on average 4.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,974 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 58 transitions. [2022-02-20 23:39:20,974 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 2 states have (on average 4.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:20,975 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 58 transitions. [2022-02-20 23:39:20,975 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 58 transitions. [2022-02-20 23:39:21,015 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 58 edges. 58 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:21,016 INFO L225 Difference]: With dead ends: 49 [2022-02-20 23:39:21,016 INFO L226 Difference]: Without dead ends: 49 [2022-02-20 23:39:21,017 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-02-20 23:39:21,017 INFO L933 BasicCegarLoop]: 36 mSDtfsCounter, 45 mSDsluCounter, 5 mSDsCounter, 0 mSdLazyCounter, 24 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 45 SdHoareTripleChecker+Valid, 41 SdHoareTripleChecker+Invalid, 25 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 24 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:21,018 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [45 Valid, 41 Invalid, 25 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 24 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:21,018 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 49 states. [2022-02-20 23:39:21,020 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 49 to 49. [2022-02-20 23:39:21,020 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:21,020 INFO L82 GeneralOperation]: Start isEquivalent. First operand 49 states. Second operand has 49 states, 32 states have (on average 1.75) internal successors, (56), 48 states have internal predecessors, (56), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,020 INFO L74 IsIncluded]: Start isIncluded. First operand 49 states. Second operand has 49 states, 32 states have (on average 1.75) internal successors, (56), 48 states have internal predecessors, (56), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,021 INFO L87 Difference]: Start difference. First operand 49 states. Second operand has 49 states, 32 states have (on average 1.75) internal successors, (56), 48 states have internal predecessors, (56), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,022 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:21,022 INFO L93 Difference]: Finished difference Result 49 states and 56 transitions. [2022-02-20 23:39:21,022 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 56 transitions. [2022-02-20 23:39:21,022 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:21,022 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:21,023 INFO L74 IsIncluded]: Start isIncluded. First operand has 49 states, 32 states have (on average 1.75) internal successors, (56), 48 states have internal predecessors, (56), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 49 states. [2022-02-20 23:39:21,023 INFO L87 Difference]: Start difference. First operand has 49 states, 32 states have (on average 1.75) internal successors, (56), 48 states have internal predecessors, (56), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 49 states. [2022-02-20 23:39:21,024 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:21,024 INFO L93 Difference]: Finished difference Result 49 states and 56 transitions. [2022-02-20 23:39:21,024 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 56 transitions. [2022-02-20 23:39:21,024 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:21,024 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:21,025 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:21,025 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:21,025 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 49 states, 32 states have (on average 1.75) internal successors, (56), 48 states have internal predecessors, (56), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,026 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 49 states and 56 transitions. [2022-02-20 23:39:21,026 INFO L78 Accepts]: Start accepts. Automaton has 49 states and 56 transitions. Word has length 8 [2022-02-20 23:39:21,026 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:21,026 INFO L470 AbstractCegarLoop]: Abstraction has 49 states and 56 transitions. [2022-02-20 23:39:21,026 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 4.0) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,026 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 56 transitions. [2022-02-20 23:39:21,027 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2022-02-20 23:39:21,027 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:21,027 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:21,027 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2022-02-20 23:39:21,027 INFO L402 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:21,028 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:21,028 INFO L85 PathProgramCache]: Analyzing trace with hash 178647218, now seen corresponding path program 1 times [2022-02-20 23:39:21,028 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:21,028 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [789641992] [2022-02-20 23:39:21,028 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:21,028 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:21,048 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:21,107 INFO L290 TraceCheckUtils]: 0: Hoare triple {687#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {687#true} is VALID [2022-02-20 23:39:21,107 INFO L290 TraceCheckUtils]: 1: Hoare triple {687#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {687#true} is VALID [2022-02-20 23:39:21,107 INFO L290 TraceCheckUtils]: 2: Hoare triple {687#true} assume !(main_~length1~0#1 < 1); {687#true} is VALID [2022-02-20 23:39:21,107 INFO L290 TraceCheckUtils]: 3: Hoare triple {687#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {687#true} is VALID [2022-02-20 23:39:21,108 INFO L290 TraceCheckUtils]: 4: Hoare triple {687#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {689#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:21,109 INFO L290 TraceCheckUtils]: 5: Hoare triple {689#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {690#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:21,109 INFO L290 TraceCheckUtils]: 6: Hoare triple {690#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {691#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:21,110 INFO L290 TraceCheckUtils]: 7: Hoare triple {691#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(1 + (main_~nondetString1~0#1.offset + main_~i~0#1) <= #length[main_~nondetString1~0#1.base] && 0 <= main_~nondetString1~0#1.offset + main_~i~0#1); {688#false} is VALID [2022-02-20 23:39:21,110 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:21,110 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:21,110 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [789641992] [2022-02-20 23:39:21,111 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [789641992] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:21,111 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:21,111 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2022-02-20 23:39:21,111 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1464273382] [2022-02-20 23:39:21,111 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:21,112 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 4 states have (on average 2.0) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 8 [2022-02-20 23:39:21,112 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:21,112 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 5 states, 4 states have (on average 2.0) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,118 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 8 edges. 8 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:21,119 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2022-02-20 23:39:21,119 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:21,119 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2022-02-20 23:39:21,119 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2022-02-20 23:39:21,120 INFO L87 Difference]: Start difference. First operand 49 states and 56 transitions. Second operand has 5 states, 4 states have (on average 2.0) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,354 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:21,354 INFO L93 Difference]: Finished difference Result 91 states and 103 transitions. [2022-02-20 23:39:21,354 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2022-02-20 23:39:21,355 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 4 states have (on average 2.0) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 8 [2022-02-20 23:39:21,355 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:21,355 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 2.0) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,356 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 104 transitions. [2022-02-20 23:39:21,356 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 2.0) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,357 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 104 transitions. [2022-02-20 23:39:21,357 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 104 transitions. [2022-02-20 23:39:21,456 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 104 edges. 104 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:21,457 INFO L225 Difference]: With dead ends: 91 [2022-02-20 23:39:21,458 INFO L226 Difference]: Without dead ends: 91 [2022-02-20 23:39:21,458 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=13, Invalid=17, Unknown=0, NotChecked=0, Total=30 [2022-02-20 23:39:21,459 INFO L933 BasicCegarLoop]: 34 mSDtfsCounter, 97 mSDsluCounter, 65 mSDsCounter, 0 mSdLazyCounter, 73 mSolverCounterSat, 2 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 97 SdHoareTripleChecker+Valid, 99 SdHoareTripleChecker+Invalid, 75 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 2 IncrementalHoareTripleChecker+Valid, 73 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:21,459 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [97 Valid, 99 Invalid, 75 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [2 Valid, 73 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-02-20 23:39:21,459 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 91 states. [2022-02-20 23:39:21,461 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 91 to 51. [2022-02-20 23:39:21,461 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:21,461 INFO L82 GeneralOperation]: Start isEquivalent. First operand 91 states. Second operand has 51 states, 34 states have (on average 1.7352941176470589) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,461 INFO L74 IsIncluded]: Start isIncluded. First operand 91 states. Second operand has 51 states, 34 states have (on average 1.7352941176470589) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,461 INFO L87 Difference]: Start difference. First operand 91 states. Second operand has 51 states, 34 states have (on average 1.7352941176470589) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,463 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:21,463 INFO L93 Difference]: Finished difference Result 91 states and 103 transitions. [2022-02-20 23:39:21,463 INFO L276 IsEmpty]: Start isEmpty. Operand 91 states and 103 transitions. [2022-02-20 23:39:21,464 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:21,464 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:21,464 INFO L74 IsIncluded]: Start isIncluded. First operand has 51 states, 34 states have (on average 1.7352941176470589) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 91 states. [2022-02-20 23:39:21,464 INFO L87 Difference]: Start difference. First operand has 51 states, 34 states have (on average 1.7352941176470589) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 91 states. [2022-02-20 23:39:21,466 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:21,466 INFO L93 Difference]: Finished difference Result 91 states and 103 transitions. [2022-02-20 23:39:21,467 INFO L276 IsEmpty]: Start isEmpty. Operand 91 states and 103 transitions. [2022-02-20 23:39:21,467 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:21,467 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:21,467 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:21,467 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:21,468 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 51 states, 34 states have (on average 1.7352941176470589) internal successors, (59), 50 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,469 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 51 states and 59 transitions. [2022-02-20 23:39:21,469 INFO L78 Accepts]: Start accepts. Automaton has 51 states and 59 transitions. Word has length 8 [2022-02-20 23:39:21,469 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:21,469 INFO L470 AbstractCegarLoop]: Abstraction has 51 states and 59 transitions. [2022-02-20 23:39:21,469 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 4 states have (on average 2.0) internal successors, (8), 5 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,469 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 59 transitions. [2022-02-20 23:39:21,470 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2022-02-20 23:39:21,470 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:21,470 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:21,470 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2022-02-20 23:39:21,470 INFO L402 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:21,471 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:21,471 INFO L85 PathProgramCache]: Analyzing trace with hash -118766615, now seen corresponding path program 1 times [2022-02-20 23:39:21,471 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:21,471 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1107962768] [2022-02-20 23:39:21,471 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:21,471 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:21,487 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:21,526 INFO L290 TraceCheckUtils]: 0: Hoare triple {1020#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {1020#true} is VALID [2022-02-20 23:39:21,526 INFO L290 TraceCheckUtils]: 1: Hoare triple {1020#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {1020#true} is VALID [2022-02-20 23:39:21,527 INFO L290 TraceCheckUtils]: 2: Hoare triple {1020#true} assume !(main_~length1~0#1 < 1); {1020#true} is VALID [2022-02-20 23:39:21,527 INFO L290 TraceCheckUtils]: 3: Hoare triple {1020#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {1022#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:21,528 INFO L290 TraceCheckUtils]: 4: Hoare triple {1022#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {1023#(and (<= 1 |ULTIMATE.start_main_~length2~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:21,529 INFO L290 TraceCheckUtils]: 5: Hoare triple {1023#(and (<= 1 |ULTIMATE.start_main_~length2~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {1024#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:21,529 INFO L290 TraceCheckUtils]: 6: Hoare triple {1024#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {1024#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:21,530 INFO L290 TraceCheckUtils]: 7: Hoare triple {1024#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} main_~i~1#1 := 0; {1024#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:21,530 INFO L290 TraceCheckUtils]: 8: Hoare triple {1024#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {1024#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:21,531 INFO L290 TraceCheckUtils]: 9: Hoare triple {1024#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} assume !(1 + (main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1)) <= #length[main_~nondetString1~0#1.base] && 0 <= main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1)); {1021#false} is VALID [2022-02-20 23:39:21,531 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:21,531 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:21,531 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1107962768] [2022-02-20 23:39:21,531 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1107962768] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:21,531 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:21,532 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2022-02-20 23:39:21,532 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1328060295] [2022-02-20 23:39:21,532 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:21,532 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 4 states have (on average 2.5) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 10 [2022-02-20 23:39:21,532 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:21,533 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 5 states, 4 states have (on average 2.5) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,540 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 10 edges. 10 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:21,540 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2022-02-20 23:39:21,540 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:21,540 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2022-02-20 23:39:21,541 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2022-02-20 23:39:21,541 INFO L87 Difference]: Start difference. First operand 51 states and 59 transitions. Second operand has 5 states, 4 states have (on average 2.5) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,662 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:21,663 INFO L93 Difference]: Finished difference Result 50 states and 58 transitions. [2022-02-20 23:39:21,663 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2022-02-20 23:39:21,663 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 4 states have (on average 2.5) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 10 [2022-02-20 23:39:21,663 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:21,663 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 2.5) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,664 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 56 transitions. [2022-02-20 23:39:21,664 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 2.5) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,665 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 56 transitions. [2022-02-20 23:39:21,665 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 56 transitions. [2022-02-20 23:39:21,716 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 56 edges. 56 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:21,717 INFO L225 Difference]: With dead ends: 50 [2022-02-20 23:39:21,717 INFO L226 Difference]: Without dead ends: 50 [2022-02-20 23:39:21,718 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=13, Invalid=17, Unknown=0, NotChecked=0, Total=30 [2022-02-20 23:39:21,719 INFO L933 BasicCegarLoop]: 32 mSDtfsCounter, 142 mSDsluCounter, 5 mSDsCounter, 0 mSdLazyCounter, 30 mSolverCounterSat, 2 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 142 SdHoareTripleChecker+Valid, 37 SdHoareTripleChecker+Invalid, 32 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 2 IncrementalHoareTripleChecker+Valid, 30 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:21,719 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [142 Valid, 37 Invalid, 32 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [2 Valid, 30 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:21,719 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 50 states. [2022-02-20 23:39:21,721 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 50 to 50. [2022-02-20 23:39:21,721 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:21,721 INFO L82 GeneralOperation]: Start isEquivalent. First operand 50 states. Second operand has 50 states, 34 states have (on average 1.7058823529411764) internal successors, (58), 49 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,721 INFO L74 IsIncluded]: Start isIncluded. First operand 50 states. Second operand has 50 states, 34 states have (on average 1.7058823529411764) internal successors, (58), 49 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,722 INFO L87 Difference]: Start difference. First operand 50 states. Second operand has 50 states, 34 states have (on average 1.7058823529411764) internal successors, (58), 49 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,722 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:21,723 INFO L93 Difference]: Finished difference Result 50 states and 58 transitions. [2022-02-20 23:39:21,723 INFO L276 IsEmpty]: Start isEmpty. Operand 50 states and 58 transitions. [2022-02-20 23:39:21,723 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:21,731 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:21,731 INFO L74 IsIncluded]: Start isIncluded. First operand has 50 states, 34 states have (on average 1.7058823529411764) internal successors, (58), 49 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 50 states. [2022-02-20 23:39:21,731 INFO L87 Difference]: Start difference. First operand has 50 states, 34 states have (on average 1.7058823529411764) internal successors, (58), 49 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 50 states. [2022-02-20 23:39:21,732 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:21,733 INFO L93 Difference]: Finished difference Result 50 states and 58 transitions. [2022-02-20 23:39:21,733 INFO L276 IsEmpty]: Start isEmpty. Operand 50 states and 58 transitions. [2022-02-20 23:39:21,733 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:21,733 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:21,733 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:21,733 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:21,733 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 50 states, 34 states have (on average 1.7058823529411764) internal successors, (58), 49 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,734 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 50 states and 58 transitions. [2022-02-20 23:39:21,735 INFO L78 Accepts]: Start accepts. Automaton has 50 states and 58 transitions. Word has length 10 [2022-02-20 23:39:21,735 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:21,735 INFO L470 AbstractCegarLoop]: Abstraction has 50 states and 58 transitions. [2022-02-20 23:39:21,735 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 4 states have (on average 2.5) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,735 INFO L276 IsEmpty]: Start isEmpty. Operand 50 states and 58 transitions. [2022-02-20 23:39:21,736 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2022-02-20 23:39:21,736 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:21,736 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:21,736 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2022-02-20 23:39:21,736 INFO L402 AbstractCegarLoop]: === Iteration 6 === Targeting ULTIMATE.startErr2REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:21,737 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:21,737 INFO L85 PathProgramCache]: Analyzing trace with hash -118766563, now seen corresponding path program 1 times [2022-02-20 23:39:21,737 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:21,737 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1818709769] [2022-02-20 23:39:21,737 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:21,737 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:21,760 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:21,800 INFO L290 TraceCheckUtils]: 0: Hoare triple {1229#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {1229#true} is VALID [2022-02-20 23:39:21,800 INFO L290 TraceCheckUtils]: 1: Hoare triple {1229#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {1229#true} is VALID [2022-02-20 23:39:21,800 INFO L290 TraceCheckUtils]: 2: Hoare triple {1229#true} assume !(main_~length1~0#1 < 1); {1229#true} is VALID [2022-02-20 23:39:21,801 INFO L290 TraceCheckUtils]: 3: Hoare triple {1229#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {1231#(<= |ULTIMATE.start_main_~length2~0#1| 1)} is VALID [2022-02-20 23:39:21,801 INFO L290 TraceCheckUtils]: 4: Hoare triple {1231#(<= |ULTIMATE.start_main_~length2~0#1| 1)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {1231#(<= |ULTIMATE.start_main_~length2~0#1| 1)} is VALID [2022-02-20 23:39:21,802 INFO L290 TraceCheckUtils]: 5: Hoare triple {1231#(<= |ULTIMATE.start_main_~length2~0#1| 1)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {1231#(<= |ULTIMATE.start_main_~length2~0#1| 1)} is VALID [2022-02-20 23:39:21,802 INFO L290 TraceCheckUtils]: 6: Hoare triple {1231#(<= |ULTIMATE.start_main_~length2~0#1| 1)} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {1231#(<= |ULTIMATE.start_main_~length2~0#1| 1)} is VALID [2022-02-20 23:39:21,803 INFO L290 TraceCheckUtils]: 7: Hoare triple {1231#(<= |ULTIMATE.start_main_~length2~0#1| 1)} main_~i~1#1 := 0; {1232#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1))} is VALID [2022-02-20 23:39:21,803 INFO L290 TraceCheckUtils]: 8: Hoare triple {1232#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {1230#false} is VALID [2022-02-20 23:39:21,804 INFO L290 TraceCheckUtils]: 9: Hoare triple {1230#false} assume !(1 == #valid[main_~nondetString2~0#1.base]); {1230#false} is VALID [2022-02-20 23:39:21,804 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:21,804 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:21,804 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1818709769] [2022-02-20 23:39:21,804 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1818709769] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:21,804 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:21,805 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2022-02-20 23:39:21,805 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2110976387] [2022-02-20 23:39:21,818 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:21,819 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 4 states have (on average 2.5) internal successors, (10), 4 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 10 [2022-02-20 23:39:21,819 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:21,819 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 4 states, 4 states have (on average 2.5) internal successors, (10), 4 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,826 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 10 edges. 10 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:21,826 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-02-20 23:39:21,826 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:21,827 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-02-20 23:39:21,827 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-02-20 23:39:21,827 INFO L87 Difference]: Start difference. First operand 50 states and 58 transitions. Second operand has 4 states, 4 states have (on average 2.5) internal successors, (10), 4 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,972 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:21,972 INFO L93 Difference]: Finished difference Result 91 states and 105 transitions. [2022-02-20 23:39:21,972 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-02-20 23:39:21,973 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 4 states have (on average 2.5) internal successors, (10), 4 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 10 [2022-02-20 23:39:21,973 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:21,973 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 4 states have (on average 2.5) internal successors, (10), 4 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,974 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 100 transitions. [2022-02-20 23:39:21,974 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 4 states have (on average 2.5) internal successors, (10), 4 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:21,975 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 100 transitions. [2022-02-20 23:39:21,975 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 100 transitions. [2022-02-20 23:39:22,077 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 100 edges. 100 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:22,079 INFO L225 Difference]: With dead ends: 91 [2022-02-20 23:39:22,079 INFO L226 Difference]: Without dead ends: 91 [2022-02-20 23:39:22,079 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-02-20 23:39:22,080 INFO L933 BasicCegarLoop]: 51 mSDtfsCounter, 41 mSDsluCounter, 90 mSDsCounter, 0 mSdLazyCounter, 23 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 41 SdHoareTripleChecker+Valid, 141 SdHoareTripleChecker+Invalid, 23 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 23 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:22,080 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [41 Valid, 141 Invalid, 23 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 23 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:22,081 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 91 states. [2022-02-20 23:39:22,083 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 91 to 60. [2022-02-20 23:39:22,083 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:22,083 INFO L82 GeneralOperation]: Start isEquivalent. First operand 91 states. Second operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,083 INFO L74 IsIncluded]: Start isIncluded. First operand 91 states. Second operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,084 INFO L87 Difference]: Start difference. First operand 91 states. Second operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,085 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,085 INFO L93 Difference]: Finished difference Result 91 states and 105 transitions. [2022-02-20 23:39:22,085 INFO L276 IsEmpty]: Start isEmpty. Operand 91 states and 105 transitions. [2022-02-20 23:39:22,086 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:22,086 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:22,086 INFO L74 IsIncluded]: Start isIncluded. First operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 91 states. [2022-02-20 23:39:22,086 INFO L87 Difference]: Start difference. First operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 91 states. [2022-02-20 23:39:22,088 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,088 INFO L93 Difference]: Finished difference Result 91 states and 105 transitions. [2022-02-20 23:39:22,088 INFO L276 IsEmpty]: Start isEmpty. Operand 91 states and 105 transitions. [2022-02-20 23:39:22,088 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:22,088 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:22,088 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:22,088 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:22,089 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,090 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 60 states to 60 states and 72 transitions. [2022-02-20 23:39:22,090 INFO L78 Accepts]: Start accepts. Automaton has 60 states and 72 transitions. Word has length 10 [2022-02-20 23:39:22,090 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:22,090 INFO L470 AbstractCegarLoop]: Abstraction has 60 states and 72 transitions. [2022-02-20 23:39:22,090 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 2.5) internal successors, (10), 4 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,090 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 72 transitions. [2022-02-20 23:39:22,091 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2022-02-20 23:39:22,091 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:22,091 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:22,091 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2022-02-20 23:39:22,091 INFO L402 AbstractCegarLoop]: === Iteration 7 === Targeting ULTIMATE.startErr2REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:22,091 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:22,092 INFO L85 PathProgramCache]: Analyzing trace with hash 1656240799, now seen corresponding path program 1 times [2022-02-20 23:39:22,092 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:22,092 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [578624416] [2022-02-20 23:39:22,092 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:22,092 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:22,133 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:22,175 INFO L290 TraceCheckUtils]: 0: Hoare triple {1568#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {1568#true} is VALID [2022-02-20 23:39:22,175 INFO L290 TraceCheckUtils]: 1: Hoare triple {1568#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {1568#true} is VALID [2022-02-20 23:39:22,175 INFO L290 TraceCheckUtils]: 2: Hoare triple {1568#true} assume !(main_~length1~0#1 < 1); {1568#true} is VALID [2022-02-20 23:39:22,176 INFO L290 TraceCheckUtils]: 3: Hoare triple {1568#true} assume !(main_~length2~0#1 < 1); {1568#true} is VALID [2022-02-20 23:39:22,176 INFO L290 TraceCheckUtils]: 4: Hoare triple {1568#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {1568#true} is VALID [2022-02-20 23:39:22,176 INFO L290 TraceCheckUtils]: 5: Hoare triple {1568#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {1570#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} is VALID [2022-02-20 23:39:22,177 INFO L290 TraceCheckUtils]: 6: Hoare triple {1570#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {1571#(<= |ULTIMATE.start_main_~length2~0#1| 1)} is VALID [2022-02-20 23:39:22,177 INFO L290 TraceCheckUtils]: 7: Hoare triple {1571#(<= |ULTIMATE.start_main_~length2~0#1| 1)} main_~i~1#1 := 0; {1572#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1))} is VALID [2022-02-20 23:39:22,178 INFO L290 TraceCheckUtils]: 8: Hoare triple {1572#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {1569#false} is VALID [2022-02-20 23:39:22,178 INFO L290 TraceCheckUtils]: 9: Hoare triple {1569#false} assume !(1 == #valid[main_~nondetString2~0#1.base]); {1569#false} is VALID [2022-02-20 23:39:22,178 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:22,178 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:22,178 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [578624416] [2022-02-20 23:39:22,179 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [578624416] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:22,179 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:22,179 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2022-02-20 23:39:22,179 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1025621279] [2022-02-20 23:39:22,179 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:22,179 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 2.0) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 10 [2022-02-20 23:39:22,180 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:22,180 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 5 states, 5 states have (on average 2.0) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,186 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 10 edges. 10 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:22,186 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2022-02-20 23:39:22,187 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:22,187 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2022-02-20 23:39:22,187 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2022-02-20 23:39:22,187 INFO L87 Difference]: Start difference. First operand 60 states and 72 transitions. Second operand has 5 states, 5 states have (on average 2.0) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,390 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,390 INFO L93 Difference]: Finished difference Result 129 states and 146 transitions. [2022-02-20 23:39:22,390 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2022-02-20 23:39:22,391 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 2.0) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 10 [2022-02-20 23:39:22,391 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:22,391 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 5 states have (on average 2.0) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,392 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 145 transitions. [2022-02-20 23:39:22,392 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 5 states have (on average 2.0) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,394 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 145 transitions. [2022-02-20 23:39:22,394 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 7 states and 145 transitions. [2022-02-20 23:39:22,486 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 145 edges. 145 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:22,488 INFO L225 Difference]: With dead ends: 129 [2022-02-20 23:39:22,488 INFO L226 Difference]: Without dead ends: 129 [2022-02-20 23:39:22,488 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2022-02-20 23:39:22,489 INFO L933 BasicCegarLoop]: 45 mSDtfsCounter, 125 mSDsluCounter, 120 mSDsCounter, 0 mSdLazyCounter, 53 mSolverCounterSat, 2 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 125 SdHoareTripleChecker+Valid, 165 SdHoareTripleChecker+Invalid, 55 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 2 IncrementalHoareTripleChecker+Valid, 53 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:22,489 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [125 Valid, 165 Invalid, 55 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [2 Valid, 53 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:22,489 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 129 states. [2022-02-20 23:39:22,491 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 129 to 60. [2022-02-20 23:39:22,491 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:22,492 INFO L82 GeneralOperation]: Start isEquivalent. First operand 129 states. Second operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,492 INFO L74 IsIncluded]: Start isIncluded. First operand 129 states. Second operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,492 INFO L87 Difference]: Start difference. First operand 129 states. Second operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,494 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,494 INFO L93 Difference]: Finished difference Result 129 states and 146 transitions. [2022-02-20 23:39:22,494 INFO L276 IsEmpty]: Start isEmpty. Operand 129 states and 146 transitions. [2022-02-20 23:39:22,494 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:22,495 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:22,495 INFO L74 IsIncluded]: Start isIncluded. First operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 129 states. [2022-02-20 23:39:22,495 INFO L87 Difference]: Start difference. First operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 129 states. [2022-02-20 23:39:22,497 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,497 INFO L93 Difference]: Finished difference Result 129 states and 146 transitions. [2022-02-20 23:39:22,497 INFO L276 IsEmpty]: Start isEmpty. Operand 129 states and 146 transitions. [2022-02-20 23:39:22,497 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:22,498 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:22,498 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:22,498 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:22,498 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 60 states, 44 states have (on average 1.6363636363636365) internal successors, (72), 59 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,499 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 60 states to 60 states and 72 transitions. [2022-02-20 23:39:22,499 INFO L78 Accepts]: Start accepts. Automaton has 60 states and 72 transitions. Word has length 10 [2022-02-20 23:39:22,499 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:22,499 INFO L470 AbstractCegarLoop]: Abstraction has 60 states and 72 transitions. [2022-02-20 23:39:22,499 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 2.0) internal successors, (10), 5 states have internal predecessors, (10), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,499 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 72 transitions. [2022-02-20 23:39:22,500 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2022-02-20 23:39:22,500 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:22,500 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:22,500 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2022-02-20 23:39:22,500 INFO L402 AbstractCegarLoop]: === Iteration 8 === Targeting ULTIMATE.startErr6REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:22,501 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:22,501 INFO L85 PathProgramCache]: Analyzing trace with hash 613202234, now seen corresponding path program 1 times [2022-02-20 23:39:22,501 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:22,501 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2025611600] [2022-02-20 23:39:22,501 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:22,501 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:22,514 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:22,524 INFO L290 TraceCheckUtils]: 0: Hoare triple {2026#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {2026#true} is VALID [2022-02-20 23:39:22,525 INFO L290 TraceCheckUtils]: 1: Hoare triple {2026#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {2026#true} is VALID [2022-02-20 23:39:22,525 INFO L290 TraceCheckUtils]: 2: Hoare triple {2026#true} assume !(main_~length1~0#1 < 1); {2026#true} is VALID [2022-02-20 23:39:22,525 INFO L290 TraceCheckUtils]: 3: Hoare triple {2026#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {2026#true} is VALID [2022-02-20 23:39:22,525 INFO L290 TraceCheckUtils]: 4: Hoare triple {2026#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {2026#true} is VALID [2022-02-20 23:39:22,526 INFO L290 TraceCheckUtils]: 5: Hoare triple {2026#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} is VALID [2022-02-20 23:39:22,526 INFO L290 TraceCheckUtils]: 6: Hoare triple {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} is VALID [2022-02-20 23:39:22,526 INFO L290 TraceCheckUtils]: 7: Hoare triple {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} main_~i~1#1 := 0; {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} is VALID [2022-02-20 23:39:22,527 INFO L290 TraceCheckUtils]: 8: Hoare triple {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} is VALID [2022-02-20 23:39:22,527 INFO L290 TraceCheckUtils]: 9: Hoare triple {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} is VALID [2022-02-20 23:39:22,527 INFO L290 TraceCheckUtils]: 10: Hoare triple {2028#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} assume !(1 == #valid[main_~nondetString2~0#1.base]); {2027#false} is VALID [2022-02-20 23:39:22,528 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:22,528 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:22,528 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2025611600] [2022-02-20 23:39:22,528 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2025611600] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:22,528 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:22,528 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-02-20 23:39:22,528 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1966407867] [2022-02-20 23:39:22,528 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:22,529 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 5.5) internal successors, (11), 3 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 11 [2022-02-20 23:39:22,529 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:22,529 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 3 states, 2 states have (on average 5.5) internal successors, (11), 3 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,535 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 11 edges. 11 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:22,536 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-02-20 23:39:22,536 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:22,536 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-02-20 23:39:22,536 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-02-20 23:39:22,536 INFO L87 Difference]: Start difference. First operand 60 states and 72 transitions. Second operand has 3 states, 2 states have (on average 5.5) internal successors, (11), 3 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,583 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,583 INFO L93 Difference]: Finished difference Result 58 states and 70 transitions. [2022-02-20 23:39:22,583 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-02-20 23:39:22,583 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 5.5) internal successors, (11), 3 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 11 [2022-02-20 23:39:22,583 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:22,583 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 2 states have (on average 5.5) internal successors, (11), 3 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,584 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 55 transitions. [2022-02-20 23:39:22,584 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 2 states have (on average 5.5) internal successors, (11), 3 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,585 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 55 transitions. [2022-02-20 23:39:22,585 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 55 transitions. [2022-02-20 23:39:22,624 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 55 edges. 55 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:22,625 INFO L225 Difference]: With dead ends: 58 [2022-02-20 23:39:22,625 INFO L226 Difference]: Without dead ends: 58 [2022-02-20 23:39:22,625 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-02-20 23:39:22,626 INFO L933 BasicCegarLoop]: 35 mSDtfsCounter, 39 mSDsluCounter, 5 mSDsCounter, 0 mSdLazyCounter, 22 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 39 SdHoareTripleChecker+Valid, 40 SdHoareTripleChecker+Invalid, 23 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 22 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:22,626 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [39 Valid, 40 Invalid, 23 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 22 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:22,627 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 58 states. [2022-02-20 23:39:22,628 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 58 to 58. [2022-02-20 23:39:22,628 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:22,628 INFO L82 GeneralOperation]: Start isEquivalent. First operand 58 states. Second operand has 58 states, 44 states have (on average 1.5909090909090908) internal successors, (70), 57 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,628 INFO L74 IsIncluded]: Start isIncluded. First operand 58 states. Second operand has 58 states, 44 states have (on average 1.5909090909090908) internal successors, (70), 57 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,629 INFO L87 Difference]: Start difference. First operand 58 states. Second operand has 58 states, 44 states have (on average 1.5909090909090908) internal successors, (70), 57 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,630 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,630 INFO L93 Difference]: Finished difference Result 58 states and 70 transitions. [2022-02-20 23:39:22,630 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 70 transitions. [2022-02-20 23:39:22,630 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:22,630 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:22,630 INFO L74 IsIncluded]: Start isIncluded. First operand has 58 states, 44 states have (on average 1.5909090909090908) internal successors, (70), 57 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 58 states. [2022-02-20 23:39:22,630 INFO L87 Difference]: Start difference. First operand has 58 states, 44 states have (on average 1.5909090909090908) internal successors, (70), 57 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 58 states. [2022-02-20 23:39:22,631 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,631 INFO L93 Difference]: Finished difference Result 58 states and 70 transitions. [2022-02-20 23:39:22,631 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 70 transitions. [2022-02-20 23:39:22,632 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:22,632 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:22,632 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:22,632 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:22,632 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 58 states, 44 states have (on average 1.5909090909090908) internal successors, (70), 57 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,633 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 58 states to 58 states and 70 transitions. [2022-02-20 23:39:22,633 INFO L78 Accepts]: Start accepts. Automaton has 58 states and 70 transitions. Word has length 11 [2022-02-20 23:39:22,633 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:22,633 INFO L470 AbstractCegarLoop]: Abstraction has 58 states and 70 transitions. [2022-02-20 23:39:22,633 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 5.5) internal successors, (11), 3 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,633 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 70 transitions. [2022-02-20 23:39:22,634 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2022-02-20 23:39:22,634 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:22,634 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:22,634 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2022-02-20 23:39:22,634 INFO L402 AbstractCegarLoop]: === Iteration 9 === Targeting ULTIMATE.startErr7REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:22,634 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:22,635 INFO L85 PathProgramCache]: Analyzing trace with hash 613202235, now seen corresponding path program 1 times [2022-02-20 23:39:22,635 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:22,635 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1530976091] [2022-02-20 23:39:22,635 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:22,635 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:22,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:22,670 INFO L290 TraceCheckUtils]: 0: Hoare triple {2263#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {2263#true} is VALID [2022-02-20 23:39:22,670 INFO L290 TraceCheckUtils]: 1: Hoare triple {2263#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {2263#true} is VALID [2022-02-20 23:39:22,671 INFO L290 TraceCheckUtils]: 2: Hoare triple {2263#true} assume !(main_~length1~0#1 < 1); {2263#true} is VALID [2022-02-20 23:39:22,671 INFO L290 TraceCheckUtils]: 3: Hoare triple {2263#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {2265#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:22,671 INFO L290 TraceCheckUtils]: 4: Hoare triple {2265#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {2265#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:22,672 INFO L290 TraceCheckUtils]: 5: Hoare triple {2265#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} is VALID [2022-02-20 23:39:22,673 INFO L290 TraceCheckUtils]: 6: Hoare triple {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} is VALID [2022-02-20 23:39:22,673 INFO L290 TraceCheckUtils]: 7: Hoare triple {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} main_~i~1#1 := 0; {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} is VALID [2022-02-20 23:39:22,674 INFO L290 TraceCheckUtils]: 8: Hoare triple {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} is VALID [2022-02-20 23:39:22,674 INFO L290 TraceCheckUtils]: 9: Hoare triple {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} is VALID [2022-02-20 23:39:22,675 INFO L290 TraceCheckUtils]: 10: Hoare triple {2266#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= (+ |ULTIMATE.start_main_~length2~0#1| (* (- 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) 0))} assume !(1 + (main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1)) <= #length[main_~nondetString2~0#1.base] && 0 <= main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1)); {2264#false} is VALID [2022-02-20 23:39:22,675 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:22,675 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:22,675 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1530976091] [2022-02-20 23:39:22,675 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1530976091] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:22,675 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:22,675 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-02-20 23:39:22,675 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [578074592] [2022-02-20 23:39:22,676 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:22,676 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 11 [2022-02-20 23:39:22,676 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:22,676 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,687 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 11 edges. 11 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:22,687 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-02-20 23:39:22,687 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:22,687 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-02-20 23:39:22,688 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-02-20 23:39:22,688 INFO L87 Difference]: Start difference. First operand 58 states and 70 transitions. Second operand has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,754 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,754 INFO L93 Difference]: Finished difference Result 57 states and 69 transitions. [2022-02-20 23:39:22,754 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-02-20 23:39:22,754 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 11 [2022-02-20 23:39:22,754 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:22,754 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,755 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 53 transitions. [2022-02-20 23:39:22,755 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,756 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 53 transitions. [2022-02-20 23:39:22,756 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 53 transitions. [2022-02-20 23:39:22,797 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 53 edges. 53 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:22,798 INFO L225 Difference]: With dead ends: 57 [2022-02-20 23:39:22,798 INFO L226 Difference]: Without dead ends: 57 [2022-02-20 23:39:22,798 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-02-20 23:39:22,799 INFO L933 BasicCegarLoop]: 32 mSDtfsCounter, 46 mSDsluCounter, 6 mSDsCounter, 0 mSdLazyCounter, 24 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 46 SdHoareTripleChecker+Valid, 38 SdHoareTripleChecker+Invalid, 25 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 24 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:22,799 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [46 Valid, 38 Invalid, 25 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 24 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:22,800 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 57 states. [2022-02-20 23:39:22,801 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 57 to 57. [2022-02-20 23:39:22,801 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:22,801 INFO L82 GeneralOperation]: Start isEquivalent. First operand 57 states. Second operand has 57 states, 44 states have (on average 1.5681818181818181) internal successors, (69), 56 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,801 INFO L74 IsIncluded]: Start isIncluded. First operand 57 states. Second operand has 57 states, 44 states have (on average 1.5681818181818181) internal successors, (69), 56 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,802 INFO L87 Difference]: Start difference. First operand 57 states. Second operand has 57 states, 44 states have (on average 1.5681818181818181) internal successors, (69), 56 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,803 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,803 INFO L93 Difference]: Finished difference Result 57 states and 69 transitions. [2022-02-20 23:39:22,803 INFO L276 IsEmpty]: Start isEmpty. Operand 57 states and 69 transitions. [2022-02-20 23:39:22,803 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:22,803 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:22,803 INFO L74 IsIncluded]: Start isIncluded. First operand has 57 states, 44 states have (on average 1.5681818181818181) internal successors, (69), 56 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 57 states. [2022-02-20 23:39:22,803 INFO L87 Difference]: Start difference. First operand has 57 states, 44 states have (on average 1.5681818181818181) internal successors, (69), 56 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 57 states. [2022-02-20 23:39:22,804 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:22,804 INFO L93 Difference]: Finished difference Result 57 states and 69 transitions. [2022-02-20 23:39:22,804 INFO L276 IsEmpty]: Start isEmpty. Operand 57 states and 69 transitions. [2022-02-20 23:39:22,805 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:22,805 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:22,805 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:22,805 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:22,805 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 57 states, 44 states have (on average 1.5681818181818181) internal successors, (69), 56 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,806 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 57 states and 69 transitions. [2022-02-20 23:39:22,806 INFO L78 Accepts]: Start accepts. Automaton has 57 states and 69 transitions. Word has length 11 [2022-02-20 23:39:22,806 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:22,806 INFO L470 AbstractCegarLoop]: Abstraction has 57 states and 69 transitions. [2022-02-20 23:39:22,806 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 3.6666666666666665) internal successors, (11), 4 states have internal predecessors, (11), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:22,806 INFO L276 IsEmpty]: Start isEmpty. Operand 57 states and 69 transitions. [2022-02-20 23:39:22,807 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2022-02-20 23:39:22,807 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:22,807 INFO L514 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:22,807 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2022-02-20 23:39:22,807 INFO L402 AbstractCegarLoop]: === Iteration 10 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:22,807 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:22,807 INFO L85 PathProgramCache]: Analyzing trace with hash 1877967093, now seen corresponding path program 1 times [2022-02-20 23:39:22,808 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:22,808 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1125730609] [2022-02-20 23:39:22,808 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:22,808 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:22,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:22,879 INFO L290 TraceCheckUtils]: 0: Hoare triple {2497#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {2497#true} is VALID [2022-02-20 23:39:22,879 INFO L290 TraceCheckUtils]: 1: Hoare triple {2497#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {2497#true} is VALID [2022-02-20 23:39:22,879 INFO L290 TraceCheckUtils]: 2: Hoare triple {2497#true} assume !(main_~length1~0#1 < 1); {2497#true} is VALID [2022-02-20 23:39:22,880 INFO L290 TraceCheckUtils]: 3: Hoare triple {2497#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {2497#true} is VALID [2022-02-20 23:39:22,880 INFO L290 TraceCheckUtils]: 4: Hoare triple {2497#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {2499#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:22,881 INFO L290 TraceCheckUtils]: 5: Hoare triple {2499#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {2500#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:22,881 INFO L290 TraceCheckUtils]: 6: Hoare triple {2500#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {2500#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:22,882 INFO L290 TraceCheckUtils]: 7: Hoare triple {2500#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {2500#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:22,882 INFO L290 TraceCheckUtils]: 8: Hoare triple {2500#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} havoc main_#t~nondet16#1; {2500#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:22,883 INFO L290 TraceCheckUtils]: 9: Hoare triple {2500#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {2501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:22,883 INFO L290 TraceCheckUtils]: 10: Hoare triple {2501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {2502#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:22,884 INFO L290 TraceCheckUtils]: 11: Hoare triple {2502#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(1 + (main_~nondetString1~0#1.offset + main_~i~0#1) <= #length[main_~nondetString1~0#1.base] && 0 <= main_~nondetString1~0#1.offset + main_~i~0#1); {2498#false} is VALID [2022-02-20 23:39:22,884 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:22,884 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:22,884 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1125730609] [2022-02-20 23:39:22,884 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1125730609] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:22,885 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [196340791] [2022-02-20 23:39:22,885 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:22,885 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:22,885 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:22,886 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:22,887 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2022-02-20 23:39:22,929 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:22,930 INFO L263 TraceCheckSpWp]: Trace formula consists of 77 conjuncts, 17 conjunts are in the unsatisfiable core [2022-02-20 23:39:22,939 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:22,942 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:23,116 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:39:23,123 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 9 treesize of output 11 [2022-02-20 23:39:23,137 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2022-02-20 23:39:23,322 INFO L290 TraceCheckUtils]: 0: Hoare triple {2497#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {2497#true} is VALID [2022-02-20 23:39:23,323 INFO L290 TraceCheckUtils]: 1: Hoare triple {2497#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {2497#true} is VALID [2022-02-20 23:39:23,323 INFO L290 TraceCheckUtils]: 2: Hoare triple {2497#true} assume !(main_~length1~0#1 < 1); {2497#true} is VALID [2022-02-20 23:39:23,323 INFO L290 TraceCheckUtils]: 3: Hoare triple {2497#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {2497#true} is VALID [2022-02-20 23:39:23,324 INFO L290 TraceCheckUtils]: 4: Hoare triple {2497#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {2499#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:23,324 INFO L290 TraceCheckUtils]: 5: Hoare triple {2499#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {2521#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:23,325 INFO L290 TraceCheckUtils]: 6: Hoare triple {2521#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {2521#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:23,326 INFO L290 TraceCheckUtils]: 7: Hoare triple {2521#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {2521#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:23,326 INFO L290 TraceCheckUtils]: 8: Hoare triple {2521#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} havoc main_#t~nondet16#1; {2521#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:23,327 INFO L290 TraceCheckUtils]: 9: Hoare triple {2521#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {2534#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:23,327 INFO L290 TraceCheckUtils]: 10: Hoare triple {2534#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {2502#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:23,333 INFO L290 TraceCheckUtils]: 11: Hoare triple {2502#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(1 + (main_~nondetString1~0#1.offset + main_~i~0#1) <= #length[main_~nondetString1~0#1.base] && 0 <= main_~nondetString1~0#1.offset + main_~i~0#1); {2498#false} is VALID [2022-02-20 23:39:23,333 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 1 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:23,334 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:23,736 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:39:23,759 INFO L290 TraceCheckUtils]: 11: Hoare triple {2541#(and (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|)))} assume !(1 + (main_~nondetString1~0#1.offset + main_~i~0#1) <= #length[main_~nondetString1~0#1.base] && 0 <= main_~nondetString1~0#1.offset + main_~i~0#1); {2498#false} is VALID [2022-02-20 23:39:23,760 INFO L290 TraceCheckUtils]: 10: Hoare triple {2545#(or (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (and (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|))))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {2541#(and (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|)))} is VALID [2022-02-20 23:39:23,760 INFO L290 TraceCheckUtils]: 9: Hoare triple {2549#(and (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1))) (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1))))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {2545#(or (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (and (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|))))} is VALID [2022-02-20 23:39:23,761 INFO L290 TraceCheckUtils]: 8: Hoare triple {2549#(and (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1))) (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1))))} havoc main_#t~nondet16#1; {2549#(and (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1))) (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1))))} is VALID [2022-02-20 23:39:23,762 INFO L290 TraceCheckUtils]: 7: Hoare triple {2549#(and (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1))) (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1))))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {2549#(and (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1))) (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1))))} is VALID [2022-02-20 23:39:23,762 INFO L290 TraceCheckUtils]: 6: Hoare triple {2549#(and (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1))) (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1))))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {2549#(and (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1))) (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1))))} is VALID [2022-02-20 23:39:23,763 INFO L290 TraceCheckUtils]: 5: Hoare triple {2562#(<= 0 (+ |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {2549#(and (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1| 1))) (or (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1))))} is VALID [2022-02-20 23:39:23,764 INFO L290 TraceCheckUtils]: 4: Hoare triple {2497#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {2562#(<= 0 (+ |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:23,764 INFO L290 TraceCheckUtils]: 3: Hoare triple {2497#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {2497#true} is VALID [2022-02-20 23:39:23,764 INFO L290 TraceCheckUtils]: 2: Hoare triple {2497#true} assume !(main_~length1~0#1 < 1); {2497#true} is VALID [2022-02-20 23:39:23,764 INFO L290 TraceCheckUtils]: 1: Hoare triple {2497#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {2497#true} is VALID [2022-02-20 23:39:23,764 INFO L290 TraceCheckUtils]: 0: Hoare triple {2497#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {2497#true} is VALID [2022-02-20 23:39:23,764 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:23,765 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [196340791] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:23,765 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:23,765 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 5, 5] total 11 [2022-02-20 23:39:23,765 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1486772555] [2022-02-20 23:39:23,765 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:23,766 INFO L78 Accepts]: Start accepts. Automaton has has 12 states, 11 states have (on average 2.3636363636363638) internal successors, (26), 12 states have internal predecessors, (26), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 12 [2022-02-20 23:39:23,766 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:23,766 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 12 states, 11 states have (on average 2.3636363636363638) internal successors, (26), 12 states have internal predecessors, (26), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:23,784 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 26 edges. 26 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:23,784 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 12 states [2022-02-20 23:39:23,784 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:23,785 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 12 interpolants. [2022-02-20 23:39:23,785 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=45, Invalid=87, Unknown=0, NotChecked=0, Total=132 [2022-02-20 23:39:23,785 INFO L87 Difference]: Start difference. First operand 57 states and 69 transitions. Second operand has 12 states, 11 states have (on average 2.3636363636363638) internal successors, (26), 12 states have internal predecessors, (26), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,368 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:24,368 INFO L93 Difference]: Finished difference Result 128 states and 148 transitions. [2022-02-20 23:39:24,368 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2022-02-20 23:39:24,369 INFO L78 Accepts]: Start accepts. Automaton has has 12 states, 11 states have (on average 2.3636363636363638) internal successors, (26), 12 states have internal predecessors, (26), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 12 [2022-02-20 23:39:24,369 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:24,369 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 12 states, 11 states have (on average 2.3636363636363638) internal successors, (26), 12 states have internal predecessors, (26), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,370 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 130 transitions. [2022-02-20 23:39:24,370 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 12 states, 11 states have (on average 2.3636363636363638) internal successors, (26), 12 states have internal predecessors, (26), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,371 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 130 transitions. [2022-02-20 23:39:24,371 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 7 states and 130 transitions. [2022-02-20 23:39:24,469 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 130 edges. 130 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:24,470 INFO L225 Difference]: With dead ends: 128 [2022-02-20 23:39:24,470 INFO L226 Difference]: Without dead ends: 128 [2022-02-20 23:39:24,470 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 30 GetRequests, 16 SyntacticMatches, 1 SemanticMatches, 13 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 40 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=76, Invalid=134, Unknown=0, NotChecked=0, Total=210 [2022-02-20 23:39:24,471 INFO L933 BasicCegarLoop]: 75 mSDtfsCounter, 313 mSDsluCounter, 172 mSDsCounter, 0 mSdLazyCounter, 186 mSolverCounterSat, 11 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 313 SdHoareTripleChecker+Valid, 247 SdHoareTripleChecker+Invalid, 197 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 11 IncrementalHoareTripleChecker+Valid, 186 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:24,471 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [313 Valid, 247 Invalid, 197 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [11 Valid, 186 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-02-20 23:39:24,471 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 128 states. [2022-02-20 23:39:24,473 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 128 to 53. [2022-02-20 23:39:24,473 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:24,473 INFO L82 GeneralOperation]: Start isEquivalent. First operand 128 states. Second operand has 53 states, 41 states have (on average 1.5365853658536586) internal successors, (63), 52 states have internal predecessors, (63), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,473 INFO L74 IsIncluded]: Start isIncluded. First operand 128 states. Second operand has 53 states, 41 states have (on average 1.5365853658536586) internal successors, (63), 52 states have internal predecessors, (63), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,473 INFO L87 Difference]: Start difference. First operand 128 states. Second operand has 53 states, 41 states have (on average 1.5365853658536586) internal successors, (63), 52 states have internal predecessors, (63), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,475 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:24,475 INFO L93 Difference]: Finished difference Result 128 states and 148 transitions. [2022-02-20 23:39:24,475 INFO L276 IsEmpty]: Start isEmpty. Operand 128 states and 148 transitions. [2022-02-20 23:39:24,475 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:24,475 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:24,475 INFO L74 IsIncluded]: Start isIncluded. First operand has 53 states, 41 states have (on average 1.5365853658536586) internal successors, (63), 52 states have internal predecessors, (63), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 128 states. [2022-02-20 23:39:24,475 INFO L87 Difference]: Start difference. First operand has 53 states, 41 states have (on average 1.5365853658536586) internal successors, (63), 52 states have internal predecessors, (63), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 128 states. [2022-02-20 23:39:24,477 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:24,477 INFO L93 Difference]: Finished difference Result 128 states and 148 transitions. [2022-02-20 23:39:24,477 INFO L276 IsEmpty]: Start isEmpty. Operand 128 states and 148 transitions. [2022-02-20 23:39:24,477 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:24,477 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:24,477 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:24,477 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:24,478 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 53 states, 41 states have (on average 1.5365853658536586) internal successors, (63), 52 states have internal predecessors, (63), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,478 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 53 states and 63 transitions. [2022-02-20 23:39:24,478 INFO L78 Accepts]: Start accepts. Automaton has 53 states and 63 transitions. Word has length 12 [2022-02-20 23:39:24,479 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:24,479 INFO L470 AbstractCegarLoop]: Abstraction has 53 states and 63 transitions. [2022-02-20 23:39:24,479 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 12 states, 11 states have (on average 2.3636363636363638) internal successors, (26), 12 states have internal predecessors, (26), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,479 INFO L276 IsEmpty]: Start isEmpty. Operand 53 states and 63 transitions. [2022-02-20 23:39:24,479 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2022-02-20 23:39:24,479 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:24,479 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:24,498 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2022-02-20 23:39:24,691 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable9 [2022-02-20 23:39:24,692 INFO L402 AbstractCegarLoop]: === Iteration 11 === Targeting ULTIMATE.startErr8REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:24,692 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:24,692 INFO L85 PathProgramCache]: Analyzing trace with hash 876828511, now seen corresponding path program 1 times [2022-02-20 23:39:24,692 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:24,692 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1153370423] [2022-02-20 23:39:24,692 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:24,693 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:24,706 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:24,719 INFO L290 TraceCheckUtils]: 0: Hoare triple {3020#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {3020#true} is VALID [2022-02-20 23:39:24,719 INFO L290 TraceCheckUtils]: 1: Hoare triple {3020#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {3020#true} is VALID [2022-02-20 23:39:24,719 INFO L290 TraceCheckUtils]: 2: Hoare triple {3020#true} assume !(main_~length1~0#1 < 1); {3020#true} is VALID [2022-02-20 23:39:24,720 INFO L290 TraceCheckUtils]: 3: Hoare triple {3020#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {3020#true} is VALID [2022-02-20 23:39:24,720 INFO L290 TraceCheckUtils]: 4: Hoare triple {3020#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {3020#true} is VALID [2022-02-20 23:39:24,720 INFO L290 TraceCheckUtils]: 5: Hoare triple {3020#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {3020#true} is VALID [2022-02-20 23:39:24,720 INFO L290 TraceCheckUtils]: 6: Hoare triple {3020#true} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {3020#true} is VALID [2022-02-20 23:39:24,720 INFO L290 TraceCheckUtils]: 7: Hoare triple {3020#true} main_~i~1#1 := 0; {3020#true} is VALID [2022-02-20 23:39:24,720 INFO L290 TraceCheckUtils]: 8: Hoare triple {3020#true} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {3020#true} is VALID [2022-02-20 23:39:24,721 INFO L290 TraceCheckUtils]: 9: Hoare triple {3020#true} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {3022#(= (select |#valid| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1)} is VALID [2022-02-20 23:39:24,721 INFO L290 TraceCheckUtils]: 10: Hoare triple {3022#(= (select |#valid| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1)} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {3022#(= (select |#valid| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1)} is VALID [2022-02-20 23:39:24,722 INFO L290 TraceCheckUtils]: 11: Hoare triple {3022#(= (select |#valid| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1)} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {3023#(= (select |#valid| |ULTIMATE.start_cstrncat_~s~0#1.base|) 1)} is VALID [2022-02-20 23:39:24,722 INFO L290 TraceCheckUtils]: 12: Hoare triple {3023#(= (select |#valid| |ULTIMATE.start_cstrncat_~s~0#1.base|) 1)} assume !(1 == #valid[cstrncat_~s~0#1.base]); {3021#false} is VALID [2022-02-20 23:39:24,722 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:24,722 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:24,722 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1153370423] [2022-02-20 23:39:24,723 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1153370423] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:24,723 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:24,723 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-02-20 23:39:24,723 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [62407336] [2022-02-20 23:39:24,723 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:24,723 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 4.333333333333333) internal successors, (13), 4 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 13 [2022-02-20 23:39:24,723 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:24,724 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 4 states, 3 states have (on average 4.333333333333333) internal successors, (13), 4 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,731 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 13 edges. 13 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:24,732 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-02-20 23:39:24,732 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:24,732 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-02-20 23:39:24,732 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2022-02-20 23:39:24,732 INFO L87 Difference]: Start difference. First operand 53 states and 63 transitions. Second operand has 4 states, 3 states have (on average 4.333333333333333) internal successors, (13), 4 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,824 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:24,824 INFO L93 Difference]: Finished difference Result 49 states and 59 transitions. [2022-02-20 23:39:24,824 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-02-20 23:39:24,824 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 4.333333333333333) internal successors, (13), 4 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 13 [2022-02-20 23:39:24,824 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:24,824 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 3 states have (on average 4.333333333333333) internal successors, (13), 4 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,825 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 51 transitions. [2022-02-20 23:39:24,825 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 3 states have (on average 4.333333333333333) internal successors, (13), 4 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,833 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 51 transitions. [2022-02-20 23:39:24,833 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 51 transitions. [2022-02-20 23:39:24,873 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 51 edges. 51 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:24,873 INFO L225 Difference]: With dead ends: 49 [2022-02-20 23:39:24,874 INFO L226 Difference]: Without dead ends: 49 [2022-02-20 23:39:24,874 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2022-02-20 23:39:24,874 INFO L933 BasicCegarLoop]: 29 mSDtfsCounter, 53 mSDsluCounter, 20 mSDsCounter, 0 mSdLazyCounter, 31 mSolverCounterSat, 8 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 53 SdHoareTripleChecker+Valid, 49 SdHoareTripleChecker+Invalid, 39 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 8 IncrementalHoareTripleChecker+Valid, 31 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:24,875 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [53 Valid, 49 Invalid, 39 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [8 Valid, 31 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:24,875 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 49 states. [2022-02-20 23:39:24,876 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 49 to 49. [2022-02-20 23:39:24,876 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:24,877 INFO L82 GeneralOperation]: Start isEquivalent. First operand 49 states. Second operand has 49 states, 41 states have (on average 1.4390243902439024) internal successors, (59), 48 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,877 INFO L74 IsIncluded]: Start isIncluded. First operand 49 states. Second operand has 49 states, 41 states have (on average 1.4390243902439024) internal successors, (59), 48 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,877 INFO L87 Difference]: Start difference. First operand 49 states. Second operand has 49 states, 41 states have (on average 1.4390243902439024) internal successors, (59), 48 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,878 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:24,878 INFO L93 Difference]: Finished difference Result 49 states and 59 transitions. [2022-02-20 23:39:24,878 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 59 transitions. [2022-02-20 23:39:24,878 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:24,878 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:24,879 INFO L74 IsIncluded]: Start isIncluded. First operand has 49 states, 41 states have (on average 1.4390243902439024) internal successors, (59), 48 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 49 states. [2022-02-20 23:39:24,879 INFO L87 Difference]: Start difference. First operand has 49 states, 41 states have (on average 1.4390243902439024) internal successors, (59), 48 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 49 states. [2022-02-20 23:39:24,879 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:24,880 INFO L93 Difference]: Finished difference Result 49 states and 59 transitions. [2022-02-20 23:39:24,880 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 59 transitions. [2022-02-20 23:39:24,880 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:24,880 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:24,880 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:24,880 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:24,880 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 49 states, 41 states have (on average 1.4390243902439024) internal successors, (59), 48 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,881 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 49 states and 59 transitions. [2022-02-20 23:39:24,881 INFO L78 Accepts]: Start accepts. Automaton has 49 states and 59 transitions. Word has length 13 [2022-02-20 23:39:24,881 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:24,881 INFO L470 AbstractCegarLoop]: Abstraction has 49 states and 59 transitions. [2022-02-20 23:39:24,882 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 4.333333333333333) internal successors, (13), 4 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,882 INFO L276 IsEmpty]: Start isEmpty. Operand 49 states and 59 transitions. [2022-02-20 23:39:24,882 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2022-02-20 23:39:24,882 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:24,882 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:24,882 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10 [2022-02-20 23:39:24,883 INFO L402 AbstractCegarLoop]: === Iteration 12 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:24,883 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:24,883 INFO L85 PathProgramCache]: Analyzing trace with hash 876828512, now seen corresponding path program 1 times [2022-02-20 23:39:24,883 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:24,883 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [299303877] [2022-02-20 23:39:24,883 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:24,884 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:24,898 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:24,958 INFO L290 TraceCheckUtils]: 0: Hoare triple {3224#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {3224#true} is VALID [2022-02-20 23:39:24,958 INFO L290 TraceCheckUtils]: 1: Hoare triple {3224#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {3224#true} is VALID [2022-02-20 23:39:24,958 INFO L290 TraceCheckUtils]: 2: Hoare triple {3224#true} assume !(main_~length1~0#1 < 1); {3224#true} is VALID [2022-02-20 23:39:24,959 INFO L290 TraceCheckUtils]: 3: Hoare triple {3224#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {3226#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:24,959 INFO L290 TraceCheckUtils]: 4: Hoare triple {3226#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {3226#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:24,960 INFO L290 TraceCheckUtils]: 5: Hoare triple {3226#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {3227#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:24,961 INFO L290 TraceCheckUtils]: 6: Hoare triple {3227#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {3227#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:24,961 INFO L290 TraceCheckUtils]: 7: Hoare triple {3227#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} main_~i~1#1 := 0; {3227#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:24,962 INFO L290 TraceCheckUtils]: 8: Hoare triple {3227#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {3227#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:24,962 INFO L290 TraceCheckUtils]: 9: Hoare triple {3227#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {3228#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:24,963 INFO L290 TraceCheckUtils]: 10: Hoare triple {3228#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {3228#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:24,964 INFO L290 TraceCheckUtils]: 11: Hoare triple {3228#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {3229#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:24,964 INFO L290 TraceCheckUtils]: 12: Hoare triple {3229#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {3225#false} is VALID [2022-02-20 23:39:24,964 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:24,964 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:24,965 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [299303877] [2022-02-20 23:39:24,965 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [299303877] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:24,965 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:24,965 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2022-02-20 23:39:24,965 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1596385878] [2022-02-20 23:39:24,965 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:24,966 INFO L78 Accepts]: Start accepts. Automaton has has 6 states, 5 states have (on average 2.6) internal successors, (13), 6 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 13 [2022-02-20 23:39:24,979 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:24,979 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 6 states, 5 states have (on average 2.6) internal successors, (13), 6 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:24,990 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 13 edges. 13 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:24,990 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2022-02-20 23:39:24,990 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:24,991 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2022-02-20 23:39:24,991 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2022-02-20 23:39:24,991 INFO L87 Difference]: Start difference. First operand 49 states and 59 transitions. Second operand has 6 states, 5 states have (on average 2.6) internal successors, (13), 6 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,273 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:25,274 INFO L93 Difference]: Finished difference Result 72 states and 86 transitions. [2022-02-20 23:39:25,274 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2022-02-20 23:39:25,274 INFO L78 Accepts]: Start accepts. Automaton has has 6 states, 5 states have (on average 2.6) internal successors, (13), 6 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 13 [2022-02-20 23:39:25,274 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:25,274 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 6 states, 5 states have (on average 2.6) internal successors, (13), 6 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,275 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 77 transitions. [2022-02-20 23:39:25,275 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 6 states, 5 states have (on average 2.6) internal successors, (13), 6 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,276 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 77 transitions. [2022-02-20 23:39:25,276 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states and 77 transitions. [2022-02-20 23:39:25,367 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 77 edges. 77 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:25,368 INFO L225 Difference]: With dead ends: 72 [2022-02-20 23:39:25,368 INFO L226 Difference]: Without dead ends: 72 [2022-02-20 23:39:25,369 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 8 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=27, Invalid=45, Unknown=0, NotChecked=0, Total=72 [2022-02-20 23:39:25,369 INFO L933 BasicCegarLoop]: 25 mSDtfsCounter, 185 mSDsluCounter, 37 mSDsCounter, 0 mSdLazyCounter, 65 mSolverCounterSat, 11 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 185 SdHoareTripleChecker+Valid, 62 SdHoareTripleChecker+Invalid, 76 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 11 IncrementalHoareTripleChecker+Valid, 65 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:25,369 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [185 Valid, 62 Invalid, 76 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [11 Valid, 65 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-02-20 23:39:25,370 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 72 states. [2022-02-20 23:39:25,371 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 72 to 60. [2022-02-20 23:39:25,371 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:25,371 INFO L82 GeneralOperation]: Start isEquivalent. First operand 72 states. Second operand has 60 states, 52 states have (on average 1.4615384615384615) internal successors, (76), 59 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,371 INFO L74 IsIncluded]: Start isIncluded. First operand 72 states. Second operand has 60 states, 52 states have (on average 1.4615384615384615) internal successors, (76), 59 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,371 INFO L87 Difference]: Start difference. First operand 72 states. Second operand has 60 states, 52 states have (on average 1.4615384615384615) internal successors, (76), 59 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,372 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:25,372 INFO L93 Difference]: Finished difference Result 72 states and 86 transitions. [2022-02-20 23:39:25,372 INFO L276 IsEmpty]: Start isEmpty. Operand 72 states and 86 transitions. [2022-02-20 23:39:25,373 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:25,373 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:25,373 INFO L74 IsIncluded]: Start isIncluded. First operand has 60 states, 52 states have (on average 1.4615384615384615) internal successors, (76), 59 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 72 states. [2022-02-20 23:39:25,373 INFO L87 Difference]: Start difference. First operand has 60 states, 52 states have (on average 1.4615384615384615) internal successors, (76), 59 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 72 states. [2022-02-20 23:39:25,374 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:25,374 INFO L93 Difference]: Finished difference Result 72 states and 86 transitions. [2022-02-20 23:39:25,374 INFO L276 IsEmpty]: Start isEmpty. Operand 72 states and 86 transitions. [2022-02-20 23:39:25,374 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:25,374 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:25,374 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:25,375 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:25,375 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 60 states, 52 states have (on average 1.4615384615384615) internal successors, (76), 59 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,375 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 60 states to 60 states and 76 transitions. [2022-02-20 23:39:25,375 INFO L78 Accepts]: Start accepts. Automaton has 60 states and 76 transitions. Word has length 13 [2022-02-20 23:39:25,376 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:25,376 INFO L470 AbstractCegarLoop]: Abstraction has 60 states and 76 transitions. [2022-02-20 23:39:25,376 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 5 states have (on average 2.6) internal successors, (13), 6 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,376 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 76 transitions. [2022-02-20 23:39:25,376 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2022-02-20 23:39:25,376 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:25,376 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:25,377 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2022-02-20 23:39:25,377 INFO L402 AbstractCegarLoop]: === Iteration 13 === Targeting ULTIMATE.startErr3REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:25,377 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:25,377 INFO L85 PathProgramCache]: Analyzing trace with hash 1541125411, now seen corresponding path program 1 times [2022-02-20 23:39:25,377 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:25,377 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [864316899] [2022-02-20 23:39:25,377 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:25,377 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:25,391 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:25,435 INFO L290 TraceCheckUtils]: 0: Hoare triple {3514#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {3514#true} is VALID [2022-02-20 23:39:25,435 INFO L290 TraceCheckUtils]: 1: Hoare triple {3514#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {3514#true} is VALID [2022-02-20 23:39:25,436 INFO L290 TraceCheckUtils]: 2: Hoare triple {3514#true} assume !(main_~length1~0#1 < 1); {3514#true} is VALID [2022-02-20 23:39:25,436 INFO L290 TraceCheckUtils]: 3: Hoare triple {3514#true} assume !(main_~length2~0#1 < 1); {3514#true} is VALID [2022-02-20 23:39:25,436 INFO L290 TraceCheckUtils]: 4: Hoare triple {3514#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {3514#true} is VALID [2022-02-20 23:39:25,439 INFO L290 TraceCheckUtils]: 5: Hoare triple {3514#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:25,439 INFO L290 TraceCheckUtils]: 6: Hoare triple {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:25,440 INFO L290 TraceCheckUtils]: 7: Hoare triple {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:25,440 INFO L290 TraceCheckUtils]: 8: Hoare triple {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} havoc main_#t~nondet16#1; {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:25,440 INFO L290 TraceCheckUtils]: 9: Hoare triple {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:25,441 INFO L290 TraceCheckUtils]: 10: Hoare triple {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:25,441 INFO L290 TraceCheckUtils]: 11: Hoare triple {3516#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_~i~1#1 := 0; {3517#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:25,442 INFO L290 TraceCheckUtils]: 12: Hoare triple {3517#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {3518#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:25,442 INFO L290 TraceCheckUtils]: 13: Hoare triple {3518#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !(1 + (main_~nondetString2~0#1.offset + main_~i~1#1) <= #length[main_~nondetString2~0#1.base] && 0 <= main_~nondetString2~0#1.offset + main_~i~1#1); {3515#false} is VALID [2022-02-20 23:39:25,442 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:25,443 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:25,443 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [864316899] [2022-02-20 23:39:25,443 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [864316899] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:25,443 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:25,443 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2022-02-20 23:39:25,443 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2005563125] [2022-02-20 23:39:25,443 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:25,444 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 4 states have (on average 3.5) internal successors, (14), 5 states have internal predecessors, (14), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 14 [2022-02-20 23:39:25,444 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:25,444 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 5 states, 4 states have (on average 3.5) internal successors, (14), 5 states have internal predecessors, (14), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,452 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 14 edges. 14 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:25,453 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2022-02-20 23:39:25,453 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:25,453 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2022-02-20 23:39:25,453 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2022-02-20 23:39:25,453 INFO L87 Difference]: Start difference. First operand 60 states and 76 transitions. Second operand has 5 states, 4 states have (on average 3.5) internal successors, (14), 5 states have internal predecessors, (14), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,612 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:25,612 INFO L93 Difference]: Finished difference Result 99 states and 125 transitions. [2022-02-20 23:39:25,612 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2022-02-20 23:39:25,612 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 4 states have (on average 3.5) internal successors, (14), 5 states have internal predecessors, (14), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 14 [2022-02-20 23:39:25,612 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:25,613 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 3.5) internal successors, (14), 5 states have internal predecessors, (14), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,613 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 80 transitions. [2022-02-20 23:39:25,613 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 3.5) internal successors, (14), 5 states have internal predecessors, (14), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,614 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 80 transitions. [2022-02-20 23:39:25,614 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 80 transitions. [2022-02-20 23:39:25,673 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 80 edges. 80 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:25,674 INFO L225 Difference]: With dead ends: 99 [2022-02-20 23:39:25,674 INFO L226 Difference]: Without dead ends: 99 [2022-02-20 23:39:25,674 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=13, Invalid=17, Unknown=0, NotChecked=0, Total=30 [2022-02-20 23:39:25,675 INFO L933 BasicCegarLoop]: 28 mSDtfsCounter, 67 mSDsluCounter, 52 mSDsCounter, 0 mSdLazyCounter, 67 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 67 SdHoareTripleChecker+Valid, 80 SdHoareTripleChecker+Invalid, 68 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 67 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:25,675 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [67 Valid, 80 Invalid, 68 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 67 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:25,675 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 99 states. [2022-02-20 23:39:25,677 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 99 to 62. [2022-02-20 23:39:25,677 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:25,677 INFO L82 GeneralOperation]: Start isEquivalent. First operand 99 states. Second operand has 62 states, 54 states have (on average 1.462962962962963) internal successors, (79), 61 states have internal predecessors, (79), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,677 INFO L74 IsIncluded]: Start isIncluded. First operand 99 states. Second operand has 62 states, 54 states have (on average 1.462962962962963) internal successors, (79), 61 states have internal predecessors, (79), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,677 INFO L87 Difference]: Start difference. First operand 99 states. Second operand has 62 states, 54 states have (on average 1.462962962962963) internal successors, (79), 61 states have internal predecessors, (79), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,679 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:25,679 INFO L93 Difference]: Finished difference Result 99 states and 125 transitions. [2022-02-20 23:39:25,679 INFO L276 IsEmpty]: Start isEmpty. Operand 99 states and 125 transitions. [2022-02-20 23:39:25,679 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:25,679 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:25,679 INFO L74 IsIncluded]: Start isIncluded. First operand has 62 states, 54 states have (on average 1.462962962962963) internal successors, (79), 61 states have internal predecessors, (79), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 99 states. [2022-02-20 23:39:25,680 INFO L87 Difference]: Start difference. First operand has 62 states, 54 states have (on average 1.462962962962963) internal successors, (79), 61 states have internal predecessors, (79), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 99 states. [2022-02-20 23:39:25,681 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:25,681 INFO L93 Difference]: Finished difference Result 99 states and 125 transitions. [2022-02-20 23:39:25,681 INFO L276 IsEmpty]: Start isEmpty. Operand 99 states and 125 transitions. [2022-02-20 23:39:25,681 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:25,681 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:25,681 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:25,682 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:25,682 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 62 states, 54 states have (on average 1.462962962962963) internal successors, (79), 61 states have internal predecessors, (79), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,682 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 62 states to 62 states and 79 transitions. [2022-02-20 23:39:25,683 INFO L78 Accepts]: Start accepts. Automaton has 62 states and 79 transitions. Word has length 14 [2022-02-20 23:39:25,683 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:25,683 INFO L470 AbstractCegarLoop]: Abstraction has 62 states and 79 transitions. [2022-02-20 23:39:25,683 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 4 states have (on average 3.5) internal successors, (14), 5 states have internal predecessors, (14), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:25,683 INFO L276 IsEmpty]: Start isEmpty. Operand 62 states and 79 transitions. [2022-02-20 23:39:25,683 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2022-02-20 23:39:25,683 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:25,683 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:25,684 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2022-02-20 23:39:25,684 INFO L402 AbstractCegarLoop]: === Iteration 14 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:25,684 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:25,684 INFO L85 PathProgramCache]: Analyzing trace with hash 818610617, now seen corresponding path program 1 times [2022-02-20 23:39:25,684 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:25,684 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1923043096] [2022-02-20 23:39:25,684 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:25,685 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:25,699 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:25,769 INFO L290 TraceCheckUtils]: 0: Hoare triple {3882#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {3882#true} is VALID [2022-02-20 23:39:25,769 INFO L290 TraceCheckUtils]: 1: Hoare triple {3882#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {3882#true} is VALID [2022-02-20 23:39:25,769 INFO L290 TraceCheckUtils]: 2: Hoare triple {3882#true} assume !(main_~length1~0#1 < 1); {3882#true} is VALID [2022-02-20 23:39:25,770 INFO L290 TraceCheckUtils]: 3: Hoare triple {3882#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {3884#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:25,770 INFO L290 TraceCheckUtils]: 4: Hoare triple {3884#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {3885#(<= 2 (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:25,771 INFO L290 TraceCheckUtils]: 5: Hoare triple {3885#(<= 2 (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {3886#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:25,771 INFO L290 TraceCheckUtils]: 6: Hoare triple {3886#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~length1~0#1|))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {3886#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:25,772 INFO L290 TraceCheckUtils]: 7: Hoare triple {3886#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~length1~0#1|))} main_~i~1#1 := 0; {3886#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:25,772 INFO L290 TraceCheckUtils]: 8: Hoare triple {3886#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~length1~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {3886#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:25,773 INFO L290 TraceCheckUtils]: 9: Hoare triple {3886#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~length1~0#1|))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {3887#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:25,773 INFO L290 TraceCheckUtils]: 10: Hoare triple {3887#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {3887#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:25,774 INFO L290 TraceCheckUtils]: 11: Hoare triple {3887#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {3888#(and (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:25,774 INFO L290 TraceCheckUtils]: 12: Hoare triple {3888#(and (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {3888#(and (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:25,774 INFO L290 TraceCheckUtils]: 13: Hoare triple {3888#(and (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {3889#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:25,775 INFO L290 TraceCheckUtils]: 14: Hoare triple {3889#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {3883#false} is VALID [2022-02-20 23:39:25,775 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:25,775 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:25,775 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1923043096] [2022-02-20 23:39:25,775 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1923043096] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:25,776 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [79717160] [2022-02-20 23:39:25,776 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:25,776 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:25,776 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:25,777 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:25,805 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2022-02-20 23:39:25,866 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:25,867 INFO L263 TraceCheckSpWp]: Trace formula consists of 115 conjuncts, 32 conjunts are in the unsatisfiable core [2022-02-20 23:39:25,878 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:25,879 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:26,024 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:39:26,025 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 9 treesize of output 11 [2022-02-20 23:39:26,033 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2022-02-20 23:39:26,165 INFO L290 TraceCheckUtils]: 0: Hoare triple {3882#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {3882#true} is VALID [2022-02-20 23:39:26,166 INFO L290 TraceCheckUtils]: 1: Hoare triple {3882#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {3882#true} is VALID [2022-02-20 23:39:26,166 INFO L290 TraceCheckUtils]: 2: Hoare triple {3882#true} assume !(main_~length1~0#1 < 1); {3882#true} is VALID [2022-02-20 23:39:26,166 INFO L290 TraceCheckUtils]: 3: Hoare triple {3882#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {3884#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:26,167 INFO L290 TraceCheckUtils]: 4: Hoare triple {3884#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {3905#(and (<= 1 |ULTIMATE.start_main_~length2~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:26,168 INFO L290 TraceCheckUtils]: 5: Hoare triple {3905#(and (<= 1 |ULTIMATE.start_main_~length2~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:26,168 INFO L290 TraceCheckUtils]: 6: Hoare triple {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:26,169 INFO L290 TraceCheckUtils]: 7: Hoare triple {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_~i~1#1 := 0; {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:26,170 INFO L290 TraceCheckUtils]: 8: Hoare triple {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:26,171 INFO L290 TraceCheckUtils]: 9: Hoare triple {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:26,171 INFO L290 TraceCheckUtils]: 10: Hoare triple {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:26,172 INFO L290 TraceCheckUtils]: 11: Hoare triple {3909#(and (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {3928#(and (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:26,172 INFO L290 TraceCheckUtils]: 12: Hoare triple {3928#(and (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {3888#(and (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:26,173 INFO L290 TraceCheckUtils]: 13: Hoare triple {3888#(and (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {3935#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:26,173 INFO L290 TraceCheckUtils]: 14: Hoare triple {3935#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {3883#false} is VALID [2022-02-20 23:39:26,173 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:26,174 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:26,537 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:39:26,564 INFO L290 TraceCheckUtils]: 14: Hoare triple {3939#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {3883#false} is VALID [2022-02-20 23:39:26,565 INFO L290 TraceCheckUtils]: 13: Hoare triple {3943#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {3939#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:26,566 INFO L290 TraceCheckUtils]: 12: Hoare triple {3947#(or (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {3943#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} is VALID [2022-02-20 23:39:26,567 INFO L290 TraceCheckUtils]: 11: Hoare triple {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {3947#(or (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)))} is VALID [2022-02-20 23:39:26,567 INFO L290 TraceCheckUtils]: 10: Hoare triple {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:26,568 INFO L290 TraceCheckUtils]: 9: Hoare triple {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:26,568 INFO L290 TraceCheckUtils]: 8: Hoare triple {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:26,568 INFO L290 TraceCheckUtils]: 7: Hoare triple {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_~i~1#1 := 0; {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:26,569 INFO L290 TraceCheckUtils]: 6: Hoare triple {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:26,570 INFO L290 TraceCheckUtils]: 5: Hoare triple {3885#(<= 2 (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {3951#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:26,570 INFO L290 TraceCheckUtils]: 4: Hoare triple {3884#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {3885#(<= 2 (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:26,570 INFO L290 TraceCheckUtils]: 3: Hoare triple {3882#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {3884#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:26,571 INFO L290 TraceCheckUtils]: 2: Hoare triple {3882#true} assume !(main_~length1~0#1 < 1); {3882#true} is VALID [2022-02-20 23:39:26,571 INFO L290 TraceCheckUtils]: 1: Hoare triple {3882#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {3882#true} is VALID [2022-02-20 23:39:26,571 INFO L290 TraceCheckUtils]: 0: Hoare triple {3882#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {3882#true} is VALID [2022-02-20 23:39:26,571 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:26,571 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [79717160] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:26,571 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:26,571 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7, 7] total 15 [2022-02-20 23:39:26,572 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2095360477] [2022-02-20 23:39:26,572 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:26,572 INFO L78 Accepts]: Start accepts. Automaton has has 16 states, 15 states have (on average 2.4) internal successors, (36), 16 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 15 [2022-02-20 23:39:26,572 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:26,573 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 16 states, 15 states have (on average 2.4) internal successors, (36), 16 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:26,596 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 36 edges. 36 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:26,596 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 16 states [2022-02-20 23:39:26,597 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:26,597 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 16 interpolants. [2022-02-20 23:39:26,597 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=46, Invalid=194, Unknown=0, NotChecked=0, Total=240 [2022-02-20 23:39:26,597 INFO L87 Difference]: Start difference. First operand 62 states and 79 transitions. Second operand has 16 states, 15 states have (on average 2.4) internal successors, (36), 16 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,038 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:27,038 INFO L93 Difference]: Finished difference Result 92 states and 111 transitions. [2022-02-20 23:39:27,038 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2022-02-20 23:39:27,038 INFO L78 Accepts]: Start accepts. Automaton has has 16 states, 15 states have (on average 2.4) internal successors, (36), 16 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 15 [2022-02-20 23:39:27,038 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:27,038 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 16 states, 15 states have (on average 2.4) internal successors, (36), 16 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,039 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 8 states to 8 states and 103 transitions. [2022-02-20 23:39:27,039 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 16 states, 15 states have (on average 2.4) internal successors, (36), 16 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,040 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 8 states to 8 states and 103 transitions. [2022-02-20 23:39:27,040 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 8 states and 103 transitions. [2022-02-20 23:39:27,131 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 103 edges. 103 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:27,132 INFO L225 Difference]: With dead ends: 92 [2022-02-20 23:39:27,132 INFO L226 Difference]: Without dead ends: 92 [2022-02-20 23:39:27,133 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 39 GetRequests, 20 SyntacticMatches, 1 SemanticMatches, 18 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 42 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=96, Invalid=284, Unknown=0, NotChecked=0, Total=380 [2022-02-20 23:39:27,133 INFO L933 BasicCegarLoop]: 36 mSDtfsCounter, 356 mSDsluCounter, 110 mSDsCounter, 0 mSdLazyCounter, 125 mSolverCounterSat, 34 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 356 SdHoareTripleChecker+Valid, 146 SdHoareTripleChecker+Invalid, 159 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 34 IncrementalHoareTripleChecker+Valid, 125 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:27,133 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [356 Valid, 146 Invalid, 159 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [34 Valid, 125 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-02-20 23:39:27,133 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 92 states. [2022-02-20 23:39:27,134 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 92 to 65. [2022-02-20 23:39:27,134 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:27,134 INFO L82 GeneralOperation]: Start isEquivalent. First operand 92 states. Second operand has 65 states, 58 states have (on average 1.4655172413793103) internal successors, (85), 64 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,135 INFO L74 IsIncluded]: Start isIncluded. First operand 92 states. Second operand has 65 states, 58 states have (on average 1.4655172413793103) internal successors, (85), 64 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,135 INFO L87 Difference]: Start difference. First operand 92 states. Second operand has 65 states, 58 states have (on average 1.4655172413793103) internal successors, (85), 64 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,136 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:27,136 INFO L93 Difference]: Finished difference Result 92 states and 111 transitions. [2022-02-20 23:39:27,136 INFO L276 IsEmpty]: Start isEmpty. Operand 92 states and 111 transitions. [2022-02-20 23:39:27,136 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:27,136 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:27,136 INFO L74 IsIncluded]: Start isIncluded. First operand has 65 states, 58 states have (on average 1.4655172413793103) internal successors, (85), 64 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 92 states. [2022-02-20 23:39:27,137 INFO L87 Difference]: Start difference. First operand has 65 states, 58 states have (on average 1.4655172413793103) internal successors, (85), 64 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 92 states. [2022-02-20 23:39:27,138 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:27,138 INFO L93 Difference]: Finished difference Result 92 states and 111 transitions. [2022-02-20 23:39:27,138 INFO L276 IsEmpty]: Start isEmpty. Operand 92 states and 111 transitions. [2022-02-20 23:39:27,138 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:27,138 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:27,138 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:27,138 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:27,138 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 65 states, 58 states have (on average 1.4655172413793103) internal successors, (85), 64 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,139 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 65 states and 85 transitions. [2022-02-20 23:39:27,139 INFO L78 Accepts]: Start accepts. Automaton has 65 states and 85 transitions. Word has length 15 [2022-02-20 23:39:27,139 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:27,139 INFO L470 AbstractCegarLoop]: Abstraction has 65 states and 85 transitions. [2022-02-20 23:39:27,140 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 16 states, 15 states have (on average 2.4) internal successors, (36), 16 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,140 INFO L276 IsEmpty]: Start isEmpty. Operand 65 states and 85 transitions. [2022-02-20 23:39:27,140 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2022-02-20 23:39:27,140 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:27,140 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:27,157 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2022-02-20 23:39:27,350 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable13 [2022-02-20 23:39:27,350 INFO L402 AbstractCegarLoop]: === Iteration 15 === Targeting ULTIMATE.startErr10REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:27,350 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:27,350 INFO L85 PathProgramCache]: Analyzing trace with hash 705742569, now seen corresponding path program 1 times [2022-02-20 23:39:27,350 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:27,350 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [405565515] [2022-02-20 23:39:27,350 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:27,350 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:27,363 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:27,386 INFO L290 TraceCheckUtils]: 0: Hoare triple {4333#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {4333#true} is VALID [2022-02-20 23:39:27,387 INFO L290 TraceCheckUtils]: 1: Hoare triple {4333#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {4333#true} is VALID [2022-02-20 23:39:27,387 INFO L290 TraceCheckUtils]: 2: Hoare triple {4333#true} assume !(main_~length1~0#1 < 1); {4333#true} is VALID [2022-02-20 23:39:27,387 INFO L290 TraceCheckUtils]: 3: Hoare triple {4333#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {4333#true} is VALID [2022-02-20 23:39:27,387 INFO L290 TraceCheckUtils]: 4: Hoare triple {4333#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {4333#true} is VALID [2022-02-20 23:39:27,387 INFO L290 TraceCheckUtils]: 5: Hoare triple {4333#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {4333#true} is VALID [2022-02-20 23:39:27,388 INFO L290 TraceCheckUtils]: 6: Hoare triple {4333#true} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {4333#true} is VALID [2022-02-20 23:39:27,388 INFO L290 TraceCheckUtils]: 7: Hoare triple {4333#true} main_~i~1#1 := 0; {4333#true} is VALID [2022-02-20 23:39:27,389 INFO L290 TraceCheckUtils]: 8: Hoare triple {4333#true} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {4333#true} is VALID [2022-02-20 23:39:27,389 INFO L290 TraceCheckUtils]: 9: Hoare triple {4333#true} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {4333#true} is VALID [2022-02-20 23:39:27,389 INFO L290 TraceCheckUtils]: 10: Hoare triple {4333#true} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {4335#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} is VALID [2022-02-20 23:39:27,390 INFO L290 TraceCheckUtils]: 11: Hoare triple {4335#(= (select |#valid| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {4336#(= (select |#valid| |ULTIMATE.start_cstrncat_~s2#1.base|) 1)} is VALID [2022-02-20 23:39:27,390 INFO L290 TraceCheckUtils]: 12: Hoare triple {4336#(= (select |#valid| |ULTIMATE.start_cstrncat_~s2#1.base|) 1)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {4336#(= (select |#valid| |ULTIMATE.start_cstrncat_~s2#1.base|) 1)} is VALID [2022-02-20 23:39:27,390 INFO L290 TraceCheckUtils]: 13: Hoare triple {4336#(= (select |#valid| |ULTIMATE.start_cstrncat_~s2#1.base|) 1)} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {4336#(= (select |#valid| |ULTIMATE.start_cstrncat_~s2#1.base|) 1)} is VALID [2022-02-20 23:39:27,391 INFO L290 TraceCheckUtils]: 14: Hoare triple {4336#(= (select |#valid| |ULTIMATE.start_cstrncat_~s2#1.base|) 1)} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {4336#(= (select |#valid| |ULTIMATE.start_cstrncat_~s2#1.base|) 1)} is VALID [2022-02-20 23:39:27,391 INFO L290 TraceCheckUtils]: 15: Hoare triple {4336#(= (select |#valid| |ULTIMATE.start_cstrncat_~s2#1.base|) 1)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {4337#(= (select |#valid| |ULTIMATE.start_cstrncat_#t~post4#1.base|) 1)} is VALID [2022-02-20 23:39:27,392 INFO L290 TraceCheckUtils]: 16: Hoare triple {4337#(= (select |#valid| |ULTIMATE.start_cstrncat_#t~post4#1.base|) 1)} assume !(1 == #valid[cstrncat_#t~post4#1.base]); {4334#false} is VALID [2022-02-20 23:39:27,392 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:27,392 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:27,392 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [405565515] [2022-02-20 23:39:27,392 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [405565515] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:27,393 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:27,393 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2022-02-20 23:39:27,393 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [870042469] [2022-02-20 23:39:27,393 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:27,393 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 4 states have (on average 4.25) internal successors, (17), 5 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 17 [2022-02-20 23:39:27,393 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:27,394 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 5 states, 4 states have (on average 4.25) internal successors, (17), 5 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,403 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 17 edges. 17 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:27,403 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2022-02-20 23:39:27,404 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:27,404 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2022-02-20 23:39:27,404 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2022-02-20 23:39:27,404 INFO L87 Difference]: Start difference. First operand 65 states and 85 transitions. Second operand has 5 states, 4 states have (on average 4.25) internal successors, (17), 5 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,485 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:27,486 INFO L93 Difference]: Finished difference Result 66 states and 86 transitions. [2022-02-20 23:39:27,486 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2022-02-20 23:39:27,486 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 4 states have (on average 4.25) internal successors, (17), 5 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 17 [2022-02-20 23:39:27,486 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:27,486 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 4.25) internal successors, (17), 5 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,488 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 48 transitions. [2022-02-20 23:39:27,488 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 4.25) internal successors, (17), 5 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,489 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 48 transitions. [2022-02-20 23:39:27,489 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 48 transitions. [2022-02-20 23:39:27,516 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 48 edges. 48 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:27,517 INFO L225 Difference]: With dead ends: 66 [2022-02-20 23:39:27,517 INFO L226 Difference]: Without dead ends: 66 [2022-02-20 23:39:27,518 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 6 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=17, Invalid=25, Unknown=0, NotChecked=0, Total=42 [2022-02-20 23:39:27,520 INFO L933 BasicCegarLoop]: 33 mSDtfsCounter, 54 mSDsluCounter, 42 mSDsCounter, 0 mSdLazyCounter, 46 mSolverCounterSat, 3 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 54 SdHoareTripleChecker+Valid, 75 SdHoareTripleChecker+Invalid, 49 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 3 IncrementalHoareTripleChecker+Valid, 46 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:27,520 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [54 Valid, 75 Invalid, 49 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [3 Valid, 46 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:27,521 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 66 states. [2022-02-20 23:39:27,522 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 66 to 64. [2022-02-20 23:39:27,522 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:27,522 INFO L82 GeneralOperation]: Start isEquivalent. First operand 66 states. Second operand has 64 states, 58 states have (on average 1.4137931034482758) internal successors, (82), 63 states have internal predecessors, (82), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,522 INFO L74 IsIncluded]: Start isIncluded. First operand 66 states. Second operand has 64 states, 58 states have (on average 1.4137931034482758) internal successors, (82), 63 states have internal predecessors, (82), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,522 INFO L87 Difference]: Start difference. First operand 66 states. Second operand has 64 states, 58 states have (on average 1.4137931034482758) internal successors, (82), 63 states have internal predecessors, (82), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,523 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:27,523 INFO L93 Difference]: Finished difference Result 66 states and 86 transitions. [2022-02-20 23:39:27,523 INFO L276 IsEmpty]: Start isEmpty. Operand 66 states and 86 transitions. [2022-02-20 23:39:27,523 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:27,523 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:27,524 INFO L74 IsIncluded]: Start isIncluded. First operand has 64 states, 58 states have (on average 1.4137931034482758) internal successors, (82), 63 states have internal predecessors, (82), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 66 states. [2022-02-20 23:39:27,524 INFO L87 Difference]: Start difference. First operand has 64 states, 58 states have (on average 1.4137931034482758) internal successors, (82), 63 states have internal predecessors, (82), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 66 states. [2022-02-20 23:39:27,525 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:27,525 INFO L93 Difference]: Finished difference Result 66 states and 86 transitions. [2022-02-20 23:39:27,525 INFO L276 IsEmpty]: Start isEmpty. Operand 66 states and 86 transitions. [2022-02-20 23:39:27,525 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:27,525 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:27,525 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:27,525 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:27,525 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 64 states, 58 states have (on average 1.4137931034482758) internal successors, (82), 63 states have internal predecessors, (82), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,526 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 64 states to 64 states and 82 transitions. [2022-02-20 23:39:27,526 INFO L78 Accepts]: Start accepts. Automaton has 64 states and 82 transitions. Word has length 17 [2022-02-20 23:39:27,526 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:27,526 INFO L470 AbstractCegarLoop]: Abstraction has 64 states and 82 transitions. [2022-02-20 23:39:27,526 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 4 states have (on average 4.25) internal successors, (17), 5 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,526 INFO L276 IsEmpty]: Start isEmpty. Operand 64 states and 82 transitions. [2022-02-20 23:39:27,527 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2022-02-20 23:39:27,527 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:27,527 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:27,527 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable14 [2022-02-20 23:39:27,527 INFO L402 AbstractCegarLoop]: === Iteration 16 === Targeting ULTIMATE.startErr11REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:27,527 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:27,528 INFO L85 PathProgramCache]: Analyzing trace with hash 705742570, now seen corresponding path program 1 times [2022-02-20 23:39:27,528 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:27,528 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [155656327] [2022-02-20 23:39:27,528 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:27,528 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:27,548 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:27,594 INFO L290 TraceCheckUtils]: 0: Hoare triple {4606#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {4606#true} is VALID [2022-02-20 23:39:27,595 INFO L290 TraceCheckUtils]: 1: Hoare triple {4606#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {4606#true} is VALID [2022-02-20 23:39:27,595 INFO L290 TraceCheckUtils]: 2: Hoare triple {4606#true} assume !(main_~length1~0#1 < 1); {4606#true} is VALID [2022-02-20 23:39:27,595 INFO L290 TraceCheckUtils]: 3: Hoare triple {4606#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {4608#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:27,595 INFO L290 TraceCheckUtils]: 4: Hoare triple {4608#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {4608#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:27,596 INFO L290 TraceCheckUtils]: 5: Hoare triple {4608#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:27,597 INFO L290 TraceCheckUtils]: 6: Hoare triple {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:27,597 INFO L290 TraceCheckUtils]: 7: Hoare triple {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_~i~1#1 := 0; {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:27,598 INFO L290 TraceCheckUtils]: 8: Hoare triple {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:27,598 INFO L290 TraceCheckUtils]: 9: Hoare triple {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:27,599 INFO L290 TraceCheckUtils]: 10: Hoare triple {4609#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|) (= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {4610#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:27,599 INFO L290 TraceCheckUtils]: 11: Hoare triple {4610#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 1 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {4611#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:39:27,600 INFO L290 TraceCheckUtils]: 12: Hoare triple {4611#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {4611#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:39:27,600 INFO L290 TraceCheckUtils]: 13: Hoare triple {4611#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {4611#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:39:27,601 INFO L290 TraceCheckUtils]: 14: Hoare triple {4611#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {4611#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:39:27,601 INFO L290 TraceCheckUtils]: 15: Hoare triple {4611#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {4612#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0))} is VALID [2022-02-20 23:39:27,602 INFO L290 TraceCheckUtils]: 16: Hoare triple {4612#(and (<= 1 (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0))} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {4607#false} is VALID [2022-02-20 23:39:27,602 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:27,602 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:27,602 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [155656327] [2022-02-20 23:39:27,602 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [155656327] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:27,602 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:27,602 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2022-02-20 23:39:27,602 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2012433632] [2022-02-20 23:39:27,603 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:27,603 INFO L78 Accepts]: Start accepts. Automaton has has 7 states, 6 states have (on average 2.8333333333333335) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 17 [2022-02-20 23:39:27,603 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:27,603 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 7 states, 6 states have (on average 2.8333333333333335) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,615 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 17 edges. 17 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:27,616 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2022-02-20 23:39:27,616 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:27,616 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2022-02-20 23:39:27,616 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2022-02-20 23:39:27,616 INFO L87 Difference]: Start difference. First operand 64 states and 82 transitions. Second operand has 7 states, 6 states have (on average 2.8333333333333335) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,799 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:27,799 INFO L93 Difference]: Finished difference Result 87 states and 110 transitions. [2022-02-20 23:39:27,799 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2022-02-20 23:39:27,799 INFO L78 Accepts]: Start accepts. Automaton has has 7 states, 6 states have (on average 2.8333333333333335) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 17 [2022-02-20 23:39:27,799 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:27,799 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 7 states, 6 states have (on average 2.8333333333333335) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,800 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 65 transitions. [2022-02-20 23:39:27,800 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 7 states, 6 states have (on average 2.8333333333333335) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,800 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 65 transitions. [2022-02-20 23:39:27,800 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states and 65 transitions. [2022-02-20 23:39:27,847 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 65 edges. 65 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:27,848 INFO L225 Difference]: With dead ends: 87 [2022-02-20 23:39:27,848 INFO L226 Difference]: Without dead ends: 87 [2022-02-20 23:39:27,848 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 8 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=25, Invalid=47, Unknown=0, NotChecked=0, Total=72 [2022-02-20 23:39:27,848 INFO L933 BasicCegarLoop]: 28 mSDtfsCounter, 179 mSDsluCounter, 56 mSDsCounter, 0 mSdLazyCounter, 60 mSolverCounterSat, 5 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 179 SdHoareTripleChecker+Valid, 84 SdHoareTripleChecker+Invalid, 65 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 5 IncrementalHoareTripleChecker+Valid, 60 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:27,848 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [179 Valid, 84 Invalid, 65 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [5 Valid, 60 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:27,849 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 87 states. [2022-02-20 23:39:27,849 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 87 to 73. [2022-02-20 23:39:27,849 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:27,850 INFO L82 GeneralOperation]: Start isEquivalent. First operand 87 states. Second operand has 73 states, 67 states have (on average 1.4179104477611941) internal successors, (95), 72 states have internal predecessors, (95), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,850 INFO L74 IsIncluded]: Start isIncluded. First operand 87 states. Second operand has 73 states, 67 states have (on average 1.4179104477611941) internal successors, (95), 72 states have internal predecessors, (95), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,850 INFO L87 Difference]: Start difference. First operand 87 states. Second operand has 73 states, 67 states have (on average 1.4179104477611941) internal successors, (95), 72 states have internal predecessors, (95), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,851 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:27,851 INFO L93 Difference]: Finished difference Result 87 states and 110 transitions. [2022-02-20 23:39:27,851 INFO L276 IsEmpty]: Start isEmpty. Operand 87 states and 110 transitions. [2022-02-20 23:39:27,851 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:27,851 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:27,851 INFO L74 IsIncluded]: Start isIncluded. First operand has 73 states, 67 states have (on average 1.4179104477611941) internal successors, (95), 72 states have internal predecessors, (95), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 87 states. [2022-02-20 23:39:27,852 INFO L87 Difference]: Start difference. First operand has 73 states, 67 states have (on average 1.4179104477611941) internal successors, (95), 72 states have internal predecessors, (95), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 87 states. [2022-02-20 23:39:27,852 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:27,852 INFO L93 Difference]: Finished difference Result 87 states and 110 transitions. [2022-02-20 23:39:27,852 INFO L276 IsEmpty]: Start isEmpty. Operand 87 states and 110 transitions. [2022-02-20 23:39:27,853 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:27,853 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:27,853 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:27,853 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:27,853 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 73 states, 67 states have (on average 1.4179104477611941) internal successors, (95), 72 states have internal predecessors, (95), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,854 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 73 states to 73 states and 95 transitions. [2022-02-20 23:39:27,854 INFO L78 Accepts]: Start accepts. Automaton has 73 states and 95 transitions. Word has length 17 [2022-02-20 23:39:27,854 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:27,854 INFO L470 AbstractCegarLoop]: Abstraction has 73 states and 95 transitions. [2022-02-20 23:39:27,854 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 6 states have (on average 2.8333333333333335) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,854 INFO L276 IsEmpty]: Start isEmpty. Operand 73 states and 95 transitions. [2022-02-20 23:39:27,855 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2022-02-20 23:39:27,855 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:27,855 INFO L514 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:27,855 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable15 [2022-02-20 23:39:27,855 INFO L402 AbstractCegarLoop]: === Iteration 17 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:27,855 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:27,856 INFO L85 PathProgramCache]: Analyzing trace with hash 705788370, now seen corresponding path program 2 times [2022-02-20 23:39:27,856 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:27,856 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [153173233] [2022-02-20 23:39:27,856 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:27,856 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:27,875 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:27,957 INFO L290 TraceCheckUtils]: 0: Hoare triple {4953#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {4953#true} is VALID [2022-02-20 23:39:27,958 INFO L290 TraceCheckUtils]: 1: Hoare triple {4953#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {4953#true} is VALID [2022-02-20 23:39:27,958 INFO L290 TraceCheckUtils]: 2: Hoare triple {4953#true} assume !(main_~length1~0#1 < 1); {4953#true} is VALID [2022-02-20 23:39:27,958 INFO L290 TraceCheckUtils]: 3: Hoare triple {4953#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {4953#true} is VALID [2022-02-20 23:39:27,958 INFO L290 TraceCheckUtils]: 4: Hoare triple {4953#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {4953#true} is VALID [2022-02-20 23:39:27,959 INFO L290 TraceCheckUtils]: 5: Hoare triple {4953#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {4955#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} is VALID [2022-02-20 23:39:27,960 INFO L290 TraceCheckUtils]: 6: Hoare triple {4955#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {4956#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| 1)))} is VALID [2022-02-20 23:39:27,960 INFO L290 TraceCheckUtils]: 7: Hoare triple {4956#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| 1)))} main_~i~1#1 := 0; {4956#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| 1)))} is VALID [2022-02-20 23:39:27,961 INFO L290 TraceCheckUtils]: 8: Hoare triple {4956#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| 1)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {4956#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| 1)))} is VALID [2022-02-20 23:39:27,961 INFO L290 TraceCheckUtils]: 9: Hoare triple {4956#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| 1)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {4957#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~nondetString1~0#1.offset|) 0))} is VALID [2022-02-20 23:39:27,962 INFO L290 TraceCheckUtils]: 10: Hoare triple {4957#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~nondetString1~0#1.offset|) 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {4957#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~nondetString1~0#1.offset|) 0))} is VALID [2022-02-20 23:39:27,963 INFO L290 TraceCheckUtils]: 11: Hoare triple {4957#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~nondetString1~0#1.offset|) 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {4958#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} is VALID [2022-02-20 23:39:27,963 INFO L290 TraceCheckUtils]: 12: Hoare triple {4958#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {4959#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:39:27,964 INFO L290 TraceCheckUtils]: 13: Hoare triple {4959#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {4954#false} is VALID [2022-02-20 23:39:27,964 INFO L290 TraceCheckUtils]: 14: Hoare triple {4954#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {4954#false} is VALID [2022-02-20 23:39:27,964 INFO L290 TraceCheckUtils]: 15: Hoare triple {4954#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {4954#false} is VALID [2022-02-20 23:39:27,964 INFO L290 TraceCheckUtils]: 16: Hoare triple {4954#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {4954#false} is VALID [2022-02-20 23:39:27,964 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:27,964 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:27,964 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [153173233] [2022-02-20 23:39:27,965 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [153173233] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:27,965 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:27,965 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2022-02-20 23:39:27,965 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [700081585] [2022-02-20 23:39:27,965 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:27,965 INFO L78 Accepts]: Start accepts. Automaton has has 7 states, 7 states have (on average 2.4285714285714284) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 17 [2022-02-20 23:39:27,965 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:27,966 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 7 states, 7 states have (on average 2.4285714285714284) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:27,979 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 17 edges. 17 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:27,979 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2022-02-20 23:39:27,979 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:27,979 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2022-02-20 23:39:27,980 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2022-02-20 23:39:27,980 INFO L87 Difference]: Start difference. First operand 73 states and 95 transitions. Second operand has 7 states, 7 states have (on average 2.4285714285714284) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:28,349 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:28,349 INFO L93 Difference]: Finished difference Result 151 states and 184 transitions. [2022-02-20 23:39:28,349 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2022-02-20 23:39:28,349 INFO L78 Accepts]: Start accepts. Automaton has has 7 states, 7 states have (on average 2.4285714285714284) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 17 [2022-02-20 23:39:28,350 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:28,350 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 7 states, 7 states have (on average 2.4285714285714284) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:28,350 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 112 transitions. [2022-02-20 23:39:28,350 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 7 states, 7 states have (on average 2.4285714285714284) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:28,351 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 112 transitions. [2022-02-20 23:39:28,351 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 9 states and 112 transitions. [2022-02-20 23:39:28,433 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 112 edges. 112 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:28,434 INFO L225 Difference]: With dead ends: 151 [2022-02-20 23:39:28,435 INFO L226 Difference]: Without dead ends: 151 [2022-02-20 23:39:28,435 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 13 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 4 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=47, Invalid=85, Unknown=0, NotChecked=0, Total=132 [2022-02-20 23:39:28,435 INFO L933 BasicCegarLoop]: 31 mSDtfsCounter, 143 mSDsluCounter, 162 mSDsCounter, 0 mSdLazyCounter, 90 mSolverCounterSat, 23 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 143 SdHoareTripleChecker+Valid, 193 SdHoareTripleChecker+Invalid, 113 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 23 IncrementalHoareTripleChecker+Valid, 90 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:28,435 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [143 Valid, 193 Invalid, 113 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [23 Valid, 90 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-02-20 23:39:28,436 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 151 states. [2022-02-20 23:39:28,437 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 151 to 81. [2022-02-20 23:39:28,437 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:28,437 INFO L82 GeneralOperation]: Start isEquivalent. First operand 151 states. Second operand has 81 states, 75 states have (on average 1.3866666666666667) internal successors, (104), 80 states have internal predecessors, (104), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:28,437 INFO L74 IsIncluded]: Start isIncluded. First operand 151 states. Second operand has 81 states, 75 states have (on average 1.3866666666666667) internal successors, (104), 80 states have internal predecessors, (104), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:28,437 INFO L87 Difference]: Start difference. First operand 151 states. Second operand has 81 states, 75 states have (on average 1.3866666666666667) internal successors, (104), 80 states have internal predecessors, (104), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:28,439 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:28,439 INFO L93 Difference]: Finished difference Result 151 states and 184 transitions. [2022-02-20 23:39:28,439 INFO L276 IsEmpty]: Start isEmpty. Operand 151 states and 184 transitions. [2022-02-20 23:39:28,439 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:28,439 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:28,439 INFO L74 IsIncluded]: Start isIncluded. First operand has 81 states, 75 states have (on average 1.3866666666666667) internal successors, (104), 80 states have internal predecessors, (104), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 151 states. [2022-02-20 23:39:28,439 INFO L87 Difference]: Start difference. First operand has 81 states, 75 states have (on average 1.3866666666666667) internal successors, (104), 80 states have internal predecessors, (104), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 151 states. [2022-02-20 23:39:28,441 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:28,441 INFO L93 Difference]: Finished difference Result 151 states and 184 transitions. [2022-02-20 23:39:28,441 INFO L276 IsEmpty]: Start isEmpty. Operand 151 states and 184 transitions. [2022-02-20 23:39:28,442 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:28,442 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:28,442 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:28,442 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:28,442 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 81 states, 75 states have (on average 1.3866666666666667) internal successors, (104), 80 states have internal predecessors, (104), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:28,443 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 81 states to 81 states and 104 transitions. [2022-02-20 23:39:28,443 INFO L78 Accepts]: Start accepts. Automaton has 81 states and 104 transitions. Word has length 17 [2022-02-20 23:39:28,443 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:28,443 INFO L470 AbstractCegarLoop]: Abstraction has 81 states and 104 transitions. [2022-02-20 23:39:28,443 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 2.4285714285714284) internal successors, (17), 7 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:28,444 INFO L276 IsEmpty]: Start isEmpty. Operand 81 states and 104 transitions. [2022-02-20 23:39:28,444 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2022-02-20 23:39:28,444 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:28,444 INFO L514 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:28,444 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable16 [2022-02-20 23:39:28,444 INFO L402 AbstractCegarLoop]: === Iteration 18 === Targeting ULTIMATE.startErr3REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:28,445 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:28,445 INFO L85 PathProgramCache]: Analyzing trace with hash -287041178, now seen corresponding path program 1 times [2022-02-20 23:39:28,445 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:28,445 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [555952578] [2022-02-20 23:39:28,445 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:28,445 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:28,461 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:28,497 INFO L290 TraceCheckUtils]: 0: Hoare triple {5506#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {5506#true} is VALID [2022-02-20 23:39:28,498 INFO L290 TraceCheckUtils]: 1: Hoare triple {5506#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {5506#true} is VALID [2022-02-20 23:39:28,498 INFO L290 TraceCheckUtils]: 2: Hoare triple {5506#true} assume !(main_~length1~0#1 < 1); {5506#true} is VALID [2022-02-20 23:39:28,498 INFO L290 TraceCheckUtils]: 3: Hoare triple {5506#true} assume !(main_~length2~0#1 < 1); {5506#true} is VALID [2022-02-20 23:39:28,498 INFO L290 TraceCheckUtils]: 4: Hoare triple {5506#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {5506#true} is VALID [2022-02-20 23:39:28,499 INFO L290 TraceCheckUtils]: 5: Hoare triple {5506#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {5508#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} is VALID [2022-02-20 23:39:28,499 INFO L290 TraceCheckUtils]: 6: Hoare triple {5508#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {5508#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} is VALID [2022-02-20 23:39:28,500 INFO L290 TraceCheckUtils]: 7: Hoare triple {5508#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {5508#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} is VALID [2022-02-20 23:39:28,500 INFO L290 TraceCheckUtils]: 8: Hoare triple {5508#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} havoc main_#t~nondet16#1; {5508#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} is VALID [2022-02-20 23:39:28,501 INFO L290 TraceCheckUtils]: 9: Hoare triple {5508#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {5509#(<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~length1~0#1| 1))} is VALID [2022-02-20 23:39:28,501 INFO L290 TraceCheckUtils]: 10: Hoare triple {5509#(<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~length1~0#1| 1))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {5510#(<= |ULTIMATE.start_main_~length2~0#1| 2)} is VALID [2022-02-20 23:39:28,501 INFO L290 TraceCheckUtils]: 11: Hoare triple {5510#(<= |ULTIMATE.start_main_~length2~0#1| 2)} main_~i~1#1 := 0; {5511#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,502 INFO L290 TraceCheckUtils]: 12: Hoare triple {5511#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 2))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {5511#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,502 INFO L290 TraceCheckUtils]: 13: Hoare triple {5511#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 2))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {5511#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,503 INFO L290 TraceCheckUtils]: 14: Hoare triple {5511#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 2))} havoc main_#t~nondet18#1; {5511#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,503 INFO L290 TraceCheckUtils]: 15: Hoare triple {5511#(and (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| 2))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {5512#(<= |ULTIMATE.start_main_~length2~0#1| (+ |ULTIMATE.start_main_~i~1#1| 1))} is VALID [2022-02-20 23:39:28,504 INFO L290 TraceCheckUtils]: 16: Hoare triple {5512#(<= |ULTIMATE.start_main_~length2~0#1| (+ |ULTIMATE.start_main_~i~1#1| 1))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {5507#false} is VALID [2022-02-20 23:39:28,504 INFO L290 TraceCheckUtils]: 17: Hoare triple {5507#false} assume !(1 + (main_~nondetString2~0#1.offset + main_~i~1#1) <= #length[main_~nondetString2~0#1.base] && 0 <= main_~nondetString2~0#1.offset + main_~i~1#1); {5507#false} is VALID [2022-02-20 23:39:28,504 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 1 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:28,504 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:28,504 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [555952578] [2022-02-20 23:39:28,504 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [555952578] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:28,504 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1503404271] [2022-02-20 23:39:28,504 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:28,505 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:28,505 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:28,506 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:28,507 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2022-02-20 23:39:28,550 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:28,551 INFO L263 TraceCheckSpWp]: Trace formula consists of 92 conjuncts, 7 conjunts are in the unsatisfiable core [2022-02-20 23:39:28,557 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:28,557 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:28,735 INFO L290 TraceCheckUtils]: 0: Hoare triple {5506#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {5506#true} is VALID [2022-02-20 23:39:28,736 INFO L290 TraceCheckUtils]: 1: Hoare triple {5506#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {5506#true} is VALID [2022-02-20 23:39:28,736 INFO L290 TraceCheckUtils]: 2: Hoare triple {5506#true} assume !(main_~length1~0#1 < 1); {5506#true} is VALID [2022-02-20 23:39:28,736 INFO L290 TraceCheckUtils]: 3: Hoare triple {5506#true} assume !(main_~length2~0#1 < 1); {5506#true} is VALID [2022-02-20 23:39:28,736 INFO L290 TraceCheckUtils]: 4: Hoare triple {5506#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {5506#true} is VALID [2022-02-20 23:39:28,737 INFO L290 TraceCheckUtils]: 5: Hoare triple {5506#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {5531#(and (<= |ULTIMATE.start_main_~i~0#1| 0) (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:28,737 INFO L290 TraceCheckUtils]: 6: Hoare triple {5531#(and (<= |ULTIMATE.start_main_~i~0#1| 0) (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {5531#(and (<= |ULTIMATE.start_main_~i~0#1| 0) (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:28,738 INFO L290 TraceCheckUtils]: 7: Hoare triple {5531#(and (<= |ULTIMATE.start_main_~i~0#1| 0) (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {5531#(and (<= |ULTIMATE.start_main_~i~0#1| 0) (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:28,738 INFO L290 TraceCheckUtils]: 8: Hoare triple {5531#(and (<= |ULTIMATE.start_main_~i~0#1| 0) (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))))} havoc main_#t~nondet16#1; {5531#(and (<= |ULTIMATE.start_main_~i~0#1| 0) (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:28,739 INFO L290 TraceCheckUtils]: 9: Hoare triple {5531#(and (<= |ULTIMATE.start_main_~i~0#1| 0) (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {5544#(and (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:28,739 INFO L290 TraceCheckUtils]: 10: Hoare triple {5544#(and (not (< |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|))) (<= |ULTIMATE.start_main_~i~0#1| 1))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {5510#(<= |ULTIMATE.start_main_~length2~0#1| 2)} is VALID [2022-02-20 23:39:28,740 INFO L290 TraceCheckUtils]: 11: Hoare triple {5510#(<= |ULTIMATE.start_main_~length2~0#1| 2)} main_~i~1#1 := 0; {5551#(and (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,740 INFO L290 TraceCheckUtils]: 12: Hoare triple {5551#(and (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {5551#(and (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,741 INFO L290 TraceCheckUtils]: 13: Hoare triple {5551#(and (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {5551#(and (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,741 INFO L290 TraceCheckUtils]: 14: Hoare triple {5551#(and (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} havoc main_#t~nondet18#1; {5551#(and (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,741 INFO L290 TraceCheckUtils]: 15: Hoare triple {5551#(and (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {5564#(and (<= 1 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,742 INFO L290 TraceCheckUtils]: 16: Hoare triple {5564#(and (<= 1 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {5507#false} is VALID [2022-02-20 23:39:28,742 INFO L290 TraceCheckUtils]: 17: Hoare triple {5507#false} assume !(1 + (main_~nondetString2~0#1.offset + main_~i~1#1) <= #length[main_~nondetString2~0#1.base] && 0 <= main_~nondetString2~0#1.offset + main_~i~1#1); {5507#false} is VALID [2022-02-20 23:39:28,742 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:28,742 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:28,903 INFO L290 TraceCheckUtils]: 17: Hoare triple {5507#false} assume !(1 + (main_~nondetString2~0#1.offset + main_~i~1#1) <= #length[main_~nondetString2~0#1.base] && 0 <= main_~nondetString2~0#1.offset + main_~i~1#1); {5507#false} is VALID [2022-02-20 23:39:28,903 INFO L290 TraceCheckUtils]: 16: Hoare triple {5512#(<= |ULTIMATE.start_main_~length2~0#1| (+ |ULTIMATE.start_main_~i~1#1| 1))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {5507#false} is VALID [2022-02-20 23:39:28,904 INFO L290 TraceCheckUtils]: 15: Hoare triple {5577#(<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {5512#(<= |ULTIMATE.start_main_~length2~0#1| (+ |ULTIMATE.start_main_~i~1#1| 1))} is VALID [2022-02-20 23:39:28,904 INFO L290 TraceCheckUtils]: 14: Hoare triple {5577#(<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))} havoc main_#t~nondet18#1; {5577#(<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))} is VALID [2022-02-20 23:39:28,905 INFO L290 TraceCheckUtils]: 13: Hoare triple {5577#(<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {5577#(<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))} is VALID [2022-02-20 23:39:28,905 INFO L290 TraceCheckUtils]: 12: Hoare triple {5577#(<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {5577#(<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))} is VALID [2022-02-20 23:39:28,906 INFO L290 TraceCheckUtils]: 11: Hoare triple {5510#(<= |ULTIMATE.start_main_~length2~0#1| 2)} main_~i~1#1 := 0; {5577#(<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))} is VALID [2022-02-20 23:39:28,906 INFO L290 TraceCheckUtils]: 10: Hoare triple {5593#(or (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {5510#(<= |ULTIMATE.start_main_~length2~0#1| 2)} is VALID [2022-02-20 23:39:28,906 INFO L290 TraceCheckUtils]: 9: Hoare triple {5597#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {5593#(or (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,907 INFO L290 TraceCheckUtils]: 8: Hoare triple {5597#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} havoc main_#t~nondet16#1; {5597#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,907 INFO L290 TraceCheckUtils]: 7: Hoare triple {5597#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {5597#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,908 INFO L290 TraceCheckUtils]: 6: Hoare triple {5597#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {5597#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,909 INFO L290 TraceCheckUtils]: 5: Hoare triple {5506#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {5597#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:39:28,909 INFO L290 TraceCheckUtils]: 4: Hoare triple {5506#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {5506#true} is VALID [2022-02-20 23:39:28,909 INFO L290 TraceCheckUtils]: 3: Hoare triple {5506#true} assume !(main_~length2~0#1 < 1); {5506#true} is VALID [2022-02-20 23:39:28,909 INFO L290 TraceCheckUtils]: 2: Hoare triple {5506#true} assume !(main_~length1~0#1 < 1); {5506#true} is VALID [2022-02-20 23:39:28,909 INFO L290 TraceCheckUtils]: 1: Hoare triple {5506#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {5506#true} is VALID [2022-02-20 23:39:28,909 INFO L290 TraceCheckUtils]: 0: Hoare triple {5506#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {5506#true} is VALID [2022-02-20 23:39:28,909 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:28,910 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1503404271] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:28,910 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:28,910 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7, 7] total 14 [2022-02-20 23:39:28,910 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [658493403] [2022-02-20 23:39:28,910 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:28,910 INFO L78 Accepts]: Start accepts. Automaton has has 14 states, 14 states have (on average 2.9285714285714284) internal successors, (41), 14 states have internal predecessors, (41), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 18 [2022-02-20 23:39:28,911 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:28,911 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 14 states, 14 states have (on average 2.9285714285714284) internal successors, (41), 14 states have internal predecessors, (41), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:28,940 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 41 edges. 41 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:28,940 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 14 states [2022-02-20 23:39:28,940 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:28,941 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 14 interpolants. [2022-02-20 23:39:28,941 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=56, Invalid=126, Unknown=0, NotChecked=0, Total=182 [2022-02-20 23:39:28,941 INFO L87 Difference]: Start difference. First operand 81 states and 104 transitions. Second operand has 14 states, 14 states have (on average 2.9285714285714284) internal successors, (41), 14 states have internal predecessors, (41), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:29,531 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:29,531 INFO L93 Difference]: Finished difference Result 278 states and 358 transitions. [2022-02-20 23:39:29,531 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 17 states. [2022-02-20 23:39:29,531 INFO L78 Accepts]: Start accepts. Automaton has has 14 states, 14 states have (on average 2.9285714285714284) internal successors, (41), 14 states have internal predecessors, (41), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 18 [2022-02-20 23:39:29,531 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:29,531 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 14 states, 14 states have (on average 2.9285714285714284) internal successors, (41), 14 states have internal predecessors, (41), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:29,532 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 183 transitions. [2022-02-20 23:39:29,532 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 14 states, 14 states have (on average 2.9285714285714284) internal successors, (41), 14 states have internal predecessors, (41), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:29,533 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 183 transitions. [2022-02-20 23:39:29,533 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 17 states and 183 transitions. [2022-02-20 23:39:29,703 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 183 edges. 183 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:29,706 INFO L225 Difference]: With dead ends: 278 [2022-02-20 23:39:29,706 INFO L226 Difference]: Without dead ends: 278 [2022-02-20 23:39:29,706 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 50 GetRequests, 28 SyntacticMatches, 1 SemanticMatches, 21 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 100 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=166, Invalid=340, Unknown=0, NotChecked=0, Total=506 [2022-02-20 23:39:29,707 INFO L933 BasicCegarLoop]: 55 mSDtfsCounter, 509 mSDsluCounter, 211 mSDsCounter, 0 mSdLazyCounter, 116 mSolverCounterSat, 17 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 509 SdHoareTripleChecker+Valid, 266 SdHoareTripleChecker+Invalid, 133 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 17 IncrementalHoareTripleChecker+Valid, 116 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:29,710 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [509 Valid, 266 Invalid, 133 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [17 Valid, 116 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-02-20 23:39:29,711 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 278 states. [2022-02-20 23:39:29,712 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 278 to 90. [2022-02-20 23:39:29,712 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:29,712 INFO L82 GeneralOperation]: Start isEquivalent. First operand 278 states. Second operand has 90 states, 84 states have (on average 1.369047619047619) internal successors, (115), 89 states have internal predecessors, (115), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:29,713 INFO L74 IsIncluded]: Start isIncluded. First operand 278 states. Second operand has 90 states, 84 states have (on average 1.369047619047619) internal successors, (115), 89 states have internal predecessors, (115), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:29,713 INFO L87 Difference]: Start difference. First operand 278 states. Second operand has 90 states, 84 states have (on average 1.369047619047619) internal successors, (115), 89 states have internal predecessors, (115), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:29,716 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:29,716 INFO L93 Difference]: Finished difference Result 278 states and 358 transitions. [2022-02-20 23:39:29,716 INFO L276 IsEmpty]: Start isEmpty. Operand 278 states and 358 transitions. [2022-02-20 23:39:29,717 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:29,717 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:29,717 INFO L74 IsIncluded]: Start isIncluded. First operand has 90 states, 84 states have (on average 1.369047619047619) internal successors, (115), 89 states have internal predecessors, (115), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 278 states. [2022-02-20 23:39:29,717 INFO L87 Difference]: Start difference. First operand has 90 states, 84 states have (on average 1.369047619047619) internal successors, (115), 89 states have internal predecessors, (115), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 278 states. [2022-02-20 23:39:29,720 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:29,721 INFO L93 Difference]: Finished difference Result 278 states and 358 transitions. [2022-02-20 23:39:29,721 INFO L276 IsEmpty]: Start isEmpty. Operand 278 states and 358 transitions. [2022-02-20 23:39:29,721 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:29,721 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:29,721 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:29,721 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:29,721 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 90 states, 84 states have (on average 1.369047619047619) internal successors, (115), 89 states have internal predecessors, (115), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:29,722 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 90 states to 90 states and 115 transitions. [2022-02-20 23:39:29,722 INFO L78 Accepts]: Start accepts. Automaton has 90 states and 115 transitions. Word has length 18 [2022-02-20 23:39:29,722 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:29,723 INFO L470 AbstractCegarLoop]: Abstraction has 90 states and 115 transitions. [2022-02-20 23:39:29,723 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 14 states, 14 states have (on average 2.9285714285714284) internal successors, (41), 14 states have internal predecessors, (41), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:29,723 INFO L276 IsEmpty]: Start isEmpty. Operand 90 states and 115 transitions. [2022-02-20 23:39:29,723 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2022-02-20 23:39:29,723 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:29,723 INFO L514 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:29,742 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2022-02-20 23:39:29,939 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable17 [2022-02-20 23:39:29,939 INFO L402 AbstractCegarLoop]: === Iteration 19 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:29,940 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:29,940 INFO L85 PathProgramCache]: Analyzing trace with hash -440236817, now seen corresponding path program 1 times [2022-02-20 23:39:29,940 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:29,940 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2060536532] [2022-02-20 23:39:29,940 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:29,940 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:29,960 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:30,052 INFO L290 TraceCheckUtils]: 0: Hoare triple {6566#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {6566#true} is VALID [2022-02-20 23:39:30,053 INFO L290 TraceCheckUtils]: 1: Hoare triple {6566#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {6566#true} is VALID [2022-02-20 23:39:30,053 INFO L290 TraceCheckUtils]: 2: Hoare triple {6566#true} assume !(main_~length1~0#1 < 1); {6566#true} is VALID [2022-02-20 23:39:30,053 INFO L290 TraceCheckUtils]: 3: Hoare triple {6566#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {6566#true} is VALID [2022-02-20 23:39:30,053 INFO L290 TraceCheckUtils]: 4: Hoare triple {6566#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {6568#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:30,054 INFO L290 TraceCheckUtils]: 5: Hoare triple {6568#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {6569#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:30,055 INFO L290 TraceCheckUtils]: 6: Hoare triple {6569#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {6570#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:30,055 INFO L290 TraceCheckUtils]: 7: Hoare triple {6570#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) |ULTIMATE.start_main_~length1~0#1|))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {6570#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:30,056 INFO L290 TraceCheckUtils]: 8: Hoare triple {6570#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) |ULTIMATE.start_main_~length1~0#1|))} havoc main_#t~nondet16#1; {6570#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:30,056 INFO L290 TraceCheckUtils]: 9: Hoare triple {6570#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 3 |ULTIMATE.start_main_~i~0#1|) |ULTIMATE.start_main_~length1~0#1|))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {6571#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 3 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,057 INFO L290 TraceCheckUtils]: 10: Hoare triple {6571#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 3 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {6571#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 3 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,057 INFO L290 TraceCheckUtils]: 11: Hoare triple {6571#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 3 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_~i~1#1 := 0; {6571#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 3 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,058 INFO L290 TraceCheckUtils]: 12: Hoare triple {6571#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 3 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {6571#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 3 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,058 INFO L290 TraceCheckUtils]: 13: Hoare triple {6571#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 3 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {6572#(and (<= 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,059 INFO L290 TraceCheckUtils]: 14: Hoare triple {6572#(and (<= 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {6572#(and (<= 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,059 INFO L290 TraceCheckUtils]: 15: Hoare triple {6572#(and (<= 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {6573#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:30,060 INFO L290 TraceCheckUtils]: 16: Hoare triple {6573#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {6573#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:30,060 INFO L290 TraceCheckUtils]: 17: Hoare triple {6573#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {6574#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:39:30,060 INFO L290 TraceCheckUtils]: 18: Hoare triple {6574#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {6574#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:39:30,061 INFO L290 TraceCheckUtils]: 19: Hoare triple {6574#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {6575#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:30,062 INFO L290 TraceCheckUtils]: 20: Hoare triple {6575#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {6567#false} is VALID [2022-02-20 23:39:30,062 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:30,062 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:30,062 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2060536532] [2022-02-20 23:39:30,062 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2060536532] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:30,062 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [880547785] [2022-02-20 23:39:30,062 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:30,062 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:30,063 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:30,064 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:30,068 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2022-02-20 23:39:30,137 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:30,138 INFO L263 TraceCheckSpWp]: Trace formula consists of 140 conjuncts, 34 conjunts are in the unsatisfiable core [2022-02-20 23:39:30,149 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:30,150 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:30,223 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:39:30,225 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 9 treesize of output 11 [2022-02-20 23:39:30,232 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2022-02-20 23:39:30,424 INFO L290 TraceCheckUtils]: 0: Hoare triple {6566#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {6566#true} is VALID [2022-02-20 23:39:30,424 INFO L290 TraceCheckUtils]: 1: Hoare triple {6566#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {6566#true} is VALID [2022-02-20 23:39:30,424 INFO L290 TraceCheckUtils]: 2: Hoare triple {6566#true} assume !(main_~length1~0#1 < 1); {6566#true} is VALID [2022-02-20 23:39:30,424 INFO L290 TraceCheckUtils]: 3: Hoare triple {6566#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {6566#true} is VALID [2022-02-20 23:39:30,425 INFO L290 TraceCheckUtils]: 4: Hoare triple {6566#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {6568#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:30,426 INFO L290 TraceCheckUtils]: 5: Hoare triple {6568#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {6594#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,426 INFO L290 TraceCheckUtils]: 6: Hoare triple {6594#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,427 INFO L290 TraceCheckUtils]: 7: Hoare triple {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,430 INFO L290 TraceCheckUtils]: 8: Hoare triple {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,430 INFO L290 TraceCheckUtils]: 9: Hoare triple {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,431 INFO L290 TraceCheckUtils]: 10: Hoare triple {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,431 INFO L290 TraceCheckUtils]: 11: Hoare triple {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_~i~1#1 := 0; {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,432 INFO L290 TraceCheckUtils]: 12: Hoare triple {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,432 INFO L290 TraceCheckUtils]: 13: Hoare triple {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,432 INFO L290 TraceCheckUtils]: 14: Hoare triple {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,433 INFO L290 TraceCheckUtils]: 15: Hoare triple {6598#(and (< 2 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {6626#(and (< 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:30,433 INFO L290 TraceCheckUtils]: 16: Hoare triple {6626#(and (< 2 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {6573#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:30,434 INFO L290 TraceCheckUtils]: 17: Hoare triple {6573#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {6633#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:30,434 INFO L290 TraceCheckUtils]: 18: Hoare triple {6633#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {6633#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:30,435 INFO L290 TraceCheckUtils]: 19: Hoare triple {6633#(and (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {6640#(and (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 1))} is VALID [2022-02-20 23:39:30,435 INFO L290 TraceCheckUtils]: 20: Hoare triple {6640#(and (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 1))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {6567#false} is VALID [2022-02-20 23:39:30,435 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:30,435 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:30,847 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:39:30,864 INFO L290 TraceCheckUtils]: 20: Hoare triple {6644#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {6567#false} is VALID [2022-02-20 23:39:30,864 INFO L290 TraceCheckUtils]: 19: Hoare triple {6648#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {6644#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:30,865 INFO L290 TraceCheckUtils]: 18: Hoare triple {6648#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {6648#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} is VALID [2022-02-20 23:39:30,865 INFO L290 TraceCheckUtils]: 17: Hoare triple {6655#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {6648#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} is VALID [2022-02-20 23:39:30,866 INFO L290 TraceCheckUtils]: 16: Hoare triple {6659#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {6655#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} is VALID [2022-02-20 23:39:30,866 INFO L290 TraceCheckUtils]: 15: Hoare triple {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {6659#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:30,867 INFO L290 TraceCheckUtils]: 14: Hoare triple {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:30,867 INFO L290 TraceCheckUtils]: 13: Hoare triple {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:30,868 INFO L290 TraceCheckUtils]: 12: Hoare triple {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:30,868 INFO L290 TraceCheckUtils]: 11: Hoare triple {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_~i~1#1 := 0; {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:30,869 INFO L290 TraceCheckUtils]: 10: Hoare triple {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:30,869 INFO L290 TraceCheckUtils]: 9: Hoare triple {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:30,870 INFO L290 TraceCheckUtils]: 8: Hoare triple {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} havoc main_#t~nondet16#1; {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:30,870 INFO L290 TraceCheckUtils]: 7: Hoare triple {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:30,870 INFO L290 TraceCheckUtils]: 6: Hoare triple {6691#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {6663#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:30,871 INFO L290 TraceCheckUtils]: 5: Hoare triple {6568#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {6691#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} is VALID [2022-02-20 23:39:30,872 INFO L290 TraceCheckUtils]: 4: Hoare triple {6566#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {6568#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:30,872 INFO L290 TraceCheckUtils]: 3: Hoare triple {6566#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {6566#true} is VALID [2022-02-20 23:39:30,872 INFO L290 TraceCheckUtils]: 2: Hoare triple {6566#true} assume !(main_~length1~0#1 < 1); {6566#true} is VALID [2022-02-20 23:39:30,872 INFO L290 TraceCheckUtils]: 1: Hoare triple {6566#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {6566#true} is VALID [2022-02-20 23:39:30,872 INFO L290 TraceCheckUtils]: 0: Hoare triple {6566#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {6566#true} is VALID [2022-02-20 23:39:30,872 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 1 proven. 4 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:30,872 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [880547785] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:30,873 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:30,873 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 8, 8] total 20 [2022-02-20 23:39:30,873 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [724146493] [2022-02-20 23:39:30,873 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:30,873 INFO L78 Accepts]: Start accepts. Automaton has has 21 states, 20 states have (on average 2.65) internal successors, (53), 21 states have internal predecessors, (53), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 21 [2022-02-20 23:39:30,874 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:30,874 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 21 states, 20 states have (on average 2.65) internal successors, (53), 21 states have internal predecessors, (53), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:30,907 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 53 edges. 53 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:30,907 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 21 states [2022-02-20 23:39:30,907 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:30,907 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 21 interpolants. [2022-02-20 23:39:30,908 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=74, Invalid=346, Unknown=0, NotChecked=0, Total=420 [2022-02-20 23:39:30,908 INFO L87 Difference]: Start difference. First operand 90 states and 115 transitions. Second operand has 21 states, 20 states have (on average 2.65) internal successors, (53), 21 states have internal predecessors, (53), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,108 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:32,108 INFO L93 Difference]: Finished difference Result 182 states and 231 transitions. [2022-02-20 23:39:32,108 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2022-02-20 23:39:32,108 INFO L78 Accepts]: Start accepts. Automaton has has 21 states, 20 states have (on average 2.65) internal successors, (53), 21 states have internal predecessors, (53), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 21 [2022-02-20 23:39:32,108 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:32,108 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 21 states, 20 states have (on average 2.65) internal successors, (53), 21 states have internal predecessors, (53), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,109 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 150 transitions. [2022-02-20 23:39:32,109 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 21 states, 20 states have (on average 2.65) internal successors, (53), 21 states have internal predecessors, (53), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,110 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 150 transitions. [2022-02-20 23:39:32,110 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 11 states and 150 transitions. [2022-02-20 23:39:32,227 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 150 edges. 150 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:32,228 INFO L225 Difference]: With dead ends: 182 [2022-02-20 23:39:32,228 INFO L226 Difference]: Without dead ends: 182 [2022-02-20 23:39:32,229 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 56 GetRequests, 29 SyntacticMatches, 1 SemanticMatches, 26 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 133 ImplicationChecksByTransitivity, 0.3s TimeCoverageRelationStatistics Valid=159, Invalid=597, Unknown=0, NotChecked=0, Total=756 [2022-02-20 23:39:32,229 INFO L933 BasicCegarLoop]: 59 mSDtfsCounter, 587 mSDsluCounter, 356 mSDsCounter, 0 mSdLazyCounter, 356 mSolverCounterSat, 58 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.3s Time, 0 mProtectedPredicate, 0 mProtectedAction, 587 SdHoareTripleChecker+Valid, 415 SdHoareTripleChecker+Invalid, 414 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 58 IncrementalHoareTripleChecker+Valid, 356 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.3s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:32,229 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [587 Valid, 415 Invalid, 414 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [58 Valid, 356 Invalid, 0 Unknown, 0 Unchecked, 0.3s Time] [2022-02-20 23:39:32,230 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 182 states. [2022-02-20 23:39:32,231 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 182 to 102. [2022-02-20 23:39:32,231 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:32,231 INFO L82 GeneralOperation]: Start isEquivalent. First operand 182 states. Second operand has 102 states, 96 states have (on average 1.3854166666666667) internal successors, (133), 101 states have internal predecessors, (133), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,231 INFO L74 IsIncluded]: Start isIncluded. First operand 182 states. Second operand has 102 states, 96 states have (on average 1.3854166666666667) internal successors, (133), 101 states have internal predecessors, (133), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,231 INFO L87 Difference]: Start difference. First operand 182 states. Second operand has 102 states, 96 states have (on average 1.3854166666666667) internal successors, (133), 101 states have internal predecessors, (133), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,233 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:32,233 INFO L93 Difference]: Finished difference Result 182 states and 231 transitions. [2022-02-20 23:39:32,233 INFO L276 IsEmpty]: Start isEmpty. Operand 182 states and 231 transitions. [2022-02-20 23:39:32,233 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:32,233 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:32,234 INFO L74 IsIncluded]: Start isIncluded. First operand has 102 states, 96 states have (on average 1.3854166666666667) internal successors, (133), 101 states have internal predecessors, (133), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 182 states. [2022-02-20 23:39:32,234 INFO L87 Difference]: Start difference. First operand has 102 states, 96 states have (on average 1.3854166666666667) internal successors, (133), 101 states have internal predecessors, (133), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 182 states. [2022-02-20 23:39:32,236 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:32,236 INFO L93 Difference]: Finished difference Result 182 states and 231 transitions. [2022-02-20 23:39:32,236 INFO L276 IsEmpty]: Start isEmpty. Operand 182 states and 231 transitions. [2022-02-20 23:39:32,236 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:32,237 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:32,237 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:32,237 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:32,237 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 102 states, 96 states have (on average 1.3854166666666667) internal successors, (133), 101 states have internal predecessors, (133), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,238 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 102 states to 102 states and 133 transitions. [2022-02-20 23:39:32,238 INFO L78 Accepts]: Start accepts. Automaton has 102 states and 133 transitions. Word has length 21 [2022-02-20 23:39:32,238 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:32,238 INFO L470 AbstractCegarLoop]: Abstraction has 102 states and 133 transitions. [2022-02-20 23:39:32,238 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 21 states, 20 states have (on average 2.65) internal successors, (53), 21 states have internal predecessors, (53), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,239 INFO L276 IsEmpty]: Start isEmpty. Operand 102 states and 133 transitions. [2022-02-20 23:39:32,239 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2022-02-20 23:39:32,239 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:32,239 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:32,271 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Forceful destruction successful, exit code 0 [2022-02-20 23:39:32,457 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable18,5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:32,457 INFO L402 AbstractCegarLoop]: === Iteration 20 === Targeting ULTIMATE.startErr18ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:32,457 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:32,457 INFO L85 PathProgramCache]: Analyzing trace with hash 35317445, now seen corresponding path program 1 times [2022-02-20 23:39:32,457 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:32,458 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [84908392] [2022-02-20 23:39:32,458 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:32,458 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:32,486 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:32,507 INFO L290 TraceCheckUtils]: 0: Hoare triple {7371#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {7371#true} is VALID [2022-02-20 23:39:32,508 INFO L290 TraceCheckUtils]: 1: Hoare triple {7371#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {7371#true} is VALID [2022-02-20 23:39:32,509 INFO L290 TraceCheckUtils]: 2: Hoare triple {7371#true} assume !(main_~length1~0#1 < 1); {7371#true} is VALID [2022-02-20 23:39:32,510 INFO L290 TraceCheckUtils]: 3: Hoare triple {7371#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {7371#true} is VALID [2022-02-20 23:39:32,511 INFO L290 TraceCheckUtils]: 4: Hoare triple {7371#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} is VALID [2022-02-20 23:39:32,511 INFO L290 TraceCheckUtils]: 5: Hoare triple {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} is VALID [2022-02-20 23:39:32,511 INFO L290 TraceCheckUtils]: 6: Hoare triple {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} is VALID [2022-02-20 23:39:32,512 INFO L290 TraceCheckUtils]: 7: Hoare triple {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} main_~i~1#1 := 0; {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} is VALID [2022-02-20 23:39:32,512 INFO L290 TraceCheckUtils]: 8: Hoare triple {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} is VALID [2022-02-20 23:39:32,512 INFO L290 TraceCheckUtils]: 9: Hoare triple {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} is VALID [2022-02-20 23:39:32,513 INFO L290 TraceCheckUtils]: 10: Hoare triple {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} is VALID [2022-02-20 23:39:32,514 INFO L290 TraceCheckUtils]: 11: Hoare triple {7373#(not (= |ULTIMATE.start_main_~n~0#1| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {7374#(not (= |ULTIMATE.start_cstrncat_~n#1| 0))} is VALID [2022-02-20 23:39:32,514 INFO L290 TraceCheckUtils]: 12: Hoare triple {7374#(not (= |ULTIMATE.start_cstrncat_~n#1| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {7374#(not (= |ULTIMATE.start_cstrncat_~n#1| 0))} is VALID [2022-02-20 23:39:32,514 INFO L290 TraceCheckUtils]: 13: Hoare triple {7374#(not (= |ULTIMATE.start_cstrncat_~n#1| 0))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {7374#(not (= |ULTIMATE.start_cstrncat_~n#1| 0))} is VALID [2022-02-20 23:39:32,514 INFO L290 TraceCheckUtils]: 14: Hoare triple {7374#(not (= |ULTIMATE.start_cstrncat_~n#1| 0))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {7375#|ULTIMATE.start_cstrncat_#t~short6#1|} is VALID [2022-02-20 23:39:32,516 INFO L290 TraceCheckUtils]: 15: Hoare triple {7375#|ULTIMATE.start_cstrncat_#t~short6#1|} assume !cstrncat_#t~short6#1; {7372#false} is VALID [2022-02-20 23:39:32,516 INFO L290 TraceCheckUtils]: 16: Hoare triple {7372#false} assume !cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1; {7372#false} is VALID [2022-02-20 23:39:32,516 INFO L290 TraceCheckUtils]: 17: Hoare triple {7372#false} SUMMARY for call cstrncat_#t~mem9#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-8 {7372#false} is VALID [2022-02-20 23:39:32,516 INFO L290 TraceCheckUtils]: 18: Hoare triple {7372#false} assume !(0 != cstrncat_#t~mem9#1);havoc cstrncat_#t~mem9#1; {7372#false} is VALID [2022-02-20 23:39:32,516 INFO L290 TraceCheckUtils]: 19: Hoare triple {7372#false} cstrncat_#res#1.base, cstrncat_#res#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {7372#false} is VALID [2022-02-20 23:39:32,516 INFO L290 TraceCheckUtils]: 20: Hoare triple {7372#false} main_#t~ret19#1.base, main_#t~ret19#1.offset := cstrncat_#res#1.base, cstrncat_#res#1.offset;assume { :end_inline_cstrncat } true;havoc main_#t~ret19#1.base, main_#t~ret19#1.offset;main_#res#1 := 0;call ULTIMATE.dealloc(main_#t~malloc13#1.base, main_#t~malloc13#1.offset);havoc main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call ULTIMATE.dealloc(main_#t~malloc14#1.base, main_#t~malloc14#1.offset);havoc main_#t~malloc14#1.base, main_#t~malloc14#1.offset; {7372#false} is VALID [2022-02-20 23:39:32,517 INFO L290 TraceCheckUtils]: 21: Hoare triple {7372#false} assume !(#valid == main_old_#valid#1); {7372#false} is VALID [2022-02-20 23:39:32,517 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:32,517 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:32,517 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [84908392] [2022-02-20 23:39:32,517 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [84908392] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:32,517 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:32,517 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2022-02-20 23:39:32,518 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [733097131] [2022-02-20 23:39:32,518 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:32,519 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 4.4) internal successors, (22), 5 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 22 [2022-02-20 23:39:32,519 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:32,519 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 5 states, 5 states have (on average 4.4) internal successors, (22), 5 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,531 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 22 edges. 22 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:32,531 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2022-02-20 23:39:32,531 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:32,531 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2022-02-20 23:39:32,532 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2022-02-20 23:39:32,532 INFO L87 Difference]: Start difference. First operand 102 states and 133 transitions. Second operand has 5 states, 5 states have (on average 4.4) internal successors, (22), 5 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,619 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:32,619 INFO L93 Difference]: Finished difference Result 108 states and 133 transitions. [2022-02-20 23:39:32,619 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2022-02-20 23:39:32,620 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 4.4) internal successors, (22), 5 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 22 [2022-02-20 23:39:32,620 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:32,620 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 5 states have (on average 4.4) internal successors, (22), 5 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,620 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 60 transitions. [2022-02-20 23:39:32,620 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 5 states have (on average 4.4) internal successors, (22), 5 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,621 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 60 transitions. [2022-02-20 23:39:32,621 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states and 60 transitions. [2022-02-20 23:39:32,661 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 60 edges. 60 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:32,662 INFO L225 Difference]: With dead ends: 108 [2022-02-20 23:39:32,662 INFO L226 Difference]: Without dead ends: 108 [2022-02-20 23:39:32,662 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 8 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=22, Invalid=34, Unknown=0, NotChecked=0, Total=56 [2022-02-20 23:39:32,663 INFO L933 BasicCegarLoop]: 37 mSDtfsCounter, 67 mSDsluCounter, 68 mSDsCounter, 0 mSdLazyCounter, 25 mSolverCounterSat, 3 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 67 SdHoareTripleChecker+Valid, 105 SdHoareTripleChecker+Invalid, 28 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 3 IncrementalHoareTripleChecker+Valid, 25 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:32,663 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [67 Valid, 105 Invalid, 28 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [3 Valid, 25 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:32,664 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 108 states. [2022-02-20 23:39:32,665 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 108 to 95. [2022-02-20 23:39:32,665 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:32,665 INFO L82 GeneralOperation]: Start isEquivalent. First operand 108 states. Second operand has 95 states, 89 states have (on average 1.3258426966292134) internal successors, (118), 94 states have internal predecessors, (118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,665 INFO L74 IsIncluded]: Start isIncluded. First operand 108 states. Second operand has 95 states, 89 states have (on average 1.3258426966292134) internal successors, (118), 94 states have internal predecessors, (118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,665 INFO L87 Difference]: Start difference. First operand 108 states. Second operand has 95 states, 89 states have (on average 1.3258426966292134) internal successors, (118), 94 states have internal predecessors, (118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,666 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:32,667 INFO L93 Difference]: Finished difference Result 108 states and 133 transitions. [2022-02-20 23:39:32,668 INFO L276 IsEmpty]: Start isEmpty. Operand 108 states and 133 transitions. [2022-02-20 23:39:32,669 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:32,669 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:32,669 INFO L74 IsIncluded]: Start isIncluded. First operand has 95 states, 89 states have (on average 1.3258426966292134) internal successors, (118), 94 states have internal predecessors, (118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 108 states. [2022-02-20 23:39:32,669 INFO L87 Difference]: Start difference. First operand has 95 states, 89 states have (on average 1.3258426966292134) internal successors, (118), 94 states have internal predecessors, (118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 108 states. [2022-02-20 23:39:32,670 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:32,670 INFO L93 Difference]: Finished difference Result 108 states and 133 transitions. [2022-02-20 23:39:32,670 INFO L276 IsEmpty]: Start isEmpty. Operand 108 states and 133 transitions. [2022-02-20 23:39:32,671 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:32,671 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:32,671 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:32,671 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:32,671 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 95 states, 89 states have (on average 1.3258426966292134) internal successors, (118), 94 states have internal predecessors, (118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,672 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 95 states to 95 states and 118 transitions. [2022-02-20 23:39:32,672 INFO L78 Accepts]: Start accepts. Automaton has 95 states and 118 transitions. Word has length 22 [2022-02-20 23:39:32,672 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:32,672 INFO L470 AbstractCegarLoop]: Abstraction has 95 states and 118 transitions. [2022-02-20 23:39:32,672 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 4.4) internal successors, (22), 5 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:32,672 INFO L276 IsEmpty]: Start isEmpty. Operand 95 states and 118 transitions. [2022-02-20 23:39:32,673 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2022-02-20 23:39:32,673 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:32,673 INFO L514 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:32,673 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable19 [2022-02-20 23:39:32,673 INFO L402 AbstractCegarLoop]: === Iteration 21 === Targeting ULTIMATE.startErr3REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:32,673 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:32,673 INFO L85 PathProgramCache]: Analyzing trace with hash -1863163671, now seen corresponding path program 2 times [2022-02-20 23:39:32,674 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:32,674 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [442829044] [2022-02-20 23:39:32,674 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:32,674 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:32,696 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:32,764 INFO L290 TraceCheckUtils]: 0: Hoare triple {7803#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {7803#true} is VALID [2022-02-20 23:39:32,765 INFO L290 TraceCheckUtils]: 1: Hoare triple {7803#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {7803#true} is VALID [2022-02-20 23:39:32,765 INFO L290 TraceCheckUtils]: 2: Hoare triple {7803#true} assume !(main_~length1~0#1 < 1); {7803#true} is VALID [2022-02-20 23:39:32,765 INFO L290 TraceCheckUtils]: 3: Hoare triple {7803#true} assume !(main_~length2~0#1 < 1); {7803#true} is VALID [2022-02-20 23:39:32,765 INFO L290 TraceCheckUtils]: 4: Hoare triple {7803#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {7803#true} is VALID [2022-02-20 23:39:32,766 INFO L290 TraceCheckUtils]: 5: Hoare triple {7803#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,766 INFO L290 TraceCheckUtils]: 6: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,767 INFO L290 TraceCheckUtils]: 7: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,767 INFO L290 TraceCheckUtils]: 8: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} havoc main_#t~nondet16#1; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,767 INFO L290 TraceCheckUtils]: 9: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,768 INFO L290 TraceCheckUtils]: 10: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,768 INFO L290 TraceCheckUtils]: 11: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,769 INFO L290 TraceCheckUtils]: 12: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} havoc main_#t~nondet16#1; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,769 INFO L290 TraceCheckUtils]: 13: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,769 INFO L290 TraceCheckUtils]: 14: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,770 INFO L290 TraceCheckUtils]: 15: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_~i~1#1 := 0; {7806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,770 INFO L290 TraceCheckUtils]: 16: Hoare triple {7806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {7806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,771 INFO L290 TraceCheckUtils]: 17: Hoare triple {7806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {7806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,771 INFO L290 TraceCheckUtils]: 18: Hoare triple {7806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} havoc main_#t~nondet18#1; {7806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:32,771 INFO L290 TraceCheckUtils]: 19: Hoare triple {7806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {7807#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~1#1|))} is VALID [2022-02-20 23:39:32,772 INFO L290 TraceCheckUtils]: 20: Hoare triple {7807#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~1#1|))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {7808#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~1#1|))} is VALID [2022-02-20 23:39:32,772 INFO L290 TraceCheckUtils]: 21: Hoare triple {7808#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~1#1|))} assume !(1 + (main_~nondetString2~0#1.offset + main_~i~1#1) <= #length[main_~nondetString2~0#1.base] && 0 <= main_~nondetString2~0#1.offset + main_~i~1#1); {7804#false} is VALID [2022-02-20 23:39:32,772 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2022-02-20 23:39:32,773 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:32,773 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [442829044] [2022-02-20 23:39:32,773 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [442829044] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:32,773 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [759598005] [2022-02-20 23:39:32,773 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2022-02-20 23:39:32,773 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:32,773 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:32,788 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:32,789 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Waiting until timeout for monitored process [2022-02-20 23:39:32,841 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2022-02-20 23:39:32,841 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-02-20 23:39:32,841 INFO L263 TraceCheckSpWp]: Trace formula consists of 106 conjuncts, 12 conjunts are in the unsatisfiable core [2022-02-20 23:39:32,848 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:32,849 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:32,907 INFO L356 Elim1Store]: treesize reduction 11, result has 45.0 percent of original size [2022-02-20 23:39:32,909 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2022-02-20 23:39:33,044 INFO L290 TraceCheckUtils]: 0: Hoare triple {7803#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {7803#true} is VALID [2022-02-20 23:39:33,044 INFO L290 TraceCheckUtils]: 1: Hoare triple {7803#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {7803#true} is VALID [2022-02-20 23:39:33,044 INFO L290 TraceCheckUtils]: 2: Hoare triple {7803#true} assume !(main_~length1~0#1 < 1); {7803#true} is VALID [2022-02-20 23:39:33,044 INFO L290 TraceCheckUtils]: 3: Hoare triple {7803#true} assume !(main_~length2~0#1 < 1); {7803#true} is VALID [2022-02-20 23:39:33,045 INFO L290 TraceCheckUtils]: 4: Hoare triple {7803#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {7803#true} is VALID [2022-02-20 23:39:33,045 INFO L290 TraceCheckUtils]: 5: Hoare triple {7803#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,046 INFO L290 TraceCheckUtils]: 6: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,046 INFO L290 TraceCheckUtils]: 7: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,047 INFO L290 TraceCheckUtils]: 8: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} havoc main_#t~nondet16#1; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,047 INFO L290 TraceCheckUtils]: 9: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,047 INFO L290 TraceCheckUtils]: 10: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,048 INFO L290 TraceCheckUtils]: 11: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,048 INFO L290 TraceCheckUtils]: 12: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} havoc main_#t~nondet16#1; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,048 INFO L290 TraceCheckUtils]: 13: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,049 INFO L290 TraceCheckUtils]: 14: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,049 INFO L290 TraceCheckUtils]: 15: Hoare triple {7805#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_~i~1#1 := 0; {7857#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,050 INFO L290 TraceCheckUtils]: 16: Hoare triple {7857#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {7857#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,050 INFO L290 TraceCheckUtils]: 17: Hoare triple {7857#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {7857#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,050 INFO L290 TraceCheckUtils]: 18: Hoare triple {7857#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} havoc main_#t~nondet18#1; {7857#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,051 INFO L290 TraceCheckUtils]: 19: Hoare triple {7857#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {7807#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~1#1|))} is VALID [2022-02-20 23:39:33,052 INFO L290 TraceCheckUtils]: 20: Hoare triple {7807#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~1#1|))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {7808#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~1#1|))} is VALID [2022-02-20 23:39:33,052 INFO L290 TraceCheckUtils]: 21: Hoare triple {7808#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~1#1|))} assume !(1 + (main_~nondetString2~0#1.offset + main_~i~1#1) <= #length[main_~nondetString2~0#1.base] && 0 <= main_~nondetString2~0#1.offset + main_~i~1#1); {7804#false} is VALID [2022-02-20 23:39:33,052 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 1 proven. 1 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2022-02-20 23:39:33,052 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:33,537 INFO L290 TraceCheckUtils]: 21: Hoare triple {7876#(and (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1|)) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !(1 + (main_~nondetString2~0#1.offset + main_~i~1#1) <= #length[main_~nondetString2~0#1.base] && 0 <= main_~nondetString2~0#1.offset + main_~i~1#1); {7804#false} is VALID [2022-02-20 23:39:33,538 INFO L290 TraceCheckUtils]: 20: Hoare triple {7880#(or (and (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1|)) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) (not (< (+ |ULTIMATE.start_main_~i~1#1| 1) |ULTIMATE.start_main_~length2~0#1|)))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {7876#(and (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1|)) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:33,539 INFO L290 TraceCheckUtils]: 19: Hoare triple {7884#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))) (or (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1))))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {7880#(or (and (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1|)) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))) (not (< (+ |ULTIMATE.start_main_~i~1#1| 1) |ULTIMATE.start_main_~length2~0#1|)))} is VALID [2022-02-20 23:39:33,539 INFO L290 TraceCheckUtils]: 18: Hoare triple {7884#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))) (or (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1))))} havoc main_#t~nondet18#1; {7884#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))) (or (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1))))} is VALID [2022-02-20 23:39:33,540 INFO L290 TraceCheckUtils]: 17: Hoare triple {7884#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))) (or (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1))))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {7884#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))) (or (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1))))} is VALID [2022-02-20 23:39:33,540 INFO L290 TraceCheckUtils]: 16: Hoare triple {7884#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))) (or (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1))))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {7884#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))) (or (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1))))} is VALID [2022-02-20 23:39:33,541 INFO L290 TraceCheckUtils]: 15: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} main_~i~1#1 := 0; {7884#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|))) (or (<= |ULTIMATE.start_main_~length2~0#1| (+ 2 |ULTIMATE.start_main_~i~1#1|)) (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~i~1#1| 1))))} is VALID [2022-02-20 23:39:33,541 INFO L290 TraceCheckUtils]: 14: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,542 INFO L290 TraceCheckUtils]: 13: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,542 INFO L290 TraceCheckUtils]: 12: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} havoc main_#t~nondet16#1; {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,543 INFO L290 TraceCheckUtils]: 11: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,543 INFO L290 TraceCheckUtils]: 10: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,544 INFO L290 TraceCheckUtils]: 9: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,544 INFO L290 TraceCheckUtils]: 8: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} havoc main_#t~nondet16#1; {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,545 INFO L290 TraceCheckUtils]: 7: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,545 INFO L290 TraceCheckUtils]: 6: Hoare triple {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,546 INFO L290 TraceCheckUtils]: 5: Hoare triple {7803#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {7897#(and (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (or (<= 0 (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:39:33,546 INFO L290 TraceCheckUtils]: 4: Hoare triple {7803#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {7803#true} is VALID [2022-02-20 23:39:33,546 INFO L290 TraceCheckUtils]: 3: Hoare triple {7803#true} assume !(main_~length2~0#1 < 1); {7803#true} is VALID [2022-02-20 23:39:33,546 INFO L290 TraceCheckUtils]: 2: Hoare triple {7803#true} assume !(main_~length1~0#1 < 1); {7803#true} is VALID [2022-02-20 23:39:33,546 INFO L290 TraceCheckUtils]: 1: Hoare triple {7803#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {7803#true} is VALID [2022-02-20 23:39:33,547 INFO L290 TraceCheckUtils]: 0: Hoare triple {7803#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {7803#true} is VALID [2022-02-20 23:39:33,547 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2022-02-20 23:39:33,547 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [759598005] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:33,547 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:33,547 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 5, 5] total 10 [2022-02-20 23:39:33,547 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1416129491] [2022-02-20 23:39:33,548 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:33,548 INFO L78 Accepts]: Start accepts. Automaton has has 11 states, 10 states have (on average 3.6) internal successors, (36), 11 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 22 [2022-02-20 23:39:33,548 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:33,548 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 11 states, 10 states have (on average 3.6) internal successors, (36), 11 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:33,586 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 36 edges. 36 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:33,587 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 11 states [2022-02-20 23:39:33,587 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:33,587 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 11 interpolants. [2022-02-20 23:39:33,587 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=37, Invalid=73, Unknown=0, NotChecked=0, Total=110 [2022-02-20 23:39:33,588 INFO L87 Difference]: Start difference. First operand 95 states and 118 transitions. Second operand has 11 states, 10 states have (on average 3.6) internal successors, (36), 11 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:34,044 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:34,044 INFO L93 Difference]: Finished difference Result 200 states and 248 transitions. [2022-02-20 23:39:34,044 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2022-02-20 23:39:34,044 INFO L78 Accepts]: Start accepts. Automaton has has 11 states, 10 states have (on average 3.6) internal successors, (36), 11 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 22 [2022-02-20 23:39:34,044 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:34,044 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 11 states, 10 states have (on average 3.6) internal successors, (36), 11 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:34,045 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 105 transitions. [2022-02-20 23:39:34,045 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 11 states, 10 states have (on average 3.6) internal successors, (36), 11 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:34,045 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 105 transitions. [2022-02-20 23:39:34,045 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 9 states and 105 transitions. [2022-02-20 23:39:34,104 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 105 edges. 105 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:34,106 INFO L225 Difference]: With dead ends: 200 [2022-02-20 23:39:34,106 INFO L226 Difference]: Without dead ends: 200 [2022-02-20 23:39:34,107 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 50 GetRequests, 37 SyntacticMatches, 1 SemanticMatches, 12 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 29 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=66, Invalid=116, Unknown=0, NotChecked=0, Total=182 [2022-02-20 23:39:34,107 INFO L933 BasicCegarLoop]: 53 mSDtfsCounter, 207 mSDsluCounter, 103 mSDsCounter, 0 mSdLazyCounter, 152 mSolverCounterSat, 8 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 207 SdHoareTripleChecker+Valid, 156 SdHoareTripleChecker+Invalid, 160 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 8 IncrementalHoareTripleChecker+Valid, 152 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:34,107 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [207 Valid, 156 Invalid, 160 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [8 Valid, 152 Invalid, 0 Unknown, 0 Unchecked, 0.2s Time] [2022-02-20 23:39:34,108 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 200 states. [2022-02-20 23:39:34,109 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 200 to 92. [2022-02-20 23:39:34,109 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:34,109 INFO L82 GeneralOperation]: Start isEquivalent. First operand 200 states. Second operand has 92 states, 87 states have (on average 1.3103448275862069) internal successors, (114), 91 states have internal predecessors, (114), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:34,109 INFO L74 IsIncluded]: Start isIncluded. First operand 200 states. Second operand has 92 states, 87 states have (on average 1.3103448275862069) internal successors, (114), 91 states have internal predecessors, (114), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:34,109 INFO L87 Difference]: Start difference. First operand 200 states. Second operand has 92 states, 87 states have (on average 1.3103448275862069) internal successors, (114), 91 states have internal predecessors, (114), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:34,111 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:34,111 INFO L93 Difference]: Finished difference Result 200 states and 248 transitions. [2022-02-20 23:39:34,111 INFO L276 IsEmpty]: Start isEmpty. Operand 200 states and 248 transitions. [2022-02-20 23:39:34,111 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:34,112 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:34,112 INFO L74 IsIncluded]: Start isIncluded. First operand has 92 states, 87 states have (on average 1.3103448275862069) internal successors, (114), 91 states have internal predecessors, (114), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 200 states. [2022-02-20 23:39:34,112 INFO L87 Difference]: Start difference. First operand has 92 states, 87 states have (on average 1.3103448275862069) internal successors, (114), 91 states have internal predecessors, (114), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 200 states. [2022-02-20 23:39:34,115 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:34,115 INFO L93 Difference]: Finished difference Result 200 states and 248 transitions. [2022-02-20 23:39:34,115 INFO L276 IsEmpty]: Start isEmpty. Operand 200 states and 248 transitions. [2022-02-20 23:39:34,115 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:34,115 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:34,115 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:34,115 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:34,116 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 92 states, 87 states have (on average 1.3103448275862069) internal successors, (114), 91 states have internal predecessors, (114), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:34,116 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 92 states to 92 states and 114 transitions. [2022-02-20 23:39:34,116 INFO L78 Accepts]: Start accepts. Automaton has 92 states and 114 transitions. Word has length 22 [2022-02-20 23:39:34,116 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:34,117 INFO L470 AbstractCegarLoop]: Abstraction has 92 states and 114 transitions. [2022-02-20 23:39:34,117 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 11 states, 10 states have (on average 3.6) internal successors, (36), 11 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:34,117 INFO L276 IsEmpty]: Start isEmpty. Operand 92 states and 114 transitions. [2022-02-20 23:39:34,117 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2022-02-20 23:39:34,117 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:34,117 INFO L514 BasicCegarLoop]: trace histogram [3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:34,164 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Forceful destruction successful, exit code 0 [2022-02-20 23:39:34,343 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable20,6 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:34,344 INFO L402 AbstractCegarLoop]: === Iteration 22 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:34,344 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:34,344 INFO L85 PathProgramCache]: Analyzing trace with hash 2134181768, now seen corresponding path program 2 times [2022-02-20 23:39:34,344 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:34,344 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [69440471] [2022-02-20 23:39:34,344 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:34,344 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:34,376 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:34,540 INFO L290 TraceCheckUtils]: 0: Hoare triple {8640#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {8640#true} is VALID [2022-02-20 23:39:34,541 INFO L290 TraceCheckUtils]: 1: Hoare triple {8640#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {8640#true} is VALID [2022-02-20 23:39:34,541 INFO L290 TraceCheckUtils]: 2: Hoare triple {8640#true} assume !(main_~length1~0#1 < 1); {8640#true} is VALID [2022-02-20 23:39:34,541 INFO L290 TraceCheckUtils]: 3: Hoare triple {8640#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {8640#true} is VALID [2022-02-20 23:39:34,541 INFO L290 TraceCheckUtils]: 4: Hoare triple {8640#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {8640#true} is VALID [2022-02-20 23:39:34,542 INFO L290 TraceCheckUtils]: 5: Hoare triple {8640#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {8642#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))) (or (= |ULTIMATE.start_main_~i~0#1| 0) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)))} is VALID [2022-02-20 23:39:34,543 INFO L290 TraceCheckUtils]: 6: Hoare triple {8642#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))) (or (= |ULTIMATE.start_main_~i~0#1| 0) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {8643#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (< (+ |ULTIMATE.start_main_~n~0#1| 1) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|))) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} is VALID [2022-02-20 23:39:34,543 INFO L290 TraceCheckUtils]: 7: Hoare triple {8643#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (< (+ |ULTIMATE.start_main_~n~0#1| 1) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|))) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {8643#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (< (+ |ULTIMATE.start_main_~n~0#1| 1) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|))) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} is VALID [2022-02-20 23:39:34,544 INFO L290 TraceCheckUtils]: 8: Hoare triple {8643#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (< (+ |ULTIMATE.start_main_~n~0#1| 1) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|))) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} havoc main_#t~nondet16#1; {8643#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (< (+ |ULTIMATE.start_main_~n~0#1| 1) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|))) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} is VALID [2022-02-20 23:39:34,544 INFO L290 TraceCheckUtils]: 9: Hoare triple {8643#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (< (+ |ULTIMATE.start_main_~n~0#1| 1) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|))) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {8644#(and (or (and (<= |ULTIMATE.start_main_~i~0#1| 1) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} is VALID [2022-02-20 23:39:34,545 INFO L290 TraceCheckUtils]: 10: Hoare triple {8644#(and (or (and (<= |ULTIMATE.start_main_~i~0#1| 1) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (- 2) (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 0))))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {8645#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ 2 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:34,545 INFO L290 TraceCheckUtils]: 11: Hoare triple {8645#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ 2 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} main_~i~1#1 := 0; {8645#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ 2 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:34,546 INFO L290 TraceCheckUtils]: 12: Hoare triple {8645#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ 2 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {8645#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ 2 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:34,547 INFO L290 TraceCheckUtils]: 13: Hoare triple {8645#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ 2 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {8646#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1) 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:34,547 INFO L290 TraceCheckUtils]: 14: Hoare triple {8646#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1) 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {8646#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1) 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:34,548 INFO L290 TraceCheckUtils]: 15: Hoare triple {8646#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) 1) 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {8647#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:34,548 INFO L290 TraceCheckUtils]: 16: Hoare triple {8647#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {8647#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:34,548 INFO L290 TraceCheckUtils]: 17: Hoare triple {8647#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {8648#(and (< 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} is VALID [2022-02-20 23:39:34,557 INFO L290 TraceCheckUtils]: 18: Hoare triple {8648#(and (< 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {8649#(and (< 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (= |ULTIMATE.start_cstrncat_#t~mem2#1| 0))} is VALID [2022-02-20 23:39:34,557 INFO L290 TraceCheckUtils]: 19: Hoare triple {8649#(and (< 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (= |ULTIMATE.start_cstrncat_#t~mem2#1| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {8641#false} is VALID [2022-02-20 23:39:34,557 INFO L290 TraceCheckUtils]: 20: Hoare triple {8641#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {8641#false} is VALID [2022-02-20 23:39:34,557 INFO L290 TraceCheckUtils]: 21: Hoare triple {8641#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {8641#false} is VALID [2022-02-20 23:39:34,558 INFO L290 TraceCheckUtils]: 22: Hoare triple {8641#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {8641#false} is VALID [2022-02-20 23:39:34,558 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:34,558 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:34,558 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [69440471] [2022-02-20 23:39:34,558 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [69440471] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:34,558 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [458704167] [2022-02-20 23:39:34,558 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2022-02-20 23:39:34,559 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:34,559 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:34,563 INFO L229 MonitoredProcess]: Starting monitored process 7 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:34,565 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (7)] Waiting until timeout for monitored process [2022-02-20 23:39:34,636 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2022-02-20 23:39:34,637 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-02-20 23:39:34,638 INFO L263 TraceCheckSpWp]: Trace formula consists of 151 conjuncts, 41 conjunts are in the unsatisfiable core [2022-02-20 23:39:34,645 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:34,646 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:34,663 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2022-02-20 23:39:34,826 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 13 [2022-02-20 23:39:35,065 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 20 treesize of output 22 [2022-02-20 23:39:35,778 INFO L356 Elim1Store]: treesize reduction 11, result has 21.4 percent of original size [2022-02-20 23:39:35,779 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 1 case distinctions, treesize of input 21 treesize of output 10 [2022-02-20 23:39:35,821 INFO L290 TraceCheckUtils]: 0: Hoare triple {8640#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {8640#true} is VALID [2022-02-20 23:39:35,821 INFO L290 TraceCheckUtils]: 1: Hoare triple {8640#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {8640#true} is VALID [2022-02-20 23:39:35,821 INFO L290 TraceCheckUtils]: 2: Hoare triple {8640#true} assume !(main_~length1~0#1 < 1); {8640#true} is VALID [2022-02-20 23:39:35,821 INFO L290 TraceCheckUtils]: 3: Hoare triple {8640#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {8640#true} is VALID [2022-02-20 23:39:35,821 INFO L290 TraceCheckUtils]: 4: Hoare triple {8640#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {8640#true} is VALID [2022-02-20 23:39:35,822 INFO L290 TraceCheckUtils]: 5: Hoare triple {8640#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {8668#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:35,823 INFO L290 TraceCheckUtils]: 6: Hoare triple {8668#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {8672#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:35,823 INFO L290 TraceCheckUtils]: 7: Hoare triple {8672#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {8672#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:35,824 INFO L290 TraceCheckUtils]: 8: Hoare triple {8672#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} havoc main_#t~nondet16#1; {8672#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:35,824 INFO L290 TraceCheckUtils]: 9: Hoare triple {8672#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {8682#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:35,824 INFO L290 TraceCheckUtils]: 10: Hoare triple {8682#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~i~0#1| 1))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:35,825 INFO L290 TraceCheckUtils]: 11: Hoare triple {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} main_~i~1#1 := 0; {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:35,825 INFO L290 TraceCheckUtils]: 12: Hoare triple {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:35,827 INFO L290 TraceCheckUtils]: 13: Hoare triple {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {8696#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))))} is VALID [2022-02-20 23:39:35,829 INFO L290 TraceCheckUtils]: 14: Hoare triple {8696#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {8700#(exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} is VALID [2022-02-20 23:39:35,830 INFO L290 TraceCheckUtils]: 15: Hoare triple {8700#(exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {8704#(exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| |ULTIMATE.start_cstrncat_~s~0#1.offset| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0)))} is VALID [2022-02-20 23:39:35,831 INFO L290 TraceCheckUtils]: 16: Hoare triple {8704#(exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| |ULTIMATE.start_cstrncat_~s~0#1.offset| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {8704#(exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| |ULTIMATE.start_cstrncat_~s~0#1.offset| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0)))} is VALID [2022-02-20 23:39:35,832 INFO L290 TraceCheckUtils]: 17: Hoare triple {8704#(exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| |ULTIMATE.start_cstrncat_~s~0#1.offset| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {8711#(exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_main_~length1~0#1| (- 2) |ULTIMATE.start_cstrncat_~s~0#1.offset| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0)))} is VALID [2022-02-20 23:39:35,835 INFO L290 TraceCheckUtils]: 18: Hoare triple {8711#(exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_main_~length1~0#1| (- 2) |ULTIMATE.start_cstrncat_~s~0#1.offset| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {8715#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:39:35,835 INFO L290 TraceCheckUtils]: 19: Hoare triple {8715#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {8641#false} is VALID [2022-02-20 23:39:35,835 INFO L290 TraceCheckUtils]: 20: Hoare triple {8641#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {8641#false} is VALID [2022-02-20 23:39:35,836 INFO L290 TraceCheckUtils]: 21: Hoare triple {8641#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {8641#false} is VALID [2022-02-20 23:39:35,836 INFO L290 TraceCheckUtils]: 22: Hoare triple {8641#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {8641#false} is VALID [2022-02-20 23:39:35,836 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:35,836 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:35,905 WARN L838 $PredicateComparison]: unable to prove that (forall ((v_ArrVal_241 (Array Int Int))) (= (select (select (store |c_#memory_int| |c_ULTIMATE.start_main_~nondetString2~0#1.base| v_ArrVal_241) |c_ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |c_ULTIMATE.start_main_~nondetString1~0#1.offset| 1)) 0)) is different from false [2022-02-20 23:39:35,921 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-02-20 23:39:35,921 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 26 treesize of output 27 [2022-02-20 23:39:35,931 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-02-20 23:39:35,932 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 1 case distinctions, treesize of input 40 treesize of output 40 [2022-02-20 23:39:35,942 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 7 [2022-02-20 23:39:36,248 INFO L290 TraceCheckUtils]: 22: Hoare triple {8641#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {8641#false} is VALID [2022-02-20 23:39:36,248 INFO L290 TraceCheckUtils]: 21: Hoare triple {8641#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {8641#false} is VALID [2022-02-20 23:39:36,249 INFO L290 TraceCheckUtils]: 20: Hoare triple {8641#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {8641#false} is VALID [2022-02-20 23:39:36,249 INFO L290 TraceCheckUtils]: 19: Hoare triple {8715#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {8641#false} is VALID [2022-02-20 23:39:36,249 INFO L290 TraceCheckUtils]: 18: Hoare triple {8740#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {8715#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:39:36,250 INFO L290 TraceCheckUtils]: 17: Hoare triple {8744#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {8740#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} is VALID [2022-02-20 23:39:36,250 INFO L290 TraceCheckUtils]: 16: Hoare triple {8744#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {8744#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} is VALID [2022-02-20 23:39:36,251 INFO L290 TraceCheckUtils]: 15: Hoare triple {8751#(= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1)) 0)} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {8744#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} is VALID [2022-02-20 23:39:36,251 INFO L290 TraceCheckUtils]: 14: Hoare triple {8755#(forall ((v_ArrVal_241 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| v_ArrVal_241) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1)) 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {8751#(= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1)) 0)} is VALID [2022-02-20 23:39:36,252 INFO L290 TraceCheckUtils]: 13: Hoare triple {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {8755#(forall ((v_ArrVal_241 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| v_ArrVal_241) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1)) 0))} is VALID [2022-02-20 23:39:36,256 INFO L290 TraceCheckUtils]: 12: Hoare triple {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:36,256 INFO L290 TraceCheckUtils]: 11: Hoare triple {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} main_~i~1#1 := 0; {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:36,257 INFO L290 TraceCheckUtils]: 10: Hoare triple {8768#(or (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {8686#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:39:36,258 INFO L290 TraceCheckUtils]: 9: Hoare triple {8772#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {8768#(or (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} is VALID [2022-02-20 23:39:36,258 INFO L290 TraceCheckUtils]: 8: Hoare triple {8772#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} havoc main_#t~nondet16#1; {8772#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} is VALID [2022-02-20 23:39:36,259 INFO L290 TraceCheckUtils]: 7: Hoare triple {8772#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {8772#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} is VALID [2022-02-20 23:39:36,259 INFO L290 TraceCheckUtils]: 6: Hoare triple {8668#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {8772#(or (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)))} is VALID [2022-02-20 23:39:36,260 INFO L290 TraceCheckUtils]: 5: Hoare triple {8640#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {8668#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:36,260 INFO L290 TraceCheckUtils]: 4: Hoare triple {8640#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {8640#true} is VALID [2022-02-20 23:39:36,260 INFO L290 TraceCheckUtils]: 3: Hoare triple {8640#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {8640#true} is VALID [2022-02-20 23:39:36,260 INFO L290 TraceCheckUtils]: 2: Hoare triple {8640#true} assume !(main_~length1~0#1 < 1); {8640#true} is VALID [2022-02-20 23:39:36,260 INFO L290 TraceCheckUtils]: 1: Hoare triple {8640#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {8640#true} is VALID [2022-02-20 23:39:36,261 INFO L290 TraceCheckUtils]: 0: Hoare triple {8640#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {8640#true} is VALID [2022-02-20 23:39:36,261 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:36,261 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [458704167] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:36,261 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:36,261 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [10, 11, 11] total 25 [2022-02-20 23:39:36,262 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1117626029] [2022-02-20 23:39:36,262 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:36,262 INFO L78 Accepts]: Start accepts. Automaton has has 25 states, 25 states have (on average 1.96) internal successors, (49), 25 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 23 [2022-02-20 23:39:36,262 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:36,274 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 25 states, 25 states have (on average 1.96) internal successors, (49), 25 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:36,333 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 49 edges. 49 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:36,333 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 25 states [2022-02-20 23:39:36,333 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:36,334 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 25 interpolants. [2022-02-20 23:39:36,334 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=82, Invalid=473, Unknown=1, NotChecked=44, Total=600 [2022-02-20 23:39:36,334 INFO L87 Difference]: Start difference. First operand 92 states and 114 transitions. Second operand has 25 states, 25 states have (on average 1.96) internal successors, (49), 25 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:37,458 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:37,458 INFO L93 Difference]: Finished difference Result 180 states and 210 transitions. [2022-02-20 23:39:37,458 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 16 states. [2022-02-20 23:39:37,458 INFO L78 Accepts]: Start accepts. Automaton has has 25 states, 25 states have (on average 1.96) internal successors, (49), 25 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 23 [2022-02-20 23:39:37,458 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:37,459 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 25 states, 25 states have (on average 1.96) internal successors, (49), 25 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:37,459 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 132 transitions. [2022-02-20 23:39:37,459 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 25 states, 25 states have (on average 1.96) internal successors, (49), 25 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:37,460 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 132 transitions. [2022-02-20 23:39:37,460 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 16 states and 132 transitions. [2022-02-20 23:39:37,562 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 132 edges. 132 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:37,564 INFO L225 Difference]: With dead ends: 180 [2022-02-20 23:39:37,564 INFO L226 Difference]: Without dead ends: 180 [2022-02-20 23:39:37,564 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 65 GetRequests, 30 SyntacticMatches, 3 SemanticMatches, 32 ConstructedPredicates, 1 IntricatePredicates, 3 DeprecatedPredicates, 253 ImplicationChecksByTransitivity, 0.5s TimeCoverageRelationStatistics Valid=160, Invalid=899, Unknown=1, NotChecked=62, Total=1122 [2022-02-20 23:39:37,565 INFO L933 BasicCegarLoop]: 63 mSDtfsCounter, 166 mSDsluCounter, 666 mSDsCounter, 0 mSdLazyCounter, 326 mSolverCounterSat, 16 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 166 SdHoareTripleChecker+Valid, 729 SdHoareTripleChecker+Invalid, 452 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 16 IncrementalHoareTripleChecker+Valid, 326 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 110 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:37,565 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [166 Valid, 729 Invalid, 452 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [16 Valid, 326 Invalid, 0 Unknown, 110 Unchecked, 0.2s Time] [2022-02-20 23:39:37,565 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 180 states. [2022-02-20 23:39:37,566 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 180 to 103. [2022-02-20 23:39:37,566 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:37,566 INFO L82 GeneralOperation]: Start isEquivalent. First operand 180 states. Second operand has 103 states, 98 states have (on average 1.2959183673469388) internal successors, (127), 102 states have internal predecessors, (127), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:37,566 INFO L74 IsIncluded]: Start isIncluded. First operand 180 states. Second operand has 103 states, 98 states have (on average 1.2959183673469388) internal successors, (127), 102 states have internal predecessors, (127), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:37,567 INFO L87 Difference]: Start difference. First operand 180 states. Second operand has 103 states, 98 states have (on average 1.2959183673469388) internal successors, (127), 102 states have internal predecessors, (127), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:37,568 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:37,568 INFO L93 Difference]: Finished difference Result 180 states and 210 transitions. [2022-02-20 23:39:37,568 INFO L276 IsEmpty]: Start isEmpty. Operand 180 states and 210 transitions. [2022-02-20 23:39:37,568 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:37,568 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:37,569 INFO L74 IsIncluded]: Start isIncluded. First operand has 103 states, 98 states have (on average 1.2959183673469388) internal successors, (127), 102 states have internal predecessors, (127), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 180 states. [2022-02-20 23:39:37,569 INFO L87 Difference]: Start difference. First operand has 103 states, 98 states have (on average 1.2959183673469388) internal successors, (127), 102 states have internal predecessors, (127), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 180 states. [2022-02-20 23:39:37,570 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:37,571 INFO L93 Difference]: Finished difference Result 180 states and 210 transitions. [2022-02-20 23:39:37,571 INFO L276 IsEmpty]: Start isEmpty. Operand 180 states and 210 transitions. [2022-02-20 23:39:37,571 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:37,571 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:37,571 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:37,571 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:37,571 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 103 states, 98 states have (on average 1.2959183673469388) internal successors, (127), 102 states have internal predecessors, (127), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:37,572 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 103 states to 103 states and 127 transitions. [2022-02-20 23:39:37,572 INFO L78 Accepts]: Start accepts. Automaton has 103 states and 127 transitions. Word has length 23 [2022-02-20 23:39:37,572 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:37,572 INFO L470 AbstractCegarLoop]: Abstraction has 103 states and 127 transitions. [2022-02-20 23:39:37,573 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 25 states, 25 states have (on average 1.96) internal successors, (49), 25 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:37,573 INFO L276 IsEmpty]: Start isEmpty. Operand 103 states and 127 transitions. [2022-02-20 23:39:37,573 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2022-02-20 23:39:37,573 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:37,573 INFO L514 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:37,589 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (7)] Forceful destruction successful, exit code 0 [2022-02-20 23:39:37,790 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable21,7 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:37,790 INFO L402 AbstractCegarLoop]: === Iteration 23 === Targeting ULTIMATE.startErr11REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:37,791 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:37,791 INFO L85 PathProgramCache]: Analyzing trace with hash 79040412, now seen corresponding path program 1 times [2022-02-20 23:39:37,791 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:37,791 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1334166099] [2022-02-20 23:39:37,791 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:37,791 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:37,806 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:37,844 INFO L290 TraceCheckUtils]: 0: Hoare triple {9461#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {9461#true} is VALID [2022-02-20 23:39:37,844 INFO L290 TraceCheckUtils]: 1: Hoare triple {9461#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {9461#true} is VALID [2022-02-20 23:39:37,845 INFO L290 TraceCheckUtils]: 2: Hoare triple {9461#true} assume !(main_~length1~0#1 < 1); {9461#true} is VALID [2022-02-20 23:39:37,845 INFO L290 TraceCheckUtils]: 3: Hoare triple {9461#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {9461#true} is VALID [2022-02-20 23:39:37,845 INFO L290 TraceCheckUtils]: 4: Hoare triple {9461#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:37,846 INFO L290 TraceCheckUtils]: 5: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:37,846 INFO L290 TraceCheckUtils]: 6: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:37,846 INFO L290 TraceCheckUtils]: 7: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_~i~1#1 := 0; {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:37,847 INFO L290 TraceCheckUtils]: 8: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:37,847 INFO L290 TraceCheckUtils]: 9: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:37,848 INFO L290 TraceCheckUtils]: 10: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:37,848 INFO L290 TraceCheckUtils]: 11: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:37,849 INFO L290 TraceCheckUtils]: 12: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:37,849 INFO L290 TraceCheckUtils]: 13: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:37,849 INFO L290 TraceCheckUtils]: 14: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:37,850 INFO L290 TraceCheckUtils]: 15: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:37,850 INFO L290 TraceCheckUtils]: 16: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:37,851 INFO L290 TraceCheckUtils]: 17: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:37,851 INFO L290 TraceCheckUtils]: 18: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:37,852 INFO L290 TraceCheckUtils]: 19: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {9465#(and (< 0 (+ |ULTIMATE.start_cstrncat_~n#1| 1)) (<= |ULTIMATE.start_cstrncat_~n#1| 0))} is VALID [2022-02-20 23:39:37,852 INFO L290 TraceCheckUtils]: 20: Hoare triple {9465#(and (< 0 (+ |ULTIMATE.start_cstrncat_~n#1| 1)) (<= |ULTIMATE.start_cstrncat_~n#1| 0))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {9466#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:39:37,852 INFO L290 TraceCheckUtils]: 21: Hoare triple {9466#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {9462#false} is VALID [2022-02-20 23:39:37,853 INFO L290 TraceCheckUtils]: 22: Hoare triple {9462#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {9462#false} is VALID [2022-02-20 23:39:37,853 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 1 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:37,853 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:37,853 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1334166099] [2022-02-20 23:39:37,853 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1334166099] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:37,853 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1573425643] [2022-02-20 23:39:37,853 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:37,853 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:37,854 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:37,854 INFO L229 MonitoredProcess]: Starting monitored process 8 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:37,867 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (8)] Waiting until timeout for monitored process [2022-02-20 23:39:37,936 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:37,937 INFO L263 TraceCheckSpWp]: Trace formula consists of 154 conjuncts, 10 conjunts are in the unsatisfiable core [2022-02-20 23:39:37,943 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:37,944 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:38,094 INFO L290 TraceCheckUtils]: 0: Hoare triple {9461#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {9461#true} is VALID [2022-02-20 23:39:38,094 INFO L290 TraceCheckUtils]: 1: Hoare triple {9461#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {9461#true} is VALID [2022-02-20 23:39:38,094 INFO L290 TraceCheckUtils]: 2: Hoare triple {9461#true} assume !(main_~length1~0#1 < 1); {9461#true} is VALID [2022-02-20 23:39:38,094 INFO L290 TraceCheckUtils]: 3: Hoare triple {9461#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {9461#true} is VALID [2022-02-20 23:39:38,111 INFO L290 TraceCheckUtils]: 4: Hoare triple {9461#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,112 INFO L290 TraceCheckUtils]: 5: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,112 INFO L290 TraceCheckUtils]: 6: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,113 INFO L290 TraceCheckUtils]: 7: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_~i~1#1 := 0; {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,113 INFO L290 TraceCheckUtils]: 8: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,113 INFO L290 TraceCheckUtils]: 9: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,114 INFO L290 TraceCheckUtils]: 10: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,114 INFO L290 TraceCheckUtils]: 11: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,115 INFO L290 TraceCheckUtils]: 12: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,115 INFO L290 TraceCheckUtils]: 13: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,115 INFO L290 TraceCheckUtils]: 14: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,116 INFO L290 TraceCheckUtils]: 15: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,116 INFO L290 TraceCheckUtils]: 16: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,116 INFO L290 TraceCheckUtils]: 17: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,117 INFO L290 TraceCheckUtils]: 18: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,117 INFO L290 TraceCheckUtils]: 19: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {9465#(and (< 0 (+ |ULTIMATE.start_cstrncat_~n#1| 1)) (<= |ULTIMATE.start_cstrncat_~n#1| 0))} is VALID [2022-02-20 23:39:38,117 INFO L290 TraceCheckUtils]: 20: Hoare triple {9465#(and (< 0 (+ |ULTIMATE.start_cstrncat_~n#1| 1)) (<= |ULTIMATE.start_cstrncat_~n#1| 0))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {9466#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:39:38,118 INFO L290 TraceCheckUtils]: 21: Hoare triple {9466#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {9462#false} is VALID [2022-02-20 23:39:38,118 INFO L290 TraceCheckUtils]: 22: Hoare triple {9462#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {9462#false} is VALID [2022-02-20 23:39:38,118 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 1 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:38,118 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:38,246 INFO L290 TraceCheckUtils]: 22: Hoare triple {9462#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {9462#false} is VALID [2022-02-20 23:39:38,247 INFO L290 TraceCheckUtils]: 21: Hoare triple {9466#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {9462#false} is VALID [2022-02-20 23:39:38,247 INFO L290 TraceCheckUtils]: 20: Hoare triple {9465#(and (< 0 (+ |ULTIMATE.start_cstrncat_~n#1| 1)) (<= |ULTIMATE.start_cstrncat_~n#1| 0))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {9466#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:39:38,248 INFO L290 TraceCheckUtils]: 19: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {9465#(and (< 0 (+ |ULTIMATE.start_cstrncat_~n#1| 1)) (<= |ULTIMATE.start_cstrncat_~n#1| 0))} is VALID [2022-02-20 23:39:38,248 INFO L290 TraceCheckUtils]: 18: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,248 INFO L290 TraceCheckUtils]: 17: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,249 INFO L290 TraceCheckUtils]: 16: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,249 INFO L290 TraceCheckUtils]: 15: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,250 INFO L290 TraceCheckUtils]: 14: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,250 INFO L290 TraceCheckUtils]: 13: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,250 INFO L290 TraceCheckUtils]: 12: Hoare triple {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,251 INFO L290 TraceCheckUtils]: 11: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {9464#(and (<= |ULTIMATE.start_cstrncat_~n#1| 1) (<= 1 |ULTIMATE.start_cstrncat_~n#1|))} is VALID [2022-02-20 23:39:38,251 INFO L290 TraceCheckUtils]: 10: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,252 INFO L290 TraceCheckUtils]: 9: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,252 INFO L290 TraceCheckUtils]: 8: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,252 INFO L290 TraceCheckUtils]: 7: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_~i~1#1 := 0; {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,253 INFO L290 TraceCheckUtils]: 6: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,253 INFO L290 TraceCheckUtils]: 5: Hoare triple {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,254 INFO L290 TraceCheckUtils]: 4: Hoare triple {9461#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {9463#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:38,254 INFO L290 TraceCheckUtils]: 3: Hoare triple {9461#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {9461#true} is VALID [2022-02-20 23:39:38,254 INFO L290 TraceCheckUtils]: 2: Hoare triple {9461#true} assume !(main_~length1~0#1 < 1); {9461#true} is VALID [2022-02-20 23:39:38,254 INFO L290 TraceCheckUtils]: 1: Hoare triple {9461#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {9461#true} is VALID [2022-02-20 23:39:38,254 INFO L290 TraceCheckUtils]: 0: Hoare triple {9461#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {9461#true} is VALID [2022-02-20 23:39:38,254 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 1 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:38,254 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1573425643] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:38,255 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:38,255 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 6, 6] total 6 [2022-02-20 23:39:38,255 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1524801815] [2022-02-20 23:39:38,255 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:38,255 INFO L78 Accepts]: Start accepts. Automaton has has 6 states, 6 states have (on average 3.8333333333333335) internal successors, (23), 6 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 23 [2022-02-20 23:39:38,255 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:38,255 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 6 states, 6 states have (on average 3.8333333333333335) internal successors, (23), 6 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,269 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 23 edges. 23 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:38,269 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2022-02-20 23:39:38,270 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:38,270 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2022-02-20 23:39:38,270 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2022-02-20 23:39:38,270 INFO L87 Difference]: Start difference. First operand 103 states and 127 transitions. Second operand has 6 states, 6 states have (on average 3.8333333333333335) internal successors, (23), 6 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,479 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:38,480 INFO L93 Difference]: Finished difference Result 205 states and 243 transitions. [2022-02-20 23:39:38,480 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2022-02-20 23:39:38,480 INFO L78 Accepts]: Start accepts. Automaton has has 6 states, 6 states have (on average 3.8333333333333335) internal successors, (23), 6 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 23 [2022-02-20 23:39:38,480 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:38,480 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 6 states, 6 states have (on average 3.8333333333333335) internal successors, (23), 6 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,481 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 92 transitions. [2022-02-20 23:39:38,481 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 6 states, 6 states have (on average 3.8333333333333335) internal successors, (23), 6 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,483 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 92 transitions. [2022-02-20 23:39:38,483 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 7 states and 92 transitions. [2022-02-20 23:39:38,548 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 92 edges. 92 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:38,550 INFO L225 Difference]: With dead ends: 205 [2022-02-20 23:39:38,550 INFO L226 Difference]: Without dead ends: 205 [2022-02-20 23:39:38,551 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 53 GetRequests, 42 SyntacticMatches, 4 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=23, Invalid=49, Unknown=0, NotChecked=0, Total=72 [2022-02-20 23:39:38,554 INFO L933 BasicCegarLoop]: 44 mSDtfsCounter, 57 mSDsluCounter, 158 mSDsCounter, 0 mSdLazyCounter, 47 mSolverCounterSat, 6 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 57 SdHoareTripleChecker+Valid, 202 SdHoareTripleChecker+Invalid, 53 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 6 IncrementalHoareTripleChecker+Valid, 47 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:38,554 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [57 Valid, 202 Invalid, 53 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [6 Valid, 47 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:38,555 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 205 states. [2022-02-20 23:39:38,556 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 205 to 176. [2022-02-20 23:39:38,557 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:38,557 INFO L82 GeneralOperation]: Start isEquivalent. First operand 205 states. Second operand has 176 states, 171 states have (on average 1.2514619883040936) internal successors, (214), 175 states have internal predecessors, (214), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,557 INFO L74 IsIncluded]: Start isIncluded. First operand 205 states. Second operand has 176 states, 171 states have (on average 1.2514619883040936) internal successors, (214), 175 states have internal predecessors, (214), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,557 INFO L87 Difference]: Start difference. First operand 205 states. Second operand has 176 states, 171 states have (on average 1.2514619883040936) internal successors, (214), 175 states have internal predecessors, (214), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,559 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:38,559 INFO L93 Difference]: Finished difference Result 205 states and 243 transitions. [2022-02-20 23:39:38,559 INFO L276 IsEmpty]: Start isEmpty. Operand 205 states and 243 transitions. [2022-02-20 23:39:38,560 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:38,560 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:38,560 INFO L74 IsIncluded]: Start isIncluded. First operand has 176 states, 171 states have (on average 1.2514619883040936) internal successors, (214), 175 states have internal predecessors, (214), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 205 states. [2022-02-20 23:39:38,560 INFO L87 Difference]: Start difference. First operand has 176 states, 171 states have (on average 1.2514619883040936) internal successors, (214), 175 states have internal predecessors, (214), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 205 states. [2022-02-20 23:39:38,562 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:38,562 INFO L93 Difference]: Finished difference Result 205 states and 243 transitions. [2022-02-20 23:39:38,563 INFO L276 IsEmpty]: Start isEmpty. Operand 205 states and 243 transitions. [2022-02-20 23:39:38,563 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:38,563 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:38,563 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:38,563 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:38,563 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 176 states, 171 states have (on average 1.2514619883040936) internal successors, (214), 175 states have internal predecessors, (214), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,565 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 176 states to 176 states and 214 transitions. [2022-02-20 23:39:38,565 INFO L78 Accepts]: Start accepts. Automaton has 176 states and 214 transitions. Word has length 23 [2022-02-20 23:39:38,565 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:38,565 INFO L470 AbstractCegarLoop]: Abstraction has 176 states and 214 transitions. [2022-02-20 23:39:38,565 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 6 states have (on average 3.8333333333333335) internal successors, (23), 6 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,565 INFO L276 IsEmpty]: Start isEmpty. Operand 176 states and 214 transitions. [2022-02-20 23:39:38,566 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2022-02-20 23:39:38,567 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:38,567 INFO L514 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:38,607 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (8)] Forceful destruction successful, exit code 0 [2022-02-20 23:39:38,785 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable22,8 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:38,786 INFO L402 AbstractCegarLoop]: === Iteration 24 === Targeting ULTIMATE.startErr11REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:38,786 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:38,786 INFO L85 PathProgramCache]: Analyzing trace with hash -1609903330, now seen corresponding path program 1 times [2022-02-20 23:39:38,786 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:38,786 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [940901244] [2022-02-20 23:39:38,786 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:38,786 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:38,811 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:38,911 INFO L290 TraceCheckUtils]: 0: Hoare triple {10398#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {10398#true} is VALID [2022-02-20 23:39:38,912 INFO L290 TraceCheckUtils]: 1: Hoare triple {10398#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {10398#true} is VALID [2022-02-20 23:39:38,912 INFO L290 TraceCheckUtils]: 2: Hoare triple {10398#true} assume !(main_~length1~0#1 < 1); {10398#true} is VALID [2022-02-20 23:39:38,912 INFO L290 TraceCheckUtils]: 3: Hoare triple {10398#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {10400#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:38,912 INFO L290 TraceCheckUtils]: 4: Hoare triple {10400#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} assume !(main_~n~0#1 < 1); {10400#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:38,913 INFO L290 TraceCheckUtils]: 5: Hoare triple {10400#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:38,913 INFO L290 TraceCheckUtils]: 6: Hoare triple {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:38,914 INFO L290 TraceCheckUtils]: 7: Hoare triple {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} main_~i~1#1 := 0; {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:38,914 INFO L290 TraceCheckUtils]: 8: Hoare triple {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:38,915 INFO L290 TraceCheckUtils]: 9: Hoare triple {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:38,915 INFO L290 TraceCheckUtils]: 10: Hoare triple {10401#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {10402#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~nondetString2~0#1.offset|) 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0))} is VALID [2022-02-20 23:39:38,916 INFO L290 TraceCheckUtils]: 11: Hoare triple {10402#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~nondetString2~0#1.offset|) 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {10403#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:38,916 INFO L290 TraceCheckUtils]: 12: Hoare triple {10403#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {10403#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:38,916 INFO L290 TraceCheckUtils]: 13: Hoare triple {10403#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {10403#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:38,917 INFO L290 TraceCheckUtils]: 14: Hoare triple {10403#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {10403#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:38,917 INFO L290 TraceCheckUtils]: 15: Hoare triple {10403#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {10404#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} is VALID [2022-02-20 23:39:38,917 INFO L290 TraceCheckUtils]: 16: Hoare triple {10404#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {10405#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:39:38,918 INFO L290 TraceCheckUtils]: 17: Hoare triple {10405#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {10405#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:39:38,918 INFO L290 TraceCheckUtils]: 18: Hoare triple {10405#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {10406#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:39:38,918 INFO L290 TraceCheckUtils]: 19: Hoare triple {10406#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {10399#false} is VALID [2022-02-20 23:39:38,918 INFO L290 TraceCheckUtils]: 20: Hoare triple {10399#false} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {10399#false} is VALID [2022-02-20 23:39:38,918 INFO L290 TraceCheckUtils]: 21: Hoare triple {10399#false} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {10399#false} is VALID [2022-02-20 23:39:38,919 INFO L290 TraceCheckUtils]: 22: Hoare triple {10399#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {10399#false} is VALID [2022-02-20 23:39:38,919 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:38,919 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:38,919 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [940901244] [2022-02-20 23:39:38,919 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [940901244] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:38,919 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:38,919 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [9] imperfect sequences [] total 9 [2022-02-20 23:39:38,919 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [473570706] [2022-02-20 23:39:38,920 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:38,920 INFO L78 Accepts]: Start accepts. Automaton has has 9 states, 9 states have (on average 2.5555555555555554) internal successors, (23), 9 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 23 [2022-02-20 23:39:38,921 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:38,921 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 9 states, 9 states have (on average 2.5555555555555554) internal successors, (23), 9 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:38,944 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 23 edges. 23 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:38,945 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2022-02-20 23:39:38,945 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:38,945 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2022-02-20 23:39:38,945 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=16, Invalid=56, Unknown=0, NotChecked=0, Total=72 [2022-02-20 23:39:38,946 INFO L87 Difference]: Start difference. First operand 176 states and 214 transitions. Second operand has 9 states, 9 states have (on average 2.5555555555555554) internal successors, (23), 9 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,269 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:39,269 INFO L93 Difference]: Finished difference Result 260 states and 307 transitions. [2022-02-20 23:39:39,269 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2022-02-20 23:39:39,269 INFO L78 Accepts]: Start accepts. Automaton has has 9 states, 9 states have (on average 2.5555555555555554) internal successors, (23), 9 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 23 [2022-02-20 23:39:39,269 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:39,269 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 9 states, 9 states have (on average 2.5555555555555554) internal successors, (23), 9 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,269 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 76 transitions. [2022-02-20 23:39:39,270 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 9 states, 9 states have (on average 2.5555555555555554) internal successors, (23), 9 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,270 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 76 transitions. [2022-02-20 23:39:39,270 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 10 states and 76 transitions. [2022-02-20 23:39:39,321 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 76 edges. 76 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:39,324 INFO L225 Difference]: With dead ends: 260 [2022-02-20 23:39:39,324 INFO L226 Difference]: Without dead ends: 260 [2022-02-20 23:39:39,324 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 12 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 8 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=55, Invalid=127, Unknown=0, NotChecked=0, Total=182 [2022-02-20 23:39:39,324 INFO L933 BasicCegarLoop]: 32 mSDtfsCounter, 63 mSDsluCounter, 187 mSDsCounter, 0 mSdLazyCounter, 92 mSolverCounterSat, 14 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 63 SdHoareTripleChecker+Valid, 219 SdHoareTripleChecker+Invalid, 106 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 14 IncrementalHoareTripleChecker+Valid, 92 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:39,324 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [63 Valid, 219 Invalid, 106 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [14 Valid, 92 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-02-20 23:39:39,325 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 260 states. [2022-02-20 23:39:39,326 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 260 to 191. [2022-02-20 23:39:39,326 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:39,327 INFO L82 GeneralOperation]: Start isEquivalent. First operand 260 states. Second operand has 191 states, 186 states have (on average 1.2419354838709677) internal successors, (231), 190 states have internal predecessors, (231), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,327 INFO L74 IsIncluded]: Start isIncluded. First operand 260 states. Second operand has 191 states, 186 states have (on average 1.2419354838709677) internal successors, (231), 190 states have internal predecessors, (231), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,327 INFO L87 Difference]: Start difference. First operand 260 states. Second operand has 191 states, 186 states have (on average 1.2419354838709677) internal successors, (231), 190 states have internal predecessors, (231), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,330 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:39,330 INFO L93 Difference]: Finished difference Result 260 states and 307 transitions. [2022-02-20 23:39:39,330 INFO L276 IsEmpty]: Start isEmpty. Operand 260 states and 307 transitions. [2022-02-20 23:39:39,330 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:39,330 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:39,330 INFO L74 IsIncluded]: Start isIncluded. First operand has 191 states, 186 states have (on average 1.2419354838709677) internal successors, (231), 190 states have internal predecessors, (231), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 260 states. [2022-02-20 23:39:39,335 INFO L87 Difference]: Start difference. First operand has 191 states, 186 states have (on average 1.2419354838709677) internal successors, (231), 190 states have internal predecessors, (231), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 260 states. [2022-02-20 23:39:39,357 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:39,358 INFO L93 Difference]: Finished difference Result 260 states and 307 transitions. [2022-02-20 23:39:39,358 INFO L276 IsEmpty]: Start isEmpty. Operand 260 states and 307 transitions. [2022-02-20 23:39:39,358 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:39,358 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:39,358 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:39,358 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:39,359 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 191 states, 186 states have (on average 1.2419354838709677) internal successors, (231), 190 states have internal predecessors, (231), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,360 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 191 states to 191 states and 231 transitions. [2022-02-20 23:39:39,360 INFO L78 Accepts]: Start accepts. Automaton has 191 states and 231 transitions. Word has length 23 [2022-02-20 23:39:39,360 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:39,360 INFO L470 AbstractCegarLoop]: Abstraction has 191 states and 231 transitions. [2022-02-20 23:39:39,361 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 2.5555555555555554) internal successors, (23), 9 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,361 INFO L276 IsEmpty]: Start isEmpty. Operand 191 states and 231 transitions. [2022-02-20 23:39:39,361 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2022-02-20 23:39:39,361 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:39,361 INFO L514 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:39,361 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable23 [2022-02-20 23:39:39,361 INFO L402 AbstractCegarLoop]: === Iteration 25 === Targeting ULTIMATE.startErr11REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:39,362 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:39,362 INFO L85 PathProgramCache]: Analyzing trace with hash 1867415516, now seen corresponding path program 1 times [2022-02-20 23:39:39,362 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:39,362 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [902350853] [2022-02-20 23:39:39,362 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:39,362 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:39,383 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:39,480 INFO L290 TraceCheckUtils]: 0: Hoare triple {11390#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {11390#true} is VALID [2022-02-20 23:39:39,480 INFO L290 TraceCheckUtils]: 1: Hoare triple {11390#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {11390#true} is VALID [2022-02-20 23:39:39,480 INFO L290 TraceCheckUtils]: 2: Hoare triple {11390#true} assume !(main_~length1~0#1 < 1); {11390#true} is VALID [2022-02-20 23:39:39,480 INFO L290 TraceCheckUtils]: 3: Hoare triple {11390#true} assume !(main_~length2~0#1 < 1); {11392#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:39,481 INFO L290 TraceCheckUtils]: 4: Hoare triple {11392#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume !(main_~n~0#1 < 1); {11392#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:39,481 INFO L290 TraceCheckUtils]: 5: Hoare triple {11392#(<= 1 |ULTIMATE.start_main_~length2~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {11393#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 0) (and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|))))} is VALID [2022-02-20 23:39:39,482 INFO L290 TraceCheckUtils]: 6: Hoare triple {11393#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 0) (and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 0) (<= 1 |ULTIMATE.start_main_~length2~0#1|))))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {11394#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:39,482 INFO L290 TraceCheckUtils]: 7: Hoare triple {11394#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} main_~i~1#1 := 0; {11394#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:39,483 INFO L290 TraceCheckUtils]: 8: Hoare triple {11394#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {11394#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:39,483 INFO L290 TraceCheckUtils]: 9: Hoare triple {11394#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {11394#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:39:39,484 INFO L290 TraceCheckUtils]: 10: Hoare triple {11394#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {11395#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~nondetString2~0#1.offset|) 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0))} is VALID [2022-02-20 23:39:39,484 INFO L290 TraceCheckUtils]: 11: Hoare triple {11395#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~nondetString2~0#1.offset|) 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {11396#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:39,484 INFO L290 TraceCheckUtils]: 12: Hoare triple {11396#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {11396#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:39,485 INFO L290 TraceCheckUtils]: 13: Hoare triple {11396#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {11396#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:39,485 INFO L290 TraceCheckUtils]: 14: Hoare triple {11396#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {11396#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:39,485 INFO L290 TraceCheckUtils]: 15: Hoare triple {11396#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {11397#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} is VALID [2022-02-20 23:39:39,486 INFO L290 TraceCheckUtils]: 16: Hoare triple {11397#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {11398#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:39:39,486 INFO L290 TraceCheckUtils]: 17: Hoare triple {11398#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {11398#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:39:39,486 INFO L290 TraceCheckUtils]: 18: Hoare triple {11398#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {11399#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:39:39,487 INFO L290 TraceCheckUtils]: 19: Hoare triple {11399#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {11391#false} is VALID [2022-02-20 23:39:39,487 INFO L290 TraceCheckUtils]: 20: Hoare triple {11391#false} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {11391#false} is VALID [2022-02-20 23:39:39,487 INFO L290 TraceCheckUtils]: 21: Hoare triple {11391#false} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {11391#false} is VALID [2022-02-20 23:39:39,487 INFO L290 TraceCheckUtils]: 22: Hoare triple {11391#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {11391#false} is VALID [2022-02-20 23:39:39,487 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:39,487 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:39,487 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [902350853] [2022-02-20 23:39:39,487 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [902350853] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:39,488 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:39,488 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [10] imperfect sequences [] total 10 [2022-02-20 23:39:39,488 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [540993557] [2022-02-20 23:39:39,488 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:39,488 INFO L78 Accepts]: Start accepts. Automaton has has 10 states, 10 states have (on average 2.3) internal successors, (23), 10 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 23 [2022-02-20 23:39:39,488 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:39,488 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 10 states, 10 states have (on average 2.3) internal successors, (23), 10 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,503 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 23 edges. 23 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:39,503 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 10 states [2022-02-20 23:39:39,504 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:39,504 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2022-02-20 23:39:39,504 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=70, Unknown=0, NotChecked=0, Total=90 [2022-02-20 23:39:39,504 INFO L87 Difference]: Start difference. First operand 191 states and 231 transitions. Second operand has 10 states, 10 states have (on average 2.3) internal successors, (23), 10 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,872 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:39,873 INFO L93 Difference]: Finished difference Result 223 states and 263 transitions. [2022-02-20 23:39:39,873 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2022-02-20 23:39:39,873 INFO L78 Accepts]: Start accepts. Automaton has has 10 states, 10 states have (on average 2.3) internal successors, (23), 10 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 23 [2022-02-20 23:39:39,873 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:39,873 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 10 states, 10 states have (on average 2.3) internal successors, (23), 10 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,873 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 71 transitions. [2022-02-20 23:39:39,873 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 10 states, 10 states have (on average 2.3) internal successors, (23), 10 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,874 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 71 transitions. [2022-02-20 23:39:39,874 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 11 states and 71 transitions. [2022-02-20 23:39:39,924 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 71 edges. 71 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:39,926 INFO L225 Difference]: With dead ends: 223 [2022-02-20 23:39:39,926 INFO L226 Difference]: Without dead ends: 223 [2022-02-20 23:39:39,926 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 16 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 14 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 19 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=69, Invalid=171, Unknown=0, NotChecked=0, Total=240 [2022-02-20 23:39:39,927 INFO L933 BasicCegarLoop]: 27 mSDtfsCounter, 106 mSDsluCounter, 155 mSDsCounter, 0 mSdLazyCounter, 130 mSolverCounterSat, 20 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 106 SdHoareTripleChecker+Valid, 182 SdHoareTripleChecker+Invalid, 150 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 20 IncrementalHoareTripleChecker+Valid, 130 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:39,927 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [106 Valid, 182 Invalid, 150 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [20 Valid, 130 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-02-20 23:39:39,927 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 223 states. [2022-02-20 23:39:39,929 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 223 to 181. [2022-02-20 23:39:39,929 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:39,929 INFO L82 GeneralOperation]: Start isEquivalent. First operand 223 states. Second operand has 181 states, 176 states have (on average 1.2556818181818181) internal successors, (221), 180 states have internal predecessors, (221), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,929 INFO L74 IsIncluded]: Start isIncluded. First operand 223 states. Second operand has 181 states, 176 states have (on average 1.2556818181818181) internal successors, (221), 180 states have internal predecessors, (221), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,929 INFO L87 Difference]: Start difference. First operand 223 states. Second operand has 181 states, 176 states have (on average 1.2556818181818181) internal successors, (221), 180 states have internal predecessors, (221), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,931 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:39,931 INFO L93 Difference]: Finished difference Result 223 states and 263 transitions. [2022-02-20 23:39:39,931 INFO L276 IsEmpty]: Start isEmpty. Operand 223 states and 263 transitions. [2022-02-20 23:39:39,932 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:39,932 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:39,932 INFO L74 IsIncluded]: Start isIncluded. First operand has 181 states, 176 states have (on average 1.2556818181818181) internal successors, (221), 180 states have internal predecessors, (221), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 223 states. [2022-02-20 23:39:39,933 INFO L87 Difference]: Start difference. First operand has 181 states, 176 states have (on average 1.2556818181818181) internal successors, (221), 180 states have internal predecessors, (221), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 223 states. [2022-02-20 23:39:39,935 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:39,935 INFO L93 Difference]: Finished difference Result 223 states and 263 transitions. [2022-02-20 23:39:39,935 INFO L276 IsEmpty]: Start isEmpty. Operand 223 states and 263 transitions. [2022-02-20 23:39:39,935 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:39,935 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:39,935 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:39,935 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:39,936 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 181 states, 176 states have (on average 1.2556818181818181) internal successors, (221), 180 states have internal predecessors, (221), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,937 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 181 states to 181 states and 221 transitions. [2022-02-20 23:39:39,937 INFO L78 Accepts]: Start accepts. Automaton has 181 states and 221 transitions. Word has length 23 [2022-02-20 23:39:39,937 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:39,937 INFO L470 AbstractCegarLoop]: Abstraction has 181 states and 221 transitions. [2022-02-20 23:39:39,938 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 10 states, 10 states have (on average 2.3) internal successors, (23), 10 states have internal predecessors, (23), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:39,938 INFO L276 IsEmpty]: Start isEmpty. Operand 181 states and 221 transitions. [2022-02-20 23:39:39,939 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2022-02-20 23:39:39,939 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:39,939 INFO L514 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:39,939 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable24 [2022-02-20 23:39:39,939 INFO L402 AbstractCegarLoop]: === Iteration 26 === Targeting ULTIMATE.startErr18ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:39,939 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:39,940 INFO L85 PathProgramCache]: Analyzing trace with hash -1387621483, now seen corresponding path program 1 times [2022-02-20 23:39:39,940 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:39,940 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1201712414] [2022-02-20 23:39:39,940 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:39,940 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:39,961 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:39,987 INFO L290 TraceCheckUtils]: 0: Hoare triple {12264#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {12264#true} is VALID [2022-02-20 23:39:39,987 INFO L290 TraceCheckUtils]: 1: Hoare triple {12264#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:39,987 INFO L290 TraceCheckUtils]: 2: Hoare triple {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume !(main_~length1~0#1 < 1); {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:39,988 INFO L290 TraceCheckUtils]: 3: Hoare triple {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:39,988 INFO L290 TraceCheckUtils]: 4: Hoare triple {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:39,989 INFO L290 TraceCheckUtils]: 5: Hoare triple {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,989 INFO L290 TraceCheckUtils]: 6: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,990 INFO L290 TraceCheckUtils]: 7: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} main_~i~1#1 := 0; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,990 INFO L290 TraceCheckUtils]: 8: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,991 INFO L290 TraceCheckUtils]: 9: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,991 INFO L290 TraceCheckUtils]: 10: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,991 INFO L290 TraceCheckUtils]: 11: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,992 INFO L290 TraceCheckUtils]: 12: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,992 INFO L290 TraceCheckUtils]: 13: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,993 INFO L290 TraceCheckUtils]: 14: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,993 INFO L290 TraceCheckUtils]: 15: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,993 INFO L290 TraceCheckUtils]: 16: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,994 INFO L290 TraceCheckUtils]: 17: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,994 INFO L290 TraceCheckUtils]: 18: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,995 INFO L290 TraceCheckUtils]: 19: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} assume !cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,995 INFO L290 TraceCheckUtils]: 20: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} SUMMARY for call cstrncat_#t~mem9#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-8 {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,995 INFO L290 TraceCheckUtils]: 21: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} assume !(0 != cstrncat_#t~mem9#1);havoc cstrncat_#t~mem9#1; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,996 INFO L290 TraceCheckUtils]: 22: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} cstrncat_#res#1.base, cstrncat_#res#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} is VALID [2022-02-20 23:39:39,996 INFO L290 TraceCheckUtils]: 23: Hoare triple {12267#(and (= (store (store |#valid| |ULTIMATE.start_main_#t~malloc13#1.base| 0) |ULTIMATE.start_main_#t~malloc14#1.base| 0) |ULTIMATE.start_main_old_#valid#1|) (not (= |ULTIMATE.start_main_#t~malloc14#1.base| |ULTIMATE.start_main_#t~malloc13#1.base|)))} main_#t~ret19#1.base, main_#t~ret19#1.offset := cstrncat_#res#1.base, cstrncat_#res#1.offset;assume { :end_inline_cstrncat } true;havoc main_#t~ret19#1.base, main_#t~ret19#1.offset;main_#res#1 := 0;call ULTIMATE.dealloc(main_#t~malloc13#1.base, main_#t~malloc13#1.offset);havoc main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call ULTIMATE.dealloc(main_#t~malloc14#1.base, main_#t~malloc14#1.offset);havoc main_#t~malloc14#1.base, main_#t~malloc14#1.offset; {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} is VALID [2022-02-20 23:39:39,996 INFO L290 TraceCheckUtils]: 24: Hoare triple {12266#(= |ULTIMATE.start_main_old_#valid#1| |#valid|)} assume !(#valid == main_old_#valid#1); {12265#false} is VALID [2022-02-20 23:39:39,997 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:39,997 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:39,997 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1201712414] [2022-02-20 23:39:39,997 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1201712414] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:39,997 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:39,997 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-02-20 23:39:39,997 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [579332005] [2022-02-20 23:39:39,997 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:39,998 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 8.333333333333334) internal successors, (25), 4 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 25 [2022-02-20 23:39:39,998 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:39,998 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 4 states, 3 states have (on average 8.333333333333334) internal successors, (25), 4 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:40,013 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 25 edges. 25 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:40,013 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-02-20 23:39:40,013 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:40,014 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-02-20 23:39:40,014 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2022-02-20 23:39:40,014 INFO L87 Difference]: Start difference. First operand 181 states and 221 transitions. Second operand has 4 states, 3 states have (on average 8.333333333333334) internal successors, (25), 4 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:40,072 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:40,073 INFO L93 Difference]: Finished difference Result 180 states and 220 transitions. [2022-02-20 23:39:40,073 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-02-20 23:39:40,073 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 8.333333333333334) internal successors, (25), 4 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 25 [2022-02-20 23:39:40,073 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:40,073 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 3 states have (on average 8.333333333333334) internal successors, (25), 4 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:40,074 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 44 transitions. [2022-02-20 23:39:40,074 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 3 states have (on average 8.333333333333334) internal successors, (25), 4 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:40,074 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 44 transitions. [2022-02-20 23:39:40,074 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 44 transitions. [2022-02-20 23:39:40,105 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 44 edges. 44 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:40,107 INFO L225 Difference]: With dead ends: 180 [2022-02-20 23:39:40,107 INFO L226 Difference]: Without dead ends: 133 [2022-02-20 23:39:40,107 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2022-02-20 23:39:40,107 INFO L933 BasicCegarLoop]: 32 mSDtfsCounter, 19 mSDsluCounter, 30 mSDsCounter, 0 mSdLazyCounter, 25 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 19 SdHoareTripleChecker+Valid, 62 SdHoareTripleChecker+Invalid, 25 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 25 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:40,107 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [19 Valid, 62 Invalid, 25 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 25 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2022-02-20 23:39:40,108 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 133 states. [2022-02-20 23:39:40,110 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 133 to 133. [2022-02-20 23:39:40,110 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:40,110 INFO L82 GeneralOperation]: Start isEquivalent. First operand 133 states. Second operand has 133 states, 129 states have (on average 1.178294573643411) internal successors, (152), 132 states have internal predecessors, (152), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:40,110 INFO L74 IsIncluded]: Start isIncluded. First operand 133 states. Second operand has 133 states, 129 states have (on average 1.178294573643411) internal successors, (152), 132 states have internal predecessors, (152), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:40,110 INFO L87 Difference]: Start difference. First operand 133 states. Second operand has 133 states, 129 states have (on average 1.178294573643411) internal successors, (152), 132 states have internal predecessors, (152), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:40,111 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:40,111 INFO L93 Difference]: Finished difference Result 133 states and 152 transitions. [2022-02-20 23:39:40,111 INFO L276 IsEmpty]: Start isEmpty. Operand 133 states and 152 transitions. [2022-02-20 23:39:40,112 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:40,112 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:40,112 INFO L74 IsIncluded]: Start isIncluded. First operand has 133 states, 129 states have (on average 1.178294573643411) internal successors, (152), 132 states have internal predecessors, (152), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 133 states. [2022-02-20 23:39:40,112 INFO L87 Difference]: Start difference. First operand has 133 states, 129 states have (on average 1.178294573643411) internal successors, (152), 132 states have internal predecessors, (152), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 133 states. [2022-02-20 23:39:40,113 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:40,113 INFO L93 Difference]: Finished difference Result 133 states and 152 transitions. [2022-02-20 23:39:40,113 INFO L276 IsEmpty]: Start isEmpty. Operand 133 states and 152 transitions. [2022-02-20 23:39:40,113 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:40,114 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:40,114 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:40,114 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:40,114 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 133 states, 129 states have (on average 1.178294573643411) internal successors, (152), 132 states have internal predecessors, (152), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:40,115 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 133 states to 133 states and 152 transitions. [2022-02-20 23:39:40,115 INFO L78 Accepts]: Start accepts. Automaton has 133 states and 152 transitions. Word has length 25 [2022-02-20 23:39:40,115 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:40,115 INFO L470 AbstractCegarLoop]: Abstraction has 133 states and 152 transitions. [2022-02-20 23:39:40,115 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 8.333333333333334) internal successors, (25), 4 states have internal predecessors, (25), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:40,115 INFO L276 IsEmpty]: Start isEmpty. Operand 133 states and 152 transitions. [2022-02-20 23:39:40,116 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2022-02-20 23:39:40,116 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:40,116 INFO L514 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:40,116 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable25 [2022-02-20 23:39:40,116 INFO L402 AbstractCegarLoop]: === Iteration 27 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:40,116 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:40,116 INFO L85 PathProgramCache]: Analyzing trace with hash -725186331, now seen corresponding path program 3 times [2022-02-20 23:39:40,116 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:40,117 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [309449198] [2022-02-20 23:39:40,117 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:40,117 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:40,133 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:40,220 INFO L290 TraceCheckUtils]: 0: Hoare triple {12849#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {12849#true} is VALID [2022-02-20 23:39:40,220 INFO L290 TraceCheckUtils]: 1: Hoare triple {12849#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {12849#true} is VALID [2022-02-20 23:39:40,220 INFO L290 TraceCheckUtils]: 2: Hoare triple {12849#true} assume !(main_~length1~0#1 < 1); {12849#true} is VALID [2022-02-20 23:39:40,220 INFO L290 TraceCheckUtils]: 3: Hoare triple {12849#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {12849#true} is VALID [2022-02-20 23:39:40,221 INFO L290 TraceCheckUtils]: 4: Hoare triple {12849#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {12851#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:40,222 INFO L290 TraceCheckUtils]: 5: Hoare triple {12851#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {12852#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,222 INFO L290 TraceCheckUtils]: 6: Hoare triple {12852#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {12852#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,223 INFO L290 TraceCheckUtils]: 7: Hoare triple {12852#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {12852#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,223 INFO L290 TraceCheckUtils]: 8: Hoare triple {12852#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {12852#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,223 INFO L290 TraceCheckUtils]: 9: Hoare triple {12852#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {12853#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,224 INFO L290 TraceCheckUtils]: 10: Hoare triple {12853#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:40,224 INFO L290 TraceCheckUtils]: 11: Hoare triple {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:40,225 INFO L290 TraceCheckUtils]: 12: Hoare triple {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} havoc main_#t~nondet16#1; {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:40,225 INFO L290 TraceCheckUtils]: 13: Hoare triple {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:40,226 INFO L290 TraceCheckUtils]: 14: Hoare triple {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:40,226 INFO L290 TraceCheckUtils]: 15: Hoare triple {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_~i~1#1 := 0; {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:40,226 INFO L290 TraceCheckUtils]: 16: Hoare triple {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:40,227 INFO L290 TraceCheckUtils]: 17: Hoare triple {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:40,227 INFO L290 TraceCheckUtils]: 18: Hoare triple {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:40,228 INFO L290 TraceCheckUtils]: 19: Hoare triple {12854#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {12855#(and (<= 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,228 INFO L290 TraceCheckUtils]: 20: Hoare triple {12855#(and (<= 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12855#(and (<= 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,229 INFO L290 TraceCheckUtils]: 21: Hoare triple {12855#(and (<= 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {12856#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:40,229 INFO L290 TraceCheckUtils]: 22: Hoare triple {12856#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12856#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:40,230 INFO L290 TraceCheckUtils]: 23: Hoare triple {12856#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {12857#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:39:40,230 INFO L290 TraceCheckUtils]: 24: Hoare triple {12857#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12857#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:39:40,231 INFO L290 TraceCheckUtils]: 25: Hoare triple {12857#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {12858#(and (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:40,231 INFO L290 TraceCheckUtils]: 26: Hoare triple {12858#(and (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {12850#false} is VALID [2022-02-20 23:39:40,231 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 0 proven. 15 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:40,232 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:40,232 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [309449198] [2022-02-20 23:39:40,232 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [309449198] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:40,232 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1188709011] [2022-02-20 23:39:40,232 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2022-02-20 23:39:40,232 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:40,232 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:40,233 INFO L229 MonitoredProcess]: Starting monitored process 9 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:40,234 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (9)] Waiting until timeout for monitored process [2022-02-20 23:39:40,302 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 4 check-sat command(s) [2022-02-20 23:39:40,302 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-02-20 23:39:40,303 INFO L263 TraceCheckSpWp]: Trace formula consists of 165 conjuncts, 35 conjunts are in the unsatisfiable core [2022-02-20 23:39:40,313 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:40,314 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:40,402 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:39:40,403 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 9 treesize of output 11 [2022-02-20 23:39:40,412 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2022-02-20 23:39:40,714 INFO L290 TraceCheckUtils]: 0: Hoare triple {12849#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {12849#true} is VALID [2022-02-20 23:39:40,715 INFO L290 TraceCheckUtils]: 1: Hoare triple {12849#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {12849#true} is VALID [2022-02-20 23:39:40,715 INFO L290 TraceCheckUtils]: 2: Hoare triple {12849#true} assume !(main_~length1~0#1 < 1); {12849#true} is VALID [2022-02-20 23:39:40,715 INFO L290 TraceCheckUtils]: 3: Hoare triple {12849#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {12849#true} is VALID [2022-02-20 23:39:40,715 INFO L290 TraceCheckUtils]: 4: Hoare triple {12849#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {12851#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:40,716 INFO L290 TraceCheckUtils]: 5: Hoare triple {12851#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {12877#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,717 INFO L290 TraceCheckUtils]: 6: Hoare triple {12877#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {12877#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,717 INFO L290 TraceCheckUtils]: 7: Hoare triple {12877#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {12877#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,718 INFO L290 TraceCheckUtils]: 8: Hoare triple {12877#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {12877#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,718 INFO L290 TraceCheckUtils]: 9: Hoare triple {12877#(and (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {12890#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,719 INFO L290 TraceCheckUtils]: 10: Hoare triple {12890#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,719 INFO L290 TraceCheckUtils]: 11: Hoare triple {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,719 INFO L290 TraceCheckUtils]: 12: Hoare triple {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,720 INFO L290 TraceCheckUtils]: 13: Hoare triple {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,720 INFO L290 TraceCheckUtils]: 14: Hoare triple {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,720 INFO L290 TraceCheckUtils]: 15: Hoare triple {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_~i~1#1 := 0; {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,721 INFO L290 TraceCheckUtils]: 16: Hoare triple {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,721 INFO L290 TraceCheckUtils]: 17: Hoare triple {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,722 INFO L290 TraceCheckUtils]: 18: Hoare triple {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,722 INFO L290 TraceCheckUtils]: 19: Hoare triple {12894#(and (< 3 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {12922#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,723 INFO L290 TraceCheckUtils]: 20: Hoare triple {12922#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12922#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:40,723 INFO L290 TraceCheckUtils]: 21: Hoare triple {12922#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {12929#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} is VALID [2022-02-20 23:39:40,724 INFO L290 TraceCheckUtils]: 22: Hoare triple {12929#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12929#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} is VALID [2022-02-20 23:39:40,724 INFO L290 TraceCheckUtils]: 23: Hoare triple {12929#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {12936#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2))} is VALID [2022-02-20 23:39:40,724 INFO L290 TraceCheckUtils]: 24: Hoare triple {12936#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12940#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:39:40,725 INFO L290 TraceCheckUtils]: 25: Hoare triple {12940#(and (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {12944#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:40,725 INFO L290 TraceCheckUtils]: 26: Hoare triple {12944#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {12850#false} is VALID [2022-02-20 23:39:40,726 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 1 proven. 14 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:40,726 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:41,331 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:39:41,351 INFO L290 TraceCheckUtils]: 26: Hoare triple {12948#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {12850#false} is VALID [2022-02-20 23:39:41,352 INFO L290 TraceCheckUtils]: 25: Hoare triple {12952#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {12948#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:41,352 INFO L290 TraceCheckUtils]: 24: Hoare triple {12956#(or (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12952#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} is VALID [2022-02-20 23:39:41,353 INFO L290 TraceCheckUtils]: 23: Hoare triple {12960#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) 0) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {12956#(or (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)))} is VALID [2022-02-20 23:39:41,353 INFO L290 TraceCheckUtils]: 22: Hoare triple {12960#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) 0) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12960#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) 0) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:41,354 INFO L290 TraceCheckUtils]: 21: Hoare triple {12967#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) 0) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {12960#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) 0) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:41,354 INFO L290 TraceCheckUtils]: 20: Hoare triple {12967#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) 0) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {12967#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) 0) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:41,355 INFO L290 TraceCheckUtils]: 19: Hoare triple {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {12967#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) 0) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:41,355 INFO L290 TraceCheckUtils]: 18: Hoare triple {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,356 INFO L290 TraceCheckUtils]: 17: Hoare triple {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,356 INFO L290 TraceCheckUtils]: 16: Hoare triple {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,356 INFO L290 TraceCheckUtils]: 15: Hoare triple {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} main_~i~1#1 := 0; {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,357 INFO L290 TraceCheckUtils]: 14: Hoare triple {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,357 INFO L290 TraceCheckUtils]: 13: Hoare triple {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,358 INFO L290 TraceCheckUtils]: 12: Hoare triple {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} havoc main_#t~nondet16#1; {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,358 INFO L290 TraceCheckUtils]: 11: Hoare triple {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,358 INFO L290 TraceCheckUtils]: 10: Hoare triple {13002#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {12974#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,359 INFO L290 TraceCheckUtils]: 9: Hoare triple {13006#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {13002#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,359 INFO L290 TraceCheckUtils]: 8: Hoare triple {13006#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} havoc main_#t~nondet16#1; {13006#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,360 INFO L290 TraceCheckUtils]: 7: Hoare triple {13006#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {13006#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,360 INFO L290 TraceCheckUtils]: 6: Hoare triple {13006#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {13006#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,361 INFO L290 TraceCheckUtils]: 5: Hoare triple {12851#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {13006#(or (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:39:41,362 INFO L290 TraceCheckUtils]: 4: Hoare triple {12849#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {12851#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:41,362 INFO L290 TraceCheckUtils]: 3: Hoare triple {12849#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {12849#true} is VALID [2022-02-20 23:39:41,362 INFO L290 TraceCheckUtils]: 2: Hoare triple {12849#true} assume !(main_~length1~0#1 < 1); {12849#true} is VALID [2022-02-20 23:39:41,362 INFO L290 TraceCheckUtils]: 1: Hoare triple {12849#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {12849#true} is VALID [2022-02-20 23:39:41,362 INFO L290 TraceCheckUtils]: 0: Hoare triple {12849#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {12849#true} is VALID [2022-02-20 23:39:41,362 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 6 proven. 9 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:41,363 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1188709011] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:41,363 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:41,363 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 10, 10] total 25 [2022-02-20 23:39:41,363 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [643386289] [2022-02-20 23:39:41,363 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:41,363 INFO L78 Accepts]: Start accepts. Automaton has has 26 states, 25 states have (on average 2.84) internal successors, (71), 26 states have internal predecessors, (71), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 27 [2022-02-20 23:39:41,363 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:41,364 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 26 states, 25 states have (on average 2.84) internal successors, (71), 26 states have internal predecessors, (71), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:41,415 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 71 edges. 71 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:41,415 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 26 states [2022-02-20 23:39:41,415 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:41,415 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 26 interpolants. [2022-02-20 23:39:41,415 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=103, Invalid=547, Unknown=0, NotChecked=0, Total=650 [2022-02-20 23:39:41,415 INFO L87 Difference]: Start difference. First operand 133 states and 152 transitions. Second operand has 26 states, 25 states have (on average 2.84) internal successors, (71), 26 states have internal predecessors, (71), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:42,626 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:42,626 INFO L93 Difference]: Finished difference Result 208 states and 231 transitions. [2022-02-20 23:39:42,627 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 12 states. [2022-02-20 23:39:42,627 INFO L78 Accepts]: Start accepts. Automaton has has 26 states, 25 states have (on average 2.84) internal successors, (71), 26 states have internal predecessors, (71), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 27 [2022-02-20 23:39:42,627 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:42,627 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 26 states, 25 states have (on average 2.84) internal successors, (71), 26 states have internal predecessors, (71), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:42,627 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 118 transitions. [2022-02-20 23:39:42,627 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 26 states, 25 states have (on average 2.84) internal successors, (71), 26 states have internal predecessors, (71), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:42,628 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 118 transitions. [2022-02-20 23:39:42,628 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 12 states and 118 transitions. [2022-02-20 23:39:42,726 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 118 edges. 118 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:42,728 INFO L225 Difference]: With dead ends: 208 [2022-02-20 23:39:42,728 INFO L226 Difference]: Without dead ends: 198 [2022-02-20 23:39:42,728 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 70 GetRequests, 37 SyntacticMatches, 0 SemanticMatches, 33 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 140 ImplicationChecksByTransitivity, 0.5s TimeCoverageRelationStatistics Valid=243, Invalid=947, Unknown=0, NotChecked=0, Total=1190 [2022-02-20 23:39:42,729 INFO L933 BasicCegarLoop]: 41 mSDtfsCounter, 298 mSDsluCounter, 301 mSDsCounter, 0 mSdLazyCounter, 424 mSolverCounterSat, 50 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.3s Time, 0 mProtectedPredicate, 0 mProtectedAction, 298 SdHoareTripleChecker+Valid, 342 SdHoareTripleChecker+Invalid, 474 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 50 IncrementalHoareTripleChecker+Valid, 424 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.3s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:42,729 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [298 Valid, 342 Invalid, 474 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [50 Valid, 424 Invalid, 0 Unknown, 0 Unchecked, 0.3s Time] [2022-02-20 23:39:42,729 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 198 states. [2022-02-20 23:39:42,731 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 198 to 148. [2022-02-20 23:39:42,731 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:42,731 INFO L82 GeneralOperation]: Start isEquivalent. First operand 198 states. Second operand has 148 states, 144 states have (on average 1.1736111111111112) internal successors, (169), 147 states have internal predecessors, (169), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:42,731 INFO L74 IsIncluded]: Start isIncluded. First operand 198 states. Second operand has 148 states, 144 states have (on average 1.1736111111111112) internal successors, (169), 147 states have internal predecessors, (169), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:42,731 INFO L87 Difference]: Start difference. First operand 198 states. Second operand has 148 states, 144 states have (on average 1.1736111111111112) internal successors, (169), 147 states have internal predecessors, (169), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:42,733 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:42,733 INFO L93 Difference]: Finished difference Result 198 states and 220 transitions. [2022-02-20 23:39:42,733 INFO L276 IsEmpty]: Start isEmpty. Operand 198 states and 220 transitions. [2022-02-20 23:39:42,733 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:42,733 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:42,733 INFO L74 IsIncluded]: Start isIncluded. First operand has 148 states, 144 states have (on average 1.1736111111111112) internal successors, (169), 147 states have internal predecessors, (169), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 198 states. [2022-02-20 23:39:42,734 INFO L87 Difference]: Start difference. First operand has 148 states, 144 states have (on average 1.1736111111111112) internal successors, (169), 147 states have internal predecessors, (169), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 198 states. [2022-02-20 23:39:42,735 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:42,735 INFO L93 Difference]: Finished difference Result 198 states and 220 transitions. [2022-02-20 23:39:42,735 INFO L276 IsEmpty]: Start isEmpty. Operand 198 states and 220 transitions. [2022-02-20 23:39:42,736 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:42,736 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:42,736 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:42,736 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:42,736 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 148 states, 144 states have (on average 1.1736111111111112) internal successors, (169), 147 states have internal predecessors, (169), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:42,737 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 148 states to 148 states and 169 transitions. [2022-02-20 23:39:42,737 INFO L78 Accepts]: Start accepts. Automaton has 148 states and 169 transitions. Word has length 27 [2022-02-20 23:39:42,737 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:42,738 INFO L470 AbstractCegarLoop]: Abstraction has 148 states and 169 transitions. [2022-02-20 23:39:42,738 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 26 states, 25 states have (on average 2.84) internal successors, (71), 26 states have internal predecessors, (71), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:42,738 INFO L276 IsEmpty]: Start isEmpty. Operand 148 states and 169 transitions. [2022-02-20 23:39:42,738 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2022-02-20 23:39:42,738 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:42,738 INFO L514 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:42,769 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (9)] Forceful destruction successful, exit code 0 [2022-02-20 23:39:42,939 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 9 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable26 [2022-02-20 23:39:42,939 INFO L402 AbstractCegarLoop]: === Iteration 28 === Targeting ULTIMATE.startErr11REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:42,939 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:42,939 INFO L85 PathProgramCache]: Analyzing trace with hash -424812231, now seen corresponding path program 1 times [2022-02-20 23:39:42,939 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:42,939 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [129933505] [2022-02-20 23:39:42,939 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:42,939 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:42,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:43,048 INFO L290 TraceCheckUtils]: 0: Hoare triple {13803#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {13803#true} is VALID [2022-02-20 23:39:43,049 INFO L290 TraceCheckUtils]: 1: Hoare triple {13803#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {13803#true} is VALID [2022-02-20 23:39:43,049 INFO L290 TraceCheckUtils]: 2: Hoare triple {13803#true} assume !(main_~length1~0#1 < 1); {13803#true} is VALID [2022-02-20 23:39:43,049 INFO L290 TraceCheckUtils]: 3: Hoare triple {13803#true} assume !(main_~length2~0#1 < 1); {13803#true} is VALID [2022-02-20 23:39:43,049 INFO L290 TraceCheckUtils]: 4: Hoare triple {13803#true} assume !(main_~n~0#1 < 1); {13803#true} is VALID [2022-02-20 23:39:43,050 INFO L290 TraceCheckUtils]: 5: Hoare triple {13803#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} is VALID [2022-02-20 23:39:43,050 INFO L290 TraceCheckUtils]: 6: Hoare triple {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} is VALID [2022-02-20 23:39:43,051 INFO L290 TraceCheckUtils]: 7: Hoare triple {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} is VALID [2022-02-20 23:39:43,051 INFO L290 TraceCheckUtils]: 8: Hoare triple {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} havoc main_#t~nondet16#1; {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} is VALID [2022-02-20 23:39:43,051 INFO L290 TraceCheckUtils]: 9: Hoare triple {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} is VALID [2022-02-20 23:39:43,052 INFO L290 TraceCheckUtils]: 10: Hoare triple {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} is VALID [2022-02-20 23:39:43,052 INFO L290 TraceCheckUtils]: 11: Hoare triple {13805#(= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0)} main_~i~1#1 := 0; {13806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0))} is VALID [2022-02-20 23:39:43,053 INFO L290 TraceCheckUtils]: 12: Hoare triple {13806#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {13807#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1))} is VALID [2022-02-20 23:39:43,053 INFO L290 TraceCheckUtils]: 13: Hoare triple {13807#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {13807#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1))} is VALID [2022-02-20 23:39:43,054 INFO L290 TraceCheckUtils]: 14: Hoare triple {13807#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {13808#(= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~nondetString2~0#1.offset|) 0)} is VALID [2022-02-20 23:39:43,054 INFO L290 TraceCheckUtils]: 15: Hoare triple {13808#(= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~nondetString2~0#1.offset|) 0)} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {13809#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:43,055 INFO L290 TraceCheckUtils]: 16: Hoare triple {13809#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {13809#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:43,055 INFO L290 TraceCheckUtils]: 17: Hoare triple {13809#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {13809#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:43,055 INFO L290 TraceCheckUtils]: 18: Hoare triple {13809#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {13809#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:39:43,056 INFO L290 TraceCheckUtils]: 19: Hoare triple {13809#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {13810#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} is VALID [2022-02-20 23:39:43,056 INFO L290 TraceCheckUtils]: 20: Hoare triple {13810#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {13811#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:39:43,057 INFO L290 TraceCheckUtils]: 21: Hoare triple {13811#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {13811#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:39:43,057 INFO L290 TraceCheckUtils]: 22: Hoare triple {13811#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {13812#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:39:43,057 INFO L290 TraceCheckUtils]: 23: Hoare triple {13812#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {13804#false} is VALID [2022-02-20 23:39:43,057 INFO L290 TraceCheckUtils]: 24: Hoare triple {13804#false} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {13804#false} is VALID [2022-02-20 23:39:43,058 INFO L290 TraceCheckUtils]: 25: Hoare triple {13804#false} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {13804#false} is VALID [2022-02-20 23:39:43,058 INFO L290 TraceCheckUtils]: 26: Hoare triple {13804#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {13804#false} is VALID [2022-02-20 23:39:43,058 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:43,058 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:43,058 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [129933505] [2022-02-20 23:39:43,058 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [129933505] provided 1 perfect and 0 imperfect interpolant sequences [2022-02-20 23:39:43,058 INFO L191 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-02-20 23:39:43,058 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [10] imperfect sequences [] total 10 [2022-02-20 23:39:43,059 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [887313398] [2022-02-20 23:39:43,059 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-02-20 23:39:43,059 INFO L78 Accepts]: Start accepts. Automaton has has 10 states, 10 states have (on average 2.7) internal successors, (27), 10 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 27 [2022-02-20 23:39:43,059 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:43,059 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 10 states, 10 states have (on average 2.7) internal successors, (27), 10 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:43,080 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 27 edges. 27 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:43,080 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 10 states [2022-02-20 23:39:43,081 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:43,081 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2022-02-20 23:39:43,081 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=19, Invalid=71, Unknown=0, NotChecked=0, Total=90 [2022-02-20 23:39:43,081 INFO L87 Difference]: Start difference. First operand 148 states and 169 transitions. Second operand has 10 states, 10 states have (on average 2.7) internal successors, (27), 10 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:43,364 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:43,364 INFO L93 Difference]: Finished difference Result 218 states and 243 transitions. [2022-02-20 23:39:43,364 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2022-02-20 23:39:43,364 INFO L78 Accepts]: Start accepts. Automaton has has 10 states, 10 states have (on average 2.7) internal successors, (27), 10 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 27 [2022-02-20 23:39:43,364 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:43,364 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 10 states, 10 states have (on average 2.7) internal successors, (27), 10 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:43,364 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 55 transitions. [2022-02-20 23:39:43,365 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 10 states, 10 states have (on average 2.7) internal successors, (27), 10 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:43,365 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 55 transitions. [2022-02-20 23:39:43,365 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 11 states and 55 transitions. [2022-02-20 23:39:43,402 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 55 edges. 55 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:43,404 INFO L225 Difference]: With dead ends: 218 [2022-02-20 23:39:43,404 INFO L226 Difference]: Without dead ends: 181 [2022-02-20 23:39:43,404 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 17 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 15 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 19 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=78, Invalid=194, Unknown=0, NotChecked=0, Total=272 [2022-02-20 23:39:43,404 INFO L933 BasicCegarLoop]: 25 mSDtfsCounter, 73 mSDsluCounter, 163 mSDsCounter, 0 mSdLazyCounter, 99 mSolverCounterSat, 12 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 73 SdHoareTripleChecker+Valid, 188 SdHoareTripleChecker+Invalid, 111 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 12 IncrementalHoareTripleChecker+Valid, 99 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:43,404 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [73 Valid, 188 Invalid, 111 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [12 Valid, 99 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-02-20 23:39:43,405 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 181 states. [2022-02-20 23:39:43,406 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 181 to 150. [2022-02-20 23:39:43,406 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:43,406 INFO L82 GeneralOperation]: Start isEquivalent. First operand 181 states. Second operand has 150 states, 146 states have (on average 1.178082191780822) internal successors, (172), 149 states have internal predecessors, (172), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:43,406 INFO L74 IsIncluded]: Start isIncluded. First operand 181 states. Second operand has 150 states, 146 states have (on average 1.178082191780822) internal successors, (172), 149 states have internal predecessors, (172), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:43,406 INFO L87 Difference]: Start difference. First operand 181 states. Second operand has 150 states, 146 states have (on average 1.178082191780822) internal successors, (172), 149 states have internal predecessors, (172), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:43,408 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:43,408 INFO L93 Difference]: Finished difference Result 181 states and 204 transitions. [2022-02-20 23:39:43,408 INFO L276 IsEmpty]: Start isEmpty. Operand 181 states and 204 transitions. [2022-02-20 23:39:43,408 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:43,408 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:43,408 INFO L74 IsIncluded]: Start isIncluded. First operand has 150 states, 146 states have (on average 1.178082191780822) internal successors, (172), 149 states have internal predecessors, (172), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 181 states. [2022-02-20 23:39:43,409 INFO L87 Difference]: Start difference. First operand has 150 states, 146 states have (on average 1.178082191780822) internal successors, (172), 149 states have internal predecessors, (172), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 181 states. [2022-02-20 23:39:43,410 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:43,410 INFO L93 Difference]: Finished difference Result 181 states and 204 transitions. [2022-02-20 23:39:43,410 INFO L276 IsEmpty]: Start isEmpty. Operand 181 states and 204 transitions. [2022-02-20 23:39:43,410 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:43,411 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:43,411 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:43,411 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:43,411 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 150 states, 146 states have (on average 1.178082191780822) internal successors, (172), 149 states have internal predecessors, (172), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:43,412 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 150 states to 150 states and 172 transitions. [2022-02-20 23:39:43,412 INFO L78 Accepts]: Start accepts. Automaton has 150 states and 172 transitions. Word has length 27 [2022-02-20 23:39:43,412 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:43,412 INFO L470 AbstractCegarLoop]: Abstraction has 150 states and 172 transitions. [2022-02-20 23:39:43,412 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 10 states, 10 states have (on average 2.7) internal successors, (27), 10 states have internal predecessors, (27), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:43,412 INFO L276 IsEmpty]: Start isEmpty. Operand 150 states and 172 transitions. [2022-02-20 23:39:43,413 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2022-02-20 23:39:43,413 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:43,413 INFO L514 BasicCegarLoop]: trace histogram [4, 4, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:43,413 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable27 [2022-02-20 23:39:43,413 INFO L402 AbstractCegarLoop]: === Iteration 29 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:43,413 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:43,413 INFO L85 PathProgramCache]: Analyzing trace with hash -1119361538, now seen corresponding path program 4 times [2022-02-20 23:39:43,414 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:43,414 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1505315616] [2022-02-20 23:39:43,414 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:43,414 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:43,434 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:43,562 INFO L290 TraceCheckUtils]: 0: Hoare triple {14559#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {14559#true} is VALID [2022-02-20 23:39:43,562 INFO L290 TraceCheckUtils]: 1: Hoare triple {14559#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {14559#true} is VALID [2022-02-20 23:39:43,562 INFO L290 TraceCheckUtils]: 2: Hoare triple {14559#true} assume !(main_~length1~0#1 < 1); {14559#true} is VALID [2022-02-20 23:39:43,562 INFO L290 TraceCheckUtils]: 3: Hoare triple {14559#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {14559#true} is VALID [2022-02-20 23:39:43,562 INFO L290 TraceCheckUtils]: 4: Hoare triple {14559#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {14559#true} is VALID [2022-02-20 23:39:43,563 INFO L290 TraceCheckUtils]: 5: Hoare triple {14559#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {14561#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,563 INFO L290 TraceCheckUtils]: 6: Hoare triple {14561#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {14561#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,564 INFO L290 TraceCheckUtils]: 7: Hoare triple {14561#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {14561#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,564 INFO L290 TraceCheckUtils]: 8: Hoare triple {14561#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {14561#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,565 INFO L290 TraceCheckUtils]: 9: Hoare triple {14561#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {14562#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:43,565 INFO L290 TraceCheckUtils]: 10: Hoare triple {14562#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {14563#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:43,566 INFO L290 TraceCheckUtils]: 11: Hoare triple {14563#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {14563#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:43,566 INFO L290 TraceCheckUtils]: 12: Hoare triple {14563#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} havoc main_#t~nondet16#1; {14563#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:43,567 INFO L290 TraceCheckUtils]: 13: Hoare triple {14563#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {14564#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,567 INFO L290 TraceCheckUtils]: 14: Hoare triple {14564#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {14565#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,568 INFO L290 TraceCheckUtils]: 15: Hoare triple {14565#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_~i~1#1 := 0; {14565#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,568 INFO L290 TraceCheckUtils]: 16: Hoare triple {14565#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {14565#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,569 INFO L290 TraceCheckUtils]: 17: Hoare triple {14565#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~n~0#1|)) (<= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {14566#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,570 INFO L290 TraceCheckUtils]: 18: Hoare triple {14566#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {14566#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,570 INFO L290 TraceCheckUtils]: 19: Hoare triple {14566#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {14567#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 2) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,571 INFO L290 TraceCheckUtils]: 20: Hoare triple {14567#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 2) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14567#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 2) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:43,571 INFO L290 TraceCheckUtils]: 21: Hoare triple {14567#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 2) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14568#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} is VALID [2022-02-20 23:39:43,571 INFO L290 TraceCheckUtils]: 22: Hoare triple {14568#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14568#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} is VALID [2022-02-20 23:39:43,572 INFO L290 TraceCheckUtils]: 23: Hoare triple {14568#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14569#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} is VALID [2022-02-20 23:39:43,572 INFO L290 TraceCheckUtils]: 24: Hoare triple {14569#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14570#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:39:43,573 INFO L290 TraceCheckUtils]: 25: Hoare triple {14570#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14560#false} is VALID [2022-02-20 23:39:43,573 INFO L290 TraceCheckUtils]: 26: Hoare triple {14560#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14560#false} is VALID [2022-02-20 23:39:43,573 INFO L290 TraceCheckUtils]: 27: Hoare triple {14560#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14560#false} is VALID [2022-02-20 23:39:43,573 INFO L290 TraceCheckUtils]: 28: Hoare triple {14560#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {14560#false} is VALID [2022-02-20 23:39:43,573 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 9 proven. 12 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:43,573 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:43,574 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1505315616] [2022-02-20 23:39:43,574 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1505315616] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:43,574 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1295124915] [2022-02-20 23:39:43,574 INFO L93 rtionOrderModulation]: Changing assertion order to TERMS_WITH_SMALL_CONSTANTS_FIRST [2022-02-20 23:39:43,574 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:43,574 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:43,575 INFO L229 MonitoredProcess]: Starting monitored process 10 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:43,576 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (10)] Waiting until timeout for monitored process [2022-02-20 23:39:43,650 INFO L228 tOrderPrioritization]: Assert order TERMS_WITH_SMALL_CONSTANTS_FIRST issued 0 check-sat command(s) [2022-02-20 23:39:43,650 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-02-20 23:39:43,651 INFO L263 TraceCheckSpWp]: Trace formula consists of 163 conjuncts, 61 conjunts are in the unsatisfiable core [2022-02-20 23:39:43,662 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:43,663 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:43,726 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2022-02-20 23:39:43,736 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 9 treesize of output 11 [2022-02-20 23:39:44,042 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 13 [2022-02-20 23:39:44,293 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 20 treesize of output 22 [2022-02-20 23:39:45,532 INFO L356 Elim1Store]: treesize reduction 17, result has 37.0 percent of original size [2022-02-20 23:39:45,532 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 3 select indices, 3 select index equivalence classes, 1 disjoint index pairs (out of 3 index pairs), introduced 3 new quantified variables, introduced 2 case distinctions, treesize of input 28 treesize of output 20 [2022-02-20 23:39:45,611 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 7 [2022-02-20 23:39:45,619 INFO L290 TraceCheckUtils]: 0: Hoare triple {14559#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {14559#true} is VALID [2022-02-20 23:39:45,619 INFO L290 TraceCheckUtils]: 1: Hoare triple {14559#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {14559#true} is VALID [2022-02-20 23:39:45,620 INFO L290 TraceCheckUtils]: 2: Hoare triple {14559#true} assume !(main_~length1~0#1 < 1); {14559#true} is VALID [2022-02-20 23:39:45,620 INFO L290 TraceCheckUtils]: 3: Hoare triple {14559#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {14559#true} is VALID [2022-02-20 23:39:45,620 INFO L290 TraceCheckUtils]: 4: Hoare triple {14559#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {14586#(<= |ULTIMATE.start_main_~n~0#1| 1)} is VALID [2022-02-20 23:39:45,621 INFO L290 TraceCheckUtils]: 5: Hoare triple {14586#(<= |ULTIMATE.start_main_~n~0#1| 1)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {14590#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,621 INFO L290 TraceCheckUtils]: 6: Hoare triple {14590#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {14590#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,622 INFO L290 TraceCheckUtils]: 7: Hoare triple {14590#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {14590#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,622 INFO L290 TraceCheckUtils]: 8: Hoare triple {14590#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} havoc main_#t~nondet16#1; {14590#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,622 INFO L290 TraceCheckUtils]: 9: Hoare triple {14590#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {14603#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,623 INFO L290 TraceCheckUtils]: 10: Hoare triple {14603#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {14603#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,623 INFO L290 TraceCheckUtils]: 11: Hoare triple {14603#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {14603#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,624 INFO L290 TraceCheckUtils]: 12: Hoare triple {14603#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} havoc main_#t~nondet16#1; {14603#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,624 INFO L290 TraceCheckUtils]: 13: Hoare triple {14603#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~i~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {14616#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= 1 (+ (- 1) |ULTIMATE.start_main_~i~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,625 INFO L290 TraceCheckUtils]: 14: Hoare triple {14616#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= 1 (+ (- 1) |ULTIMATE.start_main_~i~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {14620#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,625 INFO L290 TraceCheckUtils]: 15: Hoare triple {14620#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_~i~1#1 := 0; {14620#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,625 INFO L290 TraceCheckUtils]: 16: Hoare triple {14620#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {14620#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:39:45,628 INFO L290 TraceCheckUtils]: 17: Hoare triple {14620#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {14630#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:45,630 INFO L290 TraceCheckUtils]: 18: Hoare triple {14630#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {14634#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:45,631 INFO L290 TraceCheckUtils]: 19: Hoare triple {14634#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {14638#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:45,631 INFO L290 TraceCheckUtils]: 20: Hoare triple {14638#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14638#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:45,633 INFO L290 TraceCheckUtils]: 21: Hoare triple {14638#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14645#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0))} is VALID [2022-02-20 23:39:45,634 INFO L290 TraceCheckUtils]: 22: Hoare triple {14645#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14649#(and (= |ULTIMATE.start_cstrncat_#t~mem2#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0))} is VALID [2022-02-20 23:39:45,637 INFO L290 TraceCheckUtils]: 23: Hoare triple {14649#(and (= |ULTIMATE.start_cstrncat_#t~mem2#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14653#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 1) 0)))} is VALID [2022-02-20 23:39:45,638 INFO L290 TraceCheckUtils]: 24: Hoare triple {14653#(and (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (not (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 1) 0)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14570#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:39:45,639 INFO L290 TraceCheckUtils]: 25: Hoare triple {14570#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14560#false} is VALID [2022-02-20 23:39:45,639 INFO L290 TraceCheckUtils]: 26: Hoare triple {14560#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14560#false} is VALID [2022-02-20 23:39:45,639 INFO L290 TraceCheckUtils]: 27: Hoare triple {14560#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14560#false} is VALID [2022-02-20 23:39:45,639 INFO L290 TraceCheckUtils]: 28: Hoare triple {14560#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {14560#false} is VALID [2022-02-20 23:39:45,639 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 9 proven. 12 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:45,639 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:45,911 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-02-20 23:39:45,911 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 53 treesize of output 39 [2022-02-20 23:39:45,917 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:39:45,922 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-02-20 23:39:45,922 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 3 select indices, 3 select index equivalence classes, 1 disjoint index pairs (out of 3 index pairs), introduced 3 new quantified variables, introduced 2 case distinctions, treesize of input 65 treesize of output 75 [2022-02-20 23:39:45,928 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:39:45,929 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 2 select indices, 2 select index equivalence classes, 1 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 0 case distinctions, treesize of input 23 treesize of output 15 [2022-02-20 23:39:46,641 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:39:46,666 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2022-02-20 23:39:46,713 INFO L290 TraceCheckUtils]: 28: Hoare triple {14560#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {14560#false} is VALID [2022-02-20 23:39:46,713 INFO L290 TraceCheckUtils]: 27: Hoare triple {14560#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14560#false} is VALID [2022-02-20 23:39:46,713 INFO L290 TraceCheckUtils]: 26: Hoare triple {14560#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14560#false} is VALID [2022-02-20 23:39:46,714 INFO L290 TraceCheckUtils]: 25: Hoare triple {14570#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14560#false} is VALID [2022-02-20 23:39:46,714 INFO L290 TraceCheckUtils]: 24: Hoare triple {14681#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14570#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:39:46,715 INFO L290 TraceCheckUtils]: 23: Hoare triple {14685#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (= |ULTIMATE.start_cstrncat_#t~mem2#1| 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14681#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} is VALID [2022-02-20 23:39:46,715 INFO L290 TraceCheckUtils]: 22: Hoare triple {14689#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14685#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (= |ULTIMATE.start_cstrncat_#t~mem2#1| 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0))} is VALID [2022-02-20 23:39:46,716 INFO L290 TraceCheckUtils]: 21: Hoare triple {14693#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {14689#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0))} is VALID [2022-02-20 23:39:46,716 INFO L290 TraceCheckUtils]: 20: Hoare triple {14697#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {14693#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} is VALID [2022-02-20 23:39:46,717 INFO L290 TraceCheckUtils]: 19: Hoare triple {14701#(or (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1)) 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {14697#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} is VALID [2022-02-20 23:39:46,718 INFO L290 TraceCheckUtils]: 18: Hoare triple {14705#(or (forall ((v_ArrVal_373 (Array Int Int))) (or (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| v_ArrVal_373) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| v_ArrVal_373) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1)) 0))) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {14701#(or (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1)) 0))} is VALID [2022-02-20 23:39:46,719 INFO L290 TraceCheckUtils]: 17: Hoare triple {14709#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {14705#(or (forall ((v_ArrVal_373 (Array Int Int))) (or (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| v_ArrVal_373) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| v_ArrVal_373) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1)) 0))) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))} is VALID [2022-02-20 23:39:46,719 INFO L290 TraceCheckUtils]: 16: Hoare triple {14709#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {14709#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,720 INFO L290 TraceCheckUtils]: 15: Hoare triple {14709#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} main_~i~1#1 := 0; {14709#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,721 INFO L290 TraceCheckUtils]: 14: Hoare triple {14719#(or (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {14709#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,721 INFO L290 TraceCheckUtils]: 13: Hoare triple {14723#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {14719#(or (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,722 INFO L290 TraceCheckUtils]: 12: Hoare triple {14723#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} havoc main_#t~nondet16#1; {14723#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,723 INFO L290 TraceCheckUtils]: 11: Hoare triple {14723#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {14723#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,723 INFO L290 TraceCheckUtils]: 10: Hoare triple {14723#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {14723#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,724 INFO L290 TraceCheckUtils]: 9: Hoare triple {14736#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {14723#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,725 INFO L290 TraceCheckUtils]: 8: Hoare triple {14736#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} havoc main_#t~nondet16#1; {14736#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,725 INFO L290 TraceCheckUtils]: 7: Hoare triple {14736#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {14736#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,726 INFO L290 TraceCheckUtils]: 6: Hoare triple {14736#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {14736#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,727 INFO L290 TraceCheckUtils]: 5: Hoare triple {14586#(<= |ULTIMATE.start_main_~n~0#1| 1)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {14736#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~n~0#1|))))} is VALID [2022-02-20 23:39:46,728 INFO L290 TraceCheckUtils]: 4: Hoare triple {14559#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {14586#(<= |ULTIMATE.start_main_~n~0#1| 1)} is VALID [2022-02-20 23:39:46,728 INFO L290 TraceCheckUtils]: 3: Hoare triple {14559#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {14559#true} is VALID [2022-02-20 23:39:46,728 INFO L290 TraceCheckUtils]: 2: Hoare triple {14559#true} assume !(main_~length1~0#1 < 1); {14559#true} is VALID [2022-02-20 23:39:46,728 INFO L290 TraceCheckUtils]: 1: Hoare triple {14559#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {14559#true} is VALID [2022-02-20 23:39:46,728 INFO L290 TraceCheckUtils]: 0: Hoare triple {14559#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {14559#true} is VALID [2022-02-20 23:39:46,728 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 11 proven. 10 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:46,728 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1295124915] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:46,729 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:46,729 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [12, 14, 15] total 34 [2022-02-20 23:39:46,729 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [369188646] [2022-02-20 23:39:46,729 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:46,730 INFO L78 Accepts]: Start accepts. Automaton has has 34 states, 34 states have (on average 2.0588235294117645) internal successors, (70), 34 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 29 [2022-02-20 23:39:46,730 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:46,730 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 34 states, 34 states have (on average 2.0588235294117645) internal successors, (70), 34 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:46,824 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 70 edges. 70 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:46,825 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 34 states [2022-02-20 23:39:46,825 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:46,826 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 34 interpolants. [2022-02-20 23:39:46,827 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=126, Invalid=995, Unknown=1, NotChecked=0, Total=1122 [2022-02-20 23:39:46,827 INFO L87 Difference]: Start difference. First operand 150 states and 172 transitions. Second operand has 34 states, 34 states have (on average 2.0588235294117645) internal successors, (70), 34 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:48,325 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:48,330 INFO L93 Difference]: Finished difference Result 278 states and 308 transitions. [2022-02-20 23:39:48,330 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 36 states. [2022-02-20 23:39:48,331 INFO L78 Accepts]: Start accepts. Automaton has has 34 states, 34 states have (on average 2.0588235294117645) internal successors, (70), 34 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 29 [2022-02-20 23:39:48,331 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:48,331 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 34 states, 34 states have (on average 2.0588235294117645) internal successors, (70), 34 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:48,333 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 36 states and 156 transitions. [2022-02-20 23:39:48,334 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 34 states, 34 states have (on average 2.0588235294117645) internal successors, (70), 34 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:48,334 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 36 states and 156 transitions. [2022-02-20 23:39:48,334 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 36 states and 156 transitions. [2022-02-20 23:39:48,467 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 156 edges. 156 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:48,470 INFO L225 Difference]: With dead ends: 278 [2022-02-20 23:39:48,470 INFO L226 Difference]: Without dead ends: 241 [2022-02-20 23:39:48,470 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 90 GetRequests, 39 SyntacticMatches, 0 SemanticMatches, 51 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 429 ImplicationChecksByTransitivity, 1.1s TimeCoverageRelationStatistics Valid=326, Invalid=2429, Unknown=1, NotChecked=0, Total=2756 [2022-02-20 23:39:48,471 INFO L933 BasicCegarLoop]: 41 mSDtfsCounter, 204 mSDsluCounter, 501 mSDsCounter, 0 mSdLazyCounter, 422 mSolverCounterSat, 41 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.3s Time, 0 mProtectedPredicate, 0 mProtectedAction, 204 SdHoareTripleChecker+Valid, 542 SdHoareTripleChecker+Invalid, 537 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 41 IncrementalHoareTripleChecker+Valid, 422 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 74 IncrementalHoareTripleChecker+Unchecked, 0.3s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:48,471 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [204 Valid, 542 Invalid, 537 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [41 Valid, 422 Invalid, 0 Unknown, 74 Unchecked, 0.3s Time] [2022-02-20 23:39:48,471 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 241 states. [2022-02-20 23:39:48,473 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 241 to 173. [2022-02-20 23:39:48,473 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:48,473 INFO L82 GeneralOperation]: Start isEquivalent. First operand 241 states. Second operand has 173 states, 169 states have (on average 1.1715976331360947) internal successors, (198), 172 states have internal predecessors, (198), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:48,473 INFO L74 IsIncluded]: Start isIncluded. First operand 241 states. Second operand has 173 states, 169 states have (on average 1.1715976331360947) internal successors, (198), 172 states have internal predecessors, (198), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:48,473 INFO L87 Difference]: Start difference. First operand 241 states. Second operand has 173 states, 169 states have (on average 1.1715976331360947) internal successors, (198), 172 states have internal predecessors, (198), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:48,475 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:48,475 INFO L93 Difference]: Finished difference Result 241 states and 268 transitions. [2022-02-20 23:39:48,475 INFO L276 IsEmpty]: Start isEmpty. Operand 241 states and 268 transitions. [2022-02-20 23:39:48,476 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:48,476 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:48,476 INFO L74 IsIncluded]: Start isIncluded. First operand has 173 states, 169 states have (on average 1.1715976331360947) internal successors, (198), 172 states have internal predecessors, (198), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 241 states. [2022-02-20 23:39:48,477 INFO L87 Difference]: Start difference. First operand has 173 states, 169 states have (on average 1.1715976331360947) internal successors, (198), 172 states have internal predecessors, (198), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 241 states. [2022-02-20 23:39:48,479 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:48,479 INFO L93 Difference]: Finished difference Result 241 states and 268 transitions. [2022-02-20 23:39:48,479 INFO L276 IsEmpty]: Start isEmpty. Operand 241 states and 268 transitions. [2022-02-20 23:39:48,483 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:48,483 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:48,483 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:48,484 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:48,484 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 173 states, 169 states have (on average 1.1715976331360947) internal successors, (198), 172 states have internal predecessors, (198), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:48,485 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 173 states to 173 states and 198 transitions. [2022-02-20 23:39:48,485 INFO L78 Accepts]: Start accepts. Automaton has 173 states and 198 transitions. Word has length 29 [2022-02-20 23:39:48,485 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:48,485 INFO L470 AbstractCegarLoop]: Abstraction has 173 states and 198 transitions. [2022-02-20 23:39:48,486 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 34 states, 34 states have (on average 2.0588235294117645) internal successors, (70), 34 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:48,486 INFO L276 IsEmpty]: Start isEmpty. Operand 173 states and 198 transitions. [2022-02-20 23:39:48,486 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2022-02-20 23:39:48,486 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:48,486 INFO L514 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:48,516 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (10)] Forceful destruction successful, exit code 0 [2022-02-20 23:39:48,702 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 10 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable28 [2022-02-20 23:39:48,702 INFO L402 AbstractCegarLoop]: === Iteration 30 === Targeting ULTIMATE.startErr11REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:48,703 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:48,703 INFO L85 PathProgramCache]: Analyzing trace with hash 515027158, now seen corresponding path program 1 times [2022-02-20 23:39:48,703 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:48,703 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [276547879] [2022-02-20 23:39:48,703 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:48,703 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:48,720 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:48,812 INFO L290 TraceCheckUtils]: 0: Hoare triple {15736#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {15736#true} is VALID [2022-02-20 23:39:48,812 INFO L290 TraceCheckUtils]: 1: Hoare triple {15736#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {15736#true} is VALID [2022-02-20 23:39:48,812 INFO L290 TraceCheckUtils]: 2: Hoare triple {15736#true} assume !(main_~length1~0#1 < 1); {15736#true} is VALID [2022-02-20 23:39:48,812 INFO L290 TraceCheckUtils]: 3: Hoare triple {15736#true} assume !(main_~length2~0#1 < 1); {15736#true} is VALID [2022-02-20 23:39:48,812 INFO L290 TraceCheckUtils]: 4: Hoare triple {15736#true} assume !(main_~n~0#1 < 1); {15736#true} is VALID [2022-02-20 23:39:48,813 INFO L290 TraceCheckUtils]: 5: Hoare triple {15736#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,813 INFO L290 TraceCheckUtils]: 6: Hoare triple {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,814 INFO L290 TraceCheckUtils]: 7: Hoare triple {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,814 INFO L290 TraceCheckUtils]: 8: Hoare triple {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} havoc main_#t~nondet16#1; {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,815 INFO L290 TraceCheckUtils]: 9: Hoare triple {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,815 INFO L290 TraceCheckUtils]: 10: Hoare triple {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,816 INFO L290 TraceCheckUtils]: 11: Hoare triple {15738#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_~i~1#1 := 0; {15739#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,816 INFO L290 TraceCheckUtils]: 12: Hoare triple {15739#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {15740#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,817 INFO L290 TraceCheckUtils]: 13: Hoare triple {15740#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {15740#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,817 INFO L290 TraceCheckUtils]: 14: Hoare triple {15740#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} havoc main_#t~nondet18#1; {15740#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,818 INFO L290 TraceCheckUtils]: 15: Hoare triple {15740#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (<= (+ 2 |ULTIMATE.start_main_~i~1#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {15741#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,818 INFO L290 TraceCheckUtils]: 16: Hoare triple {15741#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {15741#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,818 INFO L290 TraceCheckUtils]: 17: Hoare triple {15741#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {15741#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,819 INFO L290 TraceCheckUtils]: 18: Hoare triple {15741#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {15741#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:48,819 INFO L290 TraceCheckUtils]: 19: Hoare triple {15741#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {15742#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:39:48,820 INFO L290 TraceCheckUtils]: 20: Hoare triple {15742#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {15742#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:39:48,820 INFO L290 TraceCheckUtils]: 21: Hoare triple {15742#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {15742#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:39:48,821 INFO L290 TraceCheckUtils]: 22: Hoare triple {15742#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {15742#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:39:48,821 INFO L290 TraceCheckUtils]: 23: Hoare triple {15742#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= 2 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {15743#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (+ (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|)) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:48,822 INFO L290 TraceCheckUtils]: 24: Hoare triple {15743#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (+ (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|)) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) |ULTIMATE.start_cstrncat_~s2#1.offset|))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:48,822 INFO L290 TraceCheckUtils]: 25: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:48,823 INFO L290 TraceCheckUtils]: 26: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:48,823 INFO L290 TraceCheckUtils]: 27: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:48,824 INFO L290 TraceCheckUtils]: 28: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:48,824 INFO L290 TraceCheckUtils]: 29: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {15745#(and (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_#t~post4#1.offset|))} is VALID [2022-02-20 23:39:48,825 INFO L290 TraceCheckUtils]: 30: Hoare triple {15745#(and (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_#t~post4#1.offset|))} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {15737#false} is VALID [2022-02-20 23:39:48,825 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:48,825 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:48,825 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [276547879] [2022-02-20 23:39:48,825 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [276547879] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:48,825 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1503214714] [2022-02-20 23:39:48,825 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:48,826 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:48,826 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:48,827 INFO L229 MonitoredProcess]: Starting monitored process 11 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:48,828 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (11)] Waiting until timeout for monitored process [2022-02-20 23:39:48,895 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:48,896 INFO L263 TraceCheckSpWp]: Trace formula consists of 178 conjuncts, 24 conjunts are in the unsatisfiable core [2022-02-20 23:39:48,909 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:48,910 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:49,113 INFO L290 TraceCheckUtils]: 0: Hoare triple {15736#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {15736#true} is VALID [2022-02-20 23:39:49,113 INFO L290 TraceCheckUtils]: 1: Hoare triple {15736#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {15736#true} is VALID [2022-02-20 23:39:49,113 INFO L290 TraceCheckUtils]: 2: Hoare triple {15736#true} assume !(main_~length1~0#1 < 1); {15736#true} is VALID [2022-02-20 23:39:49,113 INFO L290 TraceCheckUtils]: 3: Hoare triple {15736#true} assume !(main_~length2~0#1 < 1); {15736#true} is VALID [2022-02-20 23:39:49,114 INFO L290 TraceCheckUtils]: 4: Hoare triple {15736#true} assume !(main_~n~0#1 < 1); {15736#true} is VALID [2022-02-20 23:39:49,114 INFO L290 TraceCheckUtils]: 5: Hoare triple {15736#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {15736#true} is VALID [2022-02-20 23:39:49,114 INFO L290 TraceCheckUtils]: 6: Hoare triple {15736#true} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {15736#true} is VALID [2022-02-20 23:39:49,114 INFO L290 TraceCheckUtils]: 7: Hoare triple {15736#true} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {15736#true} is VALID [2022-02-20 23:39:49,114 INFO L290 TraceCheckUtils]: 8: Hoare triple {15736#true} havoc main_#t~nondet16#1; {15736#true} is VALID [2022-02-20 23:39:49,114 INFO L290 TraceCheckUtils]: 9: Hoare triple {15736#true} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {15736#true} is VALID [2022-02-20 23:39:49,114 INFO L290 TraceCheckUtils]: 10: Hoare triple {15736#true} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {15736#true} is VALID [2022-02-20 23:39:49,115 INFO L290 TraceCheckUtils]: 11: Hoare triple {15736#true} main_~i~1#1 := 0; {15782#(<= 0 |ULTIMATE.start_main_~i~1#1|)} is VALID [2022-02-20 23:39:49,115 INFO L290 TraceCheckUtils]: 12: Hoare triple {15782#(<= 0 |ULTIMATE.start_main_~i~1#1|)} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,115 INFO L290 TraceCheckUtils]: 13: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,116 INFO L290 TraceCheckUtils]: 14: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} havoc main_#t~nondet18#1; {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,116 INFO L290 TraceCheckUtils]: 15: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,116 INFO L290 TraceCheckUtils]: 16: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,117 INFO L290 TraceCheckUtils]: 17: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,117 INFO L290 TraceCheckUtils]: 18: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {15805#(< (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))} is VALID [2022-02-20 23:39:49,118 INFO L290 TraceCheckUtils]: 19: Hoare triple {15805#(< (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {15809#(< (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))} is VALID [2022-02-20 23:39:49,118 INFO L290 TraceCheckUtils]: 20: Hoare triple {15809#(< (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {15809#(< (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))} is VALID [2022-02-20 23:39:49,119 INFO L290 TraceCheckUtils]: 21: Hoare triple {15809#(< (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {15809#(< (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))} is VALID [2022-02-20 23:39:49,119 INFO L290 TraceCheckUtils]: 22: Hoare triple {15809#(< (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {15809#(< (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))} is VALID [2022-02-20 23:39:49,119 INFO L290 TraceCheckUtils]: 23: Hoare triple {15809#(< (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {15822#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1)) (< (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:39:49,120 INFO L290 TraceCheckUtils]: 24: Hoare triple {15822#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1)) (< (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,121 INFO L290 TraceCheckUtils]: 25: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,121 INFO L290 TraceCheckUtils]: 26: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,122 INFO L290 TraceCheckUtils]: 27: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,122 INFO L290 TraceCheckUtils]: 28: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,122 INFO L290 TraceCheckUtils]: 29: Hoare triple {15744#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {15745#(and (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_#t~post4#1.offset|))} is VALID [2022-02-20 23:39:49,123 INFO L290 TraceCheckUtils]: 30: Hoare triple {15745#(and (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)) (<= 1 |ULTIMATE.start_cstrncat_#t~post4#1.offset|))} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {15737#false} is VALID [2022-02-20 23:39:49,123 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:49,123 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:49,361 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 5 treesize of output 3 [2022-02-20 23:39:49,421 INFO L290 TraceCheckUtils]: 30: Hoare triple {15844#(and (<= 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {15737#false} is VALID [2022-02-20 23:39:49,422 INFO L290 TraceCheckUtils]: 29: Hoare triple {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {15844#(and (<= 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))} is VALID [2022-02-20 23:39:49,422 INFO L290 TraceCheckUtils]: 28: Hoare triple {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,423 INFO L290 TraceCheckUtils]: 27: Hoare triple {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,424 INFO L290 TraceCheckUtils]: 26: Hoare triple {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,424 INFO L290 TraceCheckUtils]: 25: Hoare triple {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,425 INFO L290 TraceCheckUtils]: 24: Hoare triple {15864#(or (not (<= 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|)) (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {15848#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:39:49,425 INFO L290 TraceCheckUtils]: 23: Hoare triple {15868#(or (< |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {15864#(or (not (<= 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|)) (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)))} is VALID [2022-02-20 23:39:49,426 INFO L290 TraceCheckUtils]: 22: Hoare triple {15868#(or (< |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {15868#(or (< |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:39:49,426 INFO L290 TraceCheckUtils]: 21: Hoare triple {15868#(or (< |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {15868#(or (< |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:39:49,427 INFO L290 TraceCheckUtils]: 20: Hoare triple {15868#(or (< |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {15868#(or (< |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:39:49,427 INFO L290 TraceCheckUtils]: 19: Hoare triple {15881#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {15868#(or (< |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:39:49,428 INFO L290 TraceCheckUtils]: 18: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {15881#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 2) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:39:49,428 INFO L290 TraceCheckUtils]: 17: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,428 INFO L290 TraceCheckUtils]: 16: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,429 INFO L290 TraceCheckUtils]: 15: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,429 INFO L290 TraceCheckUtils]: 14: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} havoc main_#t~nondet18#1; {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,429 INFO L290 TraceCheckUtils]: 13: Hoare triple {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,430 INFO L290 TraceCheckUtils]: 12: Hoare triple {15782#(<= 0 |ULTIMATE.start_main_~i~1#1|)} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {15786#(< 1 |ULTIMATE.start_main_~length2~0#1|)} is VALID [2022-02-20 23:39:49,430 INFO L290 TraceCheckUtils]: 11: Hoare triple {15736#true} main_~i~1#1 := 0; {15782#(<= 0 |ULTIMATE.start_main_~i~1#1|)} is VALID [2022-02-20 23:39:49,430 INFO L290 TraceCheckUtils]: 10: Hoare triple {15736#true} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {15736#true} is VALID [2022-02-20 23:39:49,430 INFO L290 TraceCheckUtils]: 9: Hoare triple {15736#true} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {15736#true} is VALID [2022-02-20 23:39:49,430 INFO L290 TraceCheckUtils]: 8: Hoare triple {15736#true} havoc main_#t~nondet16#1; {15736#true} is VALID [2022-02-20 23:39:49,430 INFO L290 TraceCheckUtils]: 7: Hoare triple {15736#true} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {15736#true} is VALID [2022-02-20 23:39:49,430 INFO L290 TraceCheckUtils]: 6: Hoare triple {15736#true} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {15736#true} is VALID [2022-02-20 23:39:49,430 INFO L290 TraceCheckUtils]: 5: Hoare triple {15736#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {15736#true} is VALID [2022-02-20 23:39:49,431 INFO L290 TraceCheckUtils]: 4: Hoare triple {15736#true} assume !(main_~n~0#1 < 1); {15736#true} is VALID [2022-02-20 23:39:49,431 INFO L290 TraceCheckUtils]: 3: Hoare triple {15736#true} assume !(main_~length2~0#1 < 1); {15736#true} is VALID [2022-02-20 23:39:49,431 INFO L290 TraceCheckUtils]: 2: Hoare triple {15736#true} assume !(main_~length1~0#1 < 1); {15736#true} is VALID [2022-02-20 23:39:49,431 INFO L290 TraceCheckUtils]: 1: Hoare triple {15736#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {15736#true} is VALID [2022-02-20 23:39:49,431 INFO L290 TraceCheckUtils]: 0: Hoare triple {15736#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {15736#true} is VALID [2022-02-20 23:39:49,431 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:49,431 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1503214714] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:49,431 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:49,431 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 8, 8] total 19 [2022-02-20 23:39:49,433 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1624585300] [2022-02-20 23:39:49,433 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:49,433 INFO L78 Accepts]: Start accepts. Automaton has has 20 states, 19 states have (on average 3.3684210526315788) internal successors, (64), 20 states have internal predecessors, (64), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 31 [2022-02-20 23:39:49,433 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:49,433 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 20 states, 19 states have (on average 3.3684210526315788) internal successors, (64), 20 states have internal predecessors, (64), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:49,479 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 64 edges. 64 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:49,479 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 20 states [2022-02-20 23:39:49,479 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:49,479 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 20 interpolants. [2022-02-20 23:39:49,480 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=59, Invalid=321, Unknown=0, NotChecked=0, Total=380 [2022-02-20 23:39:49,480 INFO L87 Difference]: Start difference. First operand 173 states and 198 transitions. Second operand has 20 states, 19 states have (on average 3.3684210526315788) internal successors, (64), 20 states have internal predecessors, (64), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:50,250 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:50,250 INFO L93 Difference]: Finished difference Result 212 states and 235 transitions. [2022-02-20 23:39:50,250 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2022-02-20 23:39:50,250 INFO L78 Accepts]: Start accepts. Automaton has has 20 states, 19 states have (on average 3.3684210526315788) internal successors, (64), 20 states have internal predecessors, (64), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 31 [2022-02-20 23:39:50,250 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:50,250 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 20 states, 19 states have (on average 3.3684210526315788) internal successors, (64), 20 states have internal predecessors, (64), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:50,251 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 65 transitions. [2022-02-20 23:39:50,251 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 20 states, 19 states have (on average 3.3684210526315788) internal successors, (64), 20 states have internal predecessors, (64), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:50,251 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 11 states and 65 transitions. [2022-02-20 23:39:50,251 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 11 states and 65 transitions. [2022-02-20 23:39:50,303 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 65 edges. 65 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:50,305 INFO L225 Difference]: With dead ends: 212 [2022-02-20 23:39:50,305 INFO L226 Difference]: Without dead ends: 212 [2022-02-20 23:39:50,305 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 76 GetRequests, 49 SyntacticMatches, 2 SemanticMatches, 25 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 95 ImplicationChecksByTransitivity, 0.3s TimeCoverageRelationStatistics Valid=143, Invalid=559, Unknown=0, NotChecked=0, Total=702 [2022-02-20 23:39:50,305 INFO L933 BasicCegarLoop]: 27 mSDtfsCounter, 190 mSDsluCounter, 207 mSDsCounter, 0 mSdLazyCounter, 262 mSolverCounterSat, 20 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 190 SdHoareTripleChecker+Valid, 234 SdHoareTripleChecker+Invalid, 282 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 20 IncrementalHoareTripleChecker+Valid, 262 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:50,305 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [190 Valid, 234 Invalid, 282 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [20 Valid, 262 Invalid, 0 Unknown, 0 Unchecked, 0.2s Time] [2022-02-20 23:39:50,306 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 212 states. [2022-02-20 23:39:50,307 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 212 to 191. [2022-02-20 23:39:50,307 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:50,307 INFO L82 GeneralOperation]: Start isEquivalent. First operand 212 states. Second operand has 191 states, 187 states have (on average 1.1550802139037433) internal successors, (216), 190 states have internal predecessors, (216), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:50,308 INFO L74 IsIncluded]: Start isIncluded. First operand 212 states. Second operand has 191 states, 187 states have (on average 1.1550802139037433) internal successors, (216), 190 states have internal predecessors, (216), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:50,308 INFO L87 Difference]: Start difference. First operand 212 states. Second operand has 191 states, 187 states have (on average 1.1550802139037433) internal successors, (216), 190 states have internal predecessors, (216), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:50,310 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:50,310 INFO L93 Difference]: Finished difference Result 212 states and 235 transitions. [2022-02-20 23:39:50,310 INFO L276 IsEmpty]: Start isEmpty. Operand 212 states and 235 transitions. [2022-02-20 23:39:50,310 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:50,310 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:50,310 INFO L74 IsIncluded]: Start isIncluded. First operand has 191 states, 187 states have (on average 1.1550802139037433) internal successors, (216), 190 states have internal predecessors, (216), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 212 states. [2022-02-20 23:39:50,311 INFO L87 Difference]: Start difference. First operand has 191 states, 187 states have (on average 1.1550802139037433) internal successors, (216), 190 states have internal predecessors, (216), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 212 states. [2022-02-20 23:39:50,313 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:50,313 INFO L93 Difference]: Finished difference Result 212 states and 235 transitions. [2022-02-20 23:39:50,313 INFO L276 IsEmpty]: Start isEmpty. Operand 212 states and 235 transitions. [2022-02-20 23:39:50,313 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:50,313 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:50,313 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:50,313 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:50,314 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 191 states, 187 states have (on average 1.1550802139037433) internal successors, (216), 190 states have internal predecessors, (216), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:50,315 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 191 states to 191 states and 216 transitions. [2022-02-20 23:39:50,315 INFO L78 Accepts]: Start accepts. Automaton has 191 states and 216 transitions. Word has length 31 [2022-02-20 23:39:50,315 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:50,315 INFO L470 AbstractCegarLoop]: Abstraction has 191 states and 216 transitions. [2022-02-20 23:39:50,316 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 20 states, 19 states have (on average 3.3684210526315788) internal successors, (64), 20 states have internal predecessors, (64), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:50,316 INFO L276 IsEmpty]: Start isEmpty. Operand 191 states and 216 transitions. [2022-02-20 23:39:50,316 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2022-02-20 23:39:50,316 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:50,316 INFO L514 BasicCegarLoop]: trace histogram [4, 4, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:50,340 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (11)] Forceful destruction successful, exit code 0 [2022-02-20 23:39:50,530 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable29,11 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:50,531 INFO L402 AbstractCegarLoop]: === Iteration 31 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:50,531 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:50,531 INFO L85 PathProgramCache]: Analyzing trace with hash 496512411, now seen corresponding path program 5 times [2022-02-20 23:39:50,531 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:50,531 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1762412106] [2022-02-20 23:39:50,531 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:50,531 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:50,571 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:50,726 INFO L290 TraceCheckUtils]: 0: Hoare triple {16779#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {16779#true} is VALID [2022-02-20 23:39:50,726 INFO L290 TraceCheckUtils]: 1: Hoare triple {16779#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {16779#true} is VALID [2022-02-20 23:39:50,726 INFO L290 TraceCheckUtils]: 2: Hoare triple {16779#true} assume !(main_~length1~0#1 < 1); {16779#true} is VALID [2022-02-20 23:39:50,726 INFO L290 TraceCheckUtils]: 3: Hoare triple {16779#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {16779#true} is VALID [2022-02-20 23:39:50,727 INFO L290 TraceCheckUtils]: 4: Hoare triple {16779#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {16781#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:39:50,728 INFO L290 TraceCheckUtils]: 5: Hoare triple {16781#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {16782#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,728 INFO L290 TraceCheckUtils]: 6: Hoare triple {16782#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {16782#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,729 INFO L290 TraceCheckUtils]: 7: Hoare triple {16782#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {16782#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,729 INFO L290 TraceCheckUtils]: 8: Hoare triple {16782#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {16782#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,729 INFO L290 TraceCheckUtils]: 9: Hoare triple {16782#(and (= |ULTIMATE.start_main_~i~0#1| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 1) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {16783#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,730 INFO L290 TraceCheckUtils]: 10: Hoare triple {16783#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {16783#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,730 INFO L290 TraceCheckUtils]: 11: Hoare triple {16783#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {16783#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,731 INFO L290 TraceCheckUtils]: 12: Hoare triple {16783#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {16783#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,731 INFO L290 TraceCheckUtils]: 13: Hoare triple {16783#(and (<= (+ |ULTIMATE.start_main_~length1~0#1| 2) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {16784#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 3) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))} is VALID [2022-02-20 23:39:50,732 INFO L290 TraceCheckUtils]: 14: Hoare triple {16784#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ |ULTIMATE.start_main_~length1~0#1| 3) (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:50,732 INFO L290 TraceCheckUtils]: 15: Hoare triple {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:50,732 INFO L290 TraceCheckUtils]: 16: Hoare triple {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} havoc main_#t~nondet16#1; {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:50,733 INFO L290 TraceCheckUtils]: 17: Hoare triple {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:50,733 INFO L290 TraceCheckUtils]: 18: Hoare triple {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:50,734 INFO L290 TraceCheckUtils]: 19: Hoare triple {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_~i~1#1 := 0; {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:50,734 INFO L290 TraceCheckUtils]: 20: Hoare triple {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:50,734 INFO L290 TraceCheckUtils]: 21: Hoare triple {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:50,735 INFO L290 TraceCheckUtils]: 22: Hoare triple {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:50,735 INFO L290 TraceCheckUtils]: 23: Hoare triple {16785#(and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {16786#(and (<= 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,736 INFO L290 TraceCheckUtils]: 24: Hoare triple {16786#(and (<= 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16786#(and (<= 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:50,736 INFO L290 TraceCheckUtils]: 25: Hoare triple {16786#(and (<= 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16787#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:50,737 INFO L290 TraceCheckUtils]: 26: Hoare triple {16787#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16787#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:50,737 INFO L290 TraceCheckUtils]: 27: Hoare triple {16787#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16788#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:50,738 INFO L290 TraceCheckUtils]: 28: Hoare triple {16788#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16788#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:50,738 INFO L290 TraceCheckUtils]: 29: Hoare triple {16788#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16789#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:39:50,739 INFO L290 TraceCheckUtils]: 30: Hoare triple {16789#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16789#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:39:50,739 INFO L290 TraceCheckUtils]: 31: Hoare triple {16789#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16790#(and (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:50,740 INFO L290 TraceCheckUtils]: 32: Hoare triple {16790#(and (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {16780#false} is VALID [2022-02-20 23:39:50,740 INFO L134 CoverageAnalysis]: Checked inductivity of 31 backedges. 1 proven. 30 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:50,740 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:50,740 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1762412106] [2022-02-20 23:39:50,740 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1762412106] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:50,740 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1760759775] [2022-02-20 23:39:50,740 INFO L93 rtionOrderModulation]: Changing assertion order to INSIDE_LOOP_FIRST1 [2022-02-20 23:39:50,740 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:50,740 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:50,741 INFO L229 MonitoredProcess]: Starting monitored process 12 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:50,742 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (12)] Waiting until timeout for monitored process [2022-02-20 23:39:50,841 INFO L228 tOrderPrioritization]: Assert order INSIDE_LOOP_FIRST1 issued 5 check-sat command(s) [2022-02-20 23:39:50,841 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-02-20 23:39:50,842 INFO L263 TraceCheckSpWp]: Trace formula consists of 190 conjuncts, 48 conjunts are in the unsatisfiable core [2022-02-20 23:39:50,858 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:50,860 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:51,030 INFO L356 Elim1Store]: treesize reduction 11, result has 45.0 percent of original size [2022-02-20 23:39:51,030 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2022-02-20 23:39:52,372 INFO L290 TraceCheckUtils]: 0: Hoare triple {16779#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {16779#true} is VALID [2022-02-20 23:39:52,372 INFO L290 TraceCheckUtils]: 1: Hoare triple {16779#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {16779#true} is VALID [2022-02-20 23:39:52,372 INFO L290 TraceCheckUtils]: 2: Hoare triple {16779#true} assume !(main_~length1~0#1 < 1); {16779#true} is VALID [2022-02-20 23:39:52,372 INFO L290 TraceCheckUtils]: 3: Hoare triple {16779#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {16803#(<= |ULTIMATE.start_main_~length2~0#1| 1)} is VALID [2022-02-20 23:39:52,373 INFO L290 TraceCheckUtils]: 4: Hoare triple {16803#(<= |ULTIMATE.start_main_~length2~0#1| 1)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {16807#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:52,374 INFO L290 TraceCheckUtils]: 5: Hoare triple {16807#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {16811#(and (= |ULTIMATE.start_main_~i~0#1| 0) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,374 INFO L290 TraceCheckUtils]: 6: Hoare triple {16811#(and (= |ULTIMATE.start_main_~i~0#1| 0) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {16811#(and (= |ULTIMATE.start_main_~i~0#1| 0) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,375 INFO L290 TraceCheckUtils]: 7: Hoare triple {16811#(and (= |ULTIMATE.start_main_~i~0#1| 0) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {16818#(and (= |ULTIMATE.start_main_~i~0#1| 0) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|)))} is VALID [2022-02-20 23:39:52,376 INFO L290 TraceCheckUtils]: 8: Hoare triple {16818#(and (= |ULTIMATE.start_main_~i~0#1| 0) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|)))} havoc main_#t~nondet16#1; {16818#(and (= |ULTIMATE.start_main_~i~0#1| 0) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|)))} is VALID [2022-02-20 23:39:52,376 INFO L290 TraceCheckUtils]: 9: Hoare triple {16818#(and (= |ULTIMATE.start_main_~i~0#1| 0) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {16825#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,377 INFO L290 TraceCheckUtils]: 10: Hoare triple {16825#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {16825#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,378 INFO L290 TraceCheckUtils]: 11: Hoare triple {16825#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {16825#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,404 INFO L290 TraceCheckUtils]: 12: Hoare triple {16825#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {16825#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,405 INFO L290 TraceCheckUtils]: 13: Hoare triple {16825#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {16838#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,405 INFO L290 TraceCheckUtils]: 14: Hoare triple {16838#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,406 INFO L290 TraceCheckUtils]: 15: Hoare triple {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,407 INFO L290 TraceCheckUtils]: 16: Hoare triple {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,408 INFO L290 TraceCheckUtils]: 17: Hoare triple {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,408 INFO L290 TraceCheckUtils]: 18: Hoare triple {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,409 INFO L290 TraceCheckUtils]: 19: Hoare triple {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_~i~1#1 := 0; {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,410 INFO L290 TraceCheckUtils]: 20: Hoare triple {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,410 INFO L290 TraceCheckUtils]: 21: Hoare triple {16842#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {16864#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,412 INFO L290 TraceCheckUtils]: 22: Hoare triple {16864#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {16864#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,412 INFO L290 TraceCheckUtils]: 23: Hoare triple {16864#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 4 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~nondetString1~0#1.offset|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {16871#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,413 INFO L290 TraceCheckUtils]: 24: Hoare triple {16871#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16871#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:52,414 INFO L290 TraceCheckUtils]: 25: Hoare triple {16871#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16878#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:52,414 INFO L290 TraceCheckUtils]: 26: Hoare triple {16878#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16878#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:52,415 INFO L290 TraceCheckUtils]: 27: Hoare triple {16878#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16885#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:52,415 INFO L290 TraceCheckUtils]: 28: Hoare triple {16885#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16885#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:52,416 INFO L290 TraceCheckUtils]: 29: Hoare triple {16885#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16892#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:52,416 INFO L290 TraceCheckUtils]: 30: Hoare triple {16892#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16892#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:52,417 INFO L290 TraceCheckUtils]: 31: Hoare triple {16892#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16899#(and (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:52,418 INFO L290 TraceCheckUtils]: 32: Hoare triple {16899#(and (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (< 4 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {16780#false} is VALID [2022-02-20 23:39:52,418 INFO L134 CoverageAnalysis]: Checked inductivity of 31 backedges. 1 proven. 30 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:52,419 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:39:53,439 INFO L290 TraceCheckUtils]: 32: Hoare triple {16903#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {16780#false} is VALID [2022-02-20 23:39:53,440 INFO L290 TraceCheckUtils]: 31: Hoare triple {16907#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16903#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:53,440 INFO L290 TraceCheckUtils]: 30: Hoare triple {16907#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16907#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} is VALID [2022-02-20 23:39:53,441 INFO L290 TraceCheckUtils]: 29: Hoare triple {16914#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16907#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} is VALID [2022-02-20 23:39:53,441 INFO L290 TraceCheckUtils]: 28: Hoare triple {16914#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16914#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} is VALID [2022-02-20 23:39:53,442 INFO L290 TraceCheckUtils]: 27: Hoare triple {16921#(and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16914#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} is VALID [2022-02-20 23:39:53,443 INFO L290 TraceCheckUtils]: 26: Hoare triple {16925#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16921#(and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:53,443 INFO L290 TraceCheckUtils]: 25: Hoare triple {16929#(or (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (not (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {16925#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:39:53,444 INFO L290 TraceCheckUtils]: 24: Hoare triple {16929#(or (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (not (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {16929#(or (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (not (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))))} is VALID [2022-02-20 23:39:53,444 INFO L290 TraceCheckUtils]: 23: Hoare triple {16936#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {16929#(or (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (not (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))))} is VALID [2022-02-20 23:39:53,445 INFO L290 TraceCheckUtils]: 22: Hoare triple {16936#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {16936#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,445 INFO L290 TraceCheckUtils]: 21: Hoare triple {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {16936#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,446 INFO L290 TraceCheckUtils]: 20: Hoare triple {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,446 INFO L290 TraceCheckUtils]: 19: Hoare triple {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_~i~1#1 := 0; {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,447 INFO L290 TraceCheckUtils]: 18: Hoare triple {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,447 INFO L290 TraceCheckUtils]: 17: Hoare triple {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,448 INFO L290 TraceCheckUtils]: 16: Hoare triple {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} havoc main_#t~nondet16#1; {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,448 INFO L290 TraceCheckUtils]: 15: Hoare triple {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,449 INFO L290 TraceCheckUtils]: 14: Hoare triple {16965#(or (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {16943#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,449 INFO L290 TraceCheckUtils]: 13: Hoare triple {16969#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {16965#(or (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,450 INFO L290 TraceCheckUtils]: 12: Hoare triple {16969#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} havoc main_#t~nondet16#1; {16969#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,450 INFO L290 TraceCheckUtils]: 11: Hoare triple {16969#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {16969#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,451 INFO L290 TraceCheckUtils]: 10: Hoare triple {16969#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {16969#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,452 INFO L290 TraceCheckUtils]: 9: Hoare triple {16982#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {16969#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,452 INFO L290 TraceCheckUtils]: 8: Hoare triple {16982#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} havoc main_#t~nondet16#1; {16982#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,453 INFO L290 TraceCheckUtils]: 7: Hoare triple {16989#(or (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|) 0) (< (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {16982#(or (not (<= 0 (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 1))) (not (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|) (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,453 INFO L290 TraceCheckUtils]: 6: Hoare triple {16989#(or (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|) 0) (< (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {16989#(or (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|) 0) (< (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,454 INFO L290 TraceCheckUtils]: 5: Hoare triple {16996#(and (<= |ULTIMATE.start_main_~length2~0#1| 3) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {16989#(or (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~i~0#1|) 0) (< (+ |ULTIMATE.start_main_~n~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 5) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:39:53,455 INFO L290 TraceCheckUtils]: 4: Hoare triple {17000#(<= |ULTIMATE.start_main_~length2~0#1| 3)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {16996#(and (<= |ULTIMATE.start_main_~length2~0#1| 3) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:39:53,455 INFO L290 TraceCheckUtils]: 3: Hoare triple {16779#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {17000#(<= |ULTIMATE.start_main_~length2~0#1| 3)} is VALID [2022-02-20 23:39:53,455 INFO L290 TraceCheckUtils]: 2: Hoare triple {16779#true} assume !(main_~length1~0#1 < 1); {16779#true} is VALID [2022-02-20 23:39:53,455 INFO L290 TraceCheckUtils]: 1: Hoare triple {16779#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {16779#true} is VALID [2022-02-20 23:39:53,455 INFO L290 TraceCheckUtils]: 0: Hoare triple {16779#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {16779#true} is VALID [2022-02-20 23:39:53,456 INFO L134 CoverageAnalysis]: Checked inductivity of 31 backedges. 15 proven. 16 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:39:53,456 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1760759775] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:39:53,456 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:39:53,456 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [11, 14, 15] total 38 [2022-02-20 23:39:53,456 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1890502620] [2022-02-20 23:39:53,456 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:39:53,457 INFO L78 Accepts]: Start accepts. Automaton has has 39 states, 38 states have (on average 2.4473684210526314) internal successors, (93), 39 states have internal predecessors, (93), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 33 [2022-02-20 23:39:53,457 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:39:53,457 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 39 states, 38 states have (on average 2.4473684210526314) internal successors, (93), 39 states have internal predecessors, (93), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:53,544 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 93 edges. 93 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:53,544 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 39 states [2022-02-20 23:39:53,544 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:39:53,544 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 39 interpolants. [2022-02-20 23:39:53,545 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=184, Invalid=1298, Unknown=0, NotChecked=0, Total=1482 [2022-02-20 23:39:53,545 INFO L87 Difference]: Start difference. First operand 191 states and 216 transitions. Second operand has 39 states, 38 states have (on average 2.4473684210526314) internal successors, (93), 39 states have internal predecessors, (93), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:56,258 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:56,259 INFO L93 Difference]: Finished difference Result 365 states and 397 transitions. [2022-02-20 23:39:56,259 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 35 states. [2022-02-20 23:39:56,259 INFO L78 Accepts]: Start accepts. Automaton has has 39 states, 38 states have (on average 2.4473684210526314) internal successors, (93), 39 states have internal predecessors, (93), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 33 [2022-02-20 23:39:56,259 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:39:56,259 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 39 states, 38 states have (on average 2.4473684210526314) internal successors, (93), 39 states have internal predecessors, (93), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:56,260 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 215 transitions. [2022-02-20 23:39:56,260 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 39 states, 38 states have (on average 2.4473684210526314) internal successors, (93), 39 states have internal predecessors, (93), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:56,261 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 215 transitions. [2022-02-20 23:39:56,261 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 35 states and 215 transitions. [2022-02-20 23:39:56,403 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 215 edges. 215 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:39:56,407 INFO L225 Difference]: With dead ends: 365 [2022-02-20 23:39:56,407 INFO L226 Difference]: Without dead ends: 353 [2022-02-20 23:39:56,408 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 118 GetRequests, 50 SyntacticMatches, 4 SemanticMatches, 64 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1012 ImplicationChecksByTransitivity, 1.5s TimeCoverageRelationStatistics Valid=603, Invalid=3687, Unknown=0, NotChecked=0, Total=4290 [2022-02-20 23:39:56,408 INFO L933 BasicCegarLoop]: 72 mSDtfsCounter, 307 mSDsluCounter, 1209 mSDsCounter, 0 mSdLazyCounter, 781 mSolverCounterSat, 45 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.5s Time, 0 mProtectedPredicate, 0 mProtectedAction, 307 SdHoareTripleChecker+Valid, 1281 SdHoareTripleChecker+Invalid, 1313 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 45 IncrementalHoareTripleChecker+Valid, 781 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 487 IncrementalHoareTripleChecker+Unchecked, 0.5s IncrementalHoareTripleChecker+Time [2022-02-20 23:39:56,409 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [307 Valid, 1281 Invalid, 1313 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [45 Valid, 781 Invalid, 0 Unknown, 487 Unchecked, 0.5s Time] [2022-02-20 23:39:56,409 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 353 states. [2022-02-20 23:39:56,411 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 353 to 212. [2022-02-20 23:39:56,411 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:39:56,412 INFO L82 GeneralOperation]: Start isEquivalent. First operand 353 states. Second operand has 212 states, 208 states have (on average 1.1490384615384615) internal successors, (239), 211 states have internal predecessors, (239), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:56,412 INFO L74 IsIncluded]: Start isIncluded. First operand 353 states. Second operand has 212 states, 208 states have (on average 1.1490384615384615) internal successors, (239), 211 states have internal predecessors, (239), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:56,412 INFO L87 Difference]: Start difference. First operand 353 states. Second operand has 212 states, 208 states have (on average 1.1490384615384615) internal successors, (239), 211 states have internal predecessors, (239), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:56,416 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:56,416 INFO L93 Difference]: Finished difference Result 353 states and 383 transitions. [2022-02-20 23:39:56,416 INFO L276 IsEmpty]: Start isEmpty. Operand 353 states and 383 transitions. [2022-02-20 23:39:56,416 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:56,417 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:56,417 INFO L74 IsIncluded]: Start isIncluded. First operand has 212 states, 208 states have (on average 1.1490384615384615) internal successors, (239), 211 states have internal predecessors, (239), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 353 states. [2022-02-20 23:39:56,417 INFO L87 Difference]: Start difference. First operand has 212 states, 208 states have (on average 1.1490384615384615) internal successors, (239), 211 states have internal predecessors, (239), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 353 states. [2022-02-20 23:39:56,430 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:39:56,430 INFO L93 Difference]: Finished difference Result 353 states and 383 transitions. [2022-02-20 23:39:56,430 INFO L276 IsEmpty]: Start isEmpty. Operand 353 states and 383 transitions. [2022-02-20 23:39:56,431 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:39:56,431 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:39:56,431 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:39:56,431 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:39:56,431 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 212 states, 208 states have (on average 1.1490384615384615) internal successors, (239), 211 states have internal predecessors, (239), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:56,433 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 212 states to 212 states and 239 transitions. [2022-02-20 23:39:56,433 INFO L78 Accepts]: Start accepts. Automaton has 212 states and 239 transitions. Word has length 33 [2022-02-20 23:39:56,433 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:39:56,433 INFO L470 AbstractCegarLoop]: Abstraction has 212 states and 239 transitions. [2022-02-20 23:39:56,433 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 39 states, 38 states have (on average 2.4473684210526314) internal successors, (93), 39 states have internal predecessors, (93), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:39:56,434 INFO L276 IsEmpty]: Start isEmpty. Operand 212 states and 239 transitions. [2022-02-20 23:39:56,434 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 36 [2022-02-20 23:39:56,434 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:39:56,434 INFO L514 BasicCegarLoop]: trace histogram [5, 5, 3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:39:56,451 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (12)] Forceful destruction successful, exit code 0 [2022-02-20 23:39:56,651 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 12 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable30 [2022-02-20 23:39:56,651 INFO L402 AbstractCegarLoop]: === Iteration 32 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:39:56,651 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:39:56,651 INFO L85 PathProgramCache]: Analyzing trace with hash 407057716, now seen corresponding path program 6 times [2022-02-20 23:39:56,652 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:39:56,652 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1918956853] [2022-02-20 23:39:56,652 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:39:56,652 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:39:56,672 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:56,781 INFO L290 TraceCheckUtils]: 0: Hoare triple {18365#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {18365#true} is VALID [2022-02-20 23:39:56,782 INFO L290 TraceCheckUtils]: 1: Hoare triple {18365#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {18365#true} is VALID [2022-02-20 23:39:56,782 INFO L290 TraceCheckUtils]: 2: Hoare triple {18365#true} assume !(main_~length1~0#1 < 1); {18365#true} is VALID [2022-02-20 23:39:56,782 INFO L290 TraceCheckUtils]: 3: Hoare triple {18365#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {18365#true} is VALID [2022-02-20 23:39:56,782 INFO L290 TraceCheckUtils]: 4: Hoare triple {18365#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {18365#true} is VALID [2022-02-20 23:39:56,783 INFO L290 TraceCheckUtils]: 5: Hoare triple {18365#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {18367#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,783 INFO L290 TraceCheckUtils]: 6: Hoare triple {18367#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {18367#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,783 INFO L290 TraceCheckUtils]: 7: Hoare triple {18367#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {18367#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,784 INFO L290 TraceCheckUtils]: 8: Hoare triple {18367#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {18367#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,784 INFO L290 TraceCheckUtils]: 9: Hoare triple {18367#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {18368#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:56,784 INFO L290 TraceCheckUtils]: 10: Hoare triple {18368#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {18368#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:56,785 INFO L290 TraceCheckUtils]: 11: Hoare triple {18368#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {18368#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:56,785 INFO L290 TraceCheckUtils]: 12: Hoare triple {18368#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} havoc main_#t~nondet16#1; {18368#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:39:56,786 INFO L290 TraceCheckUtils]: 13: Hoare triple {18368#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {18369#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} is VALID [2022-02-20 23:39:56,786 INFO L290 TraceCheckUtils]: 14: Hoare triple {18369#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {18370#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,786 INFO L290 TraceCheckUtils]: 15: Hoare triple {18370#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {18370#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,787 INFO L290 TraceCheckUtils]: 16: Hoare triple {18370#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {18370#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,787 INFO L290 TraceCheckUtils]: 17: Hoare triple {18370#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {18371#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,788 INFO L290 TraceCheckUtils]: 18: Hoare triple {18371#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {18372#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)))} is VALID [2022-02-20 23:39:56,796 INFO L290 TraceCheckUtils]: 19: Hoare triple {18372#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)))} main_~i~1#1 := 0; {18372#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)))} is VALID [2022-02-20 23:39:56,797 INFO L290 TraceCheckUtils]: 20: Hoare triple {18372#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {18372#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)))} is VALID [2022-02-20 23:39:56,805 INFO L290 TraceCheckUtils]: 21: Hoare triple {18372#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (+ |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {18373#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3)) 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,806 INFO L290 TraceCheckUtils]: 22: Hoare triple {18373#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3)) 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {18373#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3)) 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,806 INFO L290 TraceCheckUtils]: 23: Hoare triple {18373#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3)) 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {18374#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 3) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,807 INFO L290 TraceCheckUtils]: 24: Hoare triple {18374#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 3) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18374#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 3) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:39:56,807 INFO L290 TraceCheckUtils]: 25: Hoare triple {18374#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 3) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18375#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0)} is VALID [2022-02-20 23:39:56,807 INFO L290 TraceCheckUtils]: 26: Hoare triple {18375#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18375#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0)} is VALID [2022-02-20 23:39:56,808 INFO L290 TraceCheckUtils]: 27: Hoare triple {18375#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18376#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} is VALID [2022-02-20 23:39:56,808 INFO L290 TraceCheckUtils]: 28: Hoare triple {18376#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18376#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} is VALID [2022-02-20 23:39:56,808 INFO L290 TraceCheckUtils]: 29: Hoare triple {18376#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18377#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} is VALID [2022-02-20 23:39:56,809 INFO L290 TraceCheckUtils]: 30: Hoare triple {18377#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18378#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:39:56,809 INFO L290 TraceCheckUtils]: 31: Hoare triple {18378#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18366#false} is VALID [2022-02-20 23:39:56,809 INFO L290 TraceCheckUtils]: 32: Hoare triple {18366#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18366#false} is VALID [2022-02-20 23:39:56,809 INFO L290 TraceCheckUtils]: 33: Hoare triple {18366#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18366#false} is VALID [2022-02-20 23:39:56,809 INFO L290 TraceCheckUtils]: 34: Hoare triple {18366#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {18366#false} is VALID [2022-02-20 23:39:56,810 INFO L134 CoverageAnalysis]: Checked inductivity of 40 backedges. 12 proven. 27 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:39:56,810 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:39:56,810 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1918956853] [2022-02-20 23:39:56,810 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1918956853] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:39:56,810 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [201905398] [2022-02-20 23:39:56,810 INFO L93 rtionOrderModulation]: Changing assertion order to MIX_INSIDE_OUTSIDE [2022-02-20 23:39:56,810 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:39:56,810 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:39:56,811 INFO L229 MonitoredProcess]: Starting monitored process 13 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:39:56,812 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (13)] Waiting until timeout for monitored process [2022-02-20 23:39:56,896 INFO L228 tOrderPrioritization]: Assert order MIX_INSIDE_OUTSIDE issued 6 check-sat command(s) [2022-02-20 23:39:56,896 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-02-20 23:39:56,897 INFO L263 TraceCheckSpWp]: Trace formula consists of 201 conjuncts, 67 conjunts are in the unsatisfiable core [2022-02-20 23:39:56,908 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:39:56,909 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:39:56,981 INFO L356 Elim1Store]: treesize reduction 11, result has 45.0 percent of original size [2022-02-20 23:39:56,981 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2022-02-20 23:39:57,585 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 17 treesize of output 13 [2022-02-20 23:39:58,139 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:39:58,140 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 27 treesize of output 26 [2022-02-20 23:40:01,788 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:40:01,789 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:40:01,789 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:40:01,792 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 4 select indices, 4 select index equivalence classes, 2 disjoint index pairs (out of 6 index pairs), introduced 3 new quantified variables, introduced 0 case distinctions, treesize of input 37 treesize of output 14 [2022-02-20 23:40:01,878 INFO L290 TraceCheckUtils]: 0: Hoare triple {18365#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {18365#true} is VALID [2022-02-20 23:40:01,879 INFO L290 TraceCheckUtils]: 1: Hoare triple {18365#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {18365#true} is VALID [2022-02-20 23:40:01,879 INFO L290 TraceCheckUtils]: 2: Hoare triple {18365#true} assume !(main_~length1~0#1 < 1); {18365#true} is VALID [2022-02-20 23:40:01,879 INFO L290 TraceCheckUtils]: 3: Hoare triple {18365#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {18391#(<= |ULTIMATE.start_main_~length2~0#1| 1)} is VALID [2022-02-20 23:40:01,879 INFO L290 TraceCheckUtils]: 4: Hoare triple {18391#(<= |ULTIMATE.start_main_~length2~0#1| 1)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {18395#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,880 INFO L290 TraceCheckUtils]: 5: Hoare triple {18395#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {18399#(and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,881 INFO L290 TraceCheckUtils]: 6: Hoare triple {18399#(and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {18399#(and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,881 INFO L290 TraceCheckUtils]: 7: Hoare triple {18399#(and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {18399#(and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,882 INFO L290 TraceCheckUtils]: 8: Hoare triple {18399#(and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} havoc main_#t~nondet16#1; {18399#(and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,882 INFO L290 TraceCheckUtils]: 9: Hoare triple {18399#(and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {18412#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~0#1| 1) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,883 INFO L290 TraceCheckUtils]: 10: Hoare triple {18412#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~0#1| 1) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {18412#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~0#1| 1) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,883 INFO L290 TraceCheckUtils]: 11: Hoare triple {18412#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~0#1| 1) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {18412#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~0#1| 1) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,884 INFO L290 TraceCheckUtils]: 12: Hoare triple {18412#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~0#1| 1) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} havoc main_#t~nondet16#1; {18412#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~0#1| 1) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,884 INFO L290 TraceCheckUtils]: 13: Hoare triple {18412#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~0#1| 1) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {18425#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= 2 |ULTIMATE.start_main_~i~0#1|) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,885 INFO L290 TraceCheckUtils]: 14: Hoare triple {18425#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= 2 |ULTIMATE.start_main_~i~0#1|) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {18429#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= 2 |ULTIMATE.start_main_~i~0#1|) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,886 INFO L290 TraceCheckUtils]: 15: Hoare triple {18429#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= 2 |ULTIMATE.start_main_~i~0#1|) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {18429#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= 2 |ULTIMATE.start_main_~i~0#1|) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,886 INFO L290 TraceCheckUtils]: 16: Hoare triple {18429#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= 2 |ULTIMATE.start_main_~i~0#1|) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} havoc main_#t~nondet16#1; {18429#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= 2 |ULTIMATE.start_main_~i~0#1|) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,887 INFO L290 TraceCheckUtils]: 17: Hoare triple {18429#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= 2 |ULTIMATE.start_main_~i~0#1|) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {18439#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 3) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,887 INFO L290 TraceCheckUtils]: 18: Hoare triple {18439#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 3) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {18443#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,888 INFO L290 TraceCheckUtils]: 19: Hoare triple {18443#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))} main_~i~1#1 := 0; {18443#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,888 INFO L290 TraceCheckUtils]: 20: Hoare triple {18443#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {18443#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))} is VALID [2022-02-20 23:40:01,890 INFO L290 TraceCheckUtils]: 21: Hoare triple {18443#(and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {18453#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))))} is VALID [2022-02-20 23:40:01,892 INFO L290 TraceCheckUtils]: 22: Hoare triple {18453#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {18457#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:01,905 INFO L290 TraceCheckUtils]: 23: Hoare triple {18457#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (= 0 (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)))) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {18461#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:40:01,906 INFO L290 TraceCheckUtils]: 24: Hoare triple {18461#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18461#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:40:01,907 INFO L290 TraceCheckUtils]: 25: Hoare triple {18461#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18468#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} is VALID [2022-02-20 23:40:01,932 INFO L290 TraceCheckUtils]: 26: Hoare triple {18468#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18468#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} is VALID [2022-02-20 23:40:02,001 INFO L290 TraceCheckUtils]: 27: Hoare triple {18468#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18475#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 1))} is VALID [2022-02-20 23:40:02,030 INFO L290 TraceCheckUtils]: 28: Hoare triple {18475#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (or (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 1))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18479#(and (= |ULTIMATE.start_cstrncat_#t~mem2#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2))} is VALID [2022-02-20 23:40:02,032 INFO L290 TraceCheckUtils]: 29: Hoare triple {18479#(and (= |ULTIMATE.start_cstrncat_#t~mem2#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~length2~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18483#(and (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 2) 0)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length2~0#1| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0))) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))))} is VALID [2022-02-20 23:40:02,033 INFO L290 TraceCheckUtils]: 30: Hoare triple {18483#(and (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 2) 0)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int) (|ULTIMATE.start_main_~length2~0#1| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0))) (<= 3 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length1~0#1| Int) (|ULTIMATE.start_main_~n~0#1| Int)) (and (<= (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~length1~0#1|) (< (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|))) 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (<= |ULTIMATE.start_main_~n~0#1| 1))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18378#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:40:02,033 INFO L290 TraceCheckUtils]: 31: Hoare triple {18378#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18366#false} is VALID [2022-02-20 23:40:02,033 INFO L290 TraceCheckUtils]: 32: Hoare triple {18366#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18366#false} is VALID [2022-02-20 23:40:02,033 INFO L290 TraceCheckUtils]: 33: Hoare triple {18366#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18366#false} is VALID [2022-02-20 23:40:02,033 INFO L290 TraceCheckUtils]: 34: Hoare triple {18366#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {18366#false} is VALID [2022-02-20 23:40:02,034 INFO L134 CoverageAnalysis]: Checked inductivity of 40 backedges. 12 proven. 27 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:40:02,034 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:40:02,291 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:40:02,299 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 2 select indices, 2 select index equivalence classes, 1 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 0 case distinctions, treesize of input 123 treesize of output 111 [2022-02-20 23:40:03,223 INFO L290 TraceCheckUtils]: 34: Hoare triple {18366#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {18366#false} is VALID [2022-02-20 23:40:03,223 INFO L290 TraceCheckUtils]: 33: Hoare triple {18366#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18366#false} is VALID [2022-02-20 23:40:03,223 INFO L290 TraceCheckUtils]: 32: Hoare triple {18366#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18366#false} is VALID [2022-02-20 23:40:03,223 INFO L290 TraceCheckUtils]: 31: Hoare triple {18378#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18366#false} is VALID [2022-02-20 23:40:03,224 INFO L290 TraceCheckUtils]: 30: Hoare triple {18511#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18378#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:40:03,225 INFO L290 TraceCheckUtils]: 29: Hoare triple {18515#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (= |ULTIMATE.start_cstrncat_#t~mem2#1| 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18511#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} is VALID [2022-02-20 23:40:03,225 INFO L290 TraceCheckUtils]: 28: Hoare triple {18519#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (< |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18515#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (= |ULTIMATE.start_cstrncat_#t~mem2#1| 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0))} is VALID [2022-02-20 23:40:03,226 INFO L290 TraceCheckUtils]: 27: Hoare triple {18523#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18519#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (< |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} is VALID [2022-02-20 23:40:03,226 INFO L290 TraceCheckUtils]: 26: Hoare triple {18523#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18523#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} is VALID [2022-02-20 23:40:03,227 INFO L290 TraceCheckUtils]: 25: Hoare triple {18530#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) 0) (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {18523#(or (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} is VALID [2022-02-20 23:40:03,228 INFO L290 TraceCheckUtils]: 24: Hoare triple {18530#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) 0) (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {18530#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) 0) (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} is VALID [2022-02-20 23:40:03,228 INFO L290 TraceCheckUtils]: 23: Hoare triple {18537#(or (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3)) 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {18530#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) 0) (< (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) 0) (< (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0))} is VALID [2022-02-20 23:40:03,229 INFO L290 TraceCheckUtils]: 22: Hoare triple {18541#(or (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| (store (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 0)) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3)) 0) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| (store (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 0)) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {18537#(or (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3)) 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,230 INFO L290 TraceCheckUtils]: 21: Hoare triple {18545#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {18541#(or (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| (store (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 0)) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3)) 0) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base| (store (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 0)) |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2)) 0) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,231 INFO L290 TraceCheckUtils]: 20: Hoare triple {18545#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {18545#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,232 INFO L290 TraceCheckUtils]: 19: Hoare triple {18545#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} main_~i~1#1 := 0; {18545#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,233 INFO L290 TraceCheckUtils]: 18: Hoare triple {18555#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {18545#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,234 INFO L290 TraceCheckUtils]: 17: Hoare triple {18559#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {18555#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,234 INFO L290 TraceCheckUtils]: 16: Hoare triple {18559#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} havoc main_#t~nondet16#1; {18559#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:40:03,235 INFO L290 TraceCheckUtils]: 15: Hoare triple {18559#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {18559#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:40:03,236 INFO L290 TraceCheckUtils]: 14: Hoare triple {18569#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {18559#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:40:03,237 INFO L290 TraceCheckUtils]: 13: Hoare triple {18573#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {18569#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:40:03,238 INFO L290 TraceCheckUtils]: 12: Hoare triple {18573#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} havoc main_#t~nondet16#1; {18573#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,239 INFO L290 TraceCheckUtils]: 11: Hoare triple {18573#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {18573#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,239 INFO L290 TraceCheckUtils]: 10: Hoare triple {18573#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {18573#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,240 INFO L290 TraceCheckUtils]: 9: Hoare triple {18586#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {18573#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,241 INFO L290 TraceCheckUtils]: 8: Hoare triple {18586#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} havoc main_#t~nondet16#1; {18586#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,242 INFO L290 TraceCheckUtils]: 7: Hoare triple {18586#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {18586#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,243 INFO L290 TraceCheckUtils]: 6: Hoare triple {18586#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {18586#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,244 INFO L290 TraceCheckUtils]: 5: Hoare triple {18365#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {18586#(or (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 3))) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) (= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~n~0#1| 4)) (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4) |ULTIMATE.start_main_~length1~0#1|) (and (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4))) (not (< (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|)) (= (+ 3 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (< (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 2) 0))} is VALID [2022-02-20 23:40:03,244 INFO L290 TraceCheckUtils]: 4: Hoare triple {18365#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {18365#true} is VALID [2022-02-20 23:40:03,244 INFO L290 TraceCheckUtils]: 3: Hoare triple {18365#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {18365#true} is VALID [2022-02-20 23:40:03,244 INFO L290 TraceCheckUtils]: 2: Hoare triple {18365#true} assume !(main_~length1~0#1 < 1); {18365#true} is VALID [2022-02-20 23:40:03,244 INFO L290 TraceCheckUtils]: 1: Hoare triple {18365#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {18365#true} is VALID [2022-02-20 23:40:03,244 INFO L290 TraceCheckUtils]: 0: Hoare triple {18365#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {18365#true} is VALID [2022-02-20 23:40:03,245 INFO L134 CoverageAnalysis]: Checked inductivity of 40 backedges. 14 proven. 25 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:40:03,245 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [201905398] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:40:03,245 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:40:03,245 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [14, 18, 16] total 42 [2022-02-20 23:40:03,246 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1208968] [2022-02-20 23:40:03,246 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:40:03,246 INFO L78 Accepts]: Start accepts. Automaton has has 42 states, 42 states have (on average 2.119047619047619) internal successors, (89), 42 states have internal predecessors, (89), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 35 [2022-02-20 23:40:03,246 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:40:03,246 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 42 states, 42 states have (on average 2.119047619047619) internal successors, (89), 42 states have internal predecessors, (89), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:04,259 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 89 edges. 88 inductive. 0 not inductive. 1 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:04,259 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 42 states [2022-02-20 23:40:04,259 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:40:04,260 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 42 interpolants. [2022-02-20 23:40:04,260 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=180, Invalid=1542, Unknown=0, NotChecked=0, Total=1722 [2022-02-20 23:40:04,260 INFO L87 Difference]: Start difference. First operand 212 states and 239 transitions. Second operand has 42 states, 42 states have (on average 2.119047619047619) internal successors, (89), 42 states have internal predecessors, (89), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:07,450 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:07,450 INFO L93 Difference]: Finished difference Result 452 states and 491 transitions. [2022-02-20 23:40:07,450 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 46 states. [2022-02-20 23:40:07,450 INFO L78 Accepts]: Start accepts. Automaton has has 42 states, 42 states have (on average 2.119047619047619) internal successors, (89), 42 states have internal predecessors, (89), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 35 [2022-02-20 23:40:07,450 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:40:07,450 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 42 states, 42 states have (on average 2.119047619047619) internal successors, (89), 42 states have internal predecessors, (89), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:07,451 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 46 states and 212 transitions. [2022-02-20 23:40:07,452 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 42 states, 42 states have (on average 2.119047619047619) internal successors, (89), 42 states have internal predecessors, (89), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:07,452 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 46 states and 212 transitions. [2022-02-20 23:40:07,452 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 46 states and 212 transitions. [2022-02-20 23:40:10,868 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 212 edges. 209 inductive. 0 not inductive. 3 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:10,874 INFO L225 Difference]: With dead ends: 452 [2022-02-20 23:40:10,875 INFO L226 Difference]: Without dead ends: 409 [2022-02-20 23:40:10,877 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 110 GetRequests, 43 SyntacticMatches, 1 SemanticMatches, 66 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1000 ImplicationChecksByTransitivity, 1.9s TimeCoverageRelationStatistics Valid=479, Invalid=4077, Unknown=0, NotChecked=0, Total=4556 [2022-02-20 23:40:10,878 INFO L933 BasicCegarLoop]: 58 mSDtfsCounter, 414 mSDsluCounter, 898 mSDsCounter, 0 mSdLazyCounter, 868 mSolverCounterSat, 85 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.7s Time, 0 mProtectedPredicate, 0 mProtectedAction, 414 SdHoareTripleChecker+Valid, 956 SdHoareTripleChecker+Invalid, 1200 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 85 IncrementalHoareTripleChecker+Valid, 868 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 247 IncrementalHoareTripleChecker+Unchecked, 0.7s IncrementalHoareTripleChecker+Time [2022-02-20 23:40:10,878 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [414 Valid, 956 Invalid, 1200 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [85 Valid, 868 Invalid, 0 Unknown, 247 Unchecked, 0.7s Time] [2022-02-20 23:40:10,880 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 409 states. [2022-02-20 23:40:10,886 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 409 to 235. [2022-02-20 23:40:10,886 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:40:10,887 INFO L82 GeneralOperation]: Start isEquivalent. First operand 409 states. Second operand has 235 states, 231 states have (on average 1.147186147186147) internal successors, (265), 234 states have internal predecessors, (265), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:10,887 INFO L74 IsIncluded]: Start isIncluded. First operand 409 states. Second operand has 235 states, 231 states have (on average 1.147186147186147) internal successors, (265), 234 states have internal predecessors, (265), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:10,887 INFO L87 Difference]: Start difference. First operand 409 states. Second operand has 235 states, 231 states have (on average 1.147186147186147) internal successors, (265), 234 states have internal predecessors, (265), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:10,893 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:10,893 INFO L93 Difference]: Finished difference Result 409 states and 445 transitions. [2022-02-20 23:40:10,893 INFO L276 IsEmpty]: Start isEmpty. Operand 409 states and 445 transitions. [2022-02-20 23:40:10,893 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:10,894 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:10,894 INFO L74 IsIncluded]: Start isIncluded. First operand has 235 states, 231 states have (on average 1.147186147186147) internal successors, (265), 234 states have internal predecessors, (265), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 409 states. [2022-02-20 23:40:10,894 INFO L87 Difference]: Start difference. First operand has 235 states, 231 states have (on average 1.147186147186147) internal successors, (265), 234 states have internal predecessors, (265), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 409 states. [2022-02-20 23:40:10,900 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:10,900 INFO L93 Difference]: Finished difference Result 409 states and 445 transitions. [2022-02-20 23:40:10,900 INFO L276 IsEmpty]: Start isEmpty. Operand 409 states and 445 transitions. [2022-02-20 23:40:10,901 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:10,901 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:10,901 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:40:10,901 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:40:10,901 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 235 states, 231 states have (on average 1.147186147186147) internal successors, (265), 234 states have internal predecessors, (265), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:10,904 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 235 states to 235 states and 265 transitions. [2022-02-20 23:40:10,904 INFO L78 Accepts]: Start accepts. Automaton has 235 states and 265 transitions. Word has length 35 [2022-02-20 23:40:10,904 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:40:10,904 INFO L470 AbstractCegarLoop]: Abstraction has 235 states and 265 transitions. [2022-02-20 23:40:10,904 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 42 states, 42 states have (on average 2.119047619047619) internal successors, (89), 42 states have internal predecessors, (89), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:10,904 INFO L276 IsEmpty]: Start isEmpty. Operand 235 states and 265 transitions. [2022-02-20 23:40:10,905 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 38 [2022-02-20 23:40:10,905 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:40:10,905 INFO L514 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:40:10,921 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (13)] Forceful destruction successful, exit code 0 [2022-02-20 23:40:11,119 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 13 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable31 [2022-02-20 23:40:11,120 INFO L402 AbstractCegarLoop]: === Iteration 33 === Targeting ULTIMATE.startErr11REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:40:11,120 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:40:11,120 INFO L85 PathProgramCache]: Analyzing trace with hash -1933322104, now seen corresponding path program 2 times [2022-02-20 23:40:11,120 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:40:11,120 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1143294008] [2022-02-20 23:40:11,120 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:40:11,120 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:40:11,155 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:11,553 INFO L290 TraceCheckUtils]: 0: Hoare triple {20171#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {20171#true} is VALID [2022-02-20 23:40:11,553 INFO L290 TraceCheckUtils]: 1: Hoare triple {20171#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {20171#true} is VALID [2022-02-20 23:40:11,554 INFO L290 TraceCheckUtils]: 2: Hoare triple {20171#true} assume !(main_~length1~0#1 < 1); {20171#true} is VALID [2022-02-20 23:40:11,554 INFO L290 TraceCheckUtils]: 3: Hoare triple {20171#true} assume !(main_~length2~0#1 < 1); {20171#true} is VALID [2022-02-20 23:40:11,554 INFO L290 TraceCheckUtils]: 4: Hoare triple {20171#true} assume !(main_~n~0#1 < 1); {20171#true} is VALID [2022-02-20 23:40:11,555 INFO L290 TraceCheckUtils]: 5: Hoare triple {20171#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {20173#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2))) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))))} is VALID [2022-02-20 23:40:11,555 INFO L290 TraceCheckUtils]: 6: Hoare triple {20173#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2))) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {20173#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2))) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))))} is VALID [2022-02-20 23:40:11,556 INFO L290 TraceCheckUtils]: 7: Hoare triple {20173#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2))) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {20173#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2))) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))))} is VALID [2022-02-20 23:40:11,557 INFO L290 TraceCheckUtils]: 8: Hoare triple {20173#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2))) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))))} havoc main_#t~nondet16#1; {20173#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2))) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))))} is VALID [2022-02-20 23:40:11,557 INFO L290 TraceCheckUtils]: 9: Hoare triple {20173#(and (or (and (= |ULTIMATE.start_main_~i~0#1| 0) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2))) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {20174#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~length1~0#1| 1)) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2)))} is VALID [2022-02-20 23:40:11,558 INFO L290 TraceCheckUtils]: 10: Hoare triple {20174#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))) (or (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~length1~0#1| 1)) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {20175#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:11,559 INFO L290 TraceCheckUtils]: 11: Hoare triple {20175#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))) (<= |ULTIMATE.start_main_~length2~0#1| 2))} main_~i~1#1 := 0; {20176#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:11,559 INFO L290 TraceCheckUtils]: 12: Hoare triple {20176#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (or (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (not (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))) (<= |ULTIMATE.start_main_~length2~0#1| 2))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {20177#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} is VALID [2022-02-20 23:40:11,560 INFO L290 TraceCheckUtils]: 13: Hoare triple {20177#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {20177#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} is VALID [2022-02-20 23:40:11,560 INFO L290 TraceCheckUtils]: 14: Hoare triple {20177#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} havoc main_#t~nondet18#1; {20177#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} is VALID [2022-02-20 23:40:11,561 INFO L290 TraceCheckUtils]: 15: Hoare triple {20177#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~i~1#1| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {20178#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} is VALID [2022-02-20 23:40:11,561 INFO L290 TraceCheckUtils]: 16: Hoare triple {20178#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {20178#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} is VALID [2022-02-20 23:40:11,561 INFO L290 TraceCheckUtils]: 17: Hoare triple {20178#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {20178#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} is VALID [2022-02-20 23:40:11,562 INFO L290 TraceCheckUtils]: 18: Hoare triple {20178#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1| (- 2)) 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {20179#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) 0))} is VALID [2022-02-20 23:40:11,563 INFO L290 TraceCheckUtils]: 19: Hoare triple {20179#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {20180#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:11,563 INFO L290 TraceCheckUtils]: 20: Hoare triple {20180#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {20180#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:11,563 INFO L290 TraceCheckUtils]: 21: Hoare triple {20180#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {20180#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:11,564 INFO L290 TraceCheckUtils]: 22: Hoare triple {20180#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {20180#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:11,564 INFO L290 TraceCheckUtils]: 23: Hoare triple {20180#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {20181#(and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1)) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) (not (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_cstrncat_#t~post4#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) 1) 0))} is VALID [2022-02-20 23:40:11,565 INFO L290 TraceCheckUtils]: 24: Hoare triple {20181#(and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1)) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0) (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) (not (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_cstrncat_#t~post4#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) 1) 0))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {20182#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:40:11,566 INFO L290 TraceCheckUtils]: 25: Hoare triple {20182#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {20183#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:40:11,566 INFO L290 TraceCheckUtils]: 26: Hoare triple {20183#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {20183#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:40:11,566 INFO L290 TraceCheckUtils]: 27: Hoare triple {20183#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {20183#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:40:11,567 INFO L290 TraceCheckUtils]: 28: Hoare triple {20183#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {20183#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:40:11,567 INFO L290 TraceCheckUtils]: 29: Hoare triple {20183#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (<= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (<= 1 |ULTIMATE.start_cstrncat_~s2#1.offset|))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {20184#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0) (<= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (< 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|))} is VALID [2022-02-20 23:40:11,568 INFO L290 TraceCheckUtils]: 30: Hoare triple {20184#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0) (<= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (< 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {20185#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:40:11,568 INFO L290 TraceCheckUtils]: 31: Hoare triple {20185#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {20185#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:40:11,568 INFO L290 TraceCheckUtils]: 32: Hoare triple {20185#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {20186#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:40:11,569 INFO L290 TraceCheckUtils]: 33: Hoare triple {20186#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {20172#false} is VALID [2022-02-20 23:40:11,569 INFO L290 TraceCheckUtils]: 34: Hoare triple {20172#false} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {20172#false} is VALID [2022-02-20 23:40:11,569 INFO L290 TraceCheckUtils]: 35: Hoare triple {20172#false} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {20172#false} is VALID [2022-02-20 23:40:11,569 INFO L290 TraceCheckUtils]: 36: Hoare triple {20172#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {20172#false} is VALID [2022-02-20 23:40:11,569 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 6 proven. 8 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:40:11,569 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:40:11,569 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1143294008] [2022-02-20 23:40:11,570 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1143294008] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:40:11,570 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [946003077] [2022-02-20 23:40:11,570 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2022-02-20 23:40:11,570 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:40:11,570 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:40:11,571 INFO L229 MonitoredProcess]: Starting monitored process 14 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:40:11,572 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (14)] Waiting until timeout for monitored process [2022-02-20 23:40:11,653 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2022-02-20 23:40:11,653 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-02-20 23:40:11,655 INFO L263 TraceCheckSpWp]: Trace formula consists of 210 conjuncts, 70 conjunts are in the unsatisfiable core [2022-02-20 23:40:11,666 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:11,667 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:40:11,918 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 14 treesize of output 10 [2022-02-20 23:40:12,605 INFO L356 Elim1Store]: treesize reduction 10, result has 64.3 percent of original size [2022-02-20 23:40:12,605 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 2 case distinctions, treesize of input 32 treesize of output 42 [2022-02-20 23:40:12,663 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:40:12,664 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:40:12,664 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 3 select indices, 3 select index equivalence classes, 1 disjoint index pairs (out of 3 index pairs), introduced 2 new quantified variables, introduced 0 case distinctions, treesize of input 48 treesize of output 38 [2022-02-20 23:40:13,300 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:40:13,301 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-02-20 23:40:13,305 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-02-20 23:40:13,312 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 3 select indices, 3 select index equivalence classes, 2 disjoint index pairs (out of 3 index pairs), introduced 3 new quantified variables, introduced 1 case distinctions, treesize of input 29 treesize of output 23 [2022-02-20 23:40:13,551 INFO L290 TraceCheckUtils]: 0: Hoare triple {20171#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {20171#true} is VALID [2022-02-20 23:40:13,551 INFO L290 TraceCheckUtils]: 1: Hoare triple {20171#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {20171#true} is VALID [2022-02-20 23:40:13,551 INFO L290 TraceCheckUtils]: 2: Hoare triple {20171#true} assume !(main_~length1~0#1 < 1); {20171#true} is VALID [2022-02-20 23:40:13,551 INFO L290 TraceCheckUtils]: 3: Hoare triple {20171#true} assume !(main_~length2~0#1 < 1); {20171#true} is VALID [2022-02-20 23:40:13,551 INFO L290 TraceCheckUtils]: 4: Hoare triple {20171#true} assume !(main_~n~0#1 < 1); {20171#true} is VALID [2022-02-20 23:40:13,552 INFO L290 TraceCheckUtils]: 5: Hoare triple {20171#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:13,552 INFO L290 TraceCheckUtils]: 6: Hoare triple {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:13,553 INFO L290 TraceCheckUtils]: 7: Hoare triple {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:13,553 INFO L290 TraceCheckUtils]: 8: Hoare triple {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:13,553 INFO L290 TraceCheckUtils]: 9: Hoare triple {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:13,554 INFO L290 TraceCheckUtils]: 10: Hoare triple {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:13,554 INFO L290 TraceCheckUtils]: 11: Hoare triple {20205#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_~i~1#1 := 0; {20224#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:13,554 INFO L290 TraceCheckUtils]: 12: Hoare triple {20224#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (<= 0 |ULTIMATE.start_main_~i~1#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:13,555 INFO L290 TraceCheckUtils]: 13: Hoare triple {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:13,555 INFO L290 TraceCheckUtils]: 14: Hoare triple {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} havoc main_#t~nondet18#1; {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:13,556 INFO L290 TraceCheckUtils]: 15: Hoare triple {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:13,556 INFO L290 TraceCheckUtils]: 16: Hoare triple {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:13,557 INFO L290 TraceCheckUtils]: 17: Hoare triple {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:13,557 INFO L290 TraceCheckUtils]: 18: Hoare triple {20228#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {20247#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:13,558 INFO L290 TraceCheckUtils]: 19: Hoare triple {20247#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|))) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {20251#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} is VALID [2022-02-20 23:40:13,559 INFO L290 TraceCheckUtils]: 20: Hoare triple {20251#(and (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {20255#(and (= |ULTIMATE.start_cstrncat_#t~mem2#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} is VALID [2022-02-20 23:40:13,560 INFO L290 TraceCheckUtils]: 21: Hoare triple {20255#(and (= |ULTIMATE.start_cstrncat_#t~mem2#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {20259#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} is VALID [2022-02-20 23:40:13,560 INFO L290 TraceCheckUtils]: 22: Hoare triple {20259#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {20259#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} is VALID [2022-02-20 23:40:13,561 INFO L290 TraceCheckUtils]: 23: Hoare triple {20259#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {20266#(and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (= |ULTIMATE.start_cstrncat_~s2#1.offset| (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0) 0))} is VALID [2022-02-20 23:40:13,562 INFO L290 TraceCheckUtils]: 24: Hoare triple {20266#(and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (= |ULTIMATE.start_cstrncat_~s2#1.offset| (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0) 0))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {20270#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0) 0) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))) (= |ULTIMATE.start_cstrncat_#t~mem5#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|))))} is VALID [2022-02-20 23:40:13,564 INFO L290 TraceCheckUtils]: 25: Hoare triple {20270#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 0) 0) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))) (= |ULTIMATE.start_cstrncat_#t~mem5#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|))))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {20274#(and (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (or (and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|))))))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} is VALID [2022-02-20 23:40:13,566 INFO L290 TraceCheckUtils]: 26: Hoare triple {20274#(and (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (or (and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|))))))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {20278#(and (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (or (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (or (and |ULTIMATE.start_cstrncat_#t~short6#1| (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|)) 0))) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|)) 0) (not |ULTIMATE.start_cstrncat_#t~short6#1|)))) (and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|) (not |ULTIMATE.start_cstrncat_#t~short6#1|))))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} is VALID [2022-02-20 23:40:13,567 INFO L290 TraceCheckUtils]: 27: Hoare triple {20278#(and (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (or (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (or (and |ULTIMATE.start_cstrncat_#t~short6#1| (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|)) 0))) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|)) 0) (not |ULTIMATE.start_cstrncat_#t~short6#1|)))) (and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|) (not |ULTIMATE.start_cstrncat_#t~short6#1|))))) (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {20282#(and (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|)) 0)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} is VALID [2022-02-20 23:40:13,568 INFO L290 TraceCheckUtils]: 28: Hoare triple {20282#(and (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|)) 0)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {20282#(and (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|)) 0)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} is VALID [2022-02-20 23:40:13,568 INFO L290 TraceCheckUtils]: 29: Hoare triple {20282#(and (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|)) 0)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= 0 (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|))) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|))))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {20289#(and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_#t~post4#1.offset|)) 0)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1))} is VALID [2022-02-20 23:40:13,569 INFO L290 TraceCheckUtils]: 30: Hoare triple {20289#(and (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_#t~post4#1.offset|)) 0)) (= |ULTIMATE.start_cstrncat_~s2#1.offset| (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) (+ (- 1) |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {20293#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (or (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (and (< 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))))} is VALID [2022-02-20 23:40:13,570 INFO L290 TraceCheckUtils]: 31: Hoare triple {20293#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (or (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (and (< 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {20293#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (or (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (and (< 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))))} is VALID [2022-02-20 23:40:13,570 INFO L290 TraceCheckUtils]: 32: Hoare triple {20293#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (or (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (and (< 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {20300#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (or (and (< 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (not |ULTIMATE.start_cstrncat_#t~short6#1|)) (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))))} is VALID [2022-02-20 23:40:13,571 INFO L290 TraceCheckUtils]: 33: Hoare triple {20300#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (or (and (< 1 (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (not |ULTIMATE.start_cstrncat_#t~short6#1|)) (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {20304#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:40:13,571 INFO L290 TraceCheckUtils]: 34: Hoare triple {20304#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {20304#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:40:13,572 INFO L290 TraceCheckUtils]: 35: Hoare triple {20304#(and (= (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset|) 1) (< |ULTIMATE.start_cstrncat_~s2#1.offset| (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {20311#(and (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 2) (< 2 (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))} is VALID [2022-02-20 23:40:13,572 INFO L290 TraceCheckUtils]: 36: Hoare triple {20311#(and (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 2) (< 2 (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {20172#false} is VALID [2022-02-20 23:40:13,572 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 0 proven. 13 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:40:13,572 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:40:14,437 INFO L356 Elim1Store]: treesize reduction 16, result has 66.7 percent of original size [2022-02-20 23:40:14,437 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 3 new quantified variables, introduced 4 case distinctions, treesize of input 69 treesize of output 85 [2022-02-20 23:40:14,456 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-02-20 23:40:14,456 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 1 case distinctions, treesize of input 49 treesize of output 51 [2022-02-20 23:40:14,464 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 7 [2022-02-20 23:40:14,510 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 4 [2022-02-20 23:40:14,542 INFO L173 IndexEqualityManager]: detected equality via solver [2022-02-20 23:40:14,548 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-02-20 23:40:14,549 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 3 select indices, 3 select index equivalence classes, 1 disjoint index pairs (out of 3 index pairs), introduced 3 new quantified variables, introduced 2 case distinctions, treesize of input 67 treesize of output 77 [2022-02-20 23:40:14,604 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 12 [2022-02-20 23:40:14,886 INFO L290 TraceCheckUtils]: 36: Hoare triple {20315#(and (<= 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {20172#false} is VALID [2022-02-20 23:40:14,886 INFO L290 TraceCheckUtils]: 35: Hoare triple {20319#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {20315#(and (<= 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_#t~post4#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_#t~post4#1.base|)))} is VALID [2022-02-20 23:40:14,887 INFO L290 TraceCheckUtils]: 34: Hoare triple {20319#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {20319#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:40:14,887 INFO L290 TraceCheckUtils]: 33: Hoare triple {20326#(or (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (not |ULTIMATE.start_cstrncat_#t~short6#1|))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {20319#(and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|))} is VALID [2022-02-20 23:40:14,888 INFO L290 TraceCheckUtils]: 32: Hoare triple {20330#(or (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {20326#(or (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (not |ULTIMATE.start_cstrncat_#t~short6#1|))} is VALID [2022-02-20 23:40:14,888 INFO L290 TraceCheckUtils]: 31: Hoare triple {20330#(or (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {20330#(or (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))} is VALID [2022-02-20 23:40:14,889 INFO L290 TraceCheckUtils]: 30: Hoare triple {20337#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0) (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {20330#(or (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))} is VALID [2022-02-20 23:40:14,889 INFO L290 TraceCheckUtils]: 29: Hoare triple {20341#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {20337#(or (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0) (and (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)))} is VALID [2022-02-20 23:40:14,889 INFO L290 TraceCheckUtils]: 28: Hoare triple {20341#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {20341#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} is VALID [2022-02-20 23:40:14,890 INFO L290 TraceCheckUtils]: 27: Hoare triple {20348#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (not |ULTIMATE.start_cstrncat_#t~short6#1|))} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {20341#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} is VALID [2022-02-20 23:40:14,890 INFO L290 TraceCheckUtils]: 26: Hoare triple {20352#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {20348#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (not |ULTIMATE.start_cstrncat_#t~short6#1|))} is VALID [2022-02-20 23:40:14,891 INFO L290 TraceCheckUtils]: 25: Hoare triple {20356#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {20352#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0))} is VALID [2022-02-20 23:40:14,891 INFO L290 TraceCheckUtils]: 24: Hoare triple {20360#(or (not (<= 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|)) (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {20356#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= |ULTIMATE.start_cstrncat_#t~mem5#1| 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)))} is VALID [2022-02-20 23:40:14,892 INFO L290 TraceCheckUtils]: 23: Hoare triple {20364#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {20360#(or (not (<= 0 |ULTIMATE.start_cstrncat_#t~post4#1.offset|)) (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)))} is VALID [2022-02-20 23:40:14,893 INFO L290 TraceCheckUtils]: 22: Hoare triple {20364#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {20364#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:40:14,893 INFO L290 TraceCheckUtils]: 21: Hoare triple {20371#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (not (= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {20364#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:40:14,895 INFO L290 TraceCheckUtils]: 20: Hoare triple {20375#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (forall ((|ULTIMATE.start_cstrncat_~s~0#1.base| Int) (v_ArrVal_508 (Array Int Int))) (or (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {20371#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (forall ((v_ArrVal_508 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0)) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)) (not (= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)))} is VALID [2022-02-20 23:40:14,896 INFO L290 TraceCheckUtils]: 19: Hoare triple {20379#(or (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~nondetString2~0#1.offset|) 0) (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (forall ((|ULTIMATE.start_cstrncat_~s~0#1.base| Int) (v_ArrVal_508 (Array Int Int))) (or (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) 0) (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~nondetString1~0#1.offset|) 0)))) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {20375#(or (not (<= 0 |ULTIMATE.start_cstrncat_~s2#1.offset|)) (forall ((|ULTIMATE.start_cstrncat_~s~0#1.base| Int) (v_ArrVal_508 (Array Int Int))) (or (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0) (<= (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s2#1.base|)))} is VALID [2022-02-20 23:40:14,897 INFO L290 TraceCheckUtils]: 18: Hoare triple {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {20379#(or (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) |ULTIMATE.start_main_~nondetString2~0#1.offset|) 0) (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (forall ((|ULTIMATE.start_cstrncat_~s~0#1.base| Int) (v_ArrVal_508 (Array Int Int))) (or (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_508) |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) 0) (not (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_main_~nondetString1~0#1.offset|) 0)))) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 3) (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|)))} is VALID [2022-02-20 23:40:14,897 INFO L290 TraceCheckUtils]: 17: Hoare triple {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:14,898 INFO L290 TraceCheckUtils]: 16: Hoare triple {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:14,898 INFO L290 TraceCheckUtils]: 15: Hoare triple {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:14,898 INFO L290 TraceCheckUtils]: 14: Hoare triple {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} havoc main_#t~nondet18#1; {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:14,899 INFO L290 TraceCheckUtils]: 13: Hoare triple {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:14,899 INFO L290 TraceCheckUtils]: 12: Hoare triple {20402#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (and (<= 0 (+ |ULTIMATE.start_main_~i~1#1| 1)) (or (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (<= 1 |ULTIMATE.start_main_~i~1#1|))))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {20383#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (= |ULTIMATE.start_main_~length2~0#1| 1) (and (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (= |ULTIMATE.start_main_~length2~0#1| 2)) (<= 3 |ULTIMATE.start_main_~length2~0#1|))} is VALID [2022-02-20 23:40:14,900 INFO L290 TraceCheckUtils]: 11: Hoare triple {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} main_~i~1#1 := 0; {20402#(or (not (<= 0 |ULTIMATE.start_main_~nondetString2~0#1.offset|)) (and (<= 0 (+ |ULTIMATE.start_main_~i~1#1| 1)) (or (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|) (<= 1 |ULTIMATE.start_main_~i~1#1|))))} is VALID [2022-02-20 23:40:14,900 INFO L290 TraceCheckUtils]: 10: Hoare triple {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} is VALID [2022-02-20 23:40:14,900 INFO L290 TraceCheckUtils]: 9: Hoare triple {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} is VALID [2022-02-20 23:40:14,901 INFO L290 TraceCheckUtils]: 8: Hoare triple {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} havoc main_#t~nondet16#1; {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} is VALID [2022-02-20 23:40:14,901 INFO L290 TraceCheckUtils]: 7: Hoare triple {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} is VALID [2022-02-20 23:40:14,901 INFO L290 TraceCheckUtils]: 6: Hoare triple {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} is VALID [2022-02-20 23:40:14,902 INFO L290 TraceCheckUtils]: 5: Hoare triple {20171#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {20406#(or (< |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~nondetString2~0#1.offset|))} is VALID [2022-02-20 23:40:14,902 INFO L290 TraceCheckUtils]: 4: Hoare triple {20171#true} assume !(main_~n~0#1 < 1); {20171#true} is VALID [2022-02-20 23:40:14,902 INFO L290 TraceCheckUtils]: 3: Hoare triple {20171#true} assume !(main_~length2~0#1 < 1); {20171#true} is VALID [2022-02-20 23:40:14,902 INFO L290 TraceCheckUtils]: 2: Hoare triple {20171#true} assume !(main_~length1~0#1 < 1); {20171#true} is VALID [2022-02-20 23:40:14,902 INFO L290 TraceCheckUtils]: 1: Hoare triple {20171#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {20171#true} is VALID [2022-02-20 23:40:14,902 INFO L290 TraceCheckUtils]: 0: Hoare triple {20171#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {20171#true} is VALID [2022-02-20 23:40:14,903 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 0 proven. 13 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:40:14,903 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [946003077] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:40:14,903 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:40:14,903 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [16, 18, 18] total 50 [2022-02-20 23:40:14,903 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1998770461] [2022-02-20 23:40:14,903 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:40:14,904 INFO L78 Accepts]: Start accepts. Automaton has has 50 states, 50 states have (on average 2.02) internal successors, (101), 50 states have internal predecessors, (101), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 37 [2022-02-20 23:40:14,904 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:40:14,904 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 50 states, 50 states have (on average 2.02) internal successors, (101), 50 states have internal predecessors, (101), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:14,965 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 101 edges. 101 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:14,965 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 50 states [2022-02-20 23:40:14,965 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:40:14,966 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 50 interpolants. [2022-02-20 23:40:14,966 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=237, Invalid=2210, Unknown=3, NotChecked=0, Total=2450 [2022-02-20 23:40:14,966 INFO L87 Difference]: Start difference. First operand 235 states and 265 transitions. Second operand has 50 states, 50 states have (on average 2.02) internal successors, (101), 50 states have internal predecessors, (101), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:16,060 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:16,061 INFO L93 Difference]: Finished difference Result 266 states and 296 transitions. [2022-02-20 23:40:16,061 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 40 states. [2022-02-20 23:40:16,061 INFO L78 Accepts]: Start accepts. Automaton has has 50 states, 50 states have (on average 2.02) internal successors, (101), 50 states have internal predecessors, (101), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 37 [2022-02-20 23:40:16,061 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:40:16,061 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 50 states, 50 states have (on average 2.02) internal successors, (101), 50 states have internal predecessors, (101), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:16,062 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 40 states and 97 transitions. [2022-02-20 23:40:16,062 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 50 states, 50 states have (on average 2.02) internal successors, (101), 50 states have internal predecessors, (101), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:16,062 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 40 states and 97 transitions. [2022-02-20 23:40:16,063 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 40 states and 97 transitions. [2022-02-20 23:40:16,121 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 97 edges. 97 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:16,124 INFO L225 Difference]: With dead ends: 266 [2022-02-20 23:40:16,124 INFO L226 Difference]: Without dead ends: 254 [2022-02-20 23:40:16,125 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 112 GetRequests, 43 SyntacticMatches, 0 SemanticMatches, 69 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 897 ImplicationChecksByTransitivity, 1.8s TimeCoverageRelationStatistics Valid=502, Invalid=4465, Unknown=3, NotChecked=0, Total=4970 [2022-02-20 23:40:16,126 INFO L933 BasicCegarLoop]: 18 mSDtfsCounter, 98 mSDsluCounter, 352 mSDsCounter, 0 mSdLazyCounter, 272 mSolverCounterSat, 14 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 98 SdHoareTripleChecker+Valid, 370 SdHoareTripleChecker+Invalid, 449 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 14 IncrementalHoareTripleChecker+Valid, 272 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 163 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2022-02-20 23:40:16,126 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [98 Valid, 370 Invalid, 449 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [14 Valid, 272 Invalid, 0 Unknown, 163 Unchecked, 0.2s Time] [2022-02-20 23:40:16,126 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 254 states. [2022-02-20 23:40:16,128 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 254 to 236. [2022-02-20 23:40:16,128 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:40:16,128 INFO L82 GeneralOperation]: Start isEquivalent. First operand 254 states. Second operand has 236 states, 232 states have (on average 1.146551724137931) internal successors, (266), 235 states have internal predecessors, (266), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:16,129 INFO L74 IsIncluded]: Start isIncluded. First operand 254 states. Second operand has 236 states, 232 states have (on average 1.146551724137931) internal successors, (266), 235 states have internal predecessors, (266), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:16,129 INFO L87 Difference]: Start difference. First operand 254 states. Second operand has 236 states, 232 states have (on average 1.146551724137931) internal successors, (266), 235 states have internal predecessors, (266), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:16,131 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:16,131 INFO L93 Difference]: Finished difference Result 254 states and 284 transitions. [2022-02-20 23:40:16,131 INFO L276 IsEmpty]: Start isEmpty. Operand 254 states and 284 transitions. [2022-02-20 23:40:16,132 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:16,132 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:16,132 INFO L74 IsIncluded]: Start isIncluded. First operand has 236 states, 232 states have (on average 1.146551724137931) internal successors, (266), 235 states have internal predecessors, (266), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 254 states. [2022-02-20 23:40:16,132 INFO L87 Difference]: Start difference. First operand has 236 states, 232 states have (on average 1.146551724137931) internal successors, (266), 235 states have internal predecessors, (266), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 254 states. [2022-02-20 23:40:16,135 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:16,135 INFO L93 Difference]: Finished difference Result 254 states and 284 transitions. [2022-02-20 23:40:16,135 INFO L276 IsEmpty]: Start isEmpty. Operand 254 states and 284 transitions. [2022-02-20 23:40:16,135 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:16,135 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:16,135 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:40:16,136 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:40:16,136 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 236 states, 232 states have (on average 1.146551724137931) internal successors, (266), 235 states have internal predecessors, (266), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:16,138 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 236 states to 236 states and 266 transitions. [2022-02-20 23:40:16,138 INFO L78 Accepts]: Start accepts. Automaton has 236 states and 266 transitions. Word has length 37 [2022-02-20 23:40:16,138 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:40:16,138 INFO L470 AbstractCegarLoop]: Abstraction has 236 states and 266 transitions. [2022-02-20 23:40:16,138 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 50 states, 50 states have (on average 2.02) internal successors, (101), 50 states have internal predecessors, (101), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:16,138 INFO L276 IsEmpty]: Start isEmpty. Operand 236 states and 266 transitions. [2022-02-20 23:40:16,139 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2022-02-20 23:40:16,139 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:40:16,139 INFO L514 BasicCegarLoop]: trace histogram [5, 5, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:40:16,173 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (14)] Forceful destruction successful, exit code 0 [2022-02-20 23:40:16,355 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 14 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable32 [2022-02-20 23:40:16,356 INFO L402 AbstractCegarLoop]: === Iteration 34 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:40:16,356 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:40:16,356 INFO L85 PathProgramCache]: Analyzing trace with hash 1211405073, now seen corresponding path program 7 times [2022-02-20 23:40:16,356 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:40:16,356 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1184704181] [2022-02-20 23:40:16,356 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:40:16,356 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:40:16,374 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:16,572 INFO L290 TraceCheckUtils]: 0: Hoare triple {21494#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {21494#true} is VALID [2022-02-20 23:40:16,572 INFO L290 TraceCheckUtils]: 1: Hoare triple {21494#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {21494#true} is VALID [2022-02-20 23:40:16,572 INFO L290 TraceCheckUtils]: 2: Hoare triple {21494#true} assume !(main_~length1~0#1 < 1); {21494#true} is VALID [2022-02-20 23:40:16,572 INFO L290 TraceCheckUtils]: 3: Hoare triple {21494#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {21494#true} is VALID [2022-02-20 23:40:16,573 INFO L290 TraceCheckUtils]: 4: Hoare triple {21494#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {21496#(<= 1 |ULTIMATE.start_main_~n~0#1|)} is VALID [2022-02-20 23:40:16,574 INFO L290 TraceCheckUtils]: 5: Hoare triple {21496#(<= 1 |ULTIMATE.start_main_~n~0#1|)} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {21497#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:40:16,574 INFO L290 TraceCheckUtils]: 6: Hoare triple {21497#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21497#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:40:16,575 INFO L290 TraceCheckUtils]: 7: Hoare triple {21497#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21497#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:40:16,575 INFO L290 TraceCheckUtils]: 8: Hoare triple {21497#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} havoc main_#t~nondet16#1; {21497#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:40:16,575 INFO L290 TraceCheckUtils]: 9: Hoare triple {21497#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 1 |ULTIMATE.start_main_~n~0#1|))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21498#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 2 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,576 INFO L290 TraceCheckUtils]: 10: Hoare triple {21498#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 2 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21498#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 2 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,576 INFO L290 TraceCheckUtils]: 11: Hoare triple {21498#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 2 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21498#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 2 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,577 INFO L290 TraceCheckUtils]: 12: Hoare triple {21498#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 2 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {21498#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 2 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,577 INFO L290 TraceCheckUtils]: 13: Hoare triple {21498#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 2 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21499#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 3 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)))} is VALID [2022-02-20 23:40:16,578 INFO L290 TraceCheckUtils]: 14: Hoare triple {21499#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 3 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21499#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 3 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)))} is VALID [2022-02-20 23:40:16,578 INFO L290 TraceCheckUtils]: 15: Hoare triple {21499#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 3 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21499#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 3 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)))} is VALID [2022-02-20 23:40:16,578 INFO L290 TraceCheckUtils]: 16: Hoare triple {21499#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 3 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)))} havoc main_#t~nondet16#1; {21499#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 3 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)))} is VALID [2022-02-20 23:40:16,579 INFO L290 TraceCheckUtils]: 17: Hoare triple {21499#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 3 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21500#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 4 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,579 INFO L290 TraceCheckUtils]: 18: Hoare triple {21500#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 4 (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,580 INFO L290 TraceCheckUtils]: 19: Hoare triple {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,580 INFO L290 TraceCheckUtils]: 20: Hoare triple {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,580 INFO L290 TraceCheckUtils]: 21: Hoare triple {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,581 INFO L290 TraceCheckUtils]: 22: Hoare triple {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,581 INFO L290 TraceCheckUtils]: 23: Hoare triple {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_~i~1#1 := 0; {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,581 INFO L290 TraceCheckUtils]: 24: Hoare triple {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,582 INFO L290 TraceCheckUtils]: 25: Hoare triple {21501#(and (= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 6 |ULTIMATE.start_main_~length1~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {21502#(and (<= 6 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,582 INFO L290 TraceCheckUtils]: 26: Hoare triple {21502#(and (<= 6 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {21502#(and (<= 6 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,583 INFO L290 TraceCheckUtils]: 27: Hoare triple {21502#(and (<= 6 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {21503#(and (<= 6 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,583 INFO L290 TraceCheckUtils]: 28: Hoare triple {21503#(and (<= 6 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21503#(and (<= 6 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:40:16,584 INFO L290 TraceCheckUtils]: 29: Hoare triple {21503#(and (<= 6 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21504#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:16,584 INFO L290 TraceCheckUtils]: 30: Hoare triple {21504#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21504#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:16,585 INFO L290 TraceCheckUtils]: 31: Hoare triple {21504#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21505#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:16,585 INFO L290 TraceCheckUtils]: 32: Hoare triple {21505#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21505#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:16,585 INFO L290 TraceCheckUtils]: 33: Hoare triple {21505#(and (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21506#(and (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:16,586 INFO L290 TraceCheckUtils]: 34: Hoare triple {21506#(and (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21506#(and (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:16,586 INFO L290 TraceCheckUtils]: 35: Hoare triple {21506#(and (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21507#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:40:16,587 INFO L290 TraceCheckUtils]: 36: Hoare triple {21507#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21507#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:40:16,587 INFO L290 TraceCheckUtils]: 37: Hoare triple {21507#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21508#(and (<= 5 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:16,588 INFO L290 TraceCheckUtils]: 38: Hoare triple {21508#(and (<= 5 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {21495#false} is VALID [2022-02-20 23:40:16,588 INFO L134 CoverageAnalysis]: Checked inductivity of 53 backedges. 6 proven. 47 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:40:16,588 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:40:16,588 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1184704181] [2022-02-20 23:40:16,588 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1184704181] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:40:16,589 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [202788794] [2022-02-20 23:40:16,589 INFO L93 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2022-02-20 23:40:16,589 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:40:16,589 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:40:16,590 INFO L229 MonitoredProcess]: Starting monitored process 15 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:40:16,607 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (15)] Waiting until timeout for monitored process [2022-02-20 23:40:16,691 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:16,692 INFO L263 TraceCheckSpWp]: Trace formula consists of 215 conjuncts, 48 conjunts are in the unsatisfiable core [2022-02-20 23:40:16,705 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:16,706 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:40:16,826 INFO L356 Elim1Store]: treesize reduction 11, result has 45.0 percent of original size [2022-02-20 23:40:16,826 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2022-02-20 23:40:18,241 INFO L290 TraceCheckUtils]: 0: Hoare triple {21494#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {21494#true} is VALID [2022-02-20 23:40:18,241 INFO L290 TraceCheckUtils]: 1: Hoare triple {21494#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {21494#true} is VALID [2022-02-20 23:40:18,242 INFO L290 TraceCheckUtils]: 2: Hoare triple {21494#true} assume !(main_~length1~0#1 < 1); {21494#true} is VALID [2022-02-20 23:40:18,242 INFO L290 TraceCheckUtils]: 3: Hoare triple {21494#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {21521#(<= |ULTIMATE.start_main_~length2~0#1| 1)} is VALID [2022-02-20 23:40:18,242 INFO L290 TraceCheckUtils]: 4: Hoare triple {21521#(<= |ULTIMATE.start_main_~length2~0#1| 1)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {21525#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~n~0#1|))} is VALID [2022-02-20 23:40:18,243 INFO L290 TraceCheckUtils]: 5: Hoare triple {21525#(and (<= |ULTIMATE.start_main_~length2~0#1| 1) (<= 1 |ULTIMATE.start_main_~n~0#1|))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {21529#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,244 INFO L290 TraceCheckUtils]: 6: Hoare triple {21529#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21529#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,245 INFO L290 TraceCheckUtils]: 7: Hoare triple {21529#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21529#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,246 INFO L290 TraceCheckUtils]: 8: Hoare triple {21529#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {21529#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,246 INFO L290 TraceCheckUtils]: 9: Hoare triple {21529#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 0 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21542#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,247 INFO L290 TraceCheckUtils]: 10: Hoare triple {21542#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21542#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,248 INFO L290 TraceCheckUtils]: 11: Hoare triple {21542#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21542#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,248 INFO L290 TraceCheckUtils]: 12: Hoare triple {21542#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {21542#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,249 INFO L290 TraceCheckUtils]: 13: Hoare triple {21542#(and (<= 1 |ULTIMATE.start_main_~i~0#1|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21555#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,250 INFO L290 TraceCheckUtils]: 14: Hoare triple {21555#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21555#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,251 INFO L290 TraceCheckUtils]: 15: Hoare triple {21555#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21555#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,251 INFO L290 TraceCheckUtils]: 16: Hoare triple {21555#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {21555#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,252 INFO L290 TraceCheckUtils]: 17: Hoare triple {21555#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 2 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21568#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 3 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,253 INFO L290 TraceCheckUtils]: 18: Hoare triple {21568#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (<= |ULTIMATE.start_main_~length1~0#1| (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)))) (<= 3 |ULTIMATE.start_main_~i~0#1|) (<= 1 |ULTIMATE.start_main_~n~0#1|) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,253 INFO L290 TraceCheckUtils]: 19: Hoare triple {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,254 INFO L290 TraceCheckUtils]: 20: Hoare triple {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,254 INFO L290 TraceCheckUtils]: 21: Hoare triple {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,255 INFO L290 TraceCheckUtils]: 22: Hoare triple {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,256 INFO L290 TraceCheckUtils]: 23: Hoare triple {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_~i~1#1 := 0; {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,256 INFO L290 TraceCheckUtils]: 24: Hoare triple {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,257 INFO L290 TraceCheckUtils]: 25: Hoare triple {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,258 INFO L290 TraceCheckUtils]: 26: Hoare triple {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,258 INFO L290 TraceCheckUtils]: 27: Hoare triple {21572#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) (or (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|) (< 5 (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|))))) (<= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {21600#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,259 INFO L290 TraceCheckUtils]: 28: Hoare triple {21600#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21604#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:40:18,259 INFO L290 TraceCheckUtils]: 29: Hoare triple {21604#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21608#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))))} is VALID [2022-02-20 23:40:18,260 INFO L290 TraceCheckUtils]: 30: Hoare triple {21608#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21608#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))))} is VALID [2022-02-20 23:40:18,261 INFO L290 TraceCheckUtils]: 31: Hoare triple {21608#(and (<= 1 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21615#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))))} is VALID [2022-02-20 23:40:18,261 INFO L290 TraceCheckUtils]: 32: Hoare triple {21615#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (or (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_~s~0#1.base| |ULTIMATE.start_main_~nondetString2~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21619#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} is VALID [2022-02-20 23:40:18,262 INFO L290 TraceCheckUtils]: 33: Hoare triple {21619#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (and (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1))) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (<= 2 |ULTIMATE.start_cstrncat_~s~0#1.offset|))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21623#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:18,262 INFO L290 TraceCheckUtils]: 34: Hoare triple {21623#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21623#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:18,263 INFO L290 TraceCheckUtils]: 35: Hoare triple {21623#(and (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (<= 3 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21630#(and (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 4))} is VALID [2022-02-20 23:40:18,264 INFO L290 TraceCheckUtils]: 36: Hoare triple {21630#(and (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 4))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21630#(and (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 4))} is VALID [2022-02-20 23:40:18,264 INFO L290 TraceCheckUtils]: 37: Hoare triple {21630#(and (<= 4 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 4))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21637#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 5 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 5))} is VALID [2022-02-20 23:40:18,265 INFO L290 TraceCheckUtils]: 38: Hoare triple {21637#(and (exists ((|ULTIMATE.start_main_~nondetString2~0#1.base| Int)) (<= (select |#length| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1)) (< 5 (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 5 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= |ULTIMATE.start_cstrncat_~s~0#1.offset| 5))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {21495#false} is VALID [2022-02-20 23:40:18,265 INFO L134 CoverageAnalysis]: Checked inductivity of 53 backedges. 15 proven. 38 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:40:18,265 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:40:19,646 INFO L290 TraceCheckUtils]: 38: Hoare triple {21641#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {21495#false} is VALID [2022-02-20 23:40:19,647 INFO L290 TraceCheckUtils]: 37: Hoare triple {21645#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21641#(and (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:19,647 INFO L290 TraceCheckUtils]: 36: Hoare triple {21645#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21645#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} is VALID [2022-02-20 23:40:19,648 INFO L290 TraceCheckUtils]: 35: Hoare triple {21652#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21645#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)))} is VALID [2022-02-20 23:40:19,649 INFO L290 TraceCheckUtils]: 34: Hoare triple {21652#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21652#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} is VALID [2022-02-20 23:40:19,649 INFO L290 TraceCheckUtils]: 33: Hoare triple {21659#(and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21652#(and (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)))} is VALID [2022-02-20 23:40:19,650 INFO L290 TraceCheckUtils]: 32: Hoare triple {21663#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21659#(and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:19,651 INFO L290 TraceCheckUtils]: 31: Hoare triple {21667#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21663#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} is VALID [2022-02-20 23:40:19,651 INFO L290 TraceCheckUtils]: 30: Hoare triple {21667#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21667#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} is VALID [2022-02-20 23:40:19,652 INFO L290 TraceCheckUtils]: 29: Hoare triple {21674#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 6) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {21667#(or (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 4)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} is VALID [2022-02-20 23:40:19,653 INFO L290 TraceCheckUtils]: 28: Hoare triple {21678#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 6) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {21674#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (and (<= 0 (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 5)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 6) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))))} is VALID [2022-02-20 23:40:19,654 INFO L290 TraceCheckUtils]: 27: Hoare triple {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {21678#(or (not (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|))) (not (<= 0 |ULTIMATE.start_cstrncat_~s~0#1.offset|)) (<= (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 6) (select |#length| |ULTIMATE.start_cstrncat_~s~0#1.base|)))} is VALID [2022-02-20 23:40:19,654 INFO L290 TraceCheckUtils]: 26: Hoare triple {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,655 INFO L290 TraceCheckUtils]: 25: Hoare triple {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,655 INFO L290 TraceCheckUtils]: 24: Hoare triple {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,656 INFO L290 TraceCheckUtils]: 23: Hoare triple {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_~i~1#1 := 0; {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,656 INFO L290 TraceCheckUtils]: 22: Hoare triple {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,657 INFO L290 TraceCheckUtils]: 21: Hoare triple {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,657 INFO L290 TraceCheckUtils]: 20: Hoare triple {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} havoc main_#t~nondet16#1; {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,658 INFO L290 TraceCheckUtils]: 19: Hoare triple {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,658 INFO L290 TraceCheckUtils]: 18: Hoare triple {21710#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21682#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,659 INFO L290 TraceCheckUtils]: 17: Hoare triple {21714#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21710#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (not (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|)) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,659 INFO L290 TraceCheckUtils]: 16: Hoare triple {21714#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} havoc main_#t~nondet16#1; {21714#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,660 INFO L290 TraceCheckUtils]: 15: Hoare triple {21714#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21714#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,660 INFO L290 TraceCheckUtils]: 14: Hoare triple {21714#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21714#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,661 INFO L290 TraceCheckUtils]: 13: Hoare triple {21727#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21714#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,662 INFO L290 TraceCheckUtils]: 12: Hoare triple {21727#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} havoc main_#t~nondet16#1; {21727#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,662 INFO L290 TraceCheckUtils]: 11: Hoare triple {21727#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21727#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,663 INFO L290 TraceCheckUtils]: 10: Hoare triple {21727#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21727#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,663 INFO L290 TraceCheckUtils]: 9: Hoare triple {21740#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {21727#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= |ULTIMATE.start_main_~length1~0#1| (+ 3 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|)) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)))} is VALID [2022-02-20 23:40:19,664 INFO L290 TraceCheckUtils]: 8: Hoare triple {21740#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4)))} havoc main_#t~nondet16#1; {21740#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4)))} is VALID [2022-02-20 23:40:19,664 INFO L290 TraceCheckUtils]: 7: Hoare triple {21740#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {21740#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4)))} is VALID [2022-02-20 23:40:19,665 INFO L290 TraceCheckUtils]: 6: Hoare triple {21740#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4)))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {21740#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4)))} is VALID [2022-02-20 23:40:19,666 INFO L290 TraceCheckUtils]: 5: Hoare triple {21753#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (< |ULTIMATE.start_main_~length2~0#1| 3))} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {21740#(or (< |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (< (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|) 3) (<= (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 6) (select |#length| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length1~0#1| (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 4)))} is VALID [2022-02-20 23:40:19,666 INFO L290 TraceCheckUtils]: 4: Hoare triple {21757#(< |ULTIMATE.start_main_~length2~0#1| 3)} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {21753#(and (<= 1 |ULTIMATE.start_main_~n~0#1|) (< |ULTIMATE.start_main_~length2~0#1| 3))} is VALID [2022-02-20 23:40:19,666 INFO L290 TraceCheckUtils]: 3: Hoare triple {21494#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {21757#(< |ULTIMATE.start_main_~length2~0#1| 3)} is VALID [2022-02-20 23:40:19,666 INFO L290 TraceCheckUtils]: 2: Hoare triple {21494#true} assume !(main_~length1~0#1 < 1); {21494#true} is VALID [2022-02-20 23:40:19,666 INFO L290 TraceCheckUtils]: 1: Hoare triple {21494#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {21494#true} is VALID [2022-02-20 23:40:19,666 INFO L290 TraceCheckUtils]: 0: Hoare triple {21494#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {21494#true} is VALID [2022-02-20 23:40:19,667 INFO L134 CoverageAnalysis]: Checked inductivity of 53 backedges. 28 proven. 25 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-02-20 23:40:19,667 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [202788794] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:40:19,667 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:40:19,667 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [14, 16, 16] total 44 [2022-02-20 23:40:19,667 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [532756872] [2022-02-20 23:40:19,667 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:40:19,667 INFO L78 Accepts]: Start accepts. Automaton has has 45 states, 44 states have (on average 2.522727272727273) internal successors, (111), 45 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 39 [2022-02-20 23:40:19,668 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:40:19,668 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 45 states, 44 states have (on average 2.522727272727273) internal successors, (111), 45 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:19,777 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 111 edges. 111 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:19,777 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 45 states [2022-02-20 23:40:19,777 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:40:19,777 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 45 interpolants. [2022-02-20 23:40:19,777 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=205, Invalid=1775, Unknown=0, NotChecked=0, Total=1980 [2022-02-20 23:40:19,778 INFO L87 Difference]: Start difference. First operand 236 states and 266 transitions. Second operand has 45 states, 44 states have (on average 2.522727272727273) internal successors, (111), 45 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:23,652 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:23,652 INFO L93 Difference]: Finished difference Result 430 states and 467 transitions. [2022-02-20 23:40:23,652 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 41 states. [2022-02-20 23:40:23,653 INFO L78 Accepts]: Start accepts. Automaton has has 45 states, 44 states have (on average 2.522727272727273) internal successors, (111), 45 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 39 [2022-02-20 23:40:23,653 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:40:23,653 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 45 states, 44 states have (on average 2.522727272727273) internal successors, (111), 45 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:23,654 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 242 transitions. [2022-02-20 23:40:23,654 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 45 states, 44 states have (on average 2.522727272727273) internal successors, (111), 45 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:23,655 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 242 transitions. [2022-02-20 23:40:23,655 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 41 states and 242 transitions. [2022-02-20 23:40:23,861 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 242 edges. 242 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:23,867 INFO L225 Difference]: With dead ends: 430 [2022-02-20 23:40:23,867 INFO L226 Difference]: Without dead ends: 420 [2022-02-20 23:40:23,868 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 135 GetRequests, 58 SyntacticMatches, 2 SemanticMatches, 75 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1213 ImplicationChecksByTransitivity, 2.1s TimeCoverageRelationStatistics Valid=781, Invalid=5071, Unknown=0, NotChecked=0, Total=5852 [2022-02-20 23:40:23,869 INFO L933 BasicCegarLoop]: 71 mSDtfsCounter, 446 mSDsluCounter, 1143 mSDsCounter, 0 mSdLazyCounter, 1038 mSolverCounterSat, 69 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.9s Time, 0 mProtectedPredicate, 0 mProtectedAction, 446 SdHoareTripleChecker+Valid, 1214 SdHoareTripleChecker+Invalid, 1694 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 69 IncrementalHoareTripleChecker+Valid, 1038 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 587 IncrementalHoareTripleChecker+Unchecked, 0.9s IncrementalHoareTripleChecker+Time [2022-02-20 23:40:23,869 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [446 Valid, 1214 Invalid, 1694 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [69 Valid, 1038 Invalid, 0 Unknown, 587 Unchecked, 0.9s Time] [2022-02-20 23:40:23,870 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 420 states. [2022-02-20 23:40:23,872 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 420 to 263. [2022-02-20 23:40:23,872 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:40:23,873 INFO L82 GeneralOperation]: Start isEquivalent. First operand 420 states. Second operand has 263 states, 259 states have (on average 1.138996138996139) internal successors, (295), 262 states have internal predecessors, (295), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:23,873 INFO L74 IsIncluded]: Start isIncluded. First operand 420 states. Second operand has 263 states, 259 states have (on average 1.138996138996139) internal successors, (295), 262 states have internal predecessors, (295), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:23,873 INFO L87 Difference]: Start difference. First operand 420 states. Second operand has 263 states, 259 states have (on average 1.138996138996139) internal successors, (295), 262 states have internal predecessors, (295), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:23,879 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:23,879 INFO L93 Difference]: Finished difference Result 420 states and 455 transitions. [2022-02-20 23:40:23,879 INFO L276 IsEmpty]: Start isEmpty. Operand 420 states and 455 transitions. [2022-02-20 23:40:23,883 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:23,883 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:23,883 INFO L74 IsIncluded]: Start isIncluded. First operand has 263 states, 259 states have (on average 1.138996138996139) internal successors, (295), 262 states have internal predecessors, (295), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 420 states. [2022-02-20 23:40:23,900 INFO L87 Difference]: Start difference. First operand has 263 states, 259 states have (on average 1.138996138996139) internal successors, (295), 262 states have internal predecessors, (295), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 420 states. [2022-02-20 23:40:23,906 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:23,919 INFO L93 Difference]: Finished difference Result 420 states and 455 transitions. [2022-02-20 23:40:23,919 INFO L276 IsEmpty]: Start isEmpty. Operand 420 states and 455 transitions. [2022-02-20 23:40:23,921 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:23,921 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:23,921 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:40:23,921 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:40:23,922 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 263 states, 259 states have (on average 1.138996138996139) internal successors, (295), 262 states have internal predecessors, (295), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:23,924 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 263 states to 263 states and 295 transitions. [2022-02-20 23:40:23,924 INFO L78 Accepts]: Start accepts. Automaton has 263 states and 295 transitions. Word has length 39 [2022-02-20 23:40:23,924 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:40:23,925 INFO L470 AbstractCegarLoop]: Abstraction has 263 states and 295 transitions. [2022-02-20 23:40:23,925 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 45 states, 44 states have (on average 2.522727272727273) internal successors, (111), 45 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:23,925 INFO L276 IsEmpty]: Start isEmpty. Operand 263 states and 295 transitions. [2022-02-20 23:40:23,925 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 40 [2022-02-20 23:40:23,925 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:40:23,925 INFO L514 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:40:23,963 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (15)] Forceful destruction successful, exit code 0 [2022-02-20 23:40:24,126 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable33,15 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:40:24,126 INFO L402 AbstractCegarLoop]: === Iteration 35 === Targeting ULTIMATE.startErr11REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:40:24,126 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:40:24,126 INFO L85 PathProgramCache]: Analyzing trace with hash -22467999, now seen corresponding path program 1 times [2022-02-20 23:40:24,126 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:40:24,126 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [813451636] [2022-02-20 23:40:24,126 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:40:24,127 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:40:24,180 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:24,841 INFO L290 TraceCheckUtils]: 0: Hoare triple {23379#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {23379#true} is VALID [2022-02-20 23:40:24,841 INFO L290 TraceCheckUtils]: 1: Hoare triple {23379#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {23379#true} is VALID [2022-02-20 23:40:24,841 INFO L290 TraceCheckUtils]: 2: Hoare triple {23379#true} assume !(main_~length1~0#1 < 1); {23379#true} is VALID [2022-02-20 23:40:24,841 INFO L290 TraceCheckUtils]: 3: Hoare triple {23379#true} assume !(main_~length2~0#1 < 1); {23379#true} is VALID [2022-02-20 23:40:24,842 INFO L290 TraceCheckUtils]: 4: Hoare triple {23379#true} assume !(main_~n~0#1 < 1); {23379#true} is VALID [2022-02-20 23:40:24,843 INFO L290 TraceCheckUtils]: 5: Hoare triple {23379#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {23381#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1))) (not (= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)))))} is VALID [2022-02-20 23:40:24,843 INFO L290 TraceCheckUtils]: 6: Hoare triple {23381#(and (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1))) (not (= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)))))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {23382#(and (or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1))) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))) (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)))} is VALID [2022-02-20 23:40:24,844 INFO L290 TraceCheckUtils]: 7: Hoare triple {23382#(and (or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1))) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))) (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {23382#(and (or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1))) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))) (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)))} is VALID [2022-02-20 23:40:24,845 INFO L290 TraceCheckUtils]: 8: Hoare triple {23382#(and (or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1))) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))) (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)))} havoc main_#t~nondet16#1; {23382#(and (or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1))) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))) (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)))} is VALID [2022-02-20 23:40:24,846 INFO L290 TraceCheckUtils]: 9: Hoare triple {23382#(and (or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1))) (not (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))) (= |ULTIMATE.start_main_~i~0#1| 0) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {23383#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (and (<= |ULTIMATE.start_main_~i~0#1| 1) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|))) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1)) (or (<= (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1)))))} is VALID [2022-02-20 23:40:24,846 INFO L290 TraceCheckUtils]: 10: Hoare triple {23383#(and (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (and (<= |ULTIMATE.start_main_~i~0#1| 1) (<= (+ 2 |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|))) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1)) (or (<= (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1|)) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (or (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1)))))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {23384#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1)) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} is VALID [2022-02-20 23:40:24,847 INFO L290 TraceCheckUtils]: 11: Hoare triple {23384#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (or (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1)) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} main_~i~1#1 := 0; {23385#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1) (or (and (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= |ULTIMATE.start_main_~i~1#1| 0)) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2)))} is VALID [2022-02-20 23:40:24,847 INFO L290 TraceCheckUtils]: 12: Hoare triple {23385#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1) (or (and (<= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 1) (= |ULTIMATE.start_main_~i~1#1| 0)) (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2)))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} is VALID [2022-02-20 23:40:24,848 INFO L290 TraceCheckUtils]: 13: Hoare triple {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} is VALID [2022-02-20 23:40:24,848 INFO L290 TraceCheckUtils]: 14: Hoare triple {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} havoc main_#t~nondet18#1; {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} is VALID [2022-02-20 23:40:24,849 INFO L290 TraceCheckUtils]: 15: Hoare triple {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} is VALID [2022-02-20 23:40:24,849 INFO L290 TraceCheckUtils]: 16: Hoare triple {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} is VALID [2022-02-20 23:40:24,850 INFO L290 TraceCheckUtils]: 17: Hoare triple {23386#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (+ (- 1) |ULTIMATE.start_main_~nondetString1~0#1.offset| |ULTIMATE.start_main_~length1~0#1| (* (- 1) |ULTIMATE.start_main_~n~0#1|)) 1))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {23387#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:24,850 INFO L290 TraceCheckUtils]: 18: Hoare triple {23387#(and (= (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|) 2) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {23388#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) 0))} is VALID [2022-02-20 23:40:24,851 INFO L290 TraceCheckUtils]: 19: Hoare triple {23388#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString2~0#1.offset| 0) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) 1) 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:24,852 INFO L290 TraceCheckUtils]: 20: Hoare triple {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:24,852 INFO L290 TraceCheckUtils]: 21: Hoare triple {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:24,852 INFO L290 TraceCheckUtils]: 22: Hoare triple {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:24,853 INFO L290 TraceCheckUtils]: 23: Hoare triple {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:24,853 INFO L290 TraceCheckUtils]: 24: Hoare triple {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} is VALID [2022-02-20 23:40:24,854 INFO L290 TraceCheckUtils]: 25: Hoare triple {23389#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) 1) 0) (= |ULTIMATE.start_cstrncat_~s2#1.offset| 0))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {23390#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| (* (- 1) |ULTIMATE.start_cstrncat_#t~post4#1.offset|))) 0))} is VALID [2022-02-20 23:40:24,854 INFO L290 TraceCheckUtils]: 26: Hoare triple {23390#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= |ULTIMATE.start_cstrncat_#t~post4#1.offset| 0) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| (* (- 1) |ULTIMATE.start_cstrncat_#t~post4#1.offset|))) 0))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {23391#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} is VALID [2022-02-20 23:40:24,855 INFO L290 TraceCheckUtils]: 27: Hoare triple {23391#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:24,855 INFO L290 TraceCheckUtils]: 28: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:24,855 INFO L290 TraceCheckUtils]: 29: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:24,855 INFO L290 TraceCheckUtils]: 30: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:24,856 INFO L290 TraceCheckUtils]: 31: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {23393#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} is VALID [2022-02-20 23:40:24,856 INFO L290 TraceCheckUtils]: 32: Hoare triple {23393#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:40:24,856 INFO L290 TraceCheckUtils]: 33: Hoare triple {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:40:24,857 INFO L290 TraceCheckUtils]: 34: Hoare triple {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {23395#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:40:24,857 INFO L290 TraceCheckUtils]: 35: Hoare triple {23395#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {23380#false} is VALID [2022-02-20 23:40:24,857 INFO L290 TraceCheckUtils]: 36: Hoare triple {23380#false} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {23380#false} is VALID [2022-02-20 23:40:24,857 INFO L290 TraceCheckUtils]: 37: Hoare triple {23380#false} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {23380#false} is VALID [2022-02-20 23:40:24,857 INFO L290 TraceCheckUtils]: 38: Hoare triple {23380#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {23380#false} is VALID [2022-02-20 23:40:24,857 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 7 proven. 7 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2022-02-20 23:40:24,857 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:40:24,858 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [813451636] [2022-02-20 23:40:24,858 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [813451636] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:40:24,858 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [424063276] [2022-02-20 23:40:24,858 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:40:24,858 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:40:24,858 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:40:24,872 INFO L229 MonitoredProcess]: Starting monitored process 16 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:40:24,910 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (16)] Waiting until timeout for monitored process [2022-02-20 23:40:24,981 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:24,982 INFO L263 TraceCheckSpWp]: Trace formula consists of 221 conjuncts, 53 conjunts are in the unsatisfiable core [2022-02-20 23:40:24,993 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:24,995 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:40:25,015 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2022-02-20 23:40:25,337 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 14 treesize of output 10 [2022-02-20 23:40:25,992 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 14 treesize of output 16 [2022-02-20 23:40:26,034 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 7 [2022-02-20 23:40:26,046 INFO L290 TraceCheckUtils]: 0: Hoare triple {23379#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {23379#true} is VALID [2022-02-20 23:40:26,047 INFO L290 TraceCheckUtils]: 1: Hoare triple {23379#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {23379#true} is VALID [2022-02-20 23:40:26,047 INFO L290 TraceCheckUtils]: 2: Hoare triple {23379#true} assume !(main_~length1~0#1 < 1); {23379#true} is VALID [2022-02-20 23:40:26,047 INFO L290 TraceCheckUtils]: 3: Hoare triple {23379#true} assume !(main_~length2~0#1 < 1); {23379#true} is VALID [2022-02-20 23:40:26,047 INFO L290 TraceCheckUtils]: 4: Hoare triple {23379#true} assume !(main_~n~0#1 < 1); {23379#true} is VALID [2022-02-20 23:40:26,048 INFO L290 TraceCheckUtils]: 5: Hoare triple {23379#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {23414#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 0))} is VALID [2022-02-20 23:40:26,048 INFO L290 TraceCheckUtils]: 6: Hoare triple {23414#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {23414#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 0))} is VALID [2022-02-20 23:40:26,049 INFO L290 TraceCheckUtils]: 7: Hoare triple {23414#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {23414#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 0))} is VALID [2022-02-20 23:40:26,049 INFO L290 TraceCheckUtils]: 8: Hoare triple {23414#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 0))} havoc main_#t~nondet16#1; {23414#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 0))} is VALID [2022-02-20 23:40:26,050 INFO L290 TraceCheckUtils]: 9: Hoare triple {23414#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {23427#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:40:26,050 INFO L290 TraceCheckUtils]: 10: Hoare triple {23427#(and (<= (+ |ULTIMATE.start_main_~length2~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 1))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {23431#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,050 INFO L290 TraceCheckUtils]: 11: Hoare triple {23431#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2))} main_~i~1#1 := 0; {23435#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,051 INFO L290 TraceCheckUtils]: 12: Hoare triple {23435#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 0 |ULTIMATE.start_main_~i~1#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,051 INFO L290 TraceCheckUtils]: 13: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,052 INFO L290 TraceCheckUtils]: 14: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} havoc main_#t~nondet18#1; {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,052 INFO L290 TraceCheckUtils]: 15: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,053 INFO L290 TraceCheckUtils]: 16: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,053 INFO L290 TraceCheckUtils]: 17: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,054 INFO L290 TraceCheckUtils]: 18: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {23458#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} is VALID [2022-02-20 23:40:26,055 INFO L290 TraceCheckUtils]: 19: Hoare triple {23458#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ (- 1) |ULTIMATE.start_main_~nondetString2~0#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} is VALID [2022-02-20 23:40:26,055 INFO L290 TraceCheckUtils]: 20: Hoare triple {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} is VALID [2022-02-20 23:40:26,056 INFO L290 TraceCheckUtils]: 21: Hoare triple {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} is VALID [2022-02-20 23:40:26,056 INFO L290 TraceCheckUtils]: 22: Hoare triple {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} is VALID [2022-02-20 23:40:26,057 INFO L290 TraceCheckUtils]: 23: Hoare triple {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} is VALID [2022-02-20 23:40:26,057 INFO L290 TraceCheckUtils]: 24: Hoare triple {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} is VALID [2022-02-20 23:40:26,058 INFO L290 TraceCheckUtils]: 25: Hoare triple {23462#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (exists ((|ULTIMATE.start_main_~length2~0#1| Int)) (and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) (+ (- 1) |ULTIMATE.start_cstrncat_~s2#1.offset| |ULTIMATE.start_main_~length2~0#1|)) 0) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {23391#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} is VALID [2022-02-20 23:40:26,059 INFO L290 TraceCheckUtils]: 26: Hoare triple {23391#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {23391#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} is VALID [2022-02-20 23:40:26,059 INFO L290 TraceCheckUtils]: 27: Hoare triple {23391#(and (not (= |ULTIMATE.start_cstrncat_~s2#1.base| |ULTIMATE.start_cstrncat_~s~0#1.base|)) (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:26,059 INFO L290 TraceCheckUtils]: 28: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:26,060 INFO L290 TraceCheckUtils]: 29: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:26,060 INFO L290 TraceCheckUtils]: 30: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:26,060 INFO L290 TraceCheckUtils]: 31: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {23393#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} is VALID [2022-02-20 23:40:26,061 INFO L290 TraceCheckUtils]: 32: Hoare triple {23393#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:40:26,061 INFO L290 TraceCheckUtils]: 33: Hoare triple {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:40:26,062 INFO L290 TraceCheckUtils]: 34: Hoare triple {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {23395#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:40:26,062 INFO L290 TraceCheckUtils]: 35: Hoare triple {23395#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {23380#false} is VALID [2022-02-20 23:40:26,062 INFO L290 TraceCheckUtils]: 36: Hoare triple {23380#false} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {23380#false} is VALID [2022-02-20 23:40:26,062 INFO L290 TraceCheckUtils]: 37: Hoare triple {23380#false} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {23380#false} is VALID [2022-02-20 23:40:26,062 INFO L290 TraceCheckUtils]: 38: Hoare triple {23380#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {23380#false} is VALID [2022-02-20 23:40:26,062 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 6 proven. 8 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2022-02-20 23:40:26,063 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-02-20 23:40:26,097 WARN L838 $PredicateComparison]: unable to prove that (forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |c_#memory_int| |c_ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |c_ULTIMATE.start_cstrncat_~s2#1.base|) |c_ULTIMATE.start_cstrncat_~s2#1.offset|) 0)) is different from false [2022-02-20 23:40:26,108 WARN L838 $PredicateComparison]: unable to prove that (forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |c_#memory_int| |c_ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |c_ULTIMATE.start_cstrncat_~s2#1.base|) (+ |c_ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0)) is different from false [2022-02-20 23:40:26,134 WARN L838 $PredicateComparison]: unable to prove that (forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |c_#memory_int| |c_ULTIMATE.start_main_~nondetString1~0#1.base| v_ArrVal_583) |c_ULTIMATE.start_main_~nondetString2~0#1.base|) (+ |c_ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) 0)) is different from false [2022-02-20 23:40:26,147 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-02-20 23:40:26,148 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 23 treesize of output 24 [2022-02-20 23:40:26,156 INFO L356 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2022-02-20 23:40:26,157 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 1 case distinctions, treesize of input 37 treesize of output 37 [2022-02-20 23:40:26,159 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 7 [2022-02-20 23:40:26,494 INFO L290 TraceCheckUtils]: 38: Hoare triple {23380#false} assume !(1 + cstrncat_#t~post4#1.offset <= #length[cstrncat_#t~post4#1.base] && 0 <= cstrncat_#t~post4#1.offset); {23380#false} is VALID [2022-02-20 23:40:26,494 INFO L290 TraceCheckUtils]: 37: Hoare triple {23380#false} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {23380#false} is VALID [2022-02-20 23:40:26,494 INFO L290 TraceCheckUtils]: 36: Hoare triple {23380#false} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {23380#false} is VALID [2022-02-20 23:40:26,495 INFO L290 TraceCheckUtils]: 35: Hoare triple {23395#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {23380#false} is VALID [2022-02-20 23:40:26,495 INFO L290 TraceCheckUtils]: 34: Hoare triple {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {23395#(not |ULTIMATE.start_cstrncat_#t~short6#1|)} is VALID [2022-02-20 23:40:26,495 INFO L290 TraceCheckUtils]: 33: Hoare triple {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:40:26,496 INFO L290 TraceCheckUtils]: 32: Hoare triple {23393#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {23394#(= |ULTIMATE.start_cstrncat_#t~mem5#1| 0)} is VALID [2022-02-20 23:40:26,496 INFO L290 TraceCheckUtils]: 31: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {23393#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_#t~post4#1.base|) |ULTIMATE.start_cstrncat_#t~post4#1.offset|) 0)} is VALID [2022-02-20 23:40:26,496 INFO L290 TraceCheckUtils]: 30: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:26,497 INFO L290 TraceCheckUtils]: 29: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} assume !!cstrncat_#t~short6#1;havoc cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset;havoc cstrncat_#t~mem5#1;havoc cstrncat_#t~short6#1;cstrncat_#t~post7#1 := cstrncat_~n#1;cstrncat_~n#1 := cstrncat_#t~post7#1 - 1;havoc cstrncat_#t~post7#1;cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post8#1.base, 1 + cstrncat_#t~post8#1.offset;havoc cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset; {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:26,497 INFO L290 TraceCheckUtils]: 28: Hoare triple {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} cstrncat_#t~short6#1 := 0 != cstrncat_#t~mem5#1; {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:26,498 INFO L290 TraceCheckUtils]: 27: Hoare triple {23553#(forall ((v_ArrVal_583 (Array Int Int))) (= 0 (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|)))} SUMMARY for call write~int(cstrncat_#t~mem5#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L519-2 {23392#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|) 0)} is VALID [2022-02-20 23:40:26,498 INFO L290 TraceCheckUtils]: 26: Hoare triple {23553#(forall ((v_ArrVal_583 (Array Int Int))) (= 0 (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|)))} SUMMARY for call cstrncat_#t~mem5#1 := read~int(cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, 1); srcloc: L519-1 {23553#(forall ((v_ArrVal_583 (Array Int Int))) (= 0 (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|)))} is VALID [2022-02-20 23:40:26,499 INFO L290 TraceCheckUtils]: 25: Hoare triple {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} assume cstrncat_#t~short6#1;cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset := cstrncat_~s2#1.base, cstrncat_~s2#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#t~post4#1.base, 1 + cstrncat_#t~post4#1.offset; {23553#(forall ((v_ArrVal_583 (Array Int Int))) (= 0 (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) |ULTIMATE.start_cstrncat_~s2#1.offset|)))} is VALID [2022-02-20 23:40:26,499 INFO L290 TraceCheckUtils]: 24: Hoare triple {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} cstrncat_#t~short6#1 := 0 != cstrncat_~n#1; {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} is VALID [2022-02-20 23:40:26,500 INFO L290 TraceCheckUtils]: 23: Hoare triple {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} assume !(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1; {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} is VALID [2022-02-20 23:40:26,500 INFO L290 TraceCheckUtils]: 22: Hoare triple {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} is VALID [2022-02-20 23:40:26,500 INFO L290 TraceCheckUtils]: 21: Hoare triple {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} is VALID [2022-02-20 23:40:26,501 INFO L290 TraceCheckUtils]: 20: Hoare triple {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} is VALID [2022-02-20 23:40:26,501 INFO L290 TraceCheckUtils]: 19: Hoare triple {23579#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base| v_ArrVal_583) |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {23560#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base| v_ArrVal_583) |ULTIMATE.start_cstrncat_~s2#1.base|) (+ |ULTIMATE.start_cstrncat_~s2#1.offset| 1)) 0))} is VALID [2022-02-20 23:40:26,502 INFO L290 TraceCheckUtils]: 18: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {23579#(forall ((v_ArrVal_583 (Array Int Int))) (= (select (select (store |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base| v_ArrVal_583) |ULTIMATE.start_main_~nondetString2~0#1.base|) (+ |ULTIMATE.start_main_~nondetString2~0#1.offset| 1)) 0))} is VALID [2022-02-20 23:40:26,503 INFO L290 TraceCheckUtils]: 17: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,503 INFO L290 TraceCheckUtils]: 16: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,503 INFO L290 TraceCheckUtils]: 15: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} main_#t~post17#1 := main_~i~1#1;main_~i~1#1 := 1 + main_#t~post17#1;havoc main_#t~post17#1; {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,504 INFO L290 TraceCheckUtils]: 14: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} havoc main_#t~nondet18#1; {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,504 INFO L290 TraceCheckUtils]: 13: Hoare triple {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} SUMMARY for call write~int(main_#t~nondet18#1, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + main_~i~1#1, 1); srcloc: L551 {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,505 INFO L290 TraceCheckUtils]: 12: Hoare triple {23601#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (not (< (+ |ULTIMATE.start_main_~i~1#1| 1) |ULTIMATE.start_main_~length2~0#1|)))} assume !!(main_~i~1#1 < main_~length2~0#1 - 1);assume -128 <= main_#t~nondet18#1 && main_#t~nondet18#1 <= 127; {23439#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2))} is VALID [2022-02-20 23:40:26,506 INFO L290 TraceCheckUtils]: 11: Hoare triple {23605#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} main_~i~1#1 := 0; {23601#(or (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (< 1 |ULTIMATE.start_main_~length2~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (not (< (+ |ULTIMATE.start_main_~i~1#1| 1) |ULTIMATE.start_main_~length2~0#1|)))} is VALID [2022-02-20 23:40:26,506 INFO L290 TraceCheckUtils]: 10: Hoare triple {23609#(or (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {23605#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:40:26,507 INFO L290 TraceCheckUtils]: 9: Hoare triple {23613#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {23609#(or (< (+ |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1| 1) |ULTIMATE.start_main_~length1~0#1|) (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)))} is VALID [2022-02-20 23:40:26,508 INFO L290 TraceCheckUtils]: 8: Hoare triple {23613#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} havoc main_#t~nondet16#1; {23613#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:40:26,508 INFO L290 TraceCheckUtils]: 7: Hoare triple {23613#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {23613#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:40:26,509 INFO L290 TraceCheckUtils]: 6: Hoare triple {23613#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {23613#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:40:26,510 INFO L290 TraceCheckUtils]: 5: Hoare triple {23379#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {23613#(or (<= |ULTIMATE.start_main_~length2~0#1| 1) (and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~length2~0#1| 2)) (< (+ 2 |ULTIMATE.start_main_~i~0#1| |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|))} is VALID [2022-02-20 23:40:26,510 INFO L290 TraceCheckUtils]: 4: Hoare triple {23379#true} assume !(main_~n~0#1 < 1); {23379#true} is VALID [2022-02-20 23:40:26,510 INFO L290 TraceCheckUtils]: 3: Hoare triple {23379#true} assume !(main_~length2~0#1 < 1); {23379#true} is VALID [2022-02-20 23:40:26,510 INFO L290 TraceCheckUtils]: 2: Hoare triple {23379#true} assume !(main_~length1~0#1 < 1); {23379#true} is VALID [2022-02-20 23:40:26,510 INFO L290 TraceCheckUtils]: 1: Hoare triple {23379#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {23379#true} is VALID [2022-02-20 23:40:26,510 INFO L290 TraceCheckUtils]: 0: Hoare triple {23379#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {23379#true} is VALID [2022-02-20 23:40:26,511 INFO L134 CoverageAnalysis]: Checked inductivity of 16 backedges. 7 proven. 3 refuted. 0 times theorem prover too weak. 2 trivial. 4 not checked. [2022-02-20 23:40:26,511 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleZ3 [424063276] provided 0 perfect and 2 imperfect interpolant sequences [2022-02-20 23:40:26,511 INFO L191 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-02-20 23:40:26,511 INFO L204 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [17, 14, 14] total 31 [2022-02-20 23:40:26,511 INFO L118 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1030668387] [2022-02-20 23:40:26,511 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-02-20 23:40:26,512 INFO L78 Accepts]: Start accepts. Automaton has has 31 states, 31 states have (on average 2.4516129032258065) internal successors, (76), 31 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 39 [2022-02-20 23:40:26,512 INFO L84 Accepts]: Finished accepts. word is accepted. [2022-02-20 23:40:26,512 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with has 31 states, 31 states have (on average 2.4516129032258065) internal successors, (76), 31 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:26,581 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 76 edges. 76 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:26,581 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 31 states [2022-02-20 23:40:26,581 INFO L108 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-02-20 23:40:26,581 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 31 interpolants. [2022-02-20 23:40:26,581 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=117, Invalid=648, Unknown=3, NotChecked=162, Total=930 [2022-02-20 23:40:26,581 INFO L87 Difference]: Start difference. First operand 263 states and 295 transitions. Second operand has 31 states, 31 states have (on average 2.4516129032258065) internal successors, (76), 31 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:27,474 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:27,475 INFO L93 Difference]: Finished difference Result 280 states and 311 transitions. [2022-02-20 23:40:27,475 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 24 states. [2022-02-20 23:40:27,475 INFO L78 Accepts]: Start accepts. Automaton has has 31 states, 31 states have (on average 2.4516129032258065) internal successors, (76), 31 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 39 [2022-02-20 23:40:27,475 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-02-20 23:40:27,475 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 31 states, 31 states have (on average 2.4516129032258065) internal successors, (76), 31 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:27,476 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 91 transitions. [2022-02-20 23:40:27,476 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 31 states, 31 states have (on average 2.4516129032258065) internal successors, (76), 31 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:27,476 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 91 transitions. [2022-02-20 23:40:27,476 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 24 states and 91 transitions. [2022-02-20 23:40:27,521 INFO L122 InductivityCheck]: Floyd-Hoare automaton has 91 edges. 91 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2022-02-20 23:40:27,527 INFO L225 Difference]: With dead ends: 280 [2022-02-20 23:40:27,527 INFO L226 Difference]: Without dead ends: 255 [2022-02-20 23:40:27,532 INFO L932 BasicCegarLoop]: 0 DeclaredPredicates, 109 GetRequests, 64 SyntacticMatches, 4 SemanticMatches, 41 ConstructedPredicates, 3 IntricatePredicates, 0 DeprecatedPredicates, 342 ImplicationChecksByTransitivity, 0.8s TimeCoverageRelationStatistics Valid=252, Invalid=1317, Unknown=3, NotChecked=234, Total=1806 [2022-02-20 23:40:27,533 INFO L933 BasicCegarLoop]: 20 mSDtfsCounter, 118 mSDsluCounter, 290 mSDsCounter, 0 mSdLazyCounter, 355 mSolverCounterSat, 29 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 118 SdHoareTripleChecker+Valid, 310 SdHoareTripleChecker+Invalid, 587 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 29 IncrementalHoareTripleChecker+Valid, 355 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 203 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2022-02-20 23:40:27,533 INFO L934 BasicCegarLoop]: SdHoareTripleChecker [118 Valid, 310 Invalid, 587 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [29 Valid, 355 Invalid, 0 Unknown, 203 Unchecked, 0.2s Time] [2022-02-20 23:40:27,534 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 255 states. [2022-02-20 23:40:27,535 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 255 to 252. [2022-02-20 23:40:27,535 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2022-02-20 23:40:27,536 INFO L82 GeneralOperation]: Start isEquivalent. First operand 255 states. Second operand has 252 states, 248 states have (on average 1.1411290322580645) internal successors, (283), 251 states have internal predecessors, (283), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:27,536 INFO L74 IsIncluded]: Start isIncluded. First operand 255 states. Second operand has 252 states, 248 states have (on average 1.1411290322580645) internal successors, (283), 251 states have internal predecessors, (283), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:27,536 INFO L87 Difference]: Start difference. First operand 255 states. Second operand has 252 states, 248 states have (on average 1.1411290322580645) internal successors, (283), 251 states have internal predecessors, (283), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:27,539 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:27,539 INFO L93 Difference]: Finished difference Result 255 states and 286 transitions. [2022-02-20 23:40:27,539 INFO L276 IsEmpty]: Start isEmpty. Operand 255 states and 286 transitions. [2022-02-20 23:40:27,539 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:27,539 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:27,539 INFO L74 IsIncluded]: Start isIncluded. First operand has 252 states, 248 states have (on average 1.1411290322580645) internal successors, (283), 251 states have internal predecessors, (283), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 255 states. [2022-02-20 23:40:27,540 INFO L87 Difference]: Start difference. First operand has 252 states, 248 states have (on average 1.1411290322580645) internal successors, (283), 251 states have internal predecessors, (283), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand 255 states. [2022-02-20 23:40:27,542 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-02-20 23:40:27,542 INFO L93 Difference]: Finished difference Result 255 states and 286 transitions. [2022-02-20 23:40:27,543 INFO L276 IsEmpty]: Start isEmpty. Operand 255 states and 286 transitions. [2022-02-20 23:40:27,543 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2022-02-20 23:40:27,543 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2022-02-20 23:40:27,543 INFO L88 GeneralOperation]: Finished isEquivalent. [2022-02-20 23:40:27,543 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2022-02-20 23:40:27,543 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 252 states, 248 states have (on average 1.1411290322580645) internal successors, (283), 251 states have internal predecessors, (283), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:27,546 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 252 states to 252 states and 283 transitions. [2022-02-20 23:40:27,546 INFO L78 Accepts]: Start accepts. Automaton has 252 states and 283 transitions. Word has length 39 [2022-02-20 23:40:27,546 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-02-20 23:40:27,546 INFO L470 AbstractCegarLoop]: Abstraction has 252 states and 283 transitions. [2022-02-20 23:40:27,546 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 31 states, 31 states have (on average 2.4516129032258065) internal successors, (76), 31 states have internal predecessors, (76), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-02-20 23:40:27,546 INFO L276 IsEmpty]: Start isEmpty. Operand 252 states and 283 transitions. [2022-02-20 23:40:27,547 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 42 [2022-02-20 23:40:27,547 INFO L506 BasicCegarLoop]: Found error trace [2022-02-20 23:40:27,547 INFO L514 BasicCegarLoop]: trace histogram [6, 6, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-02-20 23:40:27,576 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (16)] Forceful destruction successful, exit code 0 [2022-02-20 23:40:27,760 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable34,16 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:40:27,760 INFO L402 AbstractCegarLoop]: === Iteration 36 === Targeting ULTIMATE.startErr9REQUIRES_VIOLATION === [ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION (and 15 more)] === [2022-02-20 23:40:27,761 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-02-20 23:40:27,761 INFO L85 PathProgramCache]: Analyzing trace with hash 224138538, now seen corresponding path program 8 times [2022-02-20 23:40:27,761 INFO L126 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-02-20 23:40:27,761 INFO L338 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1465915818] [2022-02-20 23:40:27,761 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-02-20 23:40:27,761 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-02-20 23:40:27,784 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:27,983 INFO L290 TraceCheckUtils]: 0: Hoare triple {24708#true} assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; {24708#true} is VALID [2022-02-20 23:40:27,983 INFO L290 TraceCheckUtils]: 1: Hoare triple {24708#true} assume { :end_inline_ULTIMATE.init } true;main_old_#valid#1 := #valid;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet10#1, main_#t~nondet11#1, main_#t~nondet12#1, main_#t~malloc13#1.base, main_#t~malloc13#1.offset, main_#t~malloc14#1.base, main_#t~malloc14#1.offset, main_#t~nondet16#1, main_#t~post15#1, main_~i~0#1, main_#t~nondet18#1, main_#t~post17#1, main_~i~1#1, main_#t~ret19#1.base, main_#t~ret19#1.offset, main_~length1~0#1, main_~length2~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset;assume -2147483648 <= main_#t~nondet10#1 && main_#t~nondet10#1 <= 2147483647;main_~length1~0#1 := main_#t~nondet10#1;havoc main_#t~nondet10#1;assume -2147483648 <= main_#t~nondet11#1 && main_#t~nondet11#1 <= 2147483647;main_~length2~0#1 := main_#t~nondet11#1;havoc main_#t~nondet11#1;assume -2147483648 <= main_#t~nondet12#1 && main_#t~nondet12#1 <= 2147483647;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; {24708#true} is VALID [2022-02-20 23:40:27,983 INFO L290 TraceCheckUtils]: 2: Hoare triple {24708#true} assume !(main_~length1~0#1 < 1); {24708#true} is VALID [2022-02-20 23:40:27,983 INFO L290 TraceCheckUtils]: 3: Hoare triple {24708#true} assume main_~length2~0#1 < 1;main_~length2~0#1 := 1; {24708#true} is VALID [2022-02-20 23:40:27,983 INFO L290 TraceCheckUtils]: 4: Hoare triple {24708#true} assume main_~n~0#1 < 1;main_~n~0#1 := 1; {24708#true} is VALID [2022-02-20 23:40:27,984 INFO L290 TraceCheckUtils]: 5: Hoare triple {24708#true} assume !(main_~length1~0#1 < main_~n~0#1 || main_~length1~0#1 - main_~n~0#1 < main_~length2~0#1);call main_#t~malloc13#1.base, main_#t~malloc13#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc13#1.base, main_#t~malloc13#1.offset;call main_#t~malloc14#1.base, main_#t~malloc14#1.offset := #Ultimate.allocOnStack(main_~length2~0#1);main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset := main_#t~malloc14#1.base, main_#t~malloc14#1.offset;main_~i~0#1 := 0; {24710#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,985 INFO L290 TraceCheckUtils]: 6: Hoare triple {24710#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {24710#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,985 INFO L290 TraceCheckUtils]: 7: Hoare triple {24710#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {24710#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,986 INFO L290 TraceCheckUtils]: 8: Hoare triple {24710#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {24710#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,986 INFO L290 TraceCheckUtils]: 9: Hoare triple {24710#(and (= |ULTIMATE.start_main_~i~0#1| 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {24711#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:40:27,986 INFO L290 TraceCheckUtils]: 10: Hoare triple {24711#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {24711#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:40:27,987 INFO L290 TraceCheckUtils]: 11: Hoare triple {24711#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {24711#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:40:27,987 INFO L290 TraceCheckUtils]: 12: Hoare triple {24711#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} havoc main_#t~nondet16#1; {24711#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} is VALID [2022-02-20 23:40:27,988 INFO L290 TraceCheckUtils]: 13: Hoare triple {24711#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= 1 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~i~0#1| 1))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {24712#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} is VALID [2022-02-20 23:40:27,988 INFO L290 TraceCheckUtils]: 14: Hoare triple {24712#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {24712#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} is VALID [2022-02-20 23:40:27,989 INFO L290 TraceCheckUtils]: 15: Hoare triple {24712#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {24712#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} is VALID [2022-02-20 23:40:27,989 INFO L290 TraceCheckUtils]: 16: Hoare triple {24712#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} havoc main_#t~nondet16#1; {24712#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} is VALID [2022-02-20 23:40:27,990 INFO L290 TraceCheckUtils]: 17: Hoare triple {24712#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 2) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= 2 |ULTIMATE.start_main_~i~0#1|))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {24713#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (<= 3 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,990 INFO L290 TraceCheckUtils]: 18: Hoare triple {24713#(and (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (<= 3 |ULTIMATE.start_main_~i~0#1|) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !!(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1);assume -128 <= main_#t~nondet16#1 && main_#t~nondet16#1 <= 127; {24714#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,991 INFO L290 TraceCheckUtils]: 19: Hoare triple {24714#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(main_#t~nondet16#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + main_~i~0#1, 1); srcloc: L546 {24714#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,991 INFO L290 TraceCheckUtils]: 20: Hoare triple {24714#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} havoc main_#t~nondet16#1; {24714#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,992 INFO L290 TraceCheckUtils]: 21: Hoare triple {24714#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 3) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1; {24715#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 4) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,992 INFO L290 TraceCheckUtils]: 22: Hoare triple {24715#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (<= |ULTIMATE.start_main_~i~0#1| 4) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume !(main_~i~0#1 < main_~length1~0#1 - main_~n~0#1 - 1); {24716#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ 5 |ULTIMATE.start_main_~n~0#1|)))} is VALID [2022-02-20 23:40:27,993 INFO L290 TraceCheckUtils]: 23: Hoare triple {24716#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ 5 |ULTIMATE.start_main_~n~0#1|)))} main_~i~1#1 := 0; {24716#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ 5 |ULTIMATE.start_main_~n~0#1|)))} is VALID [2022-02-20 23:40:27,993 INFO L290 TraceCheckUtils]: 24: Hoare triple {24716#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ 5 |ULTIMATE.start_main_~n~0#1|)))} assume !(main_~i~1#1 < main_~length2~0#1 - 1); {24716#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ 5 |ULTIMATE.start_main_~n~0#1|)))} is VALID [2022-02-20 23:40:27,994 INFO L290 TraceCheckUtils]: 25: Hoare triple {24716#(and (<= (+ 5 |ULTIMATE.start_main_~n~0#1|) |ULTIMATE.start_main_~length1~0#1|) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0) (<= |ULTIMATE.start_main_~length1~0#1| (+ 5 |ULTIMATE.start_main_~n~0#1|)))} SUMMARY for call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - main_~n~0#1 - 1), 1); srcloc: L549-4 {24717#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,995 INFO L290 TraceCheckUtils]: 26: Hoare triple {24717#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} SUMMARY for call write~int(0, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset + (main_~length2~0#1 - 1), 1); srcloc: L554 {24717#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,995 INFO L290 TraceCheckUtils]: 27: Hoare triple {24717#(and (= (select (select |#memory_int| |ULTIMATE.start_main_~nondetString1~0#1.base|) (+ |ULTIMATE.start_main_~nondetString1~0#1.offset| 4)) 0) (not (= |ULTIMATE.start_main_~nondetString2~0#1.base| |ULTIMATE.start_main_~nondetString1~0#1.base|)) (= |ULTIMATE.start_main_~nondetString1~0#1.offset| 0))} assume { :begin_inline_cstrncat } true;cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset, cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset, cstrncat_#in~n#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~nondetString2~0#1.base, main_~nondetString2~0#1.offset, main_~n~0#1;havoc cstrncat_#res#1.base, cstrncat_#res#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset, cstrncat_#t~mem2#1, cstrncat_#t~post7#1, cstrncat_#t~post8#1.base, cstrncat_#t~post8#1.offset, cstrncat_#t~post4#1.base, cstrncat_#t~post4#1.offset, cstrncat_#t~mem5#1, cstrncat_#t~short6#1, cstrncat_#t~mem9#1, cstrncat_~s1#1.base, cstrncat_~s1#1.offset, cstrncat_~s2#1.base, cstrncat_~s2#1.offset, cstrncat_~n#1, cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s1#1.base, cstrncat_~s1#1.offset := cstrncat_#in~s1#1.base, cstrncat_#in~s1#1.offset;cstrncat_~s2#1.base, cstrncat_~s2#1.offset := cstrncat_#in~s2#1.base, cstrncat_#in~s2#1.offset;cstrncat_~n#1 := cstrncat_#in~n#1;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_~s1#1.base, cstrncat_~s1#1.offset; {24718#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 4) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,996 INFO L290 TraceCheckUtils]: 28: Hoare triple {24718#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 4) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {24718#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 4) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} is VALID [2022-02-20 23:40:27,996 INFO L290 TraceCheckUtils]: 29: Hoare triple {24718#(and (= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) 4) 0) (= |ULTIMATE.start_cstrncat_~s~0#1.offset| 0))} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {24719#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) 0)} is VALID [2022-02-20 23:40:27,996 INFO L290 TraceCheckUtils]: 30: Hoare triple {24719#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {24719#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) 0)} is VALID [2022-02-20 23:40:27,997 INFO L290 TraceCheckUtils]: 31: Hoare triple {24719#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 3)) 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {24720#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0)} is VALID [2022-02-20 23:40:27,997 INFO L290 TraceCheckUtils]: 32: Hoare triple {24720#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {24720#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0)} is VALID [2022-02-20 23:40:27,998 INFO L290 TraceCheckUtils]: 33: Hoare triple {24720#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 2)) 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {24721#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} is VALID [2022-02-20 23:40:27,998 INFO L290 TraceCheckUtils]: 34: Hoare triple {24721#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {24721#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} is VALID [2022-02-20 23:40:27,999 INFO L290 TraceCheckUtils]: 35: Hoare triple {24721#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) (+ |ULTIMATE.start_cstrncat_~s~0#1.offset| 1)) 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {24722#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} is VALID [2022-02-20 23:40:27,999 INFO L290 TraceCheckUtils]: 36: Hoare triple {24722#(= (select (select |#memory_int| |ULTIMATE.start_cstrncat_~s~0#1.base|) |ULTIMATE.start_cstrncat_~s~0#1.offset|) 0)} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {24723#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} is VALID [2022-02-20 23:40:28,000 INFO L290 TraceCheckUtils]: 37: Hoare triple {24723#(= |ULTIMATE.start_cstrncat_#t~mem2#1| 0)} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {24709#false} is VALID [2022-02-20 23:40:28,000 INFO L290 TraceCheckUtils]: 38: Hoare triple {24709#false} SUMMARY for call cstrncat_#t~mem2#1 := read~int(cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset, 1); srcloc: L517-3 {24709#false} is VALID [2022-02-20 23:40:28,000 INFO L290 TraceCheckUtils]: 39: Hoare triple {24709#false} assume !!(0 != cstrncat_#t~mem2#1);havoc cstrncat_#t~mem2#1;cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset := cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset;cstrncat_~s~0#1.base, cstrncat_~s~0#1.offset := cstrncat_#t~post3#1.base, 1 + cstrncat_#t~post3#1.offset;havoc cstrncat_#t~post3#1.base, cstrncat_#t~post3#1.offset; {24709#false} is VALID [2022-02-20 23:40:28,000 INFO L290 TraceCheckUtils]: 40: Hoare triple {24709#false} assume !(1 + cstrncat_~s~0#1.offset <= #length[cstrncat_~s~0#1.base] && 0 <= cstrncat_~s~0#1.offset); {24709#false} is VALID [2022-02-20 23:40:28,000 INFO L134 CoverageAnalysis]: Checked inductivity of 64 backedges. 15 proven. 48 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2022-02-20 23:40:28,000 INFO L144 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-02-20 23:40:28,000 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1465915818] [2022-02-20 23:40:28,000 INFO L165 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1465915818] provided 0 perfect and 1 imperfect interpolant sequences [2022-02-20 23:40:28,000 INFO L338 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [865818646] [2022-02-20 23:40:28,000 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2022-02-20 23:40:28,000 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-02-20 23:40:28,000 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-02-20 23:40:28,002 INFO L229 MonitoredProcess]: Starting monitored process 17 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-02-20 23:40:28,003 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (17)] Waiting until timeout for monitored process [2022-02-20 23:40:28,095 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2022-02-20 23:40:28,095 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-02-20 23:40:28,097 INFO L263 TraceCheckSpWp]: Trace formula consists of 226 conjuncts, 59 conjunts are in the unsatisfiable core [2022-02-20 23:40:28,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-02-20 23:40:28,108 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-02-20 23:40:28,130 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8