./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 e2fb8bed Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 19455853cda764ac85d99c02becba7d89023dbca8554ed2a57443899aa957d24 --- Real Ultimate output --- This is Ultimate 0.3.0-?-e2fb8be-m [2025-03-08 18:17:19,647 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-08 18:17:19,695 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-64bit-Automizer_Default.epf [2025-03-08 18:17:19,701 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-08 18:17:19,702 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-08 18:17:19,722 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-08 18:17:19,724 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-08 18:17:19,724 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-08 18:17:19,724 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-03-08 18:17:19,724 INFO L153 SettingsManager]: * Use memory slicer=true [2025-03-08 18:17:19,724 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-08 18:17:19,724 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-08 18:17:19,724 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Use SBE=true [2025-03-08 18:17:19,725 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-08 18:17:19,725 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-08 18:17:19,725 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 18:17:19,725 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-08 18:17:19,726 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 19455853cda764ac85d99c02becba7d89023dbca8554ed2a57443899aa957d24 [2025-03-08 18:17:19,931 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-08 18:17:19,938 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-08 18:17:19,940 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-08 18:17:19,940 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-08 18:17:19,940 INFO L274 PluginConnector]: CDTParser initialized [2025-03-08 18:17:19,941 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i [2025-03-08 18:17:21,040 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/784682f90/d2e2ea875f2a407687f8506da92acb5a/FLAG17c420684 [2025-03-08 18:17:21,429 INFO L384 CDTParser]: Found 1 translation units. [2025-03-08 18:17:21,430 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i [2025-03-08 18:17:21,452 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/784682f90/d2e2ea875f2a407687f8506da92acb5a/FLAG17c420684 [2025-03-08 18:17:21,464 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/784682f90/d2e2ea875f2a407687f8506da92acb5a [2025-03-08 18:17:21,466 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-08 18:17:21,467 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-08 18:17:21,469 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-08 18:17:21,469 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-08 18:17:21,472 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-08 18:17:21,473 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 06:17:21" (1/1) ... [2025-03-08 18:17:21,474 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@f16ac5d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:21, skipping insertion in model container [2025-03-08 18:17:21,474 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 06:17:21" (1/1) ... [2025-03-08 18:17:21,523 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-08 18:17:21,668 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[4490,4503] [2025-03-08 18:17:21,673 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[4550,4563] [2025-03-08 18:17:22,031 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,031 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,032 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,032 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,033 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,040 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,040 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,041 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,042 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,043 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,043 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,044 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,044 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,322 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[147662,147675] [2025-03-08 18:17:22,322 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 18:17:22,338 INFO L200 MainTranslator]: Completed pre-run [2025-03-08 18:17:22,347 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[4490,4503] [2025-03-08 18:17:22,347 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[4550,4563] [2025-03-08 18:17:22,381 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,383 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,383 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,383 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,385 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,392 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,392 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,393 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,393 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,393 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,394 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,394 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,394 WARN L1731 CHandler]: Possible shadowing of function index [2025-03-08 18:17:22,461 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/aws-c-common/aws_string_bytes_harness_negated.i[147662,147675] [2025-03-08 18:17:22,463 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 18:17:22,606 INFO L204 MainTranslator]: Completed translation [2025-03-08 18:17:22,606 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22 WrapperNode [2025-03-08 18:17:22,606 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-08 18:17:22,607 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-08 18:17:22,607 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-08 18:17:22,607 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-08 18:17:22,611 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,646 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,671 INFO L138 Inliner]: procedures = 668, calls = 972, calls flagged for inlining = 46, calls inlined = 6, statements flattened = 61 [2025-03-08 18:17:22,671 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-08 18:17:22,672 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-08 18:17:22,673 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-08 18:17:22,673 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-08 18:17:22,678 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,679 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,683 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,703 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-03-08 18:17:22,703 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,704 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,710 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,711 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,717 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,718 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,720 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-08 18:17:22,721 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-08 18:17:22,721 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-08 18:17:22,721 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-08 18:17:22,722 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (1/1) ... [2025-03-08 18:17:22,725 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 18:17:22,735 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-08 18:17:22,745 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-03-08 18:17:22,746 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure aws_string_is_valid [2025-03-08 18:17:22,761 INFO L138 BoogieDeclarations]: Found implementation of procedure aws_string_is_valid [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_bool [2025-03-08 18:17:22,761 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_bool [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2025-03-08 18:17:22,761 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-08 18:17:22,761 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure bounded_malloc [2025-03-08 18:17:22,761 INFO L138 BoogieDeclarations]: Found implementation of procedure bounded_malloc [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure aws_string_bytes [2025-03-08 18:17:22,761 INFO L138 BoogieDeclarations]: Found implementation of procedure aws_string_bytes [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2025-03-08 18:17:22,761 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#0 [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#1 [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#2 [2025-03-08 18:17:22,761 INFO L130 BoogieDeclarations]: Found specification of procedure can_fail_allocator [2025-03-08 18:17:22,761 INFO L138 BoogieDeclarations]: Found implementation of procedure can_fail_allocator [2025-03-08 18:17:22,762 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_uint64_t [2025-03-08 18:17:22,762 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_uint64_t [2025-03-08 18:17:22,762 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-03-08 18:17:22,762 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-03-08 18:17:22,762 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-03-08 18:17:22,762 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-03-08 18:17:22,762 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-03-08 18:17:22,762 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-03-08 18:17:22,967 INFO L256 CfgBuilder]: Building ICFG [2025-03-08 18:17:22,969 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-08 18:17:23,001 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L6933: havoc #t~malloc583.base, #t~malloc583.offset; [2025-03-08 18:17:23,010 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L261: havoc #t~nondet4; [2025-03-08 18:17:23,024 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L6293: havoc #t~mem498;havoc #t~short499;havoc #t~mem500;havoc #t~mem501;havoc #t~short502; [2025-03-08 18:17:23,026 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L266: havoc #t~nondet9; [2025-03-08 18:17:23,083 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L6842: havoc ensure_string_is_allocated_nondet_length_#t~ret567#1.base, ensure_string_is_allocated_nondet_length_#t~ret567#1.offset; [2025-03-08 18:17:23,084 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L6850: havoc ensure_string_is_allocated_bounded_length_#t~ret569#1.base, ensure_string_is_allocated_bounded_length_#t~ret569#1.offset; [2025-03-08 18:17:23,131 INFO L? ?]: Removed 30 outVars from TransFormulas that were not future-live. [2025-03-08 18:17:23,131 INFO L307 CfgBuilder]: Performing block encoding [2025-03-08 18:17:23,138 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-03-08 18:17:23,139 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2025-03-08 18:17:23,139 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.03 06:17:23 BoogieIcfgContainer [2025-03-08 18:17:23,139 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-03-08 18:17:23,141 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-03-08 18:17:23,141 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-03-08 18:17:23,144 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-03-08 18:17:23,144 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.03 06:17:21" (1/3) ... [2025-03-08 18:17:23,144 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@69dc9035 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.03 06:17:23, skipping insertion in model container [2025-03-08 18:17:23,144 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 06:17:22" (2/3) ... [2025-03-08 18:17:23,145 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@69dc9035 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.03 06:17:23, skipping insertion in model container [2025-03-08 18:17:23,145 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.03 06:17:23" (3/3) ... [2025-03-08 18:17:23,146 INFO L128 eAbstractionObserver]: Analyzing ICFG aws_string_bytes_harness_negated.i [2025-03-08 18:17:23,155 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-03-08 18:17:23,156 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG aws_string_bytes_harness_negated.i that has 9 procedures, 63 locations, 1 initial locations, 0 loop locations, and 1 error locations. [2025-03-08 18:17:23,188 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-08 18:17:23,195 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;@65fa367, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-08 18:17:23,195 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2025-03-08 18:17:23,198 INFO L276 IsEmpty]: Start isEmpty. Operand has 63 states, 41 states have (on average 1.146341463414634) internal successors, (47), 42 states have internal predecessors, (47), 12 states have call successors, (12), 8 states have call predecessors, (12), 8 states have return successors, (12), 12 states have call predecessors, (12), 12 states have call successors, (12) [2025-03-08 18:17:23,202 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 56 [2025-03-08 18:17:23,202 INFO L210 NwaCegarLoop]: Found error trace [2025-03-08 18:17:23,203 INFO L218 NwaCegarLoop]: trace histogram [3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 18:17:23,203 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-03-08 18:17:23,206 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 18:17:23,207 INFO L85 PathProgramCache]: Analyzing trace with hash 1798088701, now seen corresponding path program 1 times [2025-03-08 18:17:23,211 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 18:17:23,212 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [936630036] [2025-03-08 18:17:23,212 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 18:17:23,213 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 18:17:23,327 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-03-08 18:17:23,351 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-03-08 18:17:23,351 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 18:17:23,351 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 18:17:23,452 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2025-03-08 18:17:23,452 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 18:17:23,452 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [936630036] [2025-03-08 18:17:23,453 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [936630036] provided 0 perfect and 1 imperfect interpolant sequences [2025-03-08 18:17:23,453 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1382785518] [2025-03-08 18:17:23,453 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 18:17:23,453 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-08 18:17:23,453 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-08 18:17:23,455 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-03-08 18:17:23,457 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2025-03-08 18:17:23,555 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-03-08 18:17:23,602 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-03-08 18:17:23,603 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 18:17:23,603 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 18:17:23,605 INFO L256 TraceCheckSpWp]: Trace formula consists of 252 conjuncts, 1 conjuncts are in the unsatisfiable core [2025-03-08 18:17:23,608 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-03-08 18:17:23,623 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2025-03-08 18:17:23,623 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-03-08 18:17:23,623 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1382785518] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 18:17:23,623 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2025-03-08 18:17:23,624 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [2] total 2 [2025-03-08 18:17:23,625 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [16571827] [2025-03-08 18:17:23,626 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 18:17:23,628 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2025-03-08 18:17:23,629 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 18:17:23,642 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2025-03-08 18:17:23,643 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-03-08 18:17:23,645 INFO L87 Difference]: Start difference. First operand has 63 states, 41 states have (on average 1.146341463414634) internal successors, (47), 42 states have internal predecessors, (47), 12 states have call successors, (12), 8 states have call predecessors, (12), 8 states have return successors, (12), 12 states have call predecessors, (12), 12 states have call successors, (12) Second operand has 2 states, 2 states have (on average 17.0) internal successors, (34), 2 states have internal predecessors, (34), 2 states have call successors, (9), 2 states have call predecessors, (9), 2 states have return successors, (8), 2 states have call predecessors, (8), 2 states have call successors, (8) [2025-03-08 18:17:23,661 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-03-08 18:17:23,663 INFO L93 Difference]: Finished difference Result 118 states and 140 transitions. [2025-03-08 18:17:23,664 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-03-08 18:17:23,665 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 17.0) internal successors, (34), 2 states have internal predecessors, (34), 2 states have call successors, (9), 2 states have call predecessors, (9), 2 states have return successors, (8), 2 states have call predecessors, (8), 2 states have call successors, (8) Word has length 55 [2025-03-08 18:17:23,666 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2025-03-08 18:17:23,670 INFO L225 Difference]: With dead ends: 118 [2025-03-08 18:17:23,670 INFO L226 Difference]: Without dead ends: 58 [2025-03-08 18:17:23,673 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 56 GetRequests, 56 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-03-08 18:17:23,675 INFO L435 NwaCegarLoop]: 69 mSDtfsCounter, 0 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 0 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 0 SdHoareTripleChecker+Valid, 69 SdHoareTripleChecker+Invalid, 0 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 0 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2025-03-08 18:17:23,678 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 69 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 0 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2025-03-08 18:17:23,687 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 58 states. [2025-03-08 18:17:23,700 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 58 to 58. [2025-03-08 18:17:23,701 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 58 states, 37 states have (on average 1.1081081081081081) internal successors, (41), 38 states have internal predecessors, (41), 12 states have call successors, (12), 8 states have call predecessors, (12), 8 states have return successors, (11), 11 states have call predecessors, (11), 11 states have call successors, (11) [2025-03-08 18:17:23,705 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 58 states to 58 states and 64 transitions. [2025-03-08 18:17:23,707 INFO L78 Accepts]: Start accepts. Automaton has 58 states and 64 transitions. Word has length 55 [2025-03-08 18:17:23,707 INFO L84 Accepts]: Finished accepts. word is rejected. [2025-03-08 18:17:23,707 INFO L471 AbstractCegarLoop]: Abstraction has 58 states and 64 transitions. [2025-03-08 18:17:23,707 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 17.0) internal successors, (34), 2 states have internal predecessors, (34), 2 states have call successors, (9), 2 states have call predecessors, (9), 2 states have return successors, (8), 2 states have call predecessors, (8), 2 states have call successors, (8) [2025-03-08 18:17:23,707 INFO L276 IsEmpty]: Start isEmpty. Operand 58 states and 64 transitions. [2025-03-08 18:17:23,708 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 56 [2025-03-08 18:17:23,709 INFO L210 NwaCegarLoop]: Found error trace [2025-03-08 18:17:23,709 INFO L218 NwaCegarLoop]: trace histogram [3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 18:17:23,716 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2025-03-08 18:17:23,909 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable0 [2025-03-08 18:17:23,910 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-03-08 18:17:23,910 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 18:17:23,910 INFO L85 PathProgramCache]: Analyzing trace with hash 2051031898, now seen corresponding path program 1 times [2025-03-08 18:17:23,910 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 18:17:23,910 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1883942363] [2025-03-08 18:17:23,910 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 18:17:23,910 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 18:17:23,934 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-03-08 18:17:24,037 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-03-08 18:17:24,038 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 18:17:24,038 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 18:17:24,038 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-08 18:17:24,047 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 55 statements into 1 equivalence classes. [2025-03-08 18:17:24,136 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 55 of 55 statements. [2025-03-08 18:17:24,136 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 18:17:24,136 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 18:17:24,159 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-03-08 18:17:24,159 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-08 18:17:24,160 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2025-03-08 18:17:24,161 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-03-08 18:17:24,164 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1] [2025-03-08 18:17:24,194 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-03-08 18:17:24,196 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.03 06:17:24 BoogieIcfgContainer [2025-03-08 18:17:24,197 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-03-08 18:17:24,198 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-03-08 18:17:24,198 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-03-08 18:17:24,199 INFO L274 PluginConnector]: Witness Printer initialized [2025-03-08 18:17:24,199 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.03 06:17:23" (3/4) ... [2025-03-08 18:17:24,200 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-03-08 18:17:24,243 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 29. [2025-03-08 18:17:24,293 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-03-08 18:17:24,294 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2025-03-08 18:17:24,294 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-03-08 18:17:24,295 INFO L158 Benchmark]: Toolchain (without parser) took 2828.25ms. Allocated memory is still 167.8MB. Free memory was 117.7MB in the beginning and 107.5MB in the end (delta: 10.2MB). Peak memory consumption was 2.8MB. Max. memory is 16.1GB. [2025-03-08 18:17:24,296 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 201.3MB. Free memory is still 116.9MB. There was no memory consumed. Max. memory is 16.1GB. [2025-03-08 18:17:24,296 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1138.19ms. Allocated memory is still 167.8MB. Free memory was 117.0MB in the beginning and 76.3MB in the end (delta: 40.8MB). Peak memory consumption was 102.1MB. Max. memory is 16.1GB. [2025-03-08 18:17:24,296 INFO L158 Benchmark]: Boogie Procedure Inliner took 63.98ms. Allocated memory is still 167.8MB. Free memory was 76.3MB in the beginning and 71.8MB in the end (delta: 4.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-03-08 18:17:24,296 INFO L158 Benchmark]: Boogie Preprocessor took 47.75ms. Allocated memory is still 167.8MB. Free memory was 71.8MB in the beginning and 68.7MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-08 18:17:24,297 INFO L158 Benchmark]: IcfgBuilder took 418.02ms. Allocated memory is still 167.8MB. Free memory was 68.7MB in the beginning and 125.5MB in the end (delta: -56.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2025-03-08 18:17:24,297 INFO L158 Benchmark]: TraceAbstraction took 1056.60ms. Allocated memory is still 167.8MB. Free memory was 124.6MB in the beginning and 115.5MB in the end (delta: 9.1MB). Peak memory consumption was 77.9MB. Max. memory is 16.1GB. [2025-03-08 18:17:24,297 INFO L158 Benchmark]: Witness Printer took 96.45ms. Allocated memory is still 167.8MB. Free memory was 115.5MB in the beginning and 107.5MB in the end (delta: 8.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-03-08 18:17:24,298 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 201.3MB. Free memory is still 116.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1138.19ms. Allocated memory is still 167.8MB. Free memory was 117.0MB in the beginning and 76.3MB in the end (delta: 40.8MB). Peak memory consumption was 102.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 63.98ms. Allocated memory is still 167.8MB. Free memory was 76.3MB in the beginning and 71.8MB in the end (delta: 4.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 47.75ms. Allocated memory is still 167.8MB. Free memory was 71.8MB in the beginning and 68.7MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 418.02ms. Allocated memory is still 167.8MB. Free memory was 68.7MB in the beginning and 125.5MB in the end (delta: -56.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * TraceAbstraction took 1056.60ms. Allocated memory is still 167.8MB. Free memory was 124.6MB in the beginning and 115.5MB in the end (delta: 9.1MB). Peak memory consumption was 77.9MB. Max. memory is 16.1GB. * Witness Printer took 96.45ms. Allocated memory is still 167.8MB. Free memory was 115.5MB in the beginning and 107.5MB in the end (delta: 8.0MB). 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, 83 edges, 1 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 2, TraceHistogramMax: 3, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, 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-03-08 18:17:24,314 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/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