./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i --full-output --architecture 32bit -------------------------------------------------------------------------------- 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/pthread-ext/48_ticket_lock_low_contention_vs.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-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 32bit --witnessprinter.graph.data.programhash 31f5db4bc5916150a86a586587dbeca1bc7aa37b414274f5dc02856908270171 --- Real Ultimate output --- This is Ultimate 0.3.0-?-e2fb8be-m [2025-03-08 17:15:42,536 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-08 17:15:42,593 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2025-03-08 17:15:42,600 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-08 17:15:42,600 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-08 17:15:42,620 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-08 17:15:42,621 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-08 17:15:42,621 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-08 17:15:42,621 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-03-08 17:15:42,621 INFO L153 SettingsManager]: * Use memory slicer=true [2025-03-08 17:15:42,621 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-08 17:15:42,621 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-08 17:15:42,621 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-08 17:15:42,621 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Use SBE=true [2025-03-08 17:15:42,622 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * sizeof long=4 [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * sizeof long double=12 [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-08 17:15:42,622 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-08 17:15:42,622 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 17:15:42,623 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-08 17:15:42,623 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-08 17:15:42,623 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-03-08 17:15:42,623 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-03-08 17:15:42,623 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-03-08 17:15:42,623 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-03-08 17:15:42,623 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-08 17:15:42,623 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-08 17:15:42,623 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-08 17:15:42,623 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-08 17:15:42,623 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 31f5db4bc5916150a86a586587dbeca1bc7aa37b414274f5dc02856908270171 [2025-03-08 17:15:42,903 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-08 17:15:42,911 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-08 17:15:42,913 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-08 17:15:42,914 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-08 17:15:42,914 INFO L274 PluginConnector]: CDTParser initialized [2025-03-08 17:15:42,915 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2025-03-08 17:15:44,004 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7a3da8c7a/f3bb85596f2e4b069fd013a7bc1ec048/FLAGcbc071d84 [2025-03-08 17:15:44,292 INFO L384 CDTParser]: Found 1 translation units. [2025-03-08 17:15:44,293 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2025-03-08 17:15:44,306 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7a3da8c7a/f3bb85596f2e4b069fd013a7bc1ec048/FLAGcbc071d84 [2025-03-08 17:15:44,577 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7a3da8c7a/f3bb85596f2e4b069fd013a7bc1ec048 [2025-03-08 17:15:44,579 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-08 17:15:44,579 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-08 17:15:44,580 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-08 17:15:44,581 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-08 17:15:44,583 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-08 17:15:44,584 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,584 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@59ae716a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44, skipping insertion in model container [2025-03-08 17:15:44,584 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,600 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-08 17:15:44,804 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/pthread-ext/48_ticket_lock_low_contention_vs.i[30893,30906] [2025-03-08 17:15:44,812 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 17:15:44,818 INFO L200 MainTranslator]: Completed pre-run [2025-03-08 17:15:44,843 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/pthread-ext/48_ticket_lock_low_contention_vs.i[30893,30906] [2025-03-08 17:15:44,844 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 17:15:44,868 INFO L204 MainTranslator]: Completed translation [2025-03-08 17:15:44,869 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44 WrapperNode [2025-03-08 17:15:44,870 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-08 17:15:44,871 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-08 17:15:44,871 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-08 17:15:44,871 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-08 17:15:44,875 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,885 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,900 INFO L138 Inliner]: procedures = 172, calls = 19, calls flagged for inlining = 5, calls inlined = 7, statements flattened = 99 [2025-03-08 17:15:44,901 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-08 17:15:44,902 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-08 17:15:44,902 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-08 17:15:44,902 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-08 17:15:44,907 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,907 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,909 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,916 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-03-08 17:15:44,916 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,916 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,922 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,923 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,924 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,924 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,925 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-08 17:15:44,932 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-08 17:15:44,932 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-08 17:15:44,933 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-08 17:15:44,933 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:44" (1/1) ... [2025-03-08 17:15:44,937 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 17:15:44,945 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-08 17:15:44,955 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 17:15:44,958 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 17:15:44,973 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-03-08 17:15:44,973 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-03-08 17:15:44,973 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-03-08 17:15:44,973 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2025-03-08 17:15:44,973 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2025-03-08 17:15:44,974 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-03-08 17:15:44,974 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-03-08 17:15:44,974 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-03-08 17:15:44,974 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2025-03-08 17:15:44,975 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-08 17:15:44,975 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-03-08 17:15:44,975 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-03-08 17:15:44,975 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-03-08 17:15:44,975 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-03-08 17:15:44,975 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-03-08 17:15:44,975 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2025-03-08 17:15:44,975 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-08 17:15:44,975 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-08 17:15:44,976 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-03-08 17:15:45,058 INFO L256 CfgBuilder]: Building ICFG [2025-03-08 17:15:45,059 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-08 17:15:45,124 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc ~#l~0#1.base, ~#l~0#1.offset; [2025-03-08 17:15:45,124 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(~#l~0#1.base, ~#l~0#1.offset); srcloc: null [2025-03-08 17:15:45,191 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc thr1_~#l~0#1.base, thr1_~#l~0#1.offset; [2025-03-08 17:15:45,191 INFO L1307 $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-03-08 17:15:45,192 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-03-08 17:15:45,192 INFO L307 CfgBuilder]: Performing block encoding [2025-03-08 17:15:45,258 WARN L170 LargeBlockEncoding]: Complex 2:2 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-03-08 17:15:45,263 WARN L170 LargeBlockEncoding]: Complex 2:3 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-03-08 17:15:45,272 WARN L170 LargeBlockEncoding]: Complex 2:2 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-03-08 17:15:45,273 WARN L170 LargeBlockEncoding]: Complex 2:3 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-03-08 17:15:45,280 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: call #t~mem4#1 := read~int#1(~#l~0#1.base, ~#l~0#1.offset, 4);assume #t~mem4#1 % 4294967296 != ~s~0 % 4294967296;havoc #t~mem4#1;call #t~mem4#1 := read~int#1(~#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:323) 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-03-08 17:15:45,286 INFO L158 Benchmark]: Toolchain (without parser) took 706.30ms. Allocated memory is still 142.6MB. Free memory was 104.2MB in the beginning and 54.5MB in the end (delta: 49.8MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. [2025-03-08 17:15:45,288 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 201.3MB. Free memory is still 126.6MB. There was no memory consumed. Max. memory is 16.1GB. [2025-03-08 17:15:45,288 INFO L158 Benchmark]: CACSL2BoogieTranslator took 289.77ms. Allocated memory is still 142.6MB. Free memory was 104.2MB in the beginning and 84.7MB in the end (delta: 19.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-03-08 17:15:45,288 INFO L158 Benchmark]: Boogie Procedure Inliner took 30.70ms. Allocated memory is still 142.6MB. Free memory was 84.7MB in the beginning and 82.9MB in the end (delta: 1.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-03-08 17:15:45,289 INFO L158 Benchmark]: Boogie Preprocessor took 23.45ms. Allocated memory is still 142.6MB. Free memory was 82.9MB in the beginning and 81.8MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-08 17:15:45,291 INFO L158 Benchmark]: IcfgBuilder took 352.70ms. Allocated memory is still 142.6MB. Free memory was 81.8MB in the beginning and 54.5MB in the end (delta: 27.3MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2025-03-08 17:15:45,292 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.18ms. Allocated memory is still 201.3MB. Free memory is still 126.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 289.77ms. Allocated memory is still 142.6MB. Free memory was 104.2MB in the beginning and 84.7MB in the end (delta: 19.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 30.70ms. Allocated memory is still 142.6MB. Free memory was 84.7MB in the beginning and 82.9MB in the end (delta: 1.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 23.45ms. Allocated memory is still 142.6MB. Free memory was 82.9MB in the beginning and 81.8MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 352.70ms. Allocated memory is still 142.6MB. Free memory was 81.8MB in the beginning and 54.5MB in the end (delta: 27.3MB). Peak memory consumption was 25.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: call #t~mem4#1 := read~int#1(~#l~0#1.base, ~#l~0#1.offset, 4);assume #t~mem4#1 % 4294967296 != ~s~0 % 4294967296;havoc #t~mem4#1;call #t~mem4#1 := read~int#1(~#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: call #t~mem4#1 := read~int#1(~#l~0#1.base, ~#l~0#1.offset, 4);assume #t~mem4#1 % 4294967296 != ~s~0 % 4294967296;havoc #t~mem4#1;call #t~mem4#1 := read~int#1(~#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-03-08 17:15:45,305 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 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/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/pthread-ext/48_ticket_lock_low_contention_vs.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.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 32bit --witnessprinter.graph.data.programhash 31f5db4bc5916150a86a586587dbeca1bc7aa37b414274f5dc02856908270171 --- Real Ultimate output --- This is Ultimate 0.3.0-?-e2fb8be-m [2025-03-08 17:15:46,982 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-08 17:15:47,051 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Bitvector.epf [2025-03-08 17:15:47,059 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-08 17:15:47,063 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-08 17:15:47,083 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-08 17:15:47,083 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-08 17:15:47,084 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-08 17:15:47,084 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-03-08 17:15:47,084 INFO L153 SettingsManager]: * Use memory slicer=true [2025-03-08 17:15:47,085 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-08 17:15:47,085 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-08 17:15:47,085 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-08 17:15:47,085 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-08 17:15:47,086 INFO L153 SettingsManager]: * Use SBE=true [2025-03-08 17:15:47,086 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-08 17:15:47,086 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-03-08 17:15:47,086 INFO L153 SettingsManager]: * sizeof long=4 [2025-03-08 17:15:47,086 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-03-08 17:15:47,086 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * sizeof long double=12 [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-08 17:15:47,087 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-08 17:15:47,087 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-08 17:15:47,088 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 17:15:47,089 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * Trace refinement strategy=FOX [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-08 17:15:47,089 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-08 17:15:47,090 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-08 17:15:47,090 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-08 17:15:47,090 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 31f5db4bc5916150a86a586587dbeca1bc7aa37b414274f5dc02856908270171 [2025-03-08 17:15:47,414 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-08 17:15:47,419 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-08 17:15:47,420 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-08 17:15:47,421 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-08 17:15:47,421 INFO L274 PluginConnector]: CDTParser initialized [2025-03-08 17:15:47,422 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2025-03-08 17:15:48,555 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8d520af24/e31861c41c374882b1b1d503431e3120/FLAG7901f7644 [2025-03-08 17:15:48,780 INFO L384 CDTParser]: Found 1 translation units. [2025-03-08 17:15:48,782 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2025-03-08 17:15:48,793 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8d520af24/e31861c41c374882b1b1d503431e3120/FLAG7901f7644 [2025-03-08 17:15:49,118 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8d520af24/e31861c41c374882b1b1d503431e3120 [2025-03-08 17:15:49,119 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-08 17:15:49,120 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-08 17:15:49,121 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-08 17:15:49,121 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-08 17:15:49,124 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-08 17:15:49,124 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,124 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2b48c134 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49, skipping insertion in model container [2025-03-08 17:15:49,125 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,140 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-08 17:15:49,317 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/pthread-ext/48_ticket_lock_low_contention_vs.i[30893,30906] [2025-03-08 17:15:49,323 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 17:15:49,330 INFO L200 MainTranslator]: Completed pre-run [2025-03-08 17:15:49,377 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/pthread-ext/48_ticket_lock_low_contention_vs.i[30893,30906] [2025-03-08 17:15:49,381 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 17:15:49,415 INFO L204 MainTranslator]: Completed translation [2025-03-08 17:15:49,415 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49 WrapperNode [2025-03-08 17:15:49,416 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-08 17:15:49,417 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-08 17:15:49,417 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-08 17:15:49,417 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-08 17:15:49,422 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,435 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,451 INFO L138 Inliner]: procedures = 175, calls = 19, calls flagged for inlining = 5, calls inlined = 7, statements flattened = 99 [2025-03-08 17:15:49,452 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-08 17:15:49,453 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-08 17:15:49,453 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-08 17:15:49,453 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-08 17:15:49,459 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,459 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,461 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,475 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-03-08 17:15:49,476 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,476 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,482 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,487 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,490 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,491 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,493 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-08 17:15:49,494 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-08 17:15:49,494 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-08 17:15:49,494 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-08 17:15:49,498 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 05:15:49" (1/1) ... [2025-03-08 17:15:49,502 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 17:15:49,513 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-08 17:15:49,522 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 17:15:49,524 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 17:15:49,539 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#0 [2025-03-08 17:15:49,539 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#1 [2025-03-08 17:15:49,539 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#2 [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2025-03-08 17:15:49,540 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#0 [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#1 [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#2 [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#2 [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2025-03-08 17:15:49,540 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-08 17:15:49,540 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-08 17:15:49,541 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-03-08 17:15:49,641 INFO L256 CfgBuilder]: Building ICFG [2025-03-08 17:15:49,642 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-08 17:15:49,714 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc ~#l~0#1.base, ~#l~0#1.offset; [2025-03-08 17:15:49,714 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(~#l~0#1.base, ~#l~0#1.offset); srcloc: null [2025-03-08 17:15:49,802 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc thr1_~#l~0#1.base, thr1_~#l~0#1.offset; [2025-03-08 17:15:49,802 INFO L1307 $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-03-08 17:15:49,803 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-03-08 17:15:49,803 INFO L307 CfgBuilder]: Performing block encoding [2025-03-08 17:15:49,929 WARN L170 LargeBlockEncoding]: Complex 2:2 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-03-08 17:15:49,930 WARN L170 LargeBlockEncoding]: Complex 2:3 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-03-08 17:15:49,933 WARN L170 LargeBlockEncoding]: Complex 2:2 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-03-08 17:15:49,935 WARN L170 LargeBlockEncoding]: Complex 2:3 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2025-03-08 17:15:49,941 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: 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;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:323) 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-03-08 17:15:49,948 INFO L158 Benchmark]: Toolchain (without parser) took 827.19ms. Allocated memory is still 117.4MB. Free memory was 91.0MB in the beginning and 86.2MB in the end (delta: 4.8MB). Peak memory consumption was 63.3MB. Max. memory is 16.1GB. [2025-03-08 17:15:49,948 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 83.9MB. Free memory was 62.4MB in the beginning and 62.4MB in the end (delta: 35.0kB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-08 17:15:49,948 INFO L158 Benchmark]: CACSL2BoogieTranslator took 295.52ms. Allocated memory is still 117.4MB. Free memory was 90.8MB in the beginning and 70.2MB in the end (delta: 20.6MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2025-03-08 17:15:49,948 INFO L158 Benchmark]: Boogie Procedure Inliner took 35.21ms. Allocated memory is still 117.4MB. Free memory was 70.2MB in the beginning and 68.4MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-08 17:15:49,949 INFO L158 Benchmark]: Boogie Preprocessor took 41.05ms. Allocated memory is still 117.4MB. Free memory was 68.4MB in the beginning and 66.5MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-08 17:15:49,949 INFO L158 Benchmark]: IcfgBuilder took 452.55ms. Allocated memory is still 117.4MB. Free memory was 66.3MB in the beginning and 86.2MB in the end (delta: -19.9MB). Peak memory consumption was 38.1MB. Max. memory is 16.1GB. [2025-03-08 17:15:49,952 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 83.9MB. Free memory was 62.4MB in the beginning and 62.4MB in the end (delta: 35.0kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 295.52ms. Allocated memory is still 117.4MB. Free memory was 90.8MB in the beginning and 70.2MB in the end (delta: 20.6MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 35.21ms. Allocated memory is still 117.4MB. Free memory was 70.2MB in the beginning and 68.4MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 41.05ms. Allocated memory is still 117.4MB. Free memory was 68.4MB in the beginning and 66.5MB in the end (delta: 1.9MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 452.55ms. Allocated memory is still 117.4MB. Free memory was 66.3MB in the beginning and 86.2MB in the end (delta: -19.9MB). Peak memory consumption was 38.1MB. 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: 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;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: 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;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-03-08 17:15:49,965 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 Result: ERROR: ExceptionOrErrorResult: UnsupportedOperationException: Incomplete atomic composition (dangling start of atomic block: 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;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?