./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/unreach-call.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 84cfde4a Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i -s /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 83ea83276c34d99791c615950bc2829f5984dafaf429e7a88fe36009fea1e8b3 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-84cfde4 [2024-10-11 14:43:51,741 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-11 14:43:51,808 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf [2024-10-11 14:43:51,812 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-11 14:43:51,812 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-11 14:43:51,837 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-11 14:43:51,839 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-11 14:43:51,840 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-11 14:43:51,840 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-11 14:43:51,842 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-11 14:43:51,842 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-11 14:43:51,842 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-11 14:43:51,843 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-11 14:43:51,843 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-11 14:43:51,845 INFO L153 SettingsManager]: * Use SBE=true [2024-10-11 14:43:51,845 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-11 14:43:51,846 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-11 14:43:51,846 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-11 14:43:51,846 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-11 14:43:51,846 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-11 14:43:51,846 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-11 14:43:51,847 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-11 14:43:51,848 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-11 14:43:51,848 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-11 14:43:51,848 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-11 14:43:51,849 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-11 14:43:51,849 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-11 14:43:51,849 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-11 14:43:51,850 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-11 14:43:51,850 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-11 14:43:51,850 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-11 14:43:51,850 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-11 14:43:51,851 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-11 14:43:51,851 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-11 14:43:51,851 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-11 14:43:51,851 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-11 14:43:51,852 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-11 14:43:51,852 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-11 14:43:51,852 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-11 14:43:51,852 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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-clean/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-clean/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 83ea83276c34d99791c615950bc2829f5984dafaf429e7a88fe36009fea1e8b3 [2024-10-11 14:43:52,100 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-11 14:43:52,126 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-11 14:43:52,130 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-11 14:43:52,131 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-11 14:43:52,132 INFO L274 PluginConnector]: CDTParser initialized [2024-10-11 14:43:52,133 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i [2024-10-11 14:43:53,606 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-11 14:43:54,075 INFO L384 CDTParser]: Found 1 translation units. [2024-10-11 14:43:54,075 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i [2024-10-11 14:43:54,122 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/b7a0963bd/8e26a74a1986477192d944e8d4e91bf6/FLAG09cd92fe6 [2024-10-11 14:43:54,140 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/b7a0963bd/8e26a74a1986477192d944e8d4e91bf6 [2024-10-11 14:43:54,143 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-11 14:43:54,146 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-11 14:43:54,148 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-11 14:43:54,149 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-11 14:43:54,153 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-11 14:43:54,154 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:43:54" (1/1) ... [2024-10-11 14:43:54,155 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@79699983 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:54, skipping insertion in model container [2024-10-11 14:43:54,155 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:43:54" (1/1) ... [2024-10-11 14:43:54,277 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 14:43:54,588 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4494,4507] [2024-10-11 14:43:54,596 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4554,4567] [2024-10-11 14:43:55,329 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,330 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,330 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,331 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,333 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,349 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,350 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,353 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,354 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,725 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,725 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,791 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,792 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:55,867 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:43:55,931 INFO L200 MainTranslator]: Completed pre-run [2024-10-11 14:43:55,947 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4494,4507] [2024-10-11 14:43:55,956 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4554,4567] [2024-10-11 14:43:56,002 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,003 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,003 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,003 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,004 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,010 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,011 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,012 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,012 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,166 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,167 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,221 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8283] [2024-10-11 14:43:56,223 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,223 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:43:56,236 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8769-8780] [2024-10-11 14:43:56,258 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:43:56,501 INFO L204 MainTranslator]: Completed translation [2024-10-11 14:43:56,502 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:56 WrapperNode [2024-10-11 14:43:56,502 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-11 14:43:56,503 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-11 14:43:56,503 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-11 14:43:56,503 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-11 14:43:56,510 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:56" (1/1) ... [2024-10-11 14:43:56,606 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8205]: Variable #t~ret1048 modified in procedure aws_byte_buf_from_c_str but not declared [2024-10-11 14:43:56,606 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8205]: Undeclared identifier #t~ret1048 in IdentifierExpression[#t~ret1048,] [2024-10-11 14:43:56,607 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8260]: Variable #t~ret1074 modified in procedure aws_byte_cursor_from_c_str but not declared [2024-10-11 14:43:56,607 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8260]: Undeclared identifier #t~ret1074 in IdentifierExpression[#t~ret1074,] [2024-10-11 14:43:56,614 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:43:56" (1/1) ... [2024-10-11 14:43:56,614 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-11 14:43:56,621 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-10-11 14:43:56,623 INFO L158 Benchmark]: Toolchain (without parser) took 2476.50ms. Allocated memory is still 159.4MB. Free memory was 82.5MB in the beginning and 72.0MB in the end (delta: 10.6MB). Peak memory consumption was 12.8MB. Max. memory is 16.1GB. [2024-10-11 14:43:56,624 INFO L158 Benchmark]: CDTParser took 0.23ms. Allocated memory is still 113.2MB. Free memory is still 75.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-11 14:43:56,624 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2354.09ms. Allocated memory is still 159.4MB. Free memory was 82.4MB in the beginning and 77.0MB in the end (delta: 5.4MB). Peak memory consumption was 65.2MB. Max. memory is 16.1GB. [2024-10-11 14:43:56,624 INFO L158 Benchmark]: Boogie Procedure Inliner took 110.99ms. Allocated memory is still 159.4MB. Free memory was 77.0MB in the beginning and 72.0MB in the end (delta: 5.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-10-11 14:43:56,628 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.23ms. Allocated memory is still 113.2MB. Free memory is still 75.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2354.09ms. Allocated memory is still 159.4MB. Free memory was 82.4MB in the beginning and 77.0MB in the end (delta: 5.4MB). Peak memory consumption was 65.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 110.99ms. Allocated memory is still 159.4MB. Free memory was 77.0MB in the beginning and 72.0MB in the end (delta: 5.0MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 8205]: Type Error Variable #t~ret1048 modified in procedure aws_byte_buf_from_c_str but not declared - TypeErrorResult [Line: 8205]: Type Error Undeclared identifier #t~ret1048 in IdentifierExpression[#t~ret1048,] - TypeErrorResult [Line: 8260]: Type Error Variable #t~ret1074 modified in procedure aws_byte_cursor_from_c_str but not declared - TypeErrorResult [Line: 8260]: Type Error Undeclared identifier #t~ret1074 in IdentifierExpression[#t~ret1074,] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 8283]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8283] - GenericResultAtLocation [Line: 8769]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8769-8780] RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i -s /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 83ea83276c34d99791c615950bc2829f5984dafaf429e7a88fe36009fea1e8b3 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-84cfde4 [2024-10-11 14:43:58,658 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-11 14:43:58,740 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Bitvector.epf [2024-10-11 14:43:58,746 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-11 14:43:58,747 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-11 14:43:58,770 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-11 14:43:58,771 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-11 14:43:58,771 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-11 14:43:58,772 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-11 14:43:58,775 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-11 14:43:58,775 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-11 14:43:58,776 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-11 14:43:58,776 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-11 14:43:58,777 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-11 14:43:58,777 INFO L153 SettingsManager]: * Use SBE=true [2024-10-11 14:43:58,777 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-11 14:43:58,777 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-11 14:43:58,778 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-11 14:43:58,779 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-11 14:43:58,779 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-11 14:43:58,779 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-11 14:43:58,780 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-11 14:43:58,780 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-10-11 14:43:58,780 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-11 14:43:58,781 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-10-11 14:43:58,781 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-11 14:43:58,781 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-11 14:43:58,782 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-11 14:43:58,782 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-11 14:43:58,783 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-11 14:43:58,783 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-11 14:43:58,784 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-11 14:43:58,784 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-11 14:43:58,784 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-11 14:43:58,785 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-11 14:43:58,785 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-10-11 14:43:58,785 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-10-11 14:43:58,786 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-11 14:43:58,786 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-11 14:43:58,786 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-11 14:43:58,786 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-11 14:43:58,786 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-10-11 14:43:58,787 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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-clean/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-clean/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 83ea83276c34d99791c615950bc2829f5984dafaf429e7a88fe36009fea1e8b3 [2024-10-11 14:43:59,119 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-11 14:43:59,138 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-11 14:43:59,141 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-11 14:43:59,142 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-11 14:43:59,142 INFO L274 PluginConnector]: CDTParser initialized [2024-10-11 14:43:59,144 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i [2024-10-11 14:44:00,675 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-11 14:44:01,166 INFO L384 CDTParser]: Found 1 translation units. [2024-10-11 14:44:01,166 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i [2024-10-11 14:44:01,211 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/f20430036/a8c12a6a4c424c16bff9b0ad6a9108f4/FLAGe407bb549 [2024-10-11 14:44:01,262 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/f20430036/a8c12a6a4c424c16bff9b0ad6a9108f4 [2024-10-11 14:44:01,265 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-11 14:44:01,267 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-11 14:44:01,271 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-11 14:44:01,285 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-11 14:44:01,292 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-11 14:44:01,293 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:44:01" (1/1) ... [2024-10-11 14:44:01,295 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3208f702 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:44:01, skipping insertion in model container [2024-10-11 14:44:01,296 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 02:44:01" (1/1) ... [2024-10-11 14:44:01,387 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 14:44:01,680 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4494,4507] [2024-10-11 14:44:01,688 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4554,4567] [2024-10-11 14:44:02,436 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,436 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,437 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,438 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,439 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,459 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,459 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,461 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,463 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,951 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:02,952 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,040 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,044 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,121 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:44:03,175 INFO L197 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2024-10-11 14:44:03,221 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 14:44:03,226 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4494,4507] [2024-10-11 14:44:03,227 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4554,4567] [2024-10-11 14:44:03,265 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,265 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,265 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,266 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,266 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,273 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,277 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,277 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,278 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,371 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,372 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,421 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,422 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,463 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:44:03,489 INFO L200 MainTranslator]: Completed pre-run [2024-10-11 14:44:03,505 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4494,4507] [2024-10-11 14:44:03,506 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_byte_buf_reserve_harness_negated.i[4554,4567] [2024-10-11 14:44:03,539 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,540 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,540 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,540 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,541 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,545 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,568 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,569 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,570 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,626 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,628 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,664 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8283] [2024-10-11 14:44:03,666 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,666 WARN L1659 CHandler]: Possible shadowing of function index [2024-10-11 14:44:03,703 WARN L75 lationResultReporter]: Unsoundness Warning: Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8769-8780] [2024-10-11 14:44:03,720 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 14:44:04,014 INFO L204 MainTranslator]: Completed translation [2024-10-11 14:44:04,015 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:44:04 WrapperNode [2024-10-11 14:44:04,015 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-11 14:44:04,020 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-11 14:44:04,020 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-11 14:44:04,020 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-11 14:44:04,035 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:44:04" (1/1) ... [2024-10-11 14:44:04,139 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8205]: Variable #t~ret1035 modified in procedure aws_byte_buf_from_c_str but not declared [2024-10-11 14:44:04,139 ERROR L1136 TypeChecker]: C: buf.len = (!c_str) ? 0 : strlen(c_str) [8205]: Undeclared identifier #t~ret1035 in IdentifierExpression[#t~ret1035,] [2024-10-11 14:44:04,144 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8260]: Variable #t~ret1061 modified in procedure aws_byte_cursor_from_c_str but not declared [2024-10-11 14:44:04,144 ERROR L1136 TypeChecker]: C: cur.len = (cur.ptr) ? strlen(c_str) : 0 [8260]: Undeclared identifier #t~ret1061 in IdentifierExpression[#t~ret1061,] [2024-10-11 14:44:04,147 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 02:44:04" (1/1) ... [2024-10-11 14:44:04,147 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-11 14:44:04,147 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2024-10-11 14:44:04,156 INFO L158 Benchmark]: Toolchain (without parser) took 2881.26ms. Allocated memory was 58.7MB in the beginning and 140.5MB in the end (delta: 81.8MB). Free memory was 23.4MB in the beginning and 73.4MB in the end (delta: -50.0MB). Peak memory consumption was 29.7MB. Max. memory is 16.1GB. [2024-10-11 14:44:04,157 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 41.9MB. Free memory was 18.5MB in the beginning and 18.4MB in the end (delta: 42.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-11 14:44:04,157 INFO L158 Benchmark]: CACSL2BoogieTranslator took 2748.79ms. Allocated memory was 58.7MB in the beginning and 140.5MB in the end (delta: 81.8MB). Free memory was 23.3MB in the beginning and 79.0MB in the end (delta: -55.6MB). Peak memory consumption was 61.3MB. Max. memory is 16.1GB. [2024-10-11 14:44:04,158 INFO L158 Benchmark]: Boogie Procedure Inliner took 127.42ms. Allocated memory is still 140.5MB. Free memory was 78.3MB in the beginning and 73.4MB in the end (delta: 4.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-10-11 14:44:04,159 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.18ms. Allocated memory is still 41.9MB. Free memory was 18.5MB in the beginning and 18.4MB in the end (delta: 42.0kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 2748.79ms. Allocated memory was 58.7MB in the beginning and 140.5MB in the end (delta: 81.8MB). Free memory was 23.3MB in the beginning and 79.0MB in the end (delta: -55.6MB). Peak memory consumption was 61.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 127.42ms. Allocated memory is still 140.5MB. Free memory was 78.3MB in the beginning and 73.4MB in the end (delta: 4.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - TypeErrorResult [Line: 8205]: Type Error Variable #t~ret1035 modified in procedure aws_byte_buf_from_c_str but not declared - TypeErrorResult [Line: 8205]: Type Error Undeclared identifier #t~ret1035 in IdentifierExpression[#t~ret1035,] - TypeErrorResult [Line: 8260]: Type Error Variable #t~ret1061 modified in procedure aws_byte_cursor_from_c_str but not declared - TypeErrorResult [Line: 8260]: Type Error Undeclared identifier #t~ret1061 in IdentifierExpression[#t~ret1061,] * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResultAtLocation [Line: 8283]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : "+r"(index)); [8283] - GenericResultAtLocation [Line: 8769]: Unsoundness Warning Ignoring inline assembler instruction C: __asm__ __volatile__("" : : "r"(pBuf) : "memory"); [8769-8780] RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: ERROR: TYPE ERROR