./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 c00e63dc Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/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-?-c00e63d-m [2025-02-06 05:24:22,734 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-06 05:24:22,796 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf [2025-02-06 05:24:22,801 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-06 05:24:22,804 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-06 05:24:22,824 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-06 05:24:22,825 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-06 05:24:22,825 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-06 05:24:22,825 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-06 05:24:22,825 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-06 05:24:22,825 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-06 05:24:22,825 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-06 05:24:22,826 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-06 05:24:22,826 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-06 05:24:22,826 INFO L153 SettingsManager]: * Use SBE=true [2025-02-06 05:24:22,826 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-06 05:24:22,826 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-02-06 05:24:22,826 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-06 05:24:22,826 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-06 05:24:22,826 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-02-06 05:24:22,826 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-06 05:24:22,827 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-02-06 05:24:22,827 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-02-06 05:24:22,827 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-06 05:24:22,827 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-06 05:24:22,827 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-06 05:24:22,827 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-06 05:24:22,827 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-06 05:24:22,827 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-06 05:24:22,827 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 05:24:22,827 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-06 05:24:22,827 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-06 05:24:22,828 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-02-06 05:24:22,828 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-02-06 05:24:22,828 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-02-06 05:24:22,828 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-02-06 05:24:22,828 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-06 05:24:22,828 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-06 05:24:22,828 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-06 05:24:22,828 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-06 05:24:22,828 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-jdk21/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-02-06 05:24:23,050 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-06 05:24:23,060 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-06 05:24:23,063 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-06 05:24:23,064 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-06 05:24:23,064 INFO L274 PluginConnector]: CDTParser initialized [2025-02-06 05:24:23,066 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i [2025-02-06 05:24:24,183 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/0843a8c83/b5ec76bcb3be42e6be2c60253442117a/FLAGca80980a0 [2025-02-06 05:24:24,575 INFO L384 CDTParser]: Found 1 translation units. [2025-02-06 05:24:24,575 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i [2025-02-06 05:24:24,597 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/0843a8c83/b5ec76bcb3be42e6be2c60253442117a/FLAGca80980a0 [2025-02-06 05:24:24,749 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/0843a8c83/b5ec76bcb3be42e6be2c60253442117a [2025-02-06 05:24:24,751 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-06 05:24:24,752 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-06 05:24:24,752 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-06 05:24:24,753 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-06 05:24:24,755 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-06 05:24:24,756 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 05:24:24" (1/1) ... [2025-02-06 05:24:24,756 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@11d2b6a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:24, skipping insertion in model container [2025-02-06 05:24:24,756 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 05:24:24" (1/1) ... [2025-02-06 05:24:24,813 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-06 05:24:24,987 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[4490,4503] [2025-02-06 05:24:24,995 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[4550,4563] [2025-02-06 05:24:25,414 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,414 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,414 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,415 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,416 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,425 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,425 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,426 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,426 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,427 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,428 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,428 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,428 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,697 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[147662,147675] [2025-02-06 05:24:25,702 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 05:24:25,715 INFO L200 MainTranslator]: Completed pre-run [2025-02-06 05:24:25,724 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[4490,4503] [2025-02-06 05:24:25,724 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[4550,4563] [2025-02-06 05:24:25,769 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,769 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,769 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,773 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,774 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,782 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,782 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,784 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,785 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,785 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,786 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,788 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,789 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-06 05:24:25,855 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[147662,147675] [2025-02-06 05:24:25,856 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 05:24:25,981 INFO L204 MainTranslator]: Completed translation [2025-02-06 05:24:25,981 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25 WrapperNode [2025-02-06 05:24:25,982 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-06 05:24:25,982 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-06 05:24:25,982 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-06 05:24:25,982 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-06 05:24:25,986 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,033 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,071 INFO L138 Inliner]: procedures = 668, calls = 972, calls flagged for inlining = 46, calls inlined = 6, statements flattened = 61 [2025-02-06 05:24:26,073 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-06 05:24:26,073 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-06 05:24:26,073 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-06 05:24:26,074 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-06 05:24:26,079 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,080 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,082 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,102 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-02-06 05:24:26,102 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,102 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,112 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,113 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,115 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,119 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,122 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-06 05:24:26,122 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-06 05:24:26,122 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-06 05:24:26,122 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-06 05:24:26,127 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (1/1) ... [2025-02-06 05:24:26,130 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 05:24:26,147 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 05:24:26,158 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-02-06 05:24:26,162 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-02-06 05:24:26,174 INFO L130 BoogieDeclarations]: Found specification of procedure aws_string_is_valid [2025-02-06 05:24:26,175 INFO L138 BoogieDeclarations]: Found implementation of procedure aws_string_is_valid [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_bool [2025-02-06 05:24:26,175 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_bool [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2025-02-06 05:24:26,175 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2025-02-06 05:24:26,175 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-06 05:24:26,176 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-06 05:24:26,176 INFO L130 BoogieDeclarations]: Found specification of procedure bounded_malloc [2025-02-06 05:24:26,176 INFO L138 BoogieDeclarations]: Found implementation of procedure bounded_malloc [2025-02-06 05:24:26,176 INFO L130 BoogieDeclarations]: Found specification of procedure aws_string_bytes [2025-02-06 05:24:26,176 INFO L138 BoogieDeclarations]: Found implementation of procedure aws_string_bytes [2025-02-06 05:24:26,176 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2025-02-06 05:24:26,176 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2025-02-06 05:24:26,176 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#0 [2025-02-06 05:24:26,176 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#1 [2025-02-06 05:24:26,176 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#2 [2025-02-06 05:24:26,176 INFO L130 BoogieDeclarations]: Found specification of procedure can_fail_allocator [2025-02-06 05:24:26,176 INFO L138 BoogieDeclarations]: Found implementation of procedure can_fail_allocator [2025-02-06 05:24:26,176 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_uint64_t [2025-02-06 05:24:26,176 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_uint64_t [2025-02-06 05:24:26,176 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-02-06 05:24:26,177 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-02-06 05:24:26,177 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-02-06 05:24:26,177 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-02-06 05:24:26,177 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-02-06 05:24:26,177 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-02-06 05:24:26,313 INFO L257 CfgBuilder]: Building ICFG [2025-02-06 05:24:26,314 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-06 05:24:26,336 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L6933: havoc #t~malloc583.base, #t~malloc583.offset; [2025-02-06 05:24:26,342 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L261: havoc #t~nondet4; [2025-02-06 05:24:26,356 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L6293: havoc #t~mem498;havoc #t~short499;havoc #t~mem500;havoc #t~mem501;havoc #t~short502; [2025-02-06 05:24:26,358 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L266: havoc #t~nondet9; [2025-02-06 05:24:26,434 INFO L1309 $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-02-06 05:24:26,436 INFO L1309 $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-02-06 05:24:26,462 INFO L? ?]: Removed 30 outVars from TransFormulas that were not future-live. [2025-02-06 05:24:26,462 INFO L308 CfgBuilder]: Performing block encoding [2025-02-06 05:24:26,468 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-06 05:24:26,468 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-06 05:24:26,469 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 06.02 05:24:26 BoogieIcfgContainer [2025-02-06 05:24:26,469 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-06 05:24:26,470 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-06 05:24:26,470 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-06 05:24:26,473 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-06 05:24:26,474 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.02 05:24:24" (1/3) ... [2025-02-06 05:24:26,474 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4f78e629 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.02 05:24:26, skipping insertion in model container [2025-02-06 05:24:26,475 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 05:24:25" (2/3) ... [2025-02-06 05:24:26,476 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4f78e629 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.02 05:24:26, skipping insertion in model container [2025-02-06 05:24:26,476 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 06.02 05:24:26" (3/3) ... [2025-02-06 05:24:26,477 INFO L128 eAbstractionObserver]: Analyzing ICFG aws_string_bytes_harness_negated.i [2025-02-06 05:24:26,488 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-06 05:24:26,490 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-02-06 05:24:26,533 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-02-06 05:24:26,540 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;@a9eee9a, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-02-06 05:24:26,541 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2025-02-06 05:24:26,544 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-02-06 05:24:26,548 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 56 [2025-02-06 05:24:26,548 INFO L210 NwaCegarLoop]: Found error trace [2025-02-06 05:24:26,549 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-02-06 05:24:26,549 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-02-06 05:24:26,552 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 05:24:26,553 INFO L85 PathProgramCache]: Analyzing trace with hash 1798088701, now seen corresponding path program 1 times [2025-02-06 05:24:26,557 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-06 05:24:26,558 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2093911945] [2025-02-06 05:24:26,558 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 05:24:26,558 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-06 05:24:26,642 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-02-06 05:24:26,651 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-02-06 05:24:26,652 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 05:24:26,652 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 05:24:26,758 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2025-02-06 05:24:26,758 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-06 05:24:26,758 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2093911945] [2025-02-06 05:24:26,762 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2093911945] provided 0 perfect and 1 imperfect interpolant sequences [2025-02-06 05:24:26,762 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [189971849] [2025-02-06 05:24:26,762 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 05:24:26,762 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 05:24:26,762 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 05:24:26,765 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-06 05:24:26,766 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2025-02-06 05:24:26,861 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-02-06 05:24:26,929 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-02-06 05:24:26,929 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 05:24:26,930 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 05:24:26,932 INFO L256 TraceCheckSpWp]: Trace formula consists of 252 conjuncts, 1 conjuncts are in the unsatisfiable core [2025-02-06 05:24:26,935 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-06 05:24:26,943 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2025-02-06 05:24:26,943 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-06 05:24:26,943 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [189971849] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-06 05:24:26,943 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2025-02-06 05:24:26,943 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [2] total 2 [2025-02-06 05:24:26,945 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [521902801] [2025-02-06 05:24:26,945 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-06 05:24:26,947 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2025-02-06 05:24:26,947 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-06 05:24:26,957 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2025-02-06 05:24:26,957 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-02-06 05:24:26,959 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-02-06 05:24:26,970 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-02-06 05:24:26,971 INFO L93 Difference]: Finished difference Result 118 states and 140 transitions. [2025-02-06 05:24:26,971 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-02-06 05:24:26,972 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-02-06 05:24:26,972 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2025-02-06 05:24:26,975 INFO L225 Difference]: With dead ends: 118 [2025-02-06 05:24:26,975 INFO L226 Difference]: Without dead ends: 58 [2025-02-06 05:24:26,977 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-02-06 05:24:26,978 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-02-06 05:24:26,979 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-02-06 05:24:26,986 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 58 states. [2025-02-06 05:24:26,995 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 58 to 58. [2025-02-06 05:24:26,996 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-02-06 05:24:27,001 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 58 states to 58 states and 64 transitions. [2025-02-06 05:24:27,003 INFO L78 Accepts]: Start accepts. Automaton has 58 states and 64 transitions. Word has length 55 [2025-02-06 05:24:27,003 INFO L84 Accepts]: Finished accepts. word is rejected. [2025-02-06 05:24:27,003 INFO L471 AbstractCegarLoop]: Abstraction has 58 states and 64 transitions. [2025-02-06 05:24:27,003 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-02-06 05:24:27,003 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 64 transitions. [2025-02-06 05:24:27,004 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 56 [2025-02-06 05:24:27,004 INFO L210 NwaCegarLoop]: Found error trace [2025-02-06 05:24:27,004 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-02-06 05:24:27,022 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2025-02-06 05:24:27,209 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable0 [2025-02-06 05:24:27,209 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-02-06 05:24:27,210 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 05:24:27,210 INFO L85 PathProgramCache]: Analyzing trace with hash 2051031898, now seen corresponding path program 1 times [2025-02-06 05:24:27,210 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-06 05:24:27,210 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1868660078] [2025-02-06 05:24:27,210 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 05:24:27,210 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-06 05:24:27,239 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-02-06 05:24:27,335 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-02-06 05:24:27,336 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 05:24:27,336 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-06 05:24:27,336 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-02-06 05:24:27,346 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-02-06 05:24:27,398 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-02-06 05:24:27,398 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 05:24:27,398 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-06 05:24:27,425 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-02-06 05:24:27,425 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-02-06 05:24:27,426 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2025-02-06 05:24:27,430 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-02-06 05:24:27,433 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1] [2025-02-06 05:24:27,464 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-02-06 05:24:27,466 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 06.02 05:24:27 BoogieIcfgContainer [2025-02-06 05:24:27,467 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-06 05:24:27,468 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-06 05:24:27,469 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-06 05:24:27,469 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-06 05:24:27,469 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 06.02 05:24:26" (3/4) ... [2025-02-06 05:24:27,470 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-02-06 05:24:27,509 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 29. [2025-02-06 05:24:27,553 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-02-06 05:24:27,553 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/witness.yml [2025-02-06 05:24:27,553 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-06 05:24:27,554 INFO L158 Benchmark]: Toolchain (without parser) took 2802.01ms. Allocated memory is still 142.6MB. Free memory was 107.5MB in the beginning and 54.3MB in the end (delta: 53.2MB). Peak memory consumption was 54.9MB. Max. memory is 16.1GB. [2025-02-06 05:24:27,554 INFO L158 Benchmark]: CDTParser took 0.69ms. Allocated memory is still 201.3MB. Free memory is still 125.0MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 05:24:27,554 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1229.33ms. Allocated memory is still 142.6MB. Free memory was 107.4MB in the beginning and 51.4MB in the end (delta: 56.0MB). Peak memory consumption was 93.7MB. Max. memory is 16.1GB. [2025-02-06 05:24:27,554 INFO L158 Benchmark]: Boogie Procedure Inliner took 90.53ms. Allocated memory is still 142.6MB. Free memory was 51.4MB in the beginning and 104.0MB in the end (delta: -52.5MB). Peak memory consumption was 14.4MB. Max. memory is 16.1GB. [2025-02-06 05:24:27,554 INFO L158 Benchmark]: Boogie Preprocessor took 48.45ms. Allocated memory is still 142.6MB. Free memory was 104.0MB in the beginning and 100.8MB in the end (delta: 3.2MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 05:24:27,554 INFO L158 Benchmark]: IcfgBuilder took 346.62ms. Allocated memory is still 142.6MB. Free memory was 100.8MB in the beginning and 80.3MB in the end (delta: 20.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-06 05:24:27,554 INFO L158 Benchmark]: TraceAbstraction took 996.95ms. Allocated memory is still 142.6MB. Free memory was 79.5MB in the beginning and 62.9MB in the end (delta: 16.6MB). Peak memory consumption was 18.6MB. Max. memory is 16.1GB. [2025-02-06 05:24:27,555 INFO L158 Benchmark]: Witness Printer took 85.17ms. Allocated memory is still 142.6MB. Free memory was 62.9MB in the beginning and 54.3MB in the end (delta: 8.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-06 05:24:27,557 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.69ms. Allocated memory is still 201.3MB. Free memory is still 125.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1229.33ms. Allocated memory is still 142.6MB. Free memory was 107.4MB in the beginning and 51.4MB in the end (delta: 56.0MB). Peak memory consumption was 93.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 90.53ms. Allocated memory is still 142.6MB. Free memory was 51.4MB in the beginning and 104.0MB in the end (delta: -52.5MB). Peak memory consumption was 14.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 48.45ms. Allocated memory is still 142.6MB. Free memory was 104.0MB in the beginning and 100.8MB in the end (delta: 3.2MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 346.62ms. Allocated memory is still 142.6MB. Free memory was 100.8MB in the beginning and 80.3MB in the end (delta: 20.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * TraceAbstraction took 996.95ms. Allocated memory is still 142.6MB. Free memory was 79.5MB in the beginning and 62.9MB in the end (delta: 16.6MB). Peak memory consumption was 18.6MB. Max. memory is 16.1GB. * Witness Printer took 85.17ms. Allocated memory is still 142.6MB. Free memory was 62.9MB in the beginning and 54.3MB in the end (delta: 8.6MB). Peak memory consumption was 8.4MB. 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: 0.9s, 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.1s 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-02-06 05:24:27,573 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with 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