/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 PETRI_NET --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 23:50:56,740 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-04-13 23:50:56,797 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 23:50:56,803 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-04-13 23:50:56,805 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-04-13 23:50:56,825 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-04-13 23:50:56,826 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-04-13 23:50:56,826 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-04-13 23:50:56,827 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-04-13 23:50:56,827 INFO L153 SettingsManager]: * Use memory slicer=true [2025-04-13 23:50:56,827 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-04-13 23:50:56,827 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-04-13 23:50:56,828 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-04-13 23:50:56,828 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-04-13 23:50:56,828 INFO L153 SettingsManager]: * Use SBE=true [2025-04-13 23:50:56,829 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * sizeof long=4 [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * sizeof long double=12 [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * Use constant arrays=true [2025-04-13 23:50:56,829 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-04-13 23:50:56,829 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 23:50:56,830 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 23:50:56,830 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-04-13 23:50:56,830 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-04-13 23:50:56,831 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-04-13 23:50:56,831 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-04-13 23:50:56,831 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 Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Replace while statements and if-then-else statements -> false [2025-04-13 23:50:57,044 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-04-13 23:50:57,051 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-04-13 23:50:57,053 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-04-13 23:50:57,057 INFO L270 PluginConnector]: Initializing CDTParser... [2025-04-13 23:50:57,058 INFO L274 PluginConnector]: CDTParser initialized [2025-04-13 23:50:57,059 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 23:50:58,394 INFO L538 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9d0a45c1d/870c0368f00b46eb95207905b6a93aed/FLAG3b27c468a [2025-04-13 23:50:58,658 INFO L389 CDTParser]: Found 1 translation units. [2025-04-13 23:50:58,659 INFO L178 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/25_stack_longest-2.i [2025-04-13 23:50:58,674 INFO L432 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9d0a45c1d/870c0368f00b46eb95207905b6a93aed/FLAG3b27c468a [2025-04-13 23:50:59,396 INFO L440 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9d0a45c1d/870c0368f00b46eb95207905b6a93aed [2025-04-13 23:50:59,398 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-04-13 23:50:59,399 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2025-04-13 23:50:59,400 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-04-13 23:50:59,400 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-04-13 23:50:59,403 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-04-13 23:50:59,403 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:50:59,404 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7242e033 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59, skipping insertion in model container [2025-04-13 23:50:59,404 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:50:59,431 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-04-13 23:50:59,711 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 23:50:59,733 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-13 23:50:59,797 INFO L200 MainTranslator]: Completed pre-run [2025-04-13 23:50:59,846 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 23:50:59,849 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-13 23:50:59,892 INFO L204 MainTranslator]: Completed translation [2025-04-13 23:50:59,892 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59 WrapperNode [2025-04-13 23:50:59,893 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-04-13 23:50:59,894 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-04-13 23:50:59,894 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-04-13 23:50:59,894 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-04-13 23:50:59,898 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:50:59,920 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:50:59,994 INFO L138 Inliner]: procedures = 171, calls = 35, calls flagged for inlining = 9, calls inlined = 8, statements flattened = 2047 [2025-04-13 23:50:59,995 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-04-13 23:50:59,995 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-04-13 23:50:59,995 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-04-13 23:50:59,995 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-04-13 23:51:00,004 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,004 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,012 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,059 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 23:51:00,060 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,060 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,092 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,105 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,109 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,117 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,133 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-04-13 23:51:00,135 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-04-13 23:51:00,135 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-04-13 23:51:00,135 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-04-13 23:51:00,136 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 11:50:59" (1/1) ... [2025-04-13 23:51:00,141 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 23:51:00,151 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-13 23:51:00,164 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 23:51:00,169 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 23:51:00,184 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2025-04-13 23:51:00,184 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2025-04-13 23:51:00,184 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-04-13 23:51:00,184 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2025-04-13 23:51:00,184 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-04-13 23:51:00,185 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-04-13 23:51:00,185 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-04-13 23:51:00,185 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-04-13 23:51:00,185 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2025-04-13 23:51:00,185 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-04-13 23:51:00,185 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-04-13 23:51:00,185 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-04-13 23:51:00,187 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 23:51:00,292 INFO L256 CfgBuilder]: Building ICFG [2025-04-13 23:51:00,293 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-04-13 23:51:01,703 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-04-13 23:51:01,704 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-04-13 23:51:01,704 INFO L318 CfgBuilder]: Performing block encoding Received shutdown request... [2025-04-14 00:05:29,627 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-14 00:05:30,380 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-14 00:05:30,385 INFO L158 Benchmark]: Toolchain (without parser) took 870983.07ms. Allocated memory was 155.2MB in the beginning and 2.5GB in the end (delta: 2.3GB). Free memory was 113.5MB in the beginning and 1.5GB in the end (delta: -1.4GB). Peak memory consumption was 2.0GB. Max. memory is 8.0GB. [2025-04-14 00:05:30,386 INFO L158 Benchmark]: CDTParser took 0.22ms. Allocated memory is still 197.1MB. Free memory is still 114.8MB. There was no memory consumed. Max. memory is 8.0GB. [2025-04-14 00:05:30,386 INFO L158 Benchmark]: CACSL2BoogieTranslator took 493.32ms. Allocated memory is still 155.2MB. Free memory was 113.5MB in the beginning and 77.5MB in the end (delta: 35.9MB). Peak memory consumption was 33.6MB. Max. memory is 8.0GB. [2025-04-14 00:05:30,387 INFO L158 Benchmark]: Boogie Procedure Inliner took 101.20ms. Allocated memory is still 155.2MB. Free memory was 77.5MB in the beginning and 68.3MB in the end (delta: 9.2MB). Peak memory consumption was 8.4MB. Max. memory is 8.0GB. [2025-04-14 00:05:30,387 INFO L158 Benchmark]: Boogie Preprocessor took 138.28ms. Allocated memory is still 155.2MB. Free memory was 68.3MB in the beginning and 55.4MB in the end (delta: 12.9MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. [2025-04-14 00:05:30,387 INFO L158 Benchmark]: IcfgBuilder took 870246.31ms. Allocated memory was 155.2MB in the beginning and 2.5GB in the end (delta: 2.3GB). Free memory was 55.4MB in the beginning and 1.5GB in the end (delta: -1.5GB). Peak memory consumption was 1.9GB. Max. memory is 8.0GB. [2025-04-14 00:05:30,389 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.22ms. Allocated memory is still 197.1MB. Free memory is still 114.8MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 493.32ms. Allocated memory is still 155.2MB. Free memory was 113.5MB in the beginning and 77.5MB in the end (delta: 35.9MB). Peak memory consumption was 33.6MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 101.20ms. Allocated memory is still 155.2MB. Free memory was 77.5MB in the beginning and 68.3MB in the end (delta: 9.2MB). Peak memory consumption was 8.4MB. Max. memory is 8.0GB. * Boogie Preprocessor took 138.28ms. Allocated memory is still 155.2MB. Free memory was 68.3MB in the beginning and 55.4MB in the end (delta: 12.9MB). Peak memory consumption was 12.6MB. Max. memory is 8.0GB. * IcfgBuilder took 870246.31ms. Allocated memory was 155.2MB in the beginning and 2.5GB in the end (delta: 2.3GB). Free memory was 55.4MB in the beginning and 1.5GB in the end (delta: -1.5GB). 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