./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 3289d67d Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/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.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-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 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.2.5-tmp.fs.icfgbuilder-eval-3289d67-m [2024-11-17 03:09:22,762 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-17 03:09:22,841 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-17 03:09:22,847 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-17 03:09:22,849 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-17 03:09:22,876 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-17 03:09:22,876 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-17 03:09:22,877 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-17 03:09:22,877 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-17 03:09:22,878 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-17 03:09:22,878 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-17 03:09:22,879 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-17 03:09:22,879 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-17 03:09:22,880 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-17 03:09:22,880 INFO L153 SettingsManager]: * Use SBE=true [2024-11-17 03:09:22,881 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-17 03:09:22,883 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-17 03:09:22,884 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-17 03:09:22,884 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-17 03:09:22,884 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-17 03:09:22,885 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-17 03:09:22,885 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-17 03:09:22,885 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-17 03:09:22,886 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-17 03:09:22,886 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-17 03:09:22,886 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-17 03:09:22,886 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-17 03:09:22,887 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-17 03:09:22,887 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-17 03:09:22,887 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-17 03:09:22,887 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-17 03:09:22,888 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-17 03:09:22,888 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-17 03:09:22,889 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-17 03:09:22,889 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-17 03:09:22,889 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-17 03:09:22,890 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-17 03:09:22,890 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-17 03:09:22,890 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-17 03:09:22,890 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-17 03:09:22,891 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-17 03:09:22,891 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-17 03:09:22,891 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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 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 [2024-11-17 03:09:23,153 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-17 03:09:23,175 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-17 03:09:23,178 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-17 03:09:23,179 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-17 03:09:23,180 INFO L274 PluginConnector]: CDTParser initialized [2024-11-17 03:09:23,181 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 [2024-11-17 03:09:24,628 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-17 03:09:24,874 INFO L384 CDTParser]: Found 1 translation units. [2024-11-17 03:09:24,875 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2024-11-17 03:09:24,887 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7bf0ed98c/e77d617eb1a541b58f53f0d9fe375740/FLAG9bba4ed5f [2024-11-17 03:09:24,899 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7bf0ed98c/e77d617eb1a541b58f53f0d9fe375740 [2024-11-17 03:09:24,902 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-17 03:09:24,903 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-17 03:09:24,904 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-17 03:09:24,905 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-17 03:09:24,911 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-17 03:09:24,911 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:09:24" (1/1) ... [2024-11-17 03:09:24,912 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6fd101cf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:24, skipping insertion in model container [2024-11-17 03:09:24,912 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:09:24" (1/1) ... [2024-11-17 03:09:24,952 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-17 03:09:25,336 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 03:09:25,345 INFO L200 MainTranslator]: Completed pre-run [2024-11-17 03:09:25,403 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 03:09:25,448 INFO L204 MainTranslator]: Completed translation [2024-11-17 03:09:25,449 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25 WrapperNode [2024-11-17 03:09:25,449 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-17 03:09:25,450 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-17 03:09:25,451 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-17 03:09:25,451 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-17 03:09:25,458 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,476 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,502 INFO L138 Inliner]: procedures = 172, calls = 20, calls flagged for inlining = 6, calls inlined = 9, statements flattened = 103 [2024-11-17 03:09:25,505 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-17 03:09:25,506 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-17 03:09:25,506 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-17 03:09:25,507 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-17 03:09:25,516 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,517 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,519 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,534 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]. [2024-11-17 03:09:25,535 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,535 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,540 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,541 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,542 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,544 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,546 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-17 03:09:25,547 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-17 03:09:25,547 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-17 03:09:25,547 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-17 03:09:25,548 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:25" (1/1) ... [2024-11-17 03:09:25,554 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-17 03:09:25,569 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-17 03:09:25,586 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) [2024-11-17 03:09:25,592 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 [2024-11-17 03:09:25,634 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-17 03:09:25,634 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-17 03:09:25,635 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-17 03:09:25,635 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-11-17 03:09:25,635 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-11-17 03:09:25,635 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-17 03:09:25,635 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-17 03:09:25,635 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-17 03:09:25,635 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-11-17 03:09:25,635 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-17 03:09:25,635 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-17 03:09:25,636 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-17 03:09:25,636 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-17 03:09:25,636 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-17 03:09:25,636 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-17 03:09:25,636 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-11-17 03:09:25,636 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-17 03:09:25,636 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-17 03:09:25,638 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-17 03:09:25,765 INFO L256 CfgBuilder]: Building ICFG [2024-11-17 03:09:25,767 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-17 03:09:25,867 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc ~#l~0#1.base, ~#l~0#1.offset; [2024-11-17 03:09:25,870 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(~#l~0#1.base, ~#l~0#1.offset); srcloc: null [2024-11-17 03:09:25,971 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc thr1_~#l~0#1.base, thr1_~#l~0#1.offset; [2024-11-17 03:09:25,971 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(thr1_~#l~0#1.base, thr1_~#l~0#1.offset); srcloc: null [2024-11-17 03:09:25,973 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-17 03:09:25,973 INFO L307 CfgBuilder]: Performing block encoding [2024-11-17 03:09:26,109 WARN L170 LargeBlockEncoding]: Complex 2:4 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2024-11-17 03:09:26,119 WARN L170 LargeBlockEncoding]: Complex 2:5 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2024-11-17 03:09:26,147 WARN L170 LargeBlockEncoding]: Complex 2:4 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2024-11-17 03:09:26,154 WARN L170 LargeBlockEncoding]: Complex 2:5 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2024-11-17 03:09:26,184 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#1(~#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#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) [2024-11-17 03:09:26,188 INFO L158 Benchmark]: Toolchain (without parser) took 1284.41ms. Allocated memory was 138.4MB in the beginning and 176.2MB in the end (delta: 37.7MB). Free memory was 65.0MB in the beginning and 90.1MB in the end (delta: -25.1MB). Peak memory consumption was 14.0MB. Max. memory is 16.1GB. [2024-11-17 03:09:26,189 INFO L158 Benchmark]: CDTParser took 0.20ms. Allocated memory is still 138.4MB. Free memory is still 89.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-17 03:09:26,190 INFO L158 Benchmark]: CACSL2BoogieTranslator took 545.24ms. Allocated memory was 138.4MB in the beginning and 176.2MB in the end (delta: 37.7MB). Free memory was 64.9MB in the beginning and 133.1MB in the end (delta: -68.2MB). Peak memory consumption was 10.1MB. Max. memory is 16.1GB. [2024-11-17 03:09:26,190 INFO L158 Benchmark]: Boogie Procedure Inliner took 54.56ms. Allocated memory is still 176.2MB. Free memory was 133.1MB in the beginning and 131.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-17 03:09:26,191 INFO L158 Benchmark]: Boogie Preprocessor took 40.70ms. Allocated memory is still 176.2MB. Free memory was 131.0MB in the beginning and 128.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-17 03:09:26,191 INFO L158 Benchmark]: IcfgBuilder took 639.74ms. Allocated memory is still 176.2MB. Free memory was 128.9MB in the beginning and 90.1MB in the end (delta: 38.8MB). Peak memory consumption was 39.8MB. Max. memory is 16.1GB. [2024-11-17 03:09:26,193 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.20ms. Allocated memory is still 138.4MB. Free memory is still 89.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 545.24ms. Allocated memory was 138.4MB in the beginning and 176.2MB in the end (delta: 37.7MB). Free memory was 64.9MB in the beginning and 133.1MB in the end (delta: -68.2MB). Peak memory consumption was 10.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 54.56ms. Allocated memory is still 176.2MB. Free memory was 133.1MB in the beginning and 131.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 40.70ms. Allocated memory is still 176.2MB. Free memory was 131.0MB in the beginning and 128.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * IcfgBuilder took 639.74ms. Allocated memory is still 176.2MB. Free memory was 128.9MB in the beginning and 90.1MB in the end (delta: 38.8MB). Peak memory consumption was 39.8MB. 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#1(~#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#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: assume true;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;assume true;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. [2024-11-17 03:09:26,220 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/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/11.0.12-open/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.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-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 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.2.5-tmp.fs.icfgbuilder-eval-3289d67-m [2024-11-17 03:09:28,492 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-17 03:09:28,570 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2024-11-17 03:09:28,575 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-17 03:09:28,576 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-17 03:09:28,608 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-17 03:09:28,609 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-17 03:09:28,609 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-17 03:09:28,610 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-17 03:09:28,610 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-17 03:09:28,611 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-17 03:09:28,611 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-17 03:09:28,612 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-17 03:09:28,613 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-17 03:09:28,615 INFO L153 SettingsManager]: * Use SBE=true [2024-11-17 03:09:28,616 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-17 03:09:28,616 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-17 03:09:28,616 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-17 03:09:28,616 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-17 03:09:28,617 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-17 03:09:28,617 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-17 03:09:28,619 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-17 03:09:28,620 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-17 03:09:28,620 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-17 03:09:28,620 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-17 03:09:28,621 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-17 03:09:28,621 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-17 03:09:28,621 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-17 03:09:28,622 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-17 03:09:28,622 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-17 03:09:28,622 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-17 03:09:28,623 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-17 03:09:28,623 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-17 03:09:28,624 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-17 03:09:28,624 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-17 03:09:28,624 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-17 03:09:28,625 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-17 03:09:28,625 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-17 03:09:28,625 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-11-17 03:09:28,625 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-17 03:09:28,625 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-17 03:09:28,626 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-17 03:09:28,626 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-17 03:09:28,626 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-17 03:09:28,626 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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 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 [2024-11-17 03:09:28,975 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-17 03:09:28,999 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-17 03:09:29,003 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-17 03:09:29,005 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-17 03:09:29,005 INFO L274 PluginConnector]: CDTParser initialized [2024-11-17 03:09:29,007 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 [2024-11-17 03:09:30,514 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-17 03:09:30,789 INFO L384 CDTParser]: Found 1 translation units. [2024-11-17 03:09:30,791 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/48_ticket_lock_low_contention_vs.i [2024-11-17 03:09:30,809 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2fcbb44e2/7a73189716c243ee8938e920a03be4b4/FLAG57d8eab70 [2024-11-17 03:09:30,826 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2fcbb44e2/7a73189716c243ee8938e920a03be4b4 [2024-11-17 03:09:30,830 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-17 03:09:30,831 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-17 03:09:30,832 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-17 03:09:30,834 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-17 03:09:30,839 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-17 03:09:30,840 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:09:30" (1/1) ... [2024-11-17 03:09:30,840 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@bc00668 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:30, skipping insertion in model container [2024-11-17 03:09:30,841 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:09:30" (1/1) ... [2024-11-17 03:09:30,888 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-17 03:09:31,258 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 03:09:31,273 INFO L200 MainTranslator]: Completed pre-run [2024-11-17 03:09:31,330 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 03:09:31,374 INFO L204 MainTranslator]: Completed translation [2024-11-17 03:09:31,375 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31 WrapperNode [2024-11-17 03:09:31,375 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-17 03:09:31,376 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-17 03:09:31,376 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-17 03:09:31,377 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-17 03:09:31,383 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,402 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,420 INFO L138 Inliner]: procedures = 175, calls = 20, calls flagged for inlining = 6, calls inlined = 9, statements flattened = 103 [2024-11-17 03:09:31,420 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-17 03:09:31,421 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-17 03:09:31,421 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-17 03:09:31,421 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-17 03:09:31,430 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,430 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,434 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,448 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]. [2024-11-17 03:09:31,449 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,449 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,457 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,460 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,466 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,469 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,472 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-17 03:09:31,473 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-17 03:09:31,473 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-17 03:09:31,473 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-17 03:09:31,474 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:09:31" (1/1) ... [2024-11-17 03:09:31,487 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-17 03:09:31,498 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-17 03:09:31,513 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) [2024-11-17 03:09:31,515 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 [2024-11-17 03:09:31,549 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#0 [2024-11-17 03:09:31,549 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#1 [2024-11-17 03:09:31,550 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#2 [2024-11-17 03:09:31,550 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-11-17 03:09:31,550 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-11-17 03:09:31,550 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-11-17 03:09:31,550 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-17 03:09:31,550 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-17 03:09:31,551 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-17 03:09:31,551 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#0 [2024-11-17 03:09:31,551 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#1 [2024-11-17 03:09:31,551 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#2 [2024-11-17 03:09:31,551 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2024-11-17 03:09:31,551 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2024-11-17 03:09:31,552 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#2 [2024-11-17 03:09:31,552 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-11-17 03:09:31,552 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-17 03:09:31,552 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-17 03:09:31,553 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-17 03:09:31,717 INFO L256 CfgBuilder]: Building ICFG [2024-11-17 03:09:31,719 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-17 03:09:31,881 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc ~#l~0#1.base, ~#l~0#1.offset; [2024-11-17 03:09:31,882 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(~#l~0#1.base, ~#l~0#1.offset); srcloc: null [2024-11-17 03:09:32,024 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L716: havoc thr1_~#l~0#1.base, thr1_~#l~0#1.offset; [2024-11-17 03:09:32,025 INFO L1250 $ProcedureCfgBuilder]: dead code at ProgramPoint L716-1: SUMMARY for call ULTIMATE.dealloc(thr1_~#l~0#1.base, thr1_~#l~0#1.offset); srcloc: null [2024-11-17 03:09:32,026 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-17 03:09:32,027 INFO L307 CfgBuilder]: Performing block encoding [2024-11-17 03:09:32,199 WARN L170 LargeBlockEncoding]: Complex 2:4 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2024-11-17 03:09:32,211 WARN L170 LargeBlockEncoding]: Complex 2:5 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2024-11-17 03:09:32,232 WARN L170 LargeBlockEncoding]: Complex 2:4 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2024-11-17 03:09:32,242 WARN L170 LargeBlockEncoding]: Complex 2:5 sequential composition. Such compositions can cause exponential blowup and should not occur in structured programs. [2024-11-17 03:09:32,267 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: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) [2024-11-17 03:09:32,276 INFO L158 Benchmark]: Toolchain (without parser) took 1443.80ms. Allocated memory was 60.8MB in the beginning and 75.5MB in the end (delta: 14.7MB). Free memory was 35.1MB in the beginning and 36.9MB in the end (delta: -1.7MB). Peak memory consumption was 25.8MB. Max. memory is 16.1GB. [2024-11-17 03:09:32,277 INFO L158 Benchmark]: CDTParser took 1.93ms. Allocated memory is still 60.8MB. Free memory was 36.9MB in the beginning and 36.8MB in the end (delta: 43.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-17 03:09:32,277 INFO L158 Benchmark]: CACSL2BoogieTranslator took 543.29ms. Allocated memory was 60.8MB in the beginning and 75.5MB in the end (delta: 14.7MB). Free memory was 34.9MB in the beginning and 44.4MB in the end (delta: -9.4MB). Peak memory consumption was 13.5MB. Max. memory is 16.1GB. [2024-11-17 03:09:32,277 INFO L158 Benchmark]: Boogie Procedure Inliner took 44.25ms. Allocated memory is still 75.5MB. Free memory was 44.4MB in the beginning and 42.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-17 03:09:32,278 INFO L158 Benchmark]: Boogie Preprocessor took 51.42ms. Allocated memory is still 75.5MB. Free memory was 42.3MB in the beginning and 39.6MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-17 03:09:32,278 INFO L158 Benchmark]: IcfgBuilder took 801.16ms. Allocated memory is still 75.5MB. Free memory was 39.6MB in the beginning and 36.9MB in the end (delta: 2.7MB). Peak memory consumption was 16.5MB. Max. memory is 16.1GB. [2024-11-17 03:09:32,281 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.93ms. Allocated memory is still 60.8MB. Free memory was 36.9MB in the beginning and 36.8MB in the end (delta: 43.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 543.29ms. Allocated memory was 60.8MB in the beginning and 75.5MB in the end (delta: 14.7MB). Free memory was 34.9MB in the beginning and 44.4MB in the end (delta: -9.4MB). Peak memory consumption was 13.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 44.25ms. Allocated memory is still 75.5MB. Free memory was 44.4MB in the beginning and 42.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 51.42ms. Allocated memory is still 75.5MB. Free memory was 42.3MB in the beginning and 39.6MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * IcfgBuilder took 801.16ms. Allocated memory is still 75.5MB. Free memory was 39.6MB in the beginning and 36.9MB in the end (delta: 2.7MB). Peak memory consumption was 16.5MB. 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. [2024-11-17 03:09:32,318 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: 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?