./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 798a7b37 Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/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 19455853cda764ac85d99c02becba7d89023dbca8554ed2a57443899aa957d24 --- Real Ultimate output --- This is Ultimate 0.3.0-?-798a7b3-m [2025-03-04 03:05:58,505 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-04 03:05:58,564 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf [2025-03-04 03:05:58,570 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-04 03:05:58,570 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-04 03:05:58,587 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-04 03:05:58,587 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-04 03:05:58,588 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-04 03:05:58,588 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-03-04 03:05:58,588 INFO L153 SettingsManager]: * Use memory slicer=true [2025-03-04 03:05:58,588 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-04 03:05:58,588 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-04 03:05:58,588 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-04 03:05:58,589 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-04 03:05:58,589 INFO L153 SettingsManager]: * Use SBE=true [2025-03-04 03:05:58,589 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-04 03:05:58,589 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-03-04 03:05:58,589 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-04 03:05:58,589 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-04 03:05:58,589 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-03-04 03:05:58,589 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-04 03:05:58,591 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-03-04 03:05:58,591 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-03-04 03:05:58,591 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-04 03:05:58,591 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-04 03:05:58,591 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-04 03:05:58,591 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-04 03:05:58,591 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-03-04 03:05:58,591 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-04 03:05:58,591 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-04 03:05:58,592 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-04 03:05:58,592 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-04 03:05:58,592 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-03-04 03:05:58,592 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-03-04 03:05:58,592 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-03-04 03:05:58,592 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-03-04 03:05:58,592 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-04 03:05:58,592 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-04 03:05:58,592 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-04 03:05:58,592 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-04 03:05:58,593 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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 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 -> 19455853cda764ac85d99c02becba7d89023dbca8554ed2a57443899aa957d24 [2025-03-04 03:05:58,825 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-04 03:05:58,833 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-04 03:05:58,835 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-04 03:05:58,836 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-04 03:05:58,836 INFO L274 PluginConnector]: CDTParser initialized [2025-03-04 03:05:58,838 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i [2025-03-04 03:06:00,017 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/1759a188b/205c6407929b46198cf2b0954c1e3b56/FLAGbe1def275 [2025-03-04 03:06:00,395 INFO L384 CDTParser]: Found 1 translation units. [2025-03-04 03:06:00,396 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i [2025-03-04 03:06:00,426 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/1759a188b/205c6407929b46198cf2b0954c1e3b56/FLAGbe1def275 [2025-03-04 03:06:00,441 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/1759a188b/205c6407929b46198cf2b0954c1e3b56 [2025-03-04 03:06:00,444 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-04 03:06:00,445 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-04 03:06:00,446 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-04 03:06:00,446 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-04 03:06:00,450 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-04 03:06:00,451 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.03 03:06:00" (1/1) ... [2025-03-04 03:06:00,453 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3aeeed1f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:00, skipping insertion in model container [2025-03-04 03:06:00,453 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.03 03:06:00" (1/1) ... [2025-03-04 03:06:00,518 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-04 03:06:00,681 WARN L250 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_string_bytes_harness_negated.i[4490,4503] [2025-03-04 03:06:00,686 WARN L250 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_string_bytes_harness_negated.i[4550,4563] [2025-03-04 03:06:01,067 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,067 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,068 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,068 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,068 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,076 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,077 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,078 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,078 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,079 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,080 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,080 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,080 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,355 WARN L250 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_string_bytes_harness_negated.i[147662,147675] [2025-03-04 03:06:01,356 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-04 03:06:01,372 INFO L200 MainTranslator]: Completed pre-run [2025-03-04 03:06:01,381 WARN L250 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_string_bytes_harness_negated.i[4490,4503] [2025-03-04 03:06:01,381 WARN L250 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_string_bytes_harness_negated.i[4550,4563] [2025-03-04 03:06:01,417 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,417 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,417 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,418 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,418 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,429 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,430 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,431 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,432 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,433 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,433 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,433 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,434 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-04 03:06:01,512 WARN L250 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_string_bytes_harness_negated.i[147662,147675] [2025-03-04 03:06:01,515 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-04 03:06:01,655 INFO L204 MainTranslator]: Completed translation [2025-03-04 03:06:01,655 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01 WrapperNode [2025-03-04 03:06:01,656 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-04 03:06:01,656 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-04 03:06:01,656 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-04 03:06:01,657 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-04 03:06:01,660 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,711 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,734 INFO L138 Inliner]: procedures = 668, calls = 972, calls flagged for inlining = 46, calls inlined = 6, statements flattened = 61 [2025-03-04 03:06:01,734 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-04 03:06:01,735 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-04 03:06:01,735 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-04 03:06:01,735 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-04 03:06:01,741 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,741 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,743 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,761 INFO L175 MemorySlicer]: Split 13 memory accesses to 3 slices as follows [2, 5, 6]. 46 percent of accesses are in the largest equivalence class. The 7 initializations are split as follows [2, 5, 0]. The 3 writes are split as follows [0, 0, 3]. [2025-03-04 03:06:01,762 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,762 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,773 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,774 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,776 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,777 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,783 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-04 03:06:01,784 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-04 03:06:01,784 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-04 03:06:01,784 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-04 03:06:01,785 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (1/1) ... [2025-03-04 03:06:01,788 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-04 03:06:01,797 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-04 03:06:01,813 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-03-04 03:06:01,818 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-03-04 03:06:01,836 INFO L130 BoogieDeclarations]: Found specification of procedure aws_string_is_valid [2025-03-04 03:06:01,837 INFO L138 BoogieDeclarations]: Found implementation of procedure aws_string_is_valid [2025-03-04 03:06:01,837 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_bool [2025-03-04 03:06:01,837 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_bool [2025-03-04 03:06:01,837 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-03-04 03:06:01,837 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-03-04 03:06:01,837 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-03-04 03:06:01,838 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2025-03-04 03:06:01,838 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2025-03-04 03:06:01,838 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-03-04 03:06:01,838 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-04 03:06:01,838 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2025-03-04 03:06:01,838 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2025-03-04 03:06:01,838 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2025-03-04 03:06:01,838 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-04 03:06:01,838 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-04 03:06:01,839 INFO L130 BoogieDeclarations]: Found specification of procedure bounded_malloc [2025-03-04 03:06:01,839 INFO L138 BoogieDeclarations]: Found implementation of procedure bounded_malloc [2025-03-04 03:06:01,839 INFO L130 BoogieDeclarations]: Found specification of procedure aws_string_bytes [2025-03-04 03:06:01,839 INFO L138 BoogieDeclarations]: Found implementation of procedure aws_string_bytes [2025-03-04 03:06:01,839 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2025-03-04 03:06:01,839 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2025-03-04 03:06:01,839 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#0 [2025-03-04 03:06:01,839 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#1 [2025-03-04 03:06:01,839 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#2 [2025-03-04 03:06:01,839 INFO L130 BoogieDeclarations]: Found specification of procedure can_fail_allocator [2025-03-04 03:06:01,839 INFO L138 BoogieDeclarations]: Found implementation of procedure can_fail_allocator [2025-03-04 03:06:01,839 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_uint64_t [2025-03-04 03:06:01,839 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_uint64_t [2025-03-04 03:06:01,840 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-03-04 03:06:01,840 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-03-04 03:06:01,840 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-03-04 03:06:01,840 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-03-04 03:06:01,840 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-03-04 03:06:01,840 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-03-04 03:06:02,007 INFO L256 CfgBuilder]: Building ICFG [2025-03-04 03:06:02,009 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-04 03:06:02,042 INFO L1325 $ProcedureCfgBuilder]: dead code at ProgramPoint L6933: havoc #t~malloc583.base, #t~malloc583.offset; [2025-03-04 03:06:02,049 INFO L1325 $ProcedureCfgBuilder]: dead code at ProgramPoint L261: havoc #t~nondet4; [2025-03-04 03:06:02,069 INFO L1325 $ProcedureCfgBuilder]: dead code at ProgramPoint L6293: havoc #t~mem498;havoc #t~short499;havoc #t~mem500;havoc #t~mem501;havoc #t~short502; [2025-03-04 03:06:02,071 INFO L1325 $ProcedureCfgBuilder]: dead code at ProgramPoint L266: havoc #t~nondet9; [2025-03-04 03:06:02,134 INFO L1325 $ProcedureCfgBuilder]: dead code at ProgramPoint L6842: havoc ensure_string_is_allocated_nondet_length_#t~ret567#1.base, ensure_string_is_allocated_nondet_length_#t~ret567#1.offset; [2025-03-04 03:06:02,135 INFO L1325 $ProcedureCfgBuilder]: dead code at ProgramPoint L6850: havoc ensure_string_is_allocated_bounded_length_#t~ret569#1.base, ensure_string_is_allocated_bounded_length_#t~ret569#1.offset; [2025-03-04 03:06:02,163 INFO L? ?]: Removed 30 outVars from TransFormulas that were not future-live. [2025-03-04 03:06:02,164 INFO L307 CfgBuilder]: Performing block encoding [2025-03-04 03:06:02,170 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-03-04 03:06:02,170 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2025-03-04 03:06:02,172 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 04.03 03:06:02 BoogieIcfgContainer [2025-03-04 03:06:02,172 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-03-04 03:06:02,175 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-03-04 03:06:02,175 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-03-04 03:06:02,178 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-03-04 03:06:02,178 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 04.03 03:06:00" (1/3) ... [2025-03-04 03:06:02,179 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2218e604 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.03 03:06:02, skipping insertion in model container [2025-03-04 03:06:02,179 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.03 03:06:01" (2/3) ... [2025-03-04 03:06:02,179 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2218e604 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.03 03:06:02, skipping insertion in model container [2025-03-04 03:06:02,179 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 04.03 03:06:02" (3/3) ... [2025-03-04 03:06:02,181 INFO L128 eAbstractionObserver]: Analyzing ICFG aws_string_bytes_harness_negated.i [2025-03-04 03:06:02,193 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-03-04 03:06:02,194 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG aws_string_bytes_harness_negated.i that has 9 procedures, 63 locations, 1 initial locations, 0 loop locations, and 1 error locations. [2025-03-04 03:06:02,239 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-04 03:06:02,248 INFO L333 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, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@a23825f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-04 03:06:02,249 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2025-03-04 03:06:02,252 INFO L276 IsEmpty]: Start isEmpty. Operand has 63 states, 41 states have (on average 1.146341463414634) internal successors, (47), 42 states have internal predecessors, (47), 12 states have call successors, (12), 8 states have call predecessors, (12), 8 states have return successors, (12), 12 states have call predecessors, (12), 12 states have call successors, (12) [2025-03-04 03:06:02,257 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 56 [2025-03-04 03:06:02,257 INFO L210 NwaCegarLoop]: Found error trace [2025-03-04 03:06:02,258 INFO L218 NwaCegarLoop]: trace histogram [3, 3, 3, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-04 03:06:02,258 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-03-04 03:06:02,262 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-04 03:06:02,263 INFO L85 PathProgramCache]: Analyzing trace with hash 1798088701, now seen corresponding path program 1 times [2025-03-04 03:06:02,268 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-04 03:06:02,268 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [758366819] [2025-03-04 03:06:02,269 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-04 03:06:02,269 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-04 03:06:02,393 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-03-04 03:06:02,416 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-03-04 03:06:02,417 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-04 03:06:02,417 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-04 03:06:02,572 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2025-03-04 03:06:02,572 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-04 03:06:02,572 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [758366819] [2025-03-04 03:06:02,573 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [758366819] provided 0 perfect and 1 imperfect interpolant sequences [2025-03-04 03:06:02,573 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1372296469] [2025-03-04 03:06:02,573 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-04 03:06:02,573 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-04 03:06:02,573 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-04 03:06:02,575 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) [2025-03-04 03:06:02,577 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2025-03-04 03:06:02,673 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-03-04 03:06:02,720 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-03-04 03:06:02,720 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-04 03:06:02,720 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-04 03:06:02,722 INFO L256 TraceCheckSpWp]: Trace formula consists of 252 conjuncts, 1 conjuncts are in the unsatisfiable core [2025-03-04 03:06:02,729 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-03-04 03:06:02,743 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2025-03-04 03:06:02,744 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-03-04 03:06:02,744 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1372296469] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-04 03:06:02,744 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2025-03-04 03:06:02,745 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [2] total 2 [2025-03-04 03:06:02,747 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [923746376] [2025-03-04 03:06:02,747 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-04 03:06:02,751 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2025-03-04 03:06:02,751 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-04 03:06:02,766 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2025-03-04 03:06:02,766 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-03-04 03:06:02,768 INFO L87 Difference]: Start difference. First operand has 63 states, 41 states have (on average 1.146341463414634) internal successors, (47), 42 states have internal predecessors, (47), 12 states have call successors, (12), 8 states have call predecessors, (12), 8 states have return successors, (12), 12 states have call predecessors, (12), 12 states have call successors, (12) Second operand has 2 states, 2 states have (on average 17.0) internal successors, (34), 2 states have internal predecessors, (34), 2 states have call successors, (9), 2 states have call predecessors, (9), 2 states have return successors, (8), 2 states have call predecessors, (8), 2 states have call successors, (8) [2025-03-04 03:06:02,781 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-03-04 03:06:02,782 INFO L93 Difference]: Finished difference Result 118 states and 140 transitions. [2025-03-04 03:06:02,782 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-03-04 03:06:02,783 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 17.0) internal successors, (34), 2 states have internal predecessors, (34), 2 states have call successors, (9), 2 states have call predecessors, (9), 2 states have return successors, (8), 2 states have call predecessors, (8), 2 states have call successors, (8) Word has length 55 [2025-03-04 03:06:02,783 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2025-03-04 03:06:02,788 INFO L225 Difference]: With dead ends: 118 [2025-03-04 03:06:02,788 INFO L226 Difference]: Without dead ends: 58 [2025-03-04 03:06:02,790 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 56 GetRequests, 56 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-03-04 03:06:02,792 INFO L435 NwaCegarLoop]: 69 mSDtfsCounter, 0 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 0 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 0 SdHoareTripleChecker+Valid, 69 SdHoareTripleChecker+Invalid, 0 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 0 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2025-03-04 03:06:02,792 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 69 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 0 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2025-03-04 03:06:02,803 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 58 states. [2025-03-04 03:06:02,814 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 58 to 58. [2025-03-04 03:06:02,815 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 58 states, 37 states have (on average 1.1081081081081081) internal successors, (41), 38 states have internal predecessors, (41), 12 states have call successors, (12), 8 states have call predecessors, (12), 8 states have return successors, (11), 11 states have call predecessors, (11), 11 states have call successors, (11) [2025-03-04 03:06:02,822 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 58 states to 58 states and 64 transitions. [2025-03-04 03:06:02,823 INFO L78 Accepts]: Start accepts. Automaton has 58 states and 64 transitions. Word has length 55 [2025-03-04 03:06:02,823 INFO L84 Accepts]: Finished accepts. word is rejected. [2025-03-04 03:06:02,824 INFO L471 AbstractCegarLoop]: Abstraction has 58 states and 64 transitions. [2025-03-04 03:06:02,824 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 17.0) internal successors, (34), 2 states have internal predecessors, (34), 2 states have call successors, (9), 2 states have call predecessors, (9), 2 states have return successors, (8), 2 states have call predecessors, (8), 2 states have call successors, (8) [2025-03-04 03:06:02,824 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 64 transitions. [2025-03-04 03:06:02,825 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 56 [2025-03-04 03:06:02,825 INFO L210 NwaCegarLoop]: Found error trace [2025-03-04 03:06:02,825 INFO L218 NwaCegarLoop]: trace histogram [3, 3, 3, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-04 03:06:02,833 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2025-03-04 03:06:03,030 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable0 [2025-03-04 03:06:03,031 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-03-04 03:06:03,031 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-04 03:06:03,032 INFO L85 PathProgramCache]: Analyzing trace with hash 2051031898, now seen corresponding path program 1 times [2025-03-04 03:06:03,032 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-04 03:06:03,032 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1751386254] [2025-03-04 03:06:03,032 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-04 03:06:03,032 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-04 03:06:03,068 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-03-04 03:06:03,218 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-03-04 03:06:03,218 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-04 03:06:03,218 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-04 03:06:03,218 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-04 03:06:03,231 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-03-04 03:06:03,277 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-03-04 03:06:03,278 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-04 03:06:03,278 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-04 03:06:03,310 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-03-04 03:06:03,313 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-04 03:06:03,314 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2025-03-04 03:06:03,316 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-03-04 03:06:03,318 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1] [2025-03-04 03:06:03,350 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-03-04 03:06:03,352 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 04.03 03:06:03 BoogieIcfgContainer [2025-03-04 03:06:03,353 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-03-04 03:06:03,354 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-03-04 03:06:03,354 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-03-04 03:06:03,354 INFO L274 PluginConnector]: Witness Printer initialized [2025-03-04 03:06:03,355 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 04.03 03:06:02" (3/4) ... [2025-03-04 03:06:03,355 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-03-04 03:06:03,405 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 29. [2025-03-04 03:06:03,456 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-03-04 03:06:03,460 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2025-03-04 03:06:03,460 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-03-04 03:06:03,460 INFO L158 Benchmark]: Toolchain (without parser) took 3015.45ms. Allocated memory was 142.6MB in the beginning and 427.8MB in the end (delta: 285.2MB). Free memory was 107.2MB in the beginning and 273.4MB in the end (delta: -166.2MB). Peak memory consumption was 111.7MB. Max. memory is 16.1GB. [2025-03-04 03:06:03,461 INFO L158 Benchmark]: CDTParser took 0.25ms. Allocated memory is still 201.3MB. Free memory is still 123.9MB. There was no memory consumed. Max. memory is 16.1GB. [2025-03-04 03:06:03,461 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1209.64ms. Allocated memory is still 142.6MB. Free memory was 107.2MB in the beginning and 48.4MB in the end (delta: 58.7MB). Peak memory consumption was 85.7MB. Max. memory is 16.1GB. [2025-03-04 03:06:03,461 INFO L158 Benchmark]: Boogie Procedure Inliner took 77.89ms. Allocated memory was 142.6MB in the beginning and 427.8MB in the end (delta: 285.2MB). Free memory was 48.4MB in the beginning and 386.8MB in the end (delta: -338.3MB). Peak memory consumption was 15.2MB. Max. memory is 16.1GB. [2025-03-04 03:06:03,462 INFO L158 Benchmark]: Boogie Preprocessor took 48.27ms. Allocated memory is still 427.8MB. Free memory was 386.8MB in the beginning and 383.6MB in the end (delta: 3.2MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-04 03:06:03,462 INFO L158 Benchmark]: IcfgBuilder took 388.10ms. Allocated memory is still 427.8MB. Free memory was 383.6MB in the beginning and 359.9MB in the end (delta: 23.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2025-03-04 03:06:03,462 INFO L158 Benchmark]: TraceAbstraction took 1178.71ms. Allocated memory is still 427.8MB. Free memory was 359.1MB in the beginning and 280.9MB in the end (delta: 78.2MB). Peak memory consumption was 83.9MB. Max. memory is 16.1GB. [2025-03-04 03:06:03,463 INFO L158 Benchmark]: Witness Printer took 105.99ms. Allocated memory is still 427.8MB. Free memory was 280.9MB in the beginning and 273.4MB in the end (delta: 7.4MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-04 03:06:03,464 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.25ms. Allocated memory is still 201.3MB. Free memory is still 123.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1209.64ms. Allocated memory is still 142.6MB. Free memory was 107.2MB in the beginning and 48.4MB in the end (delta: 58.7MB). Peak memory consumption was 85.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 77.89ms. Allocated memory was 142.6MB in the beginning and 427.8MB in the end (delta: 285.2MB). Free memory was 48.4MB in the beginning and 386.8MB in the end (delta: -338.3MB). Peak memory consumption was 15.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 48.27ms. Allocated memory is still 427.8MB. Free memory was 386.8MB in the beginning and 383.6MB in the end (delta: 3.2MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 388.10ms. Allocated memory is still 427.8MB. Free memory was 383.6MB in the beginning and 359.9MB in the end (delta: 23.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * TraceAbstraction took 1178.71ms. Allocated memory is still 427.8MB. Free memory was 359.1MB in the beginning and 280.9MB in the end (delta: 78.2MB). Peak memory consumption was 83.9MB. Max. memory is 16.1GB. * Witness Printer took 105.99ms. Allocated memory is still 427.8MB. Free memory was 280.9MB in the beginning and 273.4MB in the end (delta: 7.4MB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - CounterExampleResult [Line: 223]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L6505] static __thread int tl_last_error = 0; [L6913-L6918] static struct aws_allocator s_can_fail_allocator_static = { .mem_acquire = s_can_fail_malloc_allocator, .mem_release = s_can_fail_free_allocator, .mem_realloc = s_can_fail_realloc_allocator, .mem_calloc = s_can_fail_calloc_allocator, }; [L6913-L6918] static struct aws_allocator s_can_fail_allocator_static = { .mem_acquire = s_can_fail_malloc_allocator, .mem_release = s_can_fail_free_allocator, .mem_realloc = s_can_fail_realloc_allocator, .mem_calloc = s_can_fail_calloc_allocator, }; [L6913-L6918] static struct aws_allocator s_can_fail_allocator_static = { .mem_acquire = s_can_fail_malloc_allocator, .mem_release = s_can_fail_free_allocator, .mem_realloc = s_can_fail_realloc_allocator, .mem_calloc = s_can_fail_calloc_allocator, }; [L6913-L6918] static struct aws_allocator s_can_fail_allocator_static = { .mem_acquire = s_can_fail_malloc_allocator, .mem_release = s_can_fail_free_allocator, .mem_realloc = s_can_fail_realloc_allocator, .mem_calloc = s_can_fail_calloc_allocator, }; [L6913-L6918] static struct aws_allocator s_can_fail_allocator_static = { .mem_acquire = s_can_fail_malloc_allocator, .mem_release = s_can_fail_free_allocator, .mem_realloc = s_can_fail_realloc_allocator, .mem_calloc = s_can_fail_calloc_allocator, }; [L6913-L6918] static struct aws_allocator s_can_fail_allocator_static = { .mem_acquire = s_can_fail_malloc_allocator, .mem_release = s_can_fail_free_allocator, .mem_realloc = s_can_fail_realloc_allocator, .mem_calloc = s_can_fail_calloc_allocator, }; VAL [s_can_fail_allocator_static={4:0}, tl_last_error=0] [L7267] CALL aws_string_bytes_harness() [L7263] CALL, EXPR ensure_string_is_allocated_nondet_length() [L6842-L6844] CALL, EXPR ensure_string_is_allocated_bounded_length( (18446744073709551615UL) - 1 - sizeof(struct aws_string)) [L6848] CALL, EXPR nondet_uint64_t() VAL [s_can_fail_allocator_static={4:0}, tl_last_error=0] [L266] return __VERIFIER_nondet_ulong(); [L6848] RET, EXPR nondet_uint64_t() VAL [max_size=18446744073709551598U, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6848] size_t len = nondet_uint64_t(); [L6849] CALL assume_abort_if_not(len < max_size) VAL [\old(cond)=1, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L211] COND FALSE !(!cond) VAL [\old(cond)=1, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6849] RET assume_abort_if_not(len < max_size) VAL [len=0, max_size=18446744073709551598U, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6850] CALL, EXPR ensure_string_is_allocated(len) [L6854] CALL, EXPR bounded_malloc(sizeof(struct aws_string) + len + 1) VAL [\old(size)=17, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6930-L6932] CALL assume_abort_if_not(size <= ( (18446744073709551615UL) >> (8 + 1))) VAL [\old(cond)=1, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L211] COND FALSE !(!cond) VAL [\old(cond)=1, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6930-L6932] RET assume_abort_if_not(size <= ( (18446744073709551615UL) >> (8 + 1))) VAL [\old(size)=17, s_can_fail_allocator_static={4:0}, size=17, tl_last_error=0] [L6933] return malloc(size); [L6854] RET, EXPR bounded_malloc(sizeof(struct aws_string) + len + 1) VAL [len=0, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6854] struct aws_string *str = bounded_malloc(sizeof(struct aws_string) + len + 1); [L6857] CALL, EXPR nondet_bool() VAL [s_can_fail_allocator_static={4:0}, tl_last_error=0] [L261] return __VERIFIER_nondet_bool(); [L6857] RET, EXPR nondet_bool() VAL [len=0, s_can_fail_allocator_static={4:0}, str={-2:0}, tl_last_error=0] [L6857-L6858] EXPR nondet_bool() ? can_fail_allocator() : ((void *)0) VAL [len=0, s_can_fail_allocator_static={4:0}, str={-2:0}, tl_last_error=0] [L6857-L6858] *(struct aws_allocator **)(&str->allocator) = nondet_bool() ? can_fail_allocator() : ((void *)0) [L6860] *(size_t *)(&str->len) = len [L6861] *(uint8_t *)&str->bytes[len] = '\0' [L6862] return str; VAL [\result={-2:0}, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6850] RET, EXPR ensure_string_is_allocated(len) [L6850] return ensure_string_is_allocated(len); [L6842-L6844] RET, EXPR ensure_string_is_allocated_bounded_length( (18446744073709551615UL) - 1 - sizeof(struct aws_string)) [L6842-L6844] return ensure_string_is_allocated_bounded_length( (18446744073709551615UL) - 1 - sizeof(struct aws_string)); [L7263] RET, EXPR ensure_string_is_allocated_nondet_length() [L7263] struct aws_string *str = ensure_string_is_allocated_nondet_length(); [L7264] CALL, EXPR aws_string_bytes(str) VAL [\old(str)={-2:0}, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6281] CALL, EXPR aws_string_is_valid(str) VAL [\old(str)={-2:0}, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6293] EXPR str && ((((str->len + 1)) == 0) || ((&str->bytes[0]))) VAL [\old(str)={-2:0}, s_can_fail_allocator_static={4:0}, str={-2:0}, tl_last_error=0] [L6293] EXPR str && ((((str->len + 1)) == 0) || ((&str->bytes[0]))) [L6293] EXPR str->len [L6293] EXPR str && ((((str->len + 1)) == 0) || ((&str->bytes[0]))) VAL [\old(str)={-2:0}, s_can_fail_allocator_static={4:0}, str={-2:0}, tl_last_error=0] [L6293] EXPR str && ((((str->len + 1)) == 0) || ((&str->bytes[0]))) && str->bytes[str->len] == 0 VAL [\old(str)={-2:0}, s_can_fail_allocator_static={4:0}, str={-2:0}, tl_last_error=0] [L6293] EXPR str && ((((str->len + 1)) == 0) || ((&str->bytes[0]))) && str->bytes[str->len] == 0 [L6293] EXPR str->len [L6293] EXPR str->bytes[str->len] [L6293] EXPR str && ((((str->len + 1)) == 0) || ((&str->bytes[0]))) && str->bytes[str->len] == 0 VAL [\old(str)={-2:0}, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6293] return str && ((((str->len + 1)) == 0) || ((&str->bytes[0]))) && str->bytes[str->len] == 0; [L6281] RET, EXPR aws_string_is_valid(str) VAL [\old(str)={-2:0}, s_can_fail_allocator_static={4:0}, str={-2:0}, tl_last_error=0] [L6281] CALL assume_abort_if_not((aws_string_is_valid(str))) VAL [\old(cond)=1, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L211] COND FALSE !(!cond) VAL [\old(cond)=1, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L6281] RET assume_abort_if_not((aws_string_is_valid(str))) VAL [\old(str)={-2:0}, s_can_fail_allocator_static={4:0}, str={-2:0}, tl_last_error=0] [L6282] return str->bytes; VAL [\old(str)={-2:0}, \result={-2:16}, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L7264] RET, EXPR aws_string_bytes(str) VAL [s_can_fail_allocator_static={4:0}, str={-2:0}, tl_last_error=0] [L7264] CALL __VERIFIER_assert(!(aws_string_bytes(str) == str->bytes)) VAL [\old(cond)=0, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L223] COND TRUE !cond VAL [\old(cond)=0, s_can_fail_allocator_static={4:0}, tl_last_error=0] [L223] reach_error() VAL [\old(cond)=0, s_can_fail_allocator_static={4:0}, tl_last_error=0] - StatisticsResult: Ultimate Automizer benchmark data CFG has 9 procedures, 63 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 1.1s, OverallIterations: 2, TraceHistogramMax: 3, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 0 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 69 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 0 IncrementalHoareTripleChecker+Invalid, 0 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 69 mSDtfsCounter, 0 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 56 GetRequests, 56 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=63occurred in iteration=0, InterpolantAutomatonStates: 2, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 165 NumberOfCodeBlocks, 165 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 108 ConstructedInterpolants, 0 QuantifiedInterpolants, 108 SizeOfPredicates, 0 NumberOfNonLiveVariables, 252 ConjunctsInSsa, 1 ConjunctsInUnsatCore, 2 InterpolantComputations, 1 PerfectInterpolantSequences, 20/24 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2025-03-04 03:06:03,482 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE