./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i --traceabstraction.use.conditional.por.in.concurrent.analysis true --traceabstraction.commutativity.condition.synthesis NONE --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version ebd41074 Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/config/GemCutterReach.xml -i ../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 6780d9b269575eab8bb01b5a192a21fa771f6fcc4c495cab5abe1df10d7681d5 --traceabstraction.use.conditional.por.in.concurrent.analysis true --traceabstraction.commutativity.condition.synthesis NONE --- Real Ultimate output --- This is Ultimate 0.3.0-dev-ebd4107-m [2025-01-23 09:14:41,665 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-01-23 09:14:41,775 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf [2025-01-23 09:14:41,782 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-01-23 09:14:41,782 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-01-23 09:14:41,800 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-01-23 09:14:41,800 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-01-23 09:14:41,801 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-01-23 09:14:41,801 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-01-23 09:14:41,801 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-01-23 09:14:41,801 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-01-23 09:14:41,801 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-01-23 09:14:41,802 INFO L153 SettingsManager]: * Use SBE=true [2025-01-23 09:14:41,802 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-01-23 09:14:41,802 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-01-23 09:14:41,802 INFO L153 SettingsManager]: * sizeof long=4 [2025-01-23 09:14:41,802 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-01-23 09:14:41,802 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-01-23 09:14:41,802 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-01-23 09:14:41,803 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-01-23 09:14:41,803 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-01-23 09:14:41,803 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-01-23 09:14:41,803 INFO L153 SettingsManager]: * sizeof long double=12 [2025-01-23 09:14:41,803 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-01-23 09:14:41,803 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-01-23 09:14:41,803 INFO L153 SettingsManager]: * Use constant arrays=true [2025-01-23 09:14:41,803 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-01-23 09:14:41,803 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-01-23 09:14:41,804 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-01-23 09:14:41,804 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-01-23 09:14:41,804 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2025-01-23 09:14:41,804 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-01-23 09:14:41,804 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-01-23 09:14:41,804 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-01-23 09:14:41,804 INFO L153 SettingsManager]: * Commutativity condition synthesis=NECESSARY_AND_SUFFICIENT [2025-01-23 09:14:41,804 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-01-23 09:14:41,804 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-01-23 09:14:41,804 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2025-01-23 09:14:41,805 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-01-23 09:14:41,805 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-01-23 09:14:41,805 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2025-01-23 09:14:41,805 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2025-01-23 09:14:41,805 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2025-01-23 09:14:41,805 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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-jdk21/releaseScripts/default/UGemCutter-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> GemCutter 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 -> 6780d9b269575eab8bb01b5a192a21fa771f6fcc4c495cab5abe1df10d7681d5 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Use conditional POR in concurrent analysis -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Commutativity condition synthesis -> NONE [2025-01-23 09:14:42,144 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-01-23 09:14:42,152 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-01-23 09:14:42,154 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-01-23 09:14:42,156 INFO L270 PluginConnector]: Initializing CDTParser... [2025-01-23 09:14:42,156 INFO L274 PluginConnector]: CDTParser initialized [2025-01-23 09:14:42,157 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i [2025-01-23 09:14:43,534 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/b3c728fbc/61b13c21d5da4818aa50988a8a7e0ff8/FLAG320744c20 [2025-01-23 09:14:43,891 INFO L384 CDTParser]: Found 1 translation units. [2025-01-23 09:14:43,892 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/trunk/examples/svcomp/pthread-complex/bounded_buffer.i [2025-01-23 09:14:43,921 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/b3c728fbc/61b13c21d5da4818aa50988a8a7e0ff8/FLAG320744c20 [2025-01-23 09:14:44,099 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/b3c728fbc/61b13c21d5da4818aa50988a8a7e0ff8 [2025-01-23 09:14:44,102 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-01-23 09:14:44,103 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-01-23 09:14:44,104 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-01-23 09:14:44,104 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-01-23 09:14:44,109 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-01-23 09:14:44,109 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:44,110 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@76bb2240 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44, skipping insertion in model container [2025-01-23 09:14:44,111 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:44,153 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-01-23 09:14:44,675 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/trunk/examples/svcomp/pthread-complex/bounded_buffer.i[70002,70015] [2025-01-23 09:14:44,714 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-01-23 09:14:44,729 INFO L200 MainTranslator]: Completed pre-run [2025-01-23 09:14:44,873 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/trunk/examples/svcomp/pthread-complex/bounded_buffer.i[70002,70015] [2025-01-23 09:14:44,897 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-01-23 09:14:44,991 INFO L204 MainTranslator]: Completed translation [2025-01-23 09:14:44,991 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44 WrapperNode [2025-01-23 09:14:44,992 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-01-23 09:14:44,993 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-01-23 09:14:44,993 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-01-23 09:14:44,993 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-01-23 09:14:45,014 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,036 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,068 INFO L138 Inliner]: procedures = 429, calls = 134, calls flagged for inlining = 7, calls inlined = 7, statements flattened = 450 [2025-01-23 09:14:45,068 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-01-23 09:14:45,069 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-01-23 09:14:45,069 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-01-23 09:14:45,069 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-01-23 09:14:45,075 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,076 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,081 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,081 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,102 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,107 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,116 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,119 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,121 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,127 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-01-23 09:14:45,130 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2025-01-23 09:14:45,131 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2025-01-23 09:14:45,131 INFO L274 PluginConnector]: RCFGBuilder initialized [2025-01-23 09:14:45,134 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (1/1) ... [2025-01-23 09:14:45,139 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2025-01-23 09:14:45,150 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2025-01-23 09:14:45,165 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2025-01-23 09:14:45,172 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2025-01-23 09:14:45,193 INFO L130 BoogieDeclarations]: Found specification of procedure producer_routine [2025-01-23 09:14:45,193 INFO L138 BoogieDeclarations]: Found implementation of procedure producer_routine [2025-01-23 09:14:45,193 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-01-23 09:14:45,193 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2025-01-23 09:14:45,193 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-01-23 09:14:45,193 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-01-23 09:14:45,193 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-01-23 09:14:45,194 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2025-01-23 09:14:45,194 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-01-23 09:14:45,194 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-01-23 09:14:45,194 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-01-23 09:14:45,194 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2025-01-23 09:14:45,194 INFO L130 BoogieDeclarations]: Found specification of procedure consumer_routine [2025-01-23 09:14:45,194 INFO L138 BoogieDeclarations]: Found implementation of procedure consumer_routine [2025-01-23 09:14:45,194 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-01-23 09:14:45,194 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2025-01-23 09:14:45,194 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2025-01-23 09:14:45,196 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-01-23 09:14:45,395 INFO L234 CfgBuilder]: Building ICFG [2025-01-23 09:14:45,398 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2025-01-23 09:14:46,078 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-01-23 09:14:46,078 INFO L283 CfgBuilder]: Performing block encoding [2025-01-23 09:14:46,504 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-01-23 09:14:46,504 INFO L312 CfgBuilder]: Removed 7 assume(true) statements. [2025-01-23 09:14:46,505 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.01 09:14:46 BoogieIcfgContainer [2025-01-23 09:14:46,505 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2025-01-23 09:14:46,506 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-01-23 09:14:46,506 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-01-23 09:14:46,513 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-01-23 09:14:46,513 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.01 09:14:44" (1/3) ... [2025-01-23 09:14:46,514 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@50d7d5bf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.01 09:14:46, skipping insertion in model container [2025-01-23 09:14:46,514 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:14:44" (2/3) ... [2025-01-23 09:14:46,514 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@50d7d5bf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.01 09:14:46, skipping insertion in model container [2025-01-23 09:14:46,514 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.01 09:14:46" (3/3) ... [2025-01-23 09:14:46,515 INFO L128 eAbstractionObserver]: Analyzing ICFG bounded_buffer.i [2025-01-23 09:14:46,530 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-01-23 09:14:46,531 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG bounded_buffer.i that has 3 procedures, 81 locations, 1 initial locations, 13 loop locations, and 3 error locations. [2025-01-23 09:14:46,532 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-01-23 09:14:46,643 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2025-01-23 09:14:46,692 INFO L125 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-01-23 09:14:46,692 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2025-01-23 09:14:46,692 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2025-01-23 09:14:46,696 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2025-01-23 09:14:46,699 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2025-01-23 09:14:46,846 INFO L177 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2025-01-23 09:14:46,855 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == producer_routineThread1of1ForFork0 ======== [2025-01-23 09:14:46,864 INFO L333 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PARTIAL_ORDER_FA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@555735ae, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-01-23 09:14:46,866 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2025-01-23 09:14:49,727 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting producer_routineErr0ASSERT_VIOLATIONUNSUPPORTED_FEATURE === [producer_routineErr0ASSERT_VIOLATIONUNSUPPORTED_FEATURE] === [2025-01-23 09:14:49,731 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-01-23 09:14:49,732 INFO L85 PathProgramCache]: Analyzing trace with hash -1481900307, now seen corresponding path program 1 times [2025-01-23 09:14:49,738 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-01-23 09:14:49,738 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [591584896] [2025-01-23 09:14:49,739 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-01-23 09:14:49,739 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-01-23 09:14:49,861 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 13 statements into 1 equivalence classes. [2025-01-23 09:14:49,949 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 13 of 13 statements. [2025-01-23 09:14:49,954 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-01-23 09:14:49,954 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-01-23 09:14:50,210 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-01-23 09:14:50,210 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-01-23 09:14:50,211 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [591584896] [2025-01-23 09:14:50,211 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [591584896] provided 1 perfect and 0 imperfect interpolant sequences [2025-01-23 09:14:50,211 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-01-23 09:14:50,212 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2025-01-23 09:14:50,213 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1462589152] [2025-01-23 09:14:50,213 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-01-23 09:14:50,216 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-01-23 09:14:50,217 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-01-23 09:14:50,232 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-01-23 09:14:50,233 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-01-23 09:14:50,233 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-01-23 09:14:50,234 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2025-01-23 09:14:50,236 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 3.25) internal successors, (13), 4 states have internal predecessors, (13), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-01-23 09:14:50,236 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2025-01-23 09:25:11,406 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-01-23 09:25:11,406 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-01-23 09:25:11,406 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting producer_routineErr0ASSERT_VIOLATIONUNSUPPORTED_FEATURE === [producer_routineErr0ASSERT_VIOLATIONUNSUPPORTED_FEATURE] === [2025-01-23 09:25:11,407 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-01-23 09:25:11,407 INFO L85 PathProgramCache]: Analyzing trace with hash -1225798490, now seen corresponding path program 1 times [2025-01-23 09:25:11,407 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-01-23 09:25:11,407 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1196217112] [2025-01-23 09:25:11,407 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-01-23 09:25:11,407 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-01-23 09:25:11,442 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 17 statements into 1 equivalence classes. [2025-01-23 09:25:11,488 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 17 of 17 statements. [2025-01-23 09:25:11,492 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-01-23 09:25:11,492 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-01-23 09:25:11,692 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-01-23 09:25:11,692 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-01-23 09:25:11,692 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1196217112] [2025-01-23 09:25:11,692 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1196217112] provided 1 perfect and 0 imperfect interpolant sequences [2025-01-23 09:25:11,692 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-01-23 09:25:11,693 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-01-23 09:25:11,693 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [679581107] [2025-01-23 09:25:11,693 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-01-23 09:25:11,695 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-01-23 09:25:11,695 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-01-23 09:25:11,695 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-01-23 09:25:11,696 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2025-01-23 09:25:11,696 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-01-23 09:25:11,696 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2025-01-23 09:25:11,697 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 4.25) internal successors, (17), 3 states have internal predecessors, (17), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-01-23 09:25:11,697 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 4 states. [2025-01-23 09:25:11,697 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2025-01-23 09:28:30,329 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-01-23 09:28:30,330 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-01-23 09:28:30,330 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-01-23 09:28:30,330 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting producer_routineErr0ASSERT_VIOLATIONUNSUPPORTED_FEATURE === [producer_routineErr0ASSERT_VIOLATIONUNSUPPORTED_FEATURE] === [2025-01-23 09:28:30,330 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-01-23 09:28:30,331 INFO L85 PathProgramCache]: Analyzing trace with hash 654955265, now seen corresponding path program 1 times [2025-01-23 09:28:30,331 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-01-23 09:28:30,331 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1226849693] [2025-01-23 09:28:30,331 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-01-23 09:28:30,331 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-01-23 09:28:30,363 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 18 statements into 1 equivalence classes. [2025-01-23 09:28:30,581 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 18 of 18 statements. [2025-01-23 09:28:30,581 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-01-23 09:28:30,581 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unknown [2025-01-23 09:28:30,587 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1870308270] [2025-01-23 09:28:30,588 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-01-23 09:28:30,588 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-01-23 09:28:30,588 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2025-01-23 09:28:30,591 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-01-23 09:28:30,593 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2025-01-23 09:28:30,755 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 18 statements into 1 equivalence classes. [2025-01-23 09:28:33,371 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 18 of 18 statements. [2025-01-23 09:28:33,372 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-01-23 09:28:33,372 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-01-23 09:28:33,372 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-01-23 09:28:33,409 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 18 statements into 1 equivalence classes. [2025-01-23 09:28:38,467 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 18 of 18 statements. [2025-01-23 09:28:38,467 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-01-23 09:28:38,467 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-01-23 09:28:38,598 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-01-23 09:28:38,599 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-01-23 09:28:38,600 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location producer_routineErr0ASSERT_VIOLATIONUNSUPPORTED_FEATURE (0 of 1 remaining) [2025-01-23 09:28:38,623 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2025-01-23 09:28:38,803 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,3 /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-01-23 09:28:38,808 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2025-01-23 09:28:38,809 INFO L319 ceAbstractionStarter]: Result for error location producer_routineThread1of1ForFork0 was UNSAFE (1/3) [2025-01-23 09:28:38,851 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-01-23 09:28:38,851 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-01-23 09:28:39,053 WARN L435 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Forcibly destroying the process [2025-01-23 09:28:39,254 FATAL L548 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Could not destroy process within 200 ms, abandoning it [2025-01-23 09:28:39,256 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.01 09:28:39 BasicIcfg [2025-01-23 09:28:39,256 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-01-23 09:28:39,256 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-01-23 09:28:39,256 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-01-23 09:28:39,257 INFO L274 PluginConnector]: Witness Printer initialized [2025-01-23 09:28:39,258 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.01 09:14:46" (3/4) ... [2025-01-23 09:28:39,263 INFO L149 WitnessPrinter]: No result that supports witness generation found [2025-01-23 09:28:39,263 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-01-23 09:28:39,264 INFO L158 Benchmark]: Toolchain (without parser) took 835161.01ms. Allocated memory was 117.4MB in the beginning and 369.1MB in the end (delta: 251.7MB). Free memory was 89.0MB in the beginning and 277.0MB in the end (delta: -188.0MB). Peak memory consumption was 65.8MB. Max. memory is 16.1GB. [2025-01-23 09:28:39,268 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 83.9MB. Free memory was 61.5MB in the beginning and 61.5MB in the end (delta: 33.6kB). There was no memory consumed. Max. memory is 16.1GB. [2025-01-23 09:28:39,268 INFO L158 Benchmark]: CACSL2BoogieTranslator took 887.84ms. Allocated memory is still 117.4MB. Free memory was 88.8MB in the beginning and 36.6MB in the end (delta: 52.2MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. [2025-01-23 09:28:39,268 INFO L158 Benchmark]: Boogie Procedure Inliner took 75.68ms. Allocated memory is still 117.4MB. Free memory was 36.6MB in the beginning and 85.8MB in the end (delta: -49.2MB). Peak memory consumption was 13.2MB. Max. memory is 16.1GB. [2025-01-23 09:28:39,268 INFO L158 Benchmark]: Boogie Preprocessor took 58.45ms. Allocated memory is still 117.4MB. Free memory was 85.8MB in the beginning and 82.7MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. [2025-01-23 09:28:39,268 INFO L158 Benchmark]: RCFGBuilder took 1374.41ms. Allocated memory is still 117.4MB. Free memory was 82.7MB in the beginning and 54.2MB in the end (delta: 28.5MB). Peak memory consumption was 63.8MB. Max. memory is 16.1GB. [2025-01-23 09:28:39,268 INFO L158 Benchmark]: TraceAbstraction took 832749.51ms. Allocated memory was 117.4MB in the beginning and 369.1MB in the end (delta: 251.7MB). Free memory was 53.4MB in the beginning and 277.0MB in the end (delta: -223.7MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. [2025-01-23 09:28:39,268 INFO L158 Benchmark]: Witness Printer took 7.10ms. Allocated memory is still 369.1MB. Free memory was 277.0MB in the beginning and 277.0MB in the end (delta: 14.8kB). There was no memory consumed. Max. memory is 16.1GB. [2025-01-23 09:28:39,270 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.31ms. Allocated memory is still 83.9MB. Free memory was 61.5MB in the beginning and 61.5MB in the end (delta: 33.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 887.84ms. Allocated memory is still 117.4MB. Free memory was 88.8MB in the beginning and 36.6MB in the end (delta: 52.2MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 75.68ms. Allocated memory is still 117.4MB. Free memory was 36.6MB in the beginning and 85.8MB in the end (delta: -49.2MB). Peak memory consumption was 13.2MB. Max. memory is 16.1GB. * Boogie Preprocessor took 58.45ms. Allocated memory is still 117.4MB. Free memory was 85.8MB in the beginning and 82.7MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 1374.41ms. Allocated memory is still 117.4MB. Free memory was 82.7MB in the beginning and 54.2MB in the end (delta: 28.5MB). Peak memory consumption was 63.8MB. Max. memory is 16.1GB. * TraceAbstraction took 832749.51ms. Allocated memory was 117.4MB in the beginning and 369.1MB in the end (delta: 251.7MB). Free memory was 53.4MB in the beginning and 277.0MB in the end (delta: -223.7MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. * Witness Printer took 7.10ms. Allocated memory is still 369.1MB. Free memory was 277.0MB in the beginning and 277.0MB in the end (delta: 14.8kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Partial order reduction statistics Independence relation #1 benchmarks: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1257, independent: 1173, independent conditional: 82, independent unconditional: 1091, dependent: 80, dependent conditional: 59, dependent unconditional: 21, unknown: 4, unknown conditional: 2, unknown unconditional: 2] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1206, independent: 1173, independent conditional: 82, independent unconditional: 1091, dependent: 29, dependent conditional: 8, dependent unconditional: 21, unknown: 4, unknown conditional: 2, unknown unconditional: 2] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1206, independent: 1173, independent conditional: 82, independent unconditional: 1091, dependent: 29, dependent conditional: 8, dependent unconditional: 21, unknown: 4, unknown conditional: 2, unknown unconditional: 2] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1217, independent: 1173, independent conditional: 82, independent unconditional: 1091, dependent: 38, dependent conditional: 17, dependent unconditional: 21, unknown: 6, unknown conditional: 4, unknown unconditional: 2] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1217, independent: 1173, independent conditional: 0, independent unconditional: 1173, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 6, unknown conditional: 2, unknown unconditional: 4] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1217, independent: 1173, independent conditional: 0, independent unconditional: 1173, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 6, unknown conditional: 2, unknown unconditional: 4] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1080, independent: 1051, independent conditional: 0, independent unconditional: 1051, dependent: 26, dependent conditional: 5, dependent unconditional: 21, unknown: 3, unknown conditional: 1, unknown unconditional: 2] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1080, independent: 1047, independent conditional: 0, independent unconditional: 1047, dependent: 33, dependent conditional: 0, dependent unconditional: 33, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 33, independent: 4, independent conditional: 0, independent unconditional: 4, dependent: 26, dependent conditional: 5, dependent unconditional: 21, unknown: 3, unknown conditional: 1, unknown unconditional: 2] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 33, independent: 4, independent conditional: 0, independent unconditional: 4, dependent: 26, dependent conditional: 5, dependent unconditional: 21, unknown: 3, unknown conditional: 1, unknown unconditional: 2] , SemanticIndependenceRelation.Query Time [ms]: [ total: 821856, independent: 75, independent conditional: 0, independent unconditional: 75, dependent: 203716, dependent conditional: 198291, dependent unconditional: 5425, unknown: 618065, unknown conditional: 325667, unknown unconditional: 292398] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 1217, independent: 122, independent conditional: 0, independent unconditional: 122, dependent: 12, dependent conditional: 1, dependent unconditional: 11, unknown: 1083, unknown conditional: 7, unknown unconditional: 1076] , Statistics on independence cache: Total cache size (in pairs): 1080, Positive cache size: 1051, Positive conditional cache size: 0, Positive unconditional cache size: 1051, Negative cache size: 26, Negative conditional cache size: 5, Negative unconditional cache size: 21, Unknown cache size: 3, Unknown conditional cache size: 1, Unknown unconditional cache size: 2, Eliminated conditions: 95, Maximal queried relation: 2, Independence queries for same thread: 51, Persistent sets #1 benchmarks: Persistent set computation time: 298.0s, Number of persistent set computation: 21, Number of trivial persistent sets: 17, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1114, independent: 1091, independent conditional: 0, independent unconditional: 1091, dependent: 21, dependent conditional: 0, dependent unconditional: 21, unknown: 2, unknown conditional: 0, unknown unconditional: 2] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1257, independent: 1173, independent conditional: 82, independent unconditional: 1091, dependent: 80, dependent conditional: 59, dependent unconditional: 21, unknown: 4, unknown conditional: 2, unknown unconditional: 2] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1206, independent: 1173, independent conditional: 82, independent unconditional: 1091, dependent: 29, dependent conditional: 8, dependent unconditional: 21, unknown: 4, unknown conditional: 2, unknown unconditional: 2] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1206, independent: 1173, independent conditional: 82, independent unconditional: 1091, dependent: 29, dependent conditional: 8, dependent unconditional: 21, unknown: 4, unknown conditional: 2, unknown unconditional: 2] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1217, independent: 1173, independent conditional: 82, independent unconditional: 1091, dependent: 38, dependent conditional: 17, dependent unconditional: 21, unknown: 6, unknown conditional: 4, unknown unconditional: 2] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1217, independent: 1173, independent conditional: 0, independent unconditional: 1173, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 6, unknown conditional: 2, unknown unconditional: 4] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1217, independent: 1173, independent conditional: 0, independent unconditional: 1173, dependent: 38, dependent conditional: 6, dependent unconditional: 32, unknown: 6, unknown conditional: 2, unknown unconditional: 4] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1080, independent: 1051, independent conditional: 0, independent unconditional: 1051, dependent: 26, dependent conditional: 5, dependent unconditional: 21, unknown: 3, unknown conditional: 1, unknown unconditional: 2] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1080, independent: 1047, independent conditional: 0, independent unconditional: 1047, dependent: 33, dependent conditional: 0, dependent unconditional: 33, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 33, independent: 4, independent conditional: 0, independent unconditional: 4, dependent: 26, dependent conditional: 5, dependent unconditional: 21, unknown: 3, unknown conditional: 1, unknown unconditional: 2] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 33, independent: 4, independent conditional: 0, independent unconditional: 4, dependent: 26, dependent conditional: 5, dependent unconditional: 21, unknown: 3, unknown conditional: 1, unknown unconditional: 2] , SemanticIndependenceRelation.Query Time [ms]: [ total: 821856, independent: 75, independent conditional: 0, independent unconditional: 75, dependent: 203716, dependent conditional: 198291, dependent unconditional: 5425, unknown: 618065, unknown conditional: 325667, unknown unconditional: 292398] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 1217, independent: 122, independent conditional: 0, independent unconditional: 122, dependent: 12, dependent conditional: 1, dependent unconditional: 11, unknown: 1083, unknown conditional: 7, unknown unconditional: 1076] , Statistics on independence cache: Total cache size (in pairs): 1080, Positive cache size: 1051, Positive conditional cache size: 0, Positive unconditional cache size: 1051, Negative cache size: 26, Negative conditional cache size: 5, Negative unconditional cache size: 21, Unknown cache size: 3, Unknown conditional cache size: 1, Unknown unconditional cache size: 2, Eliminated conditions: 95, Maximal queried relation: 2, Independence queries for same thread: 51 - UnprovableResult [Line: 1636]: Unable to prove that there are no unsupported features in the program Unable to prove that there are no unsupported features in the program Reason: overapproximation of fflush at line 1636. Possible FailurePath: [L1663] 0 thread_t producers[2]; [L1664] 0 thread_t consumers[2]; [L1665] 0 int i; [L1666] 0 bounded_buf_t buffer; [L1667] CALL 0 bounded_buf_init(&buffer, 3) [L1452] 0 int status = 0; [L1453] COND FALSE 0 !(bbuf == ((void *)0)) [L1454] 0 bbuf->valid = 0xACDEFA [L1455] 0 status = pthread_mutex_init(&bbuf->mutex, ((void *)0)) [L1456] COND FALSE 0 !(status != 0) [L1457] 0 status = pthread_cond_init(&bbuf->not_full, ((void *)0)) [L1458] COND FALSE 0 !(status != 0) [L1463] 0 status = pthread_cond_init(&bbuf->not_empty, ((void *)0)) [L1464] COND FALSE 0 !(status != 0) [L1470] 0 bbuf->item_num = 0 [L1471] 0 bbuf->max_size = sz [L1472] 0 bbuf->head = 0 [L1473] 0 bbuf->rear = 0 [L1474] EXPR, FCALL 0 calloc( sz, sizeof(void*) ) [L1474] 0 bbuf->buf = calloc( sz, sizeof(void*) ) [L1475] EXPR 0 bbuf->buf [L1475] COND FALSE 0 !(bbuf->buf == ((void *)0)) [L1482] 0 bbuf->head = 0 [L1483] 0 bbuf->rear = 0 [L1484] 0 bbuf->p_wait = 0 [L1485] 0 bbuf->c_wait = 0 [L1486] 0 return 0; [L1667] RET 0 bounded_buf_init(&buffer, 3) [L1668] 0 i = 0 VAL [buffer={5:0}, consumers={7:0}, i=0, producers={6:0}] [L1668] COND TRUE 0 i < 2 [L1670] 0 producers[i].id = i [L1671] 0 producers[i].bbuf = &buffer [L1672] FCALL, FORK 0 pthread_create(&producers[i].pid, ((void *)0), producer_routine, (void*)&producers[i]) VAL [buffer={5:0}, consumers={7:0}, i=0, producers={6:0}] [L1623] 1 thread_t * thread = (thread_t*) arg; [L1624] 1 int i, temp; [L1625] 1 int ch; [L1626] 1 int status = 0; [L1627] 1 i = 0 VAL [\at(arg, Pre)={6:0}, arg={6:0}, i=0, status=0, thread={6:0}] [L1668] 0 i++ VAL [buffer={5:0}, consumers={7:0}, i=1, producers={6:0}] [L1627] COND TRUE 1 i < 4 [L1629] 1 ch = __VERIFIER_nondet_int() [L1630] 1 temp = ch [L1631] EXPR 1 thread->bbuf [L1631] CALL, EXPR 1 bounded_buf_put(thread->bbuf, (void*)((int)temp)) [L1526] 1 int status = 0, status1 = 0, status2 = 0; [L1527] 1 bbuf == ((void *)0) || bbuf->valid != 0xACDEFA [L1527] EXPR 1 bbuf->valid [L1527] 1 bbuf == ((void *)0) || bbuf->valid != 0xACDEFA VAL [\at(bbuf, Pre)={5:0}, \at(item, Pre)={0:-2147483648}, bbuf={5:0}, item={0:-2147483648}, status1=0, status2=0, status=0] [L1527] COND FALSE 1 !(bbuf == ((void *)0) || bbuf->valid != 0xACDEFA) [L1529] 1 status = pthread_mutex_lock(&bbuf->mutex) [L1531] COND FALSE 1 !(status != 0) [L1532] EXPR 1 bbuf->rear [L1532] EXPR 1 bbuf->max_size [L1532] EXPR 1 bbuf->head VAL [\at(bbuf, Pre)={5:0}, \at(item, Pre)={0:-2147483648}, bbuf={5:0}, item={0:-2147483648}, status1=0, status2=0, status=0] [L1532] COND FALSE 1 !((bbuf->rear + 1)% bbuf->max_size == bbuf->head) [L1542] COND TRUE 1 status == 0 [L1543] EXPR 1 bbuf->buf [L1543] EXPR 1 bbuf->rear [L1543] 1 bbuf->buf[bbuf->rear]= item [L1544] EXPR 1 bbuf->rear [L1544] EXPR 1 bbuf->max_size [L1544] 1 bbuf->rear = (bbuf->rear+1)% (bbuf->max_size) [L1545] EXPR 1 bbuf->c_wait [L1545] COND FALSE 1 !(bbuf->c_wait > 0) [L1551] 1 status2 = pthread_mutex_unlock(&bbuf->mutex) [L1552] 1 return (status == 0)? status2 : status; VAL [\at(bbuf, Pre)={5:0}, \at(item, Pre)={0:-2147483648}, \result=0, bbuf={5:0}, item={0:-2147483648}, status1=0, status2=0, status=0] [L1631] RET, EXPR 1 bounded_buf_put(thread->bbuf, (void*)((int)temp)) [L1631] 1 status = bounded_buf_put(thread->bbuf, (void*)((int)temp)) [L1632] COND FALSE 1 !(status != 0) VAL [\at(arg, Pre)={6:0}, arg={6:0}, ch=-2147483648, i=0, status=0, temp=-2147483648, thread={6:0}] [L1668] COND TRUE 0 i < 2 [L1670] 0 producers[i].id = i [L1671] 0 producers[i].bbuf = &buffer [L1672] FCALL, FORK 0 pthread_create(&producers[i].pid, ((void *)0), producer_routine, (void*)&producers[i]) VAL [buffer={5:0}, consumers={7:0}, i=1, producers={6:0}] [L1636] 1 fflush(stdout) VAL [\at(arg, Pre)={6:0}, arg={6:0}, ch=-2147483648, i=0, status=0, temp=-2147483648, thread={6:0}] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: producer_routineThread1of1ForFork0 with 1 thread instances CFG has 5 procedures, 133 locations, 8 error locations. Started 1 CEGAR loops. OverallTime: 832.0s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 1, EmptinessCheckTime: 822.7s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 8, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 3.0s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 66 NumberOfCodeBlocks, 66 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 28 ConstructedInterpolants, 0 QuantifiedInterpolants, 62 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2025-01-23 09:28:39,294 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/config/GemCutterReach.xml -i ../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 6780d9b269575eab8bb01b5a192a21fa771f6fcc4c495cab5abe1df10d7681d5 --traceabstraction.use.conditional.por.in.concurrent.analysis true --traceabstraction.commutativity.condition.synthesis NONE --- Real Ultimate output --- This is Ultimate 0.3.0-dev-ebd4107-m [2025-01-23 09:28:41,368 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-01-23 09:28:41,499 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Bitvector.epf [2025-01-23 09:28:41,505 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-01-23 09:28:41,506 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-01-23 09:28:41,531 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-01-23 09:28:41,532 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-01-23 09:28:41,532 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-01-23 09:28:41,532 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-01-23 09:28:41,532 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-01-23 09:28:41,532 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-01-23 09:28:41,532 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-01-23 09:28:41,532 INFO L153 SettingsManager]: * Use SBE=true [2025-01-23 09:28:41,534 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-01-23 09:28:41,535 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-01-23 09:28:41,535 INFO L153 SettingsManager]: * sizeof long=4 [2025-01-23 09:28:41,535 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-01-23 09:28:41,535 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-01-23 09:28:41,535 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-01-23 09:28:41,535 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-01-23 09:28:41,535 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-01-23 09:28:41,536 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2025-01-23 09:28:41,536 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2025-01-23 09:28:41,536 INFO L153 SettingsManager]: * sizeof long double=12 [2025-01-23 09:28:41,536 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-01-23 09:28:41,536 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-01-23 09:28:41,536 INFO L153 SettingsManager]: * Use constant arrays=true [2025-01-23 09:28:41,536 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-01-23 09:28:41,536 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-01-23 09:28:41,537 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-01-23 09:28:41,537 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-01-23 09:28:41,537 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2025-01-23 09:28:41,537 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-01-23 09:28:41,537 INFO L153 SettingsManager]: * Refinement strategy for commutativity condition synthesis=FOX [2025-01-23 09:28:41,538 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-01-23 09:28:41,538 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-01-23 09:28:41,538 INFO L153 SettingsManager]: * Commutativity condition synthesis=NECESSARY_AND_SUFFICIENT [2025-01-23 09:28:41,538 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-01-23 09:28:41,538 INFO L153 SettingsManager]: * Trace refinement strategy=FOX [2025-01-23 09:28:41,538 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2025-01-23 09:28:41,538 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2025-01-23 09:28:41,538 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-01-23 09:28:41,539 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2025-01-23 09:28:41,539 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2025-01-23 09:28:41,539 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2025-01-23 09:28:41,539 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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-jdk21/releaseScripts/default/UGemCutter-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> GemCutter 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 -> 6780d9b269575eab8bb01b5a192a21fa771f6fcc4c495cab5abe1df10d7681d5 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Use conditional POR in concurrent analysis -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Commutativity condition synthesis -> NONE [2025-01-23 09:28:41,810 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-01-23 09:28:41,818 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-01-23 09:28:41,821 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-01-23 09:28:41,823 INFO L270 PluginConnector]: Initializing CDTParser... [2025-01-23 09:28:41,824 INFO L274 PluginConnector]: CDTParser initialized [2025-01-23 09:28:41,826 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i [2025-01-23 09:28:43,121 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/c15004d13/3c6dd449230d49fd844c29b4df4fbf70/FLAG783fc55f6 [2025-01-23 09:28:43,391 INFO L384 CDTParser]: Found 1 translation units. [2025-01-23 09:28:43,391 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/trunk/examples/svcomp/pthread-complex/bounded_buffer.i [2025-01-23 09:28:43,419 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/c15004d13/3c6dd449230d49fd844c29b4df4fbf70/FLAG783fc55f6 [2025-01-23 09:28:43,670 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/c15004d13/3c6dd449230d49fd844c29b4df4fbf70 [2025-01-23 09:28:43,672 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-01-23 09:28:43,673 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-01-23 09:28:43,674 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-01-23 09:28:43,674 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-01-23 09:28:43,677 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-01-23 09:28:43,677 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.01 09:28:43" (1/1) ... [2025-01-23 09:28:43,678 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4c469cf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:43, skipping insertion in model container [2025-01-23 09:28:43,678 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.01 09:28:43" (1/1) ... [2025-01-23 09:28:43,716 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-01-23 09:28:44,187 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/trunk/examples/svcomp/pthread-complex/bounded_buffer.i[70002,70015] [2025-01-23 09:28:44,232 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-01-23 09:28:44,249 INFO L200 MainTranslator]: Completed pre-run [2025-01-23 09:28:44,386 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/trunk/examples/svcomp/pthread-complex/bounded_buffer.i[70002,70015] [2025-01-23 09:28:44,410 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-01-23 09:28:44,522 INFO L204 MainTranslator]: Completed translation [2025-01-23 09:28:44,522 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44 WrapperNode [2025-01-23 09:28:44,522 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-01-23 09:28:44,523 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-01-23 09:28:44,523 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-01-23 09:28:44,524 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-01-23 09:28:44,529 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,556 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,589 INFO L138 Inliner]: procedures = 432, calls = 134, calls flagged for inlining = 7, calls inlined = 7, statements flattened = 446 [2025-01-23 09:28:44,589 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-01-23 09:28:44,589 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-01-23 09:28:44,590 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-01-23 09:28:44,590 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-01-23 09:28:44,596 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,596 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,603 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,607 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,640 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,644 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,653 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,656 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,658 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,663 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-01-23 09:28:44,664 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2025-01-23 09:28:44,664 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2025-01-23 09:28:44,664 INFO L274 PluginConnector]: RCFGBuilder initialized [2025-01-23 09:28:44,665 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (1/1) ... [2025-01-23 09:28:44,675 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2025-01-23 09:28:44,688 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2025-01-23 09:28:44,701 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2025-01-23 09:28:44,705 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2025-01-23 09:28:44,730 INFO L130 BoogieDeclarations]: Found specification of procedure producer_routine [2025-01-23 09:28:44,730 INFO L138 BoogieDeclarations]: Found implementation of procedure producer_routine [2025-01-23 09:28:44,730 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-01-23 09:28:44,730 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2025-01-23 09:28:44,730 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-01-23 09:28:44,730 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-01-23 09:28:44,731 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-01-23 09:28:44,731 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2025-01-23 09:28:44,731 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-01-23 09:28:44,731 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-01-23 09:28:44,732 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2025-01-23 09:28:44,732 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-01-23 09:28:44,732 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2025-01-23 09:28:44,732 INFO L130 BoogieDeclarations]: Found specification of procedure consumer_routine [2025-01-23 09:28:44,732 INFO L138 BoogieDeclarations]: Found implementation of procedure consumer_routine [2025-01-23 09:28:44,732 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2025-01-23 09:28:44,732 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-01-23 09:28:44,734 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-01-23 09:28:44,927 INFO L234 CfgBuilder]: Building ICFG [2025-01-23 09:28:44,929 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2025-01-23 09:28:45,869 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-01-23 09:28:45,869 INFO L283 CfgBuilder]: Performing block encoding [2025-01-23 09:28:46,335 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-01-23 09:28:46,335 INFO L312 CfgBuilder]: Removed 7 assume(true) statements. [2025-01-23 09:28:46,335 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.01 09:28:46 BoogieIcfgContainer [2025-01-23 09:28:46,336 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2025-01-23 09:28:46,338 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-01-23 09:28:46,338 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-01-23 09:28:46,343 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-01-23 09:28:46,343 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.01 09:28:43" (1/3) ... [2025-01-23 09:28:46,344 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@9f537d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.01 09:28:46, skipping insertion in model container [2025-01-23 09:28:46,344 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.01 09:28:44" (2/3) ... [2025-01-23 09:28:46,344 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@9f537d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.01 09:28:46, skipping insertion in model container [2025-01-23 09:28:46,344 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.01 09:28:46" (3/3) ... [2025-01-23 09:28:46,345 INFO L128 eAbstractionObserver]: Analyzing ICFG bounded_buffer.i [2025-01-23 09:28:46,361 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-01-23 09:28:46,363 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG bounded_buffer.i that has 3 procedures, 81 locations, 1 initial locations, 13 loop locations, and 3 error locations. [2025-01-23 09:28:46,363 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-01-23 09:28:46,493 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2025-01-23 09:28:46,542 INFO L125 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-01-23 09:28:46,542 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2025-01-23 09:28:46,543 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2025-01-23 09:28:46,547 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2025-01-23 09:28:46,550 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2025-01-23 09:28:46,696 INFO L177 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2025-01-23 09:28:46,708 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.start ======== [2025-01-23 09:28:46,716 INFO L333 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PARTIAL_ORDER_FA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@4ce35dfe, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-01-23 09:28:46,717 INFO L334 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2025-01-23 09:28:52,342 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2025-01-23 09:28:52,346 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-01-23 09:28:52,346 INFO L85 PathProgramCache]: Analyzing trace with hash 549486852, now seen corresponding path program 1 times [2025-01-23 09:28:52,356 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-01-23 09:28:52,356 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [627534441] [2025-01-23 09:28:52,357 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-01-23 09:28:52,357 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-01-23 09:28:52,357 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2025-01-23 09:28:52,375 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-01-23 09:28:52,376 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2025-01-23 09:28:52,548 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 9 statements into 1 equivalence classes. [2025-01-23 09:28:52,591 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 9 of 9 statements. [2025-01-23 09:28:52,591 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-01-23 09:28:52,591 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-01-23 09:28:52,597 INFO L256 TraceCheckSpWp]: Trace formula consists of 165 conjuncts, 2 conjuncts are in the unsatisfiable core [2025-01-23 09:28:52,600 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-01-23 09:28:52,620 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-01-23 09:28:52,622 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-01-23 09:28:52,622 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-01-23 09:28:52,623 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [627534441] [2025-01-23 09:28:52,623 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [627534441] provided 1 perfect and 0 imperfect interpolant sequences [2025-01-23 09:28:52,623 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-01-23 09:28:52,624 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-01-23 09:28:52,625 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1187165956] [2025-01-23 09:28:52,625 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-01-23 09:28:52,628 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-01-23 09:28:52,628 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-01-23 09:28:52,646 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-01-23 09:28:52,647 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-01-23 09:28:52,647 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-01-23 09:28:52,649 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2025-01-23 09:28:52,650 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 3.0) internal successors, (9), 3 states have internal predecessors, (9), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-01-23 09:28:52,651 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2025-01-23 09:28:54,664 WARN L539 Checker$ProtectedHtc]: IncrementalHoareTripleChecker took 2.01s for a HTC check with result UNKNOWN. Formula has sorts [Array, Bool, RoundingMode, BitVec], hasArrays=true, hasNonlinArith=false, quantifiers [] [2025-01-23 09:28:56,671 WARN L539 Checker$ProtectedHtc]: IncrementalHoareTripleChecker took 2.01s for a HTC check with result UNKNOWN. Formula has sorts [Array, Bool, RoundingMode, BitVec], hasArrays=true, hasNonlinArith=false, quantifiers [] [2025-01-23 09:29:00,131 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-01-23 09:29:00,140 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2025-01-23 09:29:00,332 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-01-23 09:29:00,332 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2025-01-23 09:29:00,333 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-01-23 09:29:00,333 INFO L85 PathProgramCache]: Analyzing trace with hash 688855259, now seen corresponding path program 1 times [2025-01-23 09:29:00,334 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-01-23 09:29:00,334 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [305424508] [2025-01-23 09:29:00,334 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-01-23 09:29:00,334 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-01-23 09:29:00,334 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2025-01-23 09:29:00,337 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-01-23 09:29:00,338 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2025-01-23 09:29:00,492 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 14 statements into 1 equivalence classes. [2025-01-23 09:29:00,526 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 14 of 14 statements. [2025-01-23 09:29:00,527 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-01-23 09:29:00,527 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-01-23 09:29:00,529 INFO L256 TraceCheckSpWp]: Trace formula consists of 187 conjuncts, 3 conjuncts are in the unsatisfiable core [2025-01-23 09:29:00,531 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-01-23 09:29:00,578 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-01-23 09:29:00,578 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-01-23 09:29:00,578 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-01-23 09:29:00,578 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [305424508] [2025-01-23 09:29:00,578 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [305424508] provided 1 perfect and 0 imperfect interpolant sequences [2025-01-23 09:29:00,578 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-01-23 09:29:00,578 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2025-01-23 09:29:00,579 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1876769102] [2025-01-23 09:29:00,579 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-01-23 09:29:00,579 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-01-23 09:29:00,579 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-01-23 09:29:00,580 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-01-23 09:29:00,580 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-01-23 09:29:00,580 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-01-23 09:29:00,580 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2025-01-23 09:29:00,580 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 3.5) internal successors, (14), 4 states have internal predecessors, (14), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-01-23 09:29:00,580 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2025-01-23 09:29:00,580 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. Killed by 15