/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_IcfgBuilder.xml -s ../benchexec/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf --traceabstraction.automaton.type.used.in.concurrency.analysis FINITE_AUTOMATA --preprocessor.replace.while.statements.and.if-then-else.statements false -i ../../../trunk/examples/svcomp/pthread-ext/25_stack_longest-2.i -------------------------------------------------------------------------------- This is Ultimate 0.3.0-wip.dk.cfg-lbe-improvements-94356ea-m [2025-04-13 21:35:18,051 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-04-13 21:35:18,113 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 21:35:18,118 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-04-13 21:35:18,118 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-04-13 21:35:18,137 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-04-13 21:35:18,137 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-04-13 21:35:18,137 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-04-13 21:35:18,137 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-04-13 21:35:18,138 INFO L153 SettingsManager]: * Use memory slicer=true [2025-04-13 21:35:18,138 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-04-13 21:35:18,138 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-04-13 21:35:18,138 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-04-13 21:35:18,138 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-04-13 21:35:18,138 INFO L153 SettingsManager]: * Use SBE=true [2025-04-13 21:35:18,138 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-04-13 21:35:18,138 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-04-13 21:35:18,138 INFO L153 SettingsManager]: * sizeof long=4 [2025-04-13 21:35:18,138 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-04-13 21:35:18,138 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-04-13 21:35:18,139 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-04-13 21:35:18,140 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-04-13 21:35:18,140 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-04-13 21:35:18,140 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-04-13 21:35:18,140 INFO L153 SettingsManager]: * sizeof long double=12 [2025-04-13 21:35:18,140 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-04-13 21:35:18,140 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-04-13 21:35:18,141 INFO L153 SettingsManager]: * Use constant arrays=true [2025-04-13 21:35:18,141 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-04-13 21:35:18,141 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-13 21:35:18,141 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-13 21:35:18,141 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-13 21:35:18,141 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 21:35:18,141 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-04-13 21:35:18,141 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-13 21:35:18,141 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-13 21:35:18,141 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-13 21:35:18,141 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 21:35:18,142 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-04-13 21:35:18,142 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-04-13 21:35:18,142 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-04-13 21:35:18,142 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-04-13 21:35:18,142 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-04-13 21:35:18,142 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-04-13 21:35:18,142 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-04-13 21:35:18,142 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-04-13 21:35:18,142 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-04-13 21:35:18,142 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 -> FINITE_AUTOMATA Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Replace while statements and if-then-else statements -> false [2025-04-13 21:35:18,371 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-04-13 21:35:18,380 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-04-13 21:35:18,382 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-04-13 21:35:18,383 INFO L270 PluginConnector]: Initializing CDTParser... [2025-04-13 21:35:18,385 INFO L274 PluginConnector]: CDTParser initialized [2025-04-13 21:35:18,387 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/25_stack_longest-2.i [2025-04-13 21:35:19,758 INFO L538 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/44a18eaa3/1ed8200bacee4c89996942e9be69a219/FLAG1ee1eb4c5 [2025-04-13 21:35:20,046 INFO L389 CDTParser]: Found 1 translation units. [2025-04-13 21:35:20,047 INFO L178 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/25_stack_longest-2.i [2025-04-13 21:35:20,061 INFO L432 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/44a18eaa3/1ed8200bacee4c89996942e9be69a219/FLAG1ee1eb4c5 [2025-04-13 21:35:20,809 INFO L440 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/44a18eaa3/1ed8200bacee4c89996942e9be69a219 [2025-04-13 21:35:20,811 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-04-13 21:35:20,812 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2025-04-13 21:35:20,815 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-04-13 21:35:20,815 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-04-13 21:35:20,819 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-04-13 21:35:20,820 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 09:35:20" (1/1) ... [2025-04-13 21:35:20,821 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@31fcd4fd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:20, skipping insertion in model container [2025-04-13 21:35:20,821 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 09:35:20" (1/1) ... [2025-04-13 21:35:20,850 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-04-13 21:35:21,156 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-2.i[31351,31364] [2025-04-13 21:35:21,180 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-13 21:35:21,254 INFO L200 MainTranslator]: Completed pre-run [2025-04-13 21:35:21,314 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-2.i[31351,31364] [2025-04-13 21:35:21,317 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-13 21:35:21,366 INFO L204 MainTranslator]: Completed translation [2025-04-13 21:35:21,367 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21 WrapperNode [2025-04-13 21:35:21,367 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-04-13 21:35:21,368 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-04-13 21:35:21,368 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-04-13 21:35:21,368 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-04-13 21:35:21,375 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,398 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,455 INFO L138 Inliner]: procedures = 171, calls = 35, calls flagged for inlining = 9, calls inlined = 8, statements flattened = 2047 [2025-04-13 21:35:21,455 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-04-13 21:35:21,456 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-04-13 21:35:21,456 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-04-13 21:35:21,456 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-04-13 21:35:21,467 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,467 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,473 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,516 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 21:35:21,516 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,516 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,545 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,558 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,562 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,569 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,582 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-04-13 21:35:21,584 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-04-13 21:35:21,584 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-04-13 21:35:21,585 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-04-13 21:35:21,585 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 09:35:21" (1/1) ... [2025-04-13 21:35:21,590 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 21:35:21,600 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-13 21:35:21,612 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 21:35:21,617 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 21:35:21,629 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2025-04-13 21:35:21,629 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2025-04-13 21:35:21,629 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-04-13 21:35:21,629 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2025-04-13 21:35:21,629 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-04-13 21:35:21,629 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-04-13 21:35:21,630 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-04-13 21:35:21,630 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-04-13 21:35:21,630 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2025-04-13 21:35:21,630 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-04-13 21:35:21,630 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-04-13 21:35:21,630 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-04-13 21:35:21,633 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-04-13 21:35:21,734 INFO L256 CfgBuilder]: Building ICFG [2025-04-13 21:35:21,736 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-04-13 21:35:23,287 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-04-13 21:35:23,288 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-04-13 21:35:23,288 INFO L318 CfgBuilder]: Performing block encoding Received shutdown request... [2025-04-13 21:49:48,744 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 21:49:49,371 INFO L257 ToolchainWalker]: Toolchain cancelled while executing plugin de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder. Reason: Timeout or Toolchain cancelled by user [2025-04-13 21:49:49,374 INFO L158 Benchmark]: Toolchain (without parser) took 868560.73ms. Allocated memory was 167.8MB in the beginning and 2.4GB in the end (delta: 2.3GB). Free memory was 117.3MB in the beginning and 1.4GB in the end (delta: -1.3GB). Peak memory consumption was 2.0GB. Max. memory is 8.0GB. [2025-04-13 21:49:49,374 INFO L158 Benchmark]: CDTParser took 0.32ms. Allocated memory is still 163.6MB. Free memory is still 91.0MB. There was no memory consumed. Max. memory is 8.0GB. [2025-04-13 21:49:49,374 INFO L158 Benchmark]: CACSL2BoogieTranslator took 552.23ms. Allocated memory is still 167.8MB. Free memory was 117.3MB in the beginning and 81.4MB in the end (delta: 35.9MB). Peak memory consumption was 37.7MB. Max. memory is 8.0GB. [2025-04-13 21:49:49,374 INFO L158 Benchmark]: Boogie Procedure Inliner took 87.65ms. Allocated memory is still 167.8MB. Free memory was 81.4MB in the beginning and 72.1MB in the end (delta: 9.3MB). Peak memory consumption was 8.4MB. Max. memory is 8.0GB. [2025-04-13 21:49:49,375 INFO L158 Benchmark]: Boogie Preprocessor took 126.82ms. Allocated memory is still 167.8MB. Free memory was 72.1MB in the beginning and 59.5MB in the end (delta: 12.6MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. [2025-04-13 21:49:49,375 INFO L158 Benchmark]: IcfgBuilder took 867788.11ms. Allocated memory was 167.8MB in the beginning and 2.4GB in the end (delta: 2.3GB). Free memory was 59.5MB in the beginning and 1.4GB in the end (delta: -1.3GB). Peak memory consumption was 1.9GB. Max. memory is 8.0GB. [2025-04-13 21:49:49,376 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.32ms. Allocated memory is still 163.6MB. Free memory is still 91.0MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 552.23ms. Allocated memory is still 167.8MB. Free memory was 117.3MB in the beginning and 81.4MB in the end (delta: 35.9MB). Peak memory consumption was 37.7MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 87.65ms. Allocated memory is still 167.8MB. Free memory was 81.4MB in the beginning and 72.1MB in the end (delta: 9.3MB). Peak memory consumption was 8.4MB. Max. memory is 8.0GB. * Boogie Preprocessor took 126.82ms. Allocated memory is still 167.8MB. Free memory was 72.1MB in the beginning and 59.5MB in the end (delta: 12.6MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. * IcfgBuilder took 867788.11ms. Allocated memory was 167.8MB in the beginning and 2.4GB in the end (delta: 2.3GB). Free memory was 59.5MB in the beginning and 1.4GB in the end (delta: -1.3GB). Peak memory consumption was 1.9GB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder: - TimeoutResult: Timeout (de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder) Toolchain cancelled while XnfDer was eliminating 1 quantified variables from 10 xjuncts. RESULT: Ultimate could not prove your program: Timeout Completed graceful shutdown