./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version c00e63dc Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 31f5db4bc5916150a86a586587dbeca1bc7aa37b414274f5dc02856908270171 --- Real Ultimate output --- This is Ultimate 0.3.0-?-c00e63d-m [2025-02-06 12:38:13,184 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-06 12:38:13,239 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2025-02-06 12:38:13,243 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-06 12:38:13,245 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-06 12:38:13,264 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-06 12:38:13,265 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-06 12:38:13,265 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-06 12:38:13,266 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-06 12:38:13,266 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-06 12:38:13,266 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-06 12:38:13,267 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-06 12:38:13,267 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-06 12:38:13,267 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-06 12:38:13,267 INFO L153 SettingsManager]: * Use SBE=true [2025-02-06 12:38:13,267 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-06 12:38:13,267 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-06 12:38:13,268 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-06 12:38:13,269 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-06 12:38:13,269 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-06 12:38:13,269 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-06 12:38:13,269 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-06 12:38:13,269 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 12:38:13,269 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-06 12:38:13,269 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-06 12:38:13,270 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-02-06 12:38:13,270 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-02-06 12:38:13,270 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-06 12:38:13,270 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-06 12:38:13,270 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-06 12:38:13,270 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-06 12:38:13,270 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 31f5db4bc5916150a86a586587dbeca1bc7aa37b414274f5dc02856908270171 [2025-02-06 12:38:13,503 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-06 12:38:13,510 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-06 12:38:13,512 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-06 12:38:13,513 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-06 12:38:13,513 INFO L274 PluginConnector]: CDTParser initialized [2025-02-06 12:38:13,514 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2025-02-06 12:38:14,736 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/f362d1838/f9f4958dadef466f8fa7dad6d1356cb5/FLAG464b103a6 [2025-02-06 12:38:14,985 INFO L384 CDTParser]: Found 1 translation units. [2025-02-06 12:38:14,985 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2025-02-06 12:38:14,994 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/f362d1838/f9f4958dadef466f8fa7dad6d1356cb5/FLAG464b103a6 [2025-02-06 12:38:15,310 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/f362d1838/f9f4958dadef466f8fa7dad6d1356cb5 [2025-02-06 12:38:15,312 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-06 12:38:15,313 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-06 12:38:15,313 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-06 12:38:15,313 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-06 12:38:15,316 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-06 12:38:15,316 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,317 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@29aaf455 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15, skipping insertion in model container [2025-02-06 12:38:15,317 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,338 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-06 12:38:15,589 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 12:38:15,596 INFO L200 MainTranslator]: Completed pre-run [2025-02-06 12:38:15,625 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 12:38:15,648 INFO L204 MainTranslator]: Completed translation [2025-02-06 12:38:15,649 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15 WrapperNode [2025-02-06 12:38:15,649 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-06 12:38:15,650 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-06 12:38:15,650 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-06 12:38:15,650 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-06 12:38:15,654 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,666 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,683 INFO L138 Inliner]: procedures = 172, calls = 20, calls flagged for inlining = 6, calls inlined = 9, statements flattened = 103 [2025-02-06 12:38:15,685 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-06 12:38:15,685 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-06 12:38:15,685 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-06 12:38:15,686 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-06 12:38:15,691 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,691 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,694 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,705 INFO L175 MemorySlicer]: Split 6 memory accesses to 3 slices as follows [2, 2, 2]. 33 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0]. The 2 writes are split as follows [0, 1, 1]. [2025-02-06 12:38:15,705 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,705 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,709 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,710 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,711 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,711 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,715 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-06 12:38:15,715 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-06 12:38:15,715 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-06 12:38:15,715 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-06 12:38:15,717 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:15" (1/1) ... [2025-02-06 12:38:15,720 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 12:38:15,728 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 12:38:15,738 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-02-06 12:38:15,742 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-02-06 12:38:15,759 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-02-06 12:38:15,759 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-02-06 12:38:15,759 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-02-06 12:38:15,759 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2025-02-06 12:38:15,759 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2025-02-06 12:38:15,759 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-02-06 12:38:15,759 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-02-06 12:38:15,759 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-02-06 12:38:15,759 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2025-02-06 12:38:15,760 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-06 12:38:15,760 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-02-06 12:38:15,760 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-02-06 12:38:15,760 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-02-06 12:38:15,760 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-02-06 12:38:15,760 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-02-06 12:38:15,760 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2025-02-06 12:38:15,760 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-06 12:38:15,760 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-06 12:38:15,761 WARN L227 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-02-06 12:38:15,855 INFO L257 CfgBuilder]: Building ICFG [2025-02-06 12:38:15,857 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-06 12:38:15,990 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc ~#l~0#1.base, ~#l~0#1.offset; [2025-02-06 12:38:15,991 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(~#l~0#1.base, ~#l~0#1.offset); srcloc: null [2025-02-06 12:38:16,126 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc thr1_~#l~0#1.base, thr1_~#l~0#1.offset; [2025-02-06 12:38:16,126 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(thr1_~#l~0#1.base, thr1_~#l~0#1.offset); srcloc: null [2025-02-06 12:38:16,127 INFO L304 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-02-06 12:38:16,127 INFO L308 CfgBuilder]: Performing block encoding [2025-02-06 12:38:16,230 WARN L170 LargeBlockEncoding]: Complex 2:4 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-02-06 12:38:16,235 WARN L170 LargeBlockEncoding]: Complex 2:5 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-02-06 12:38:16,255 WARN L170 LargeBlockEncoding]: Complex 2:4 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-02-06 12:38:16,261 WARN L170 LargeBlockEncoding]: Complex 2:5 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-02-06 12:38:16,281 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder has thrown an exception: java.lang.UnsupportedOperationException: Incomplete atomic composition (dangling start of atomic block: assume true;call #t~mem4#1 := read~int#2(~#l~0#1.base, ~#l~0#1.offset, 4);assume #t~mem4#1 % 4294967296 != ~s~0 % 4294967296;havoc #t~mem4#1;assume true;call #t~mem4#1 := read~int#2(~#l~0#1.base, ~#l~0#1.offset, 4);). Is there illegal control flow (e.g. loops) within an atomic block? at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.AtomicBlockAnalyzer.ensureAtomicCompositionComplete(AtomicBlockAnalyzer.java:146) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.AtomicBlockAnalyzer.ensureAtomicCompositionIsComplete(AtomicBlockAnalyzer.java:115) at de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:324) at de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder.IcfgBuilderObserver.process(IcfgBuilderObserver.java:88) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.DFSTreeWalker.runObserver(DFSTreeWalker.java:65) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2025-02-06 12:38:16,289 INFO L158 Benchmark]: Toolchain (without parser) took 975.53ms. Allocated memory is still 142.6MB. Free memory was 111.7MB in the beginning and 52.6MB in the end (delta: 59.1MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. [2025-02-06 12:38:16,291 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 201.3MB. Free memory is still 129.6MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:38:16,291 INFO L158 Benchmark]: CACSL2BoogieTranslator took 335.68ms. Allocated memory is still 142.6MB. Free memory was 111.7MB in the beginning and 92.1MB in the end (delta: 19.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-06 12:38:16,292 INFO L158 Benchmark]: Boogie Procedure Inliner took 35.37ms. Allocated memory is still 142.6MB. Free memory was 92.1MB in the beginning and 90.3MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:38:16,292 INFO L158 Benchmark]: Boogie Preprocessor took 29.53ms. Allocated memory is still 142.6MB. Free memory was 90.3MB in the beginning and 88.6MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:38:16,292 INFO L158 Benchmark]: IcfgBuilder took 571.67ms. Allocated memory is still 142.6MB. Free memory was 88.6MB in the beginning and 52.6MB in the end (delta: 36.0MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2025-02-06 12:38:16,293 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 129.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 335.68ms. Allocated memory is still 142.6MB. Free memory was 111.7MB in the beginning and 92.1MB in the end (delta: 19.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 35.37ms. Allocated memory is still 142.6MB. Free memory was 92.1MB in the beginning and 90.3MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 29.53ms. Allocated memory is still 142.6MB. Free memory was 90.3MB in the beginning and 88.6MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 571.67ms. Allocated memory is still 142.6MB. Free memory was 88.6MB in the beginning and 52.6MB in the end (delta: 36.0MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder: - ExceptionOrErrorResult: UnsupportedOperationException: Incomplete atomic composition (dangling start of atomic block: assume true;call #t~mem4#1 := read~int#2(~#l~0#1.base, ~#l~0#1.offset, 4);assume #t~mem4#1 % 4294967296 != ~s~0 % 4294967296;havoc #t~mem4#1;assume true;call #t~mem4#1 := read~int#2(~#l~0#1.base, ~#l~0#1.offset, 4);). Is there illegal control flow (e.g. loops) within an atomic block? de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder: UnsupportedOperationException: Incomplete atomic composition (dangling start of atomic block: assume true;call #t~mem4#1 := read~int#2(~#l~0#1.base, ~#l~0#1.offset, 4);assume #t~mem4#1 % 4294967296 != ~s~0 % 4294967296;havoc #t~mem4#1;assume true;call #t~mem4#1 := read~int#2(~#l~0#1.base, ~#l~0#1.offset, 4);). Is there illegal control flow (e.g. loops) within an atomic block?: de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.AtomicBlockAnalyzer.ensureAtomicCompositionComplete(AtomicBlockAnalyzer.java:146) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2025-02-06 12:38:16,307 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### 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/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 31f5db4bc5916150a86a586587dbeca1bc7aa37b414274f5dc02856908270171 --- Real Ultimate output --- This is Ultimate 0.3.0-?-c00e63d-m [2025-02-06 12:38:18,760 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-06 12:38:18,844 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2025-02-06 12:38:18,848 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-06 12:38:18,848 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-06 12:38:18,864 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-06 12:38:18,865 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-06 12:38:18,865 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-06 12:38:18,865 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-06 12:38:18,865 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-06 12:38:18,865 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-06 12:38:18,865 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-06 12:38:18,865 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-06 12:38:18,865 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-06 12:38:18,865 INFO L153 SettingsManager]: * Use SBE=true [2025-02-06 12:38:18,866 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-06 12:38:18,866 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-06 12:38:18,866 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 12:38:18,867 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * Trace refinement strategy=FOX [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-06 12:38:18,867 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-06 12:38:18,867 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 31f5db4bc5916150a86a586587dbeca1bc7aa37b414274f5dc02856908270171 [2025-02-06 12:38:19,085 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-06 12:38:19,091 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-06 12:38:19,093 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-06 12:38:19,095 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-06 12:38:19,095 INFO L274 PluginConnector]: CDTParser initialized [2025-02-06 12:38:19,096 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2025-02-06 12:38:20,357 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/fe6447754/73946147c11d4e6e80388b776ed7788c/FLAGd11672cb8 [2025-02-06 12:38:20,582 INFO L384 CDTParser]: Found 1 translation units. [2025-02-06 12:38:20,583 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2025-02-06 12:38:20,591 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/fe6447754/73946147c11d4e6e80388b776ed7788c/FLAGd11672cb8 [2025-02-06 12:38:20,608 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/fe6447754/73946147c11d4e6e80388b776ed7788c [2025-02-06 12:38:20,610 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-06 12:38:20,612 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-06 12:38:20,614 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-06 12:38:20,614 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-06 12:38:20,617 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-06 12:38:20,618 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:20,620 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@440b43e2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20, skipping insertion in model container [2025-02-06 12:38:20,620 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:20,652 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-06 12:38:20,894 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 12:38:20,902 INFO L200 MainTranslator]: Completed pre-run [2025-02-06 12:38:20,946 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 12:38:20,970 INFO L204 MainTranslator]: Completed translation [2025-02-06 12:38:20,970 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20 WrapperNode [2025-02-06 12:38:20,970 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-06 12:38:20,971 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-06 12:38:20,971 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-06 12:38:20,971 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-06 12:38:20,975 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:20,984 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:20,999 INFO L138 Inliner]: procedures = 175, calls = 20, calls flagged for inlining = 6, calls inlined = 9, statements flattened = 103 [2025-02-06 12:38:20,999 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-06 12:38:21,000 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-06 12:38:21,000 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-06 12:38:21,001 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-06 12:38:21,005 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,006 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,008 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,017 INFO L175 MemorySlicer]: Split 6 memory accesses to 3 slices as follows [2, 2, 2]. 33 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0]. The 2 writes are split as follows [0, 1, 1]. [2025-02-06 12:38:21,017 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,017 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,022 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,022 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,023 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,024 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,026 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-06 12:38:21,026 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-06 12:38:21,026 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-06 12:38:21,026 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-06 12:38:21,027 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:38:20" (1/1) ... [2025-02-06 12:38:21,034 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 12:38:21,043 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 12:38:21,057 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-02-06 12:38:21,062 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-02-06 12:38:21,077 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#0 [2025-02-06 12:38:21,077 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#1 [2025-02-06 12:38:21,077 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#2 [2025-02-06 12:38:21,078 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2025-02-06 12:38:21,078 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2025-02-06 12:38:21,078 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2025-02-06 12:38:21,078 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-06 12:38:21,078 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-02-06 12:38:21,078 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-02-06 12:38:21,078 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#0 [2025-02-06 12:38:21,078 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#1 [2025-02-06 12:38:21,078 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#2 [2025-02-06 12:38:21,078 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2025-02-06 12:38:21,079 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2025-02-06 12:38:21,079 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#2 [2025-02-06 12:38:21,079 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2025-02-06 12:38:21,079 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-06 12:38:21,079 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-06 12:38:21,080 WARN L227 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-02-06 12:38:21,182 INFO L257 CfgBuilder]: Building ICFG [2025-02-06 12:38:21,184 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-06 12:38:21,290 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc ~#l~0#1.base, ~#l~0#1.offset; [2025-02-06 12:38:21,290 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(~#l~0#1.base, ~#l~0#1.offset); srcloc: null [2025-02-06 12:38:21,414 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc thr1_~#l~0#1.base, thr1_~#l~0#1.offset; [2025-02-06 12:38:21,414 INFO L1309 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(thr1_~#l~0#1.base, thr1_~#l~0#1.offset); srcloc: null [2025-02-06 12:38:21,415 INFO L304 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-02-06 12:38:21,415 INFO L308 CfgBuilder]: Performing block encoding [2025-02-06 12:38:21,551 WARN L170 LargeBlockEncoding]: Complex 2:4 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-02-06 12:38:21,557 WARN L170 LargeBlockEncoding]: Complex 2:5 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-02-06 12:38:21,568 WARN L170 LargeBlockEncoding]: Complex 2:4 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-02-06 12:38:21,572 WARN L170 LargeBlockEncoding]: Complex 2:5 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-02-06 12:38:21,597 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder has thrown an exception: java.lang.UnsupportedOperationException: Incomplete atomic composition (dangling start of atomic block: assume true;call #t~mem4#1 := read~intINTTYPE4#1(~#l~0#1.base, ~#l~0#1.offset, 4bv32);assume #t~mem4#1 != ~s~0;havoc #t~mem4#1;assume true;call #t~mem4#1 := read~intINTTYPE4#1(~#l~0#1.base, ~#l~0#1.offset, 4bv32);). Is there illegal control flow (e.g. loops) within an atomic block? at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.AtomicBlockAnalyzer.ensureAtomicCompositionComplete(AtomicBlockAnalyzer.java:146) at de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.AtomicBlockAnalyzer.ensureAtomicCompositionIsComplete(AtomicBlockAnalyzer.java:115) at de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder.cfg.CfgBuilder.createIcfg(CfgBuilder.java:324) at de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder.IcfgBuilderObserver.process(IcfgBuilderObserver.java:88) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.DFSTreeWalker.runObserver(DFSTreeWalker.java:65) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.runObserver(BaseWalker.java:93) at de.uni_freiburg.informatik.ultimate.core.coreplugin.modelwalker.BaseWalker.run(BaseWalker.java:86) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:166) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:150) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:127) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:233) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:227) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:144) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:106) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:319) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2025-02-06 12:38:21,606 INFO L158 Benchmark]: Toolchain (without parser) took 994.61ms. Allocated memory is still 83.9MB. Free memory was 59.0MB in the beginning and 57.0MB in the end (delta: 2.1MB). Peak memory consumption was 54.3MB. Max. memory is 16.1GB. [2025-02-06 12:38:21,606 INFO L158 Benchmark]: CDTParser took 0.81ms. Allocated memory is still 83.9MB. Free memory is still 62.3MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:38:21,606 INFO L158 Benchmark]: CACSL2BoogieTranslator took 357.14ms. Allocated memory is still 83.9MB. Free memory was 58.7MB in the beginning and 38.6MB in the end (delta: 20.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-06 12:38:21,606 INFO L158 Benchmark]: Boogie Procedure Inliner took 28.37ms. Allocated memory is still 83.9MB. Free memory was 38.6MB in the beginning and 36.7MB in the end (delta: 1.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-06 12:38:21,606 INFO L158 Benchmark]: Boogie Preprocessor took 25.61ms. Allocated memory is still 83.9MB. Free memory was 36.7MB in the beginning and 34.6MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:38:21,610 INFO L158 Benchmark]: IcfgBuilder took 578.31ms. Allocated memory is still 83.9MB. Free memory was 34.6MB in the beginning and 57.0MB in the end (delta: -22.4MB). Peak memory consumption was 29.2MB. Max. memory is 16.1GB. [2025-02-06 12:38:21,612 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.81ms. Allocated memory is still 83.9MB. Free memory is still 62.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 357.14ms. Allocated memory is still 83.9MB. Free memory was 58.7MB in the beginning and 38.6MB in the end (delta: 20.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 28.37ms. Allocated memory is still 83.9MB. Free memory was 38.6MB in the beginning and 36.7MB in the end (delta: 1.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 25.61ms. Allocated memory is still 83.9MB. Free memory was 36.7MB in the beginning and 34.6MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 578.31ms. Allocated memory is still 83.9MB. Free memory was 34.6MB in the beginning and 57.0MB in the end (delta: -22.4MB). Peak memory consumption was 29.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder: - ExceptionOrErrorResult: UnsupportedOperationException: Incomplete atomic composition (dangling start of atomic block: assume true;call #t~mem4#1 := read~intINTTYPE4#1(~#l~0#1.base, ~#l~0#1.offset, 4bv32);assume #t~mem4#1 != ~s~0;havoc #t~mem4#1;assume true;call #t~mem4#1 := read~intINTTYPE4#1(~#l~0#1.base, ~#l~0#1.offset, 4bv32);). Is there illegal control flow (e.g. loops) within an atomic block? de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder: UnsupportedOperationException: Incomplete atomic composition (dangling start of atomic block: assume true;call #t~mem4#1 := read~intINTTYPE4#1(~#l~0#1.base, ~#l~0#1.offset, 4bv32);assume #t~mem4#1 != ~s~0;havoc #t~mem4#1;assume true;call #t~mem4#1 := read~intINTTYPE4#1(~#l~0#1.base, ~#l~0#1.offset, 4bv32);). Is there illegal control flow (e.g. loops) within an atomic block?: de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.cfg.AtomicBlockAnalyzer.ensureAtomicCompositionComplete(AtomicBlockAnalyzer.java:146) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2025-02-06 12:38:21,624 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 Result: ERROR: ExceptionOrErrorResult: UnsupportedOperationException: Incomplete atomic composition (dangling start of atomic block: assume true;call #t~mem4#1 := read~intINTTYPE4#1(~#l~0#1.base, ~#l~0#1.offset, 4bv32);assume #t~mem4#1 != ~s~0;havoc #t~mem4#1;assume true;call #t~mem4#1 := read~intINTTYPE4#1(~#l~0#1.base, ~#l~0#1.offset, 4bv32);). Is there illegal control flow (e.g. loops) within an atomic block?