/root/.sdkman/candidates/java/21.0.5-tem/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata ./data -tc ../benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml -s ../benchexec/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf --traceabstraction.automaton.type.used.in.concurrency.analysis PETRI_NET -i ../../../trunk/examples/svcomp/pthread-ext/25_stack_longest-1.i -------------------------------------------------------------------------------- This is Ultimate 0.3.0-wip.dk.cfg-lbe-improvements-94356ea-m [2025-04-13 19:17:59,826 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-04-13 19:17:59,879 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../benchexec/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf [2025-04-13 19:17:59,884 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-04-13 19:17:59,884 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-04-13 19:17:59,908 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-04-13 19:17:59,910 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-04-13 19:17:59,910 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-04-13 19:17:59,911 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-04-13 19:17:59,911 INFO L153 SettingsManager]: * Use memory slicer=true [2025-04-13 19:17:59,911 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-04-13 19:17:59,912 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-04-13 19:17:59,912 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-04-13 19:17:59,912 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-04-13 19:17:59,912 INFO L153 SettingsManager]: * Use SBE=true [2025-04-13 19:17:59,913 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * sizeof long=4 [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * sizeof long double=12 [2025-04-13 19:17:59,913 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-04-13 19:17:59,914 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-04-13 19:17:59,914 INFO L153 SettingsManager]: * Use constant arrays=true [2025-04-13 19:17:59,914 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-04-13 19:17:59,914 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-13 19:17:59,914 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-13 19:17:59,914 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-13 19:17:59,914 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 19:17:59,914 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-04-13 19:17:59,914 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 19:17:59,915 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-04-13 19:17:59,915 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Automaton type used in concurrency analysis -> PETRI_NET [2025-04-13 19:18:00,119 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-04-13 19:18:00,128 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-04-13 19:18:00,129 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-04-13 19:18:00,130 INFO L270 PluginConnector]: Initializing CDTParser... [2025-04-13 19:18:00,130 INFO L274 PluginConnector]: CDTParser initialized [2025-04-13 19:18:00,131 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/25_stack_longest-1.i [2025-04-13 19:18:01,354 INFO L538 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2789410c2/c717131af332423a830db77ae1efb945/FLAG4626761f5 [2025-04-13 19:18:01,610 INFO L389 CDTParser]: Found 1 translation units. [2025-04-13 19:18:01,611 INFO L178 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/25_stack_longest-1.i [2025-04-13 19:18:01,620 INFO L432 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2789410c2/c717131af332423a830db77ae1efb945/FLAG4626761f5 [2025-04-13 19:18:02,404 INFO L440 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2789410c2/c717131af332423a830db77ae1efb945 [2025-04-13 19:18:02,407 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-04-13 19:18:02,408 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2025-04-13 19:18:02,409 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-04-13 19:18:02,410 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-04-13 19:18:02,414 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-04-13 19:18:02,414 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:02,415 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7f5d0e31 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02, skipping insertion in model container [2025-04-13 19:18:02,415 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:02,447 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-04-13 19:18:02,677 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/25_stack_longest-1.i[31348,31361] [2025-04-13 19:18:02,688 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-13 19:18:02,739 INFO L200 MainTranslator]: Completed pre-run [2025-04-13 19:18:02,775 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/25_stack_longest-1.i[31348,31361] [2025-04-13 19:18:02,778 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-13 19:18:02,822 INFO L204 MainTranslator]: Completed translation [2025-04-13 19:18:02,822 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02 WrapperNode [2025-04-13 19:18:02,823 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-04-13 19:18:02,823 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-04-13 19:18:02,823 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-04-13 19:18:02,823 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-04-13 19:18:02,828 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:02,852 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:02,910 INFO L138 Inliner]: procedures = 171, calls = 35, calls flagged for inlining = 9, calls inlined = 8, statements flattened = 2047 [2025-04-13 19:18:02,910 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-04-13 19:18:02,911 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-04-13 19:18:02,911 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-04-13 19:18:02,911 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-04-13 19:18:02,924 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:02,924 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:02,932 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:02,987 INFO L175 MemorySlicer]: Split 12 memory accesses to 3 slices as follows [2, 5, 5]. 42 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 5, 5]. The 0 writes are split as follows [0, 0, 0]. [2025-04-13 19:18:02,987 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:02,987 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:03,023 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:03,032 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:03,039 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:03,048 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:03,052 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:03,065 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-04-13 19:18:03,068 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2025-04-13 19:18:03,068 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2025-04-13 19:18:03,068 INFO L274 PluginConnector]: RCFGBuilder initialized [2025-04-13 19:18:03,069 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:18:02" (1/1) ... [2025-04-13 19:18:03,073 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 19:18:03,083 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-13 19:18:03,095 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-04-13 19:18:03,098 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-04-13 19:18:03,119 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2025-04-13 19:18:03,119 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2025-04-13 19:18:03,119 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-04-13 19:18:03,119 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2025-04-13 19:18:03,119 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-04-13 19:18:03,120 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-04-13 19:18:03,120 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-04-13 19:18:03,120 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-04-13 19:18:03,120 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2025-04-13 19:18:03,120 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-04-13 19:18:03,120 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-04-13 19:18:03,120 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-04-13 19:18:03,122 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-04-13 19:18:03,236 INFO L234 CfgBuilder]: Building ICFG [2025-04-13 19:18:03,237 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2025-04-13 19:18:04,616 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-04-13 19:18:04,618 INFO L289 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-04-13 19:18:04,618 INFO L294 CfgBuilder]: Performing block encoding Received shutdown request... [2025-04-13 19:32:32,791 WARN L340 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Timeout while monitored process is still running, waiting 1000 ms for graceful end [2025-04-13 19:32:32,877 INFO L257 ToolchainWalker]: Toolchain cancelled while executing plugin de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder. Reason: Timeout or Toolchain cancelled by user [2025-04-13 19:32:32,880 INFO L158 Benchmark]: Toolchain (without parser) took 870471.05ms. Allocated memory was 167.8MB in the beginning and 2.5GB in the end (delta: 2.3GB). Free memory was 117.8MB in the beginning and 1.3GB in the end (delta: -1.2GB). Peak memory consumption was 2.0GB. Max. memory is 8.0GB. [2025-04-13 19:32:32,880 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 159.4MB. Free memory was 88.1MB in the beginning and 87.9MB in the end (delta: 199.3kB). There was no memory consumed. Max. memory is 8.0GB. [2025-04-13 19:32:32,880 INFO L158 Benchmark]: CACSL2BoogieTranslator took 413.45ms. Allocated memory is still 167.8MB. Free memory was 117.8MB in the beginning and 82.5MB in the end (delta: 35.3MB). Peak memory consumption was 29.4MB. Max. memory is 8.0GB. [2025-04-13 19:32:32,880 INFO L158 Benchmark]: Boogie Procedure Inliner took 86.97ms. Allocated memory is still 167.8MB. Free memory was 82.5MB in the beginning and 72.5MB in the end (delta: 10.0MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. [2025-04-13 19:32:32,881 INFO L158 Benchmark]: Boogie Preprocessor took 154.76ms. Allocated memory is still 167.8MB. Free memory was 72.5MB in the beginning and 59.9MB in the end (delta: 12.6MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. [2025-04-13 19:32:32,881 INFO L158 Benchmark]: RCFGBuilder took 869810.79ms. Allocated memory was 167.8MB in the beginning and 2.5GB in the end (delta: 2.3GB). Free memory was 59.9MB in the beginning and 1.3GB in the end (delta: -1.2GB). Peak memory consumption was 2.0GB. Max. memory is 8.0GB. [2025-04-13 19:32:32,882 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 159.4MB. Free memory was 88.1MB in the beginning and 87.9MB in the end (delta: 199.3kB). There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 413.45ms. Allocated memory is still 167.8MB. Free memory was 117.8MB in the beginning and 82.5MB in the end (delta: 35.3MB). Peak memory consumption was 29.4MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 86.97ms. Allocated memory is still 167.8MB. Free memory was 82.5MB in the beginning and 72.5MB in the end (delta: 10.0MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. * Boogie Preprocessor took 154.76ms. Allocated memory is still 167.8MB. Free memory was 72.5MB in the beginning and 59.9MB in the end (delta: 12.6MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. * RCFGBuilder took 869810.79ms. Allocated memory was 167.8MB in the beginning and 2.5GB in the end (delta: 2.3GB). Free memory was 59.9MB in the beginning and 1.3GB in the end (delta: -1.2GB). Peak memory consumption was 2.0GB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: - TimeoutResult: Timeout (de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder) Toolchain cancelled while LargeBlockEncoding was performing CFG large-block encoding. RESULT: Ultimate could not prove your program: Timeout Completed graceful shutdown