./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 48c9605d 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-?-48c9605-m [2025-02-08 01:59:46,062 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-08 01:59:46,119 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf [2025-02-08 01:59:46,122 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-08 01:59:46,123 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-08 01:59:46,137 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-08 01:59:46,138 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-08 01:59:46,138 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-08 01:59:46,138 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-08 01:59:46,138 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-08 01:59:46,138 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-08 01:59:46,138 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-08 01:59:46,139 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-08 01:59:46,139 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-08 01:59:46,139 INFO L153 SettingsManager]: * Use SBE=true [2025-02-08 01:59:46,139 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-08 01:59:46,139 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-02-08 01:59:46,139 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-08 01:59:46,139 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-08 01:59:46,139 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-02-08 01:59:46,139 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-08 01:59:46,139 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-08 01:59:46,140 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 01:59:46,140 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-02-08 01:59:46,140 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-02-08 01:59:46,141 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-02-08 01:59:46,141 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-02-08 01:59:46,141 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-08 01:59:46,141 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-08 01:59:46,141 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-08 01:59:46,141 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-08 01:59:46,141 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-08 01:59:46,337 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-08 01:59:46,344 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-08 01:59:46,345 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-08 01:59:46,346 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-08 01:59:46,346 INFO L274 PluginConnector]: CDTParser initialized [2025-02-08 01:59:46,348 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-08 01:59:47,498 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/cf69a7dff/70266434710d47749a82771a9a4a7ede/FLAG6985dfe3c [2025-02-08 01:59:47,951 INFO L384 CDTParser]: Found 1 translation units. [2025-02-08 01:59:47,952 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i [2025-02-08 01:59:47,984 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/cf69a7dff/70266434710d47749a82771a9a4a7ede/FLAG6985dfe3c [2025-02-08 01:59:48,087 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/cf69a7dff/70266434710d47749a82771a9a4a7ede [2025-02-08 01:59:48,089 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-08 01:59:48,090 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-08 01:59:48,092 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-08 01:59:48,092 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-08 01:59:48,095 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-08 01:59:48,096 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 01:59:48" (1/1) ... [2025-02-08 01:59:48,097 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7cfbb23f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:48, skipping insertion in model container [2025-02-08 01:59:48,098 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 01:59:48" (1/1) ... [2025-02-08 01:59:48,156 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-08 01:59:48,324 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-08 01:59:48,331 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-08 01:59:48,748 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,753 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,753 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,754 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,754 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,766 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,767 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,768 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,768 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,769 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,771 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,772 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:48,772 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,099 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-08 01:59:49,101 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 01:59:49,115 INFO L200 MainTranslator]: Completed pre-run [2025-02-08 01:59:49,124 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-08 01:59:49,128 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-08 01:59:49,185 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,186 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,186 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,186 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,189 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,197 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,199 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,201 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,201 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,202 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,203 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,206 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,207 WARN L1731 CHandler]: Possible shadowing of function index [2025-02-08 01:59:49,288 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-08 01:59:49,290 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 01:59:49,412 INFO L204 MainTranslator]: Completed translation [2025-02-08 01:59:49,413 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49 WrapperNode [2025-02-08 01:59:49,413 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-08 01:59:49,414 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-08 01:59:49,414 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-08 01:59:49,414 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-08 01:59:49,418 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,457 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,486 INFO L138 Inliner]: procedures = 668, calls = 972, calls flagged for inlining = 46, calls inlined = 6, statements flattened = 61 [2025-02-08 01:59:49,486 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-08 01:59:49,487 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-08 01:59:49,488 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-08 01:59:49,488 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-08 01:59:49,500 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,503 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,506 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,525 INFO L175 MemorySlicer]: Split 13 memory accesses to 3 slices as follows [2, 6, 5]. 46 percent of accesses are in the largest equivalence class. The 7 initializations are split as follows [2, 0, 5]. The 3 writes are split as follows [0, 3, 0]. [2025-02-08 01:59:49,526 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,526 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,532 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,533 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,535 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,535 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,538 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-08 01:59:49,538 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-08 01:59:49,538 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-08 01:59:49,538 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-08 01:59:49,539 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (1/1) ... [2025-02-08 01:59:49,542 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 01:59:49,558 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 01:59:49,575 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-08 01:59:49,579 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-08 01:59:49,594 INFO L130 BoogieDeclarations]: Found specification of procedure aws_string_is_valid [2025-02-08 01:59:49,595 INFO L138 BoogieDeclarations]: Found implementation of procedure aws_string_is_valid [2025-02-08 01:59:49,595 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_bool [2025-02-08 01:59:49,596 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_bool [2025-02-08 01:59:49,596 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-02-08 01:59:49,596 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-02-08 01:59:49,596 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-02-08 01:59:49,596 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2025-02-08 01:59:49,596 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2025-02-08 01:59:49,596 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-02-08 01:59:49,596 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-08 01:59:49,596 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2025-02-08 01:59:49,596 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2025-02-08 01:59:49,597 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2025-02-08 01:59:49,597 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-08 01:59:49,597 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-08 01:59:49,597 INFO L130 BoogieDeclarations]: Found specification of procedure bounded_malloc [2025-02-08 01:59:49,597 INFO L138 BoogieDeclarations]: Found implementation of procedure bounded_malloc [2025-02-08 01:59:49,597 INFO L130 BoogieDeclarations]: Found specification of procedure aws_string_bytes [2025-02-08 01:59:49,597 INFO L138 BoogieDeclarations]: Found implementation of procedure aws_string_bytes [2025-02-08 01:59:49,597 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2025-02-08 01:59:49,597 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2025-02-08 01:59:49,597 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#0 [2025-02-08 01:59:49,597 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#1 [2025-02-08 01:59:49,597 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#2 [2025-02-08 01:59:49,598 INFO L130 BoogieDeclarations]: Found specification of procedure can_fail_allocator [2025-02-08 01:59:49,599 INFO L138 BoogieDeclarations]: Found implementation of procedure can_fail_allocator [2025-02-08 01:59:49,599 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_uint64_t [2025-02-08 01:59:49,599 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_uint64_t [2025-02-08 01:59:49,599 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-02-08 01:59:49,599 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-02-08 01:59:49,599 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-02-08 01:59:49,599 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-02-08 01:59:49,599 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-02-08 01:59:49,599 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-02-08 01:59:49,787 INFO L257 CfgBuilder]: Building ICFG [2025-02-08 01:59:49,789 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-08 01:59:49,824 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6933: havoc #t~malloc583.base, #t~malloc583.offset; [2025-02-08 01:59:49,835 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L261: havoc #t~nondet4; [2025-02-08 01:59:49,860 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L6293: havoc #t~mem498;havoc #t~short499;havoc #t~mem500;havoc #t~mem501;havoc #t~short502; [2025-02-08 01:59:49,861 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L266: havoc #t~nondet9; [2025-02-08 01:59:49,930 INFO L1324 $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-08 01:59:49,931 INFO L1324 $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-08 01:59:49,952 INFO L? ?]: Removed 27 outVars from TransFormulas that were not future-live. [2025-02-08 01:59:49,952 INFO L308 CfgBuilder]: Performing block encoding [2025-02-08 01:59:49,962 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-08 01:59:49,962 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-08 01:59:49,962 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 01:59:49 BoogieIcfgContainer [2025-02-08 01:59:49,962 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-08 01:59:49,965 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-08 01:59:49,965 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-08 01:59:49,988 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-08 01:59:49,988 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.02 01:59:48" (1/3) ... [2025-02-08 01:59:49,989 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2ea36855 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 01:59:49, skipping insertion in model container [2025-02-08 01:59:49,989 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 01:59:49" (2/3) ... [2025-02-08 01:59:49,989 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2ea36855 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 01:59:49, skipping insertion in model container [2025-02-08 01:59:49,989 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 01:59:49" (3/3) ... [2025-02-08 01:59:49,990 INFO L128 eAbstractionObserver]: Analyzing ICFG aws_string_bytes_harness_negated.i [2025-02-08 01:59:50,002 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-08 01:59:50,004 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG aws_string_bytes_harness_negated.i that has 9 procedures, 59 locations, 1 initial locations, 0 loop locations, and 1 error locations. [2025-02-08 01:59:50,049 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-02-08 01:59:50,057 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;@458ce1ea, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-02-08 01:59:50,057 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2025-02-08 01:59:50,060 INFO L276 IsEmpty]: Start isEmpty. Operand has 59 states, 37 states have (on average 1.162162162162162) internal successors, (43), 38 states have internal predecessors, (43), 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-08 01:59:50,067 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 54 [2025-02-08 01:59:50,067 INFO L210 NwaCegarLoop]: Found error trace [2025-02-08 01:59:50,068 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] [2025-02-08 01:59:50,068 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-02-08 01:59:50,072 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 01:59:50,072 INFO L85 PathProgramCache]: Analyzing trace with hash -432060030, now seen corresponding path program 1 times [2025-02-08 01:59:50,077 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 01:59:50,077 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1650598810] [2025-02-08 01:59:50,077 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 01:59:50,078 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 01:59:50,180 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 53 statements into 1 equivalence classes. [2025-02-08 01:59:50,190 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 53 of 53 statements. [2025-02-08 01:59:50,190 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 01:59:50,190 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 01:59:50,289 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-08 01:59:50,290 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-08 01:59:50,290 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1650598810] [2025-02-08 01:59:50,290 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1650598810] provided 0 perfect and 1 imperfect interpolant sequences [2025-02-08 01:59:50,290 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [172199275] [2025-02-08 01:59:50,290 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 01:59:50,290 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 01:59:50,291 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 01:59:50,295 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-08 01:59:50,299 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-08 01:59:50,410 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 53 statements into 1 equivalence classes. [2025-02-08 01:59:50,462 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 53 of 53 statements. [2025-02-08 01:59:50,462 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 01:59:50,462 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 01:59:50,465 INFO L256 TraceCheckSpWp]: Trace formula consists of 252 conjuncts, 1 conjuncts are in the unsatisfiable core [2025-02-08 01:59:50,469 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-08 01:59:50,481 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-08 01:59:50,481 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-08 01:59:50,481 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [172199275] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 01:59:50,481 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2025-02-08 01:59:50,481 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [2] total 2 [2025-02-08 01:59:50,483 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1059221217] [2025-02-08 01:59:50,483 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 01:59:50,485 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2025-02-08 01:59:50,486 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-08 01:59:50,497 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2025-02-08 01:59:50,498 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-02-08 01:59:50,499 INFO L87 Difference]: Start difference. First operand has 59 states, 37 states have (on average 1.162162162162162) internal successors, (43), 38 states have internal predecessors, (43), 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 16.0) internal successors, (32), 2 states have internal predecessors, (32), 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-08 01:59:50,514 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-02-08 01:59:50,514 INFO L93 Difference]: Finished difference Result 111 states and 133 transitions. [2025-02-08 01:59:50,514 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-02-08 01:59:50,516 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 16.0) internal successors, (32), 2 states have internal predecessors, (32), 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 53 [2025-02-08 01:59:50,516 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2025-02-08 01:59:50,519 INFO L225 Difference]: With dead ends: 111 [2025-02-08 01:59:50,520 INFO L226 Difference]: Without dead ends: 56 [2025-02-08 01:59:50,522 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 54 GetRequests, 54 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-08 01:59:50,526 INFO L435 NwaCegarLoop]: 65 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, 65 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-08 01:59:50,527 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 65 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 0 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2025-02-08 01:59:50,537 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 56 states. [2025-02-08 01:59:50,546 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 56 to 56. [2025-02-08 01:59:50,547 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 56 states, 35 states have (on average 1.1142857142857143) internal successors, (39), 36 states have internal predecessors, (39), 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-08 01:59:50,550 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 56 states to 56 states and 62 transitions. [2025-02-08 01:59:50,551 INFO L78 Accepts]: Start accepts. Automaton has 56 states and 62 transitions. Word has length 53 [2025-02-08 01:59:50,551 INFO L84 Accepts]: Finished accepts. word is rejected. [2025-02-08 01:59:50,551 INFO L471 AbstractCegarLoop]: Abstraction has 56 states and 62 transitions. [2025-02-08 01:59:50,551 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 16.0) internal successors, (32), 2 states have internal predecessors, (32), 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-08 01:59:50,551 INFO L276 IsEmpty]: Start isEmpty. Operand 56 states and 62 transitions. [2025-02-08 01:59:50,553 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 54 [2025-02-08 01:59:50,553 INFO L210 NwaCegarLoop]: Found error trace [2025-02-08 01:59:50,553 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] [2025-02-08 01:59:50,559 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-08 01:59:50,753 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-08 01:59:50,754 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-02-08 01:59:50,757 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 01:59:50,757 INFO L85 PathProgramCache]: Analyzing trace with hash -1999548253, now seen corresponding path program 1 times [2025-02-08 01:59:50,757 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 01:59:50,757 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1577867610] [2025-02-08 01:59:50,757 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 01:59:50,758 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 01:59:50,781 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 53 statements into 1 equivalence classes. [2025-02-08 01:59:50,954 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 53 of 53 statements. [2025-02-08 01:59:50,954 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 01:59:50,954 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 01:59:50,954 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-02-08 01:59:50,961 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 53 statements into 1 equivalence classes. [2025-02-08 01:59:51,039 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 53 of 53 statements. [2025-02-08 01:59:51,039 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 01:59:51,039 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 01:59:51,066 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-02-08 01:59:51,066 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-02-08 01:59:51,067 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2025-02-08 01:59:51,068 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-02-08 01:59:51,071 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1] [2025-02-08 01:59:51,101 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-02-08 01:59:51,103 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.02 01:59:51 BoogieIcfgContainer [2025-02-08 01:59:51,104 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-08 01:59:51,105 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-08 01:59:51,105 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-08 01:59:51,105 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-08 01:59:51,106 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 01:59:49" (3/4) ... [2025-02-08 01:59:51,106 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-02-08 01:59:51,147 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 29. [2025-02-08 01:59:51,197 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-02-08 01:59:51,198 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/witness.yml [2025-02-08 01:59:51,198 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-08 01:59:51,198 INFO L158 Benchmark]: Toolchain (without parser) took 3108.01ms. Allocated memory is still 167.8MB. Free memory was 125.5MB in the beginning and 102.8MB in the end (delta: 22.7MB). Peak memory consumption was 24.9MB. Max. memory is 16.1GB. [2025-02-08 01:59:51,199 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 218.1MB. Free memory is still 134.8MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 01:59:51,199 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1322.03ms. Allocated memory is still 167.8MB. Free memory was 125.5MB in the beginning and 88.3MB in the end (delta: 37.2MB). Peak memory consumption was 102.0MB. Max. memory is 16.1GB. [2025-02-08 01:59:51,199 INFO L158 Benchmark]: Boogie Procedure Inliner took 72.58ms. Allocated memory is still 167.8MB. Free memory was 88.3MB in the beginning and 84.2MB in the end (delta: 4.1MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 01:59:51,200 INFO L158 Benchmark]: Boogie Preprocessor took 50.76ms. Allocated memory is still 167.8MB. Free memory was 84.2MB in the beginning and 80.8MB in the end (delta: 3.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-08 01:59:51,200 INFO L158 Benchmark]: IcfgBuilder took 423.90ms. Allocated memory is still 167.8MB. Free memory was 80.8MB in the beginning and 59.6MB in the end (delta: 21.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-08 01:59:51,201 INFO L158 Benchmark]: TraceAbstraction took 1138.98ms. Allocated memory is still 167.8MB. Free memory was 59.0MB in the beginning and 111.2MB in the end (delta: -52.1MB). Peak memory consumption was 15.2MB. Max. memory is 16.1GB. [2025-02-08 01:59:51,201 INFO L158 Benchmark]: Witness Printer took 93.06ms. Allocated memory is still 167.8MB. Free memory was 111.2MB in the beginning and 102.8MB in the end (delta: 8.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-08 01:59:51,202 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.13ms. Allocated memory is still 218.1MB. Free memory is still 134.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1322.03ms. Allocated memory is still 167.8MB. Free memory was 125.5MB in the beginning and 88.3MB in the end (delta: 37.2MB). Peak memory consumption was 102.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 72.58ms. Allocated memory is still 167.8MB. Free memory was 88.3MB in the beginning and 84.2MB in the end (delta: 4.1MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 50.76ms. Allocated memory is still 167.8MB. Free memory was 84.2MB in the beginning and 80.8MB in the end (delta: 3.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * IcfgBuilder took 423.90ms. Allocated memory is still 167.8MB. Free memory was 80.8MB in the beginning and 59.6MB in the end (delta: 21.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * TraceAbstraction took 1138.98ms. Allocated memory is still 167.8MB. Free memory was 59.0MB in the beginning and 111.2MB in the end (delta: -52.1MB). Peak memory consumption was 15.2MB. Max. memory is 16.1GB. * Witness Printer took 93.06ms. Allocated memory is still 167.8MB. Free memory was 111.2MB in the beginning and 102.8MB in the end (delta: 8.4MB). 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, }; [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=-(((__int128) 0 << 64) | 18410715276690587666U), 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)=-(((__int128) 0 << 64) | 18410715276690587649U), 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)=-(((__int128) 0 << 64) | 18410715276690587649U), s_can_fail_allocator_static={4:0}, size=-(((__int128) 0 << 64) | 18410715276690587649U), tl_last_error=0] [L6933] return malloc(size); [L6854] RET, EXPR bounded_malloc(sizeof(struct aws_string) + len + 1) VAL [len=-(((__int128) 0 << 64) | 18410715276690587666U), 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=-(((__int128) 0 << 64) | 18410715276690587666U), 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=-(((__int128) 0 << 64) | 18410715276690587666U), 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; [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, 59 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, 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, 65 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, 65 mSDtfsCounter, 0 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 54 GetRequests, 54 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=59occurred 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.3s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 159 NumberOfCodeBlocks, 159 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 104 ConstructedInterpolants, 0 QuantifiedInterpolants, 104 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-08 01:59:51,216 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