./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/pthread/twostage_3.i --full-output --traceabstraction.commutativity.condition.synthesis NECESSARY_AND_SUFFICIENT --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 1f73d82f 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 ../sv-benchmarks/c/pthread/twostage_3.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 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 --traceabstraction.commutativity.condition.synthesis NECESSARY_AND_SUFFICIENT --- Real Ultimate output --- This is Ultimate 0.3.0-dev-1f73d82-m [2024-11-21 13:52:00,108 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-21 13:52:00,163 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf [2024-11-21 13:52:00,171 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-21 13:52:00,171 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-21 13:52:00,201 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-21 13:52:00,202 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-21 13:52:00,202 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-21 13:52:00,202 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-21 13:52:00,202 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-21 13:52:00,202 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-21 13:52:00,202 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-21 13:52:00,202 INFO L153 SettingsManager]: * Use SBE=true [2024-11-21 13:52:00,202 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-21 13:52:00,202 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-21 13:52:00,202 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-21 13:52:00,202 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-21 13:52:00,202 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-21 13:52:00,203 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-21 13:52:00,203 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-21 13:52:00,203 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-21 13:52:00,203 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-21 13:52:00,203 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-21 13:52:00,203 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-21 13:52:00,203 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-21 13:52:00,203 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-21 13:52:00,203 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-21 13:52:00,204 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-21 13:52:00,205 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-21 13:52:00,205 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-21 13:52:00,205 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-21 13:52:00,205 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-21 13:52:00,205 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-21 13:52:00,205 INFO L153 SettingsManager]: * Compute procedure contracts=false [2024-11-21 13:52:00,205 INFO L153 SettingsManager]: * Commutativity condition synthesis=SUFFICIENT [2024-11-21 13:52:00,206 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-21 13:52:00,206 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-21 13:52:00,206 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-11-21 13:52:00,206 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-21 13:52:00,206 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-21 13:52:00,206 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-11-21 13:52:00,206 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-11-21 13:52:00,206 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-11-21 13:52:00,206 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 -> 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Commutativity condition synthesis -> NECESSARY_AND_SUFFICIENT [2024-11-21 13:52:00,423 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-21 13:52:00,428 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-21 13:52:00,429 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-21 13:52:00,430 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-21 13:52:00,430 INFO L274 PluginConnector]: CDTParser initialized [2024-11-21 13:52:00,431 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/../sv-benchmarks/c/pthread/twostage_3.i [2024-11-21 13:52:01,579 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/60b80be0c/016b5d09b26049b8b53cdd34e44cb96c/FLAG1c236ede6 [2024-11-21 13:52:01,810 INFO L384 CDTParser]: Found 1 translation units. [2024-11-21 13:52:01,810 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3.i [2024-11-21 13:52:01,829 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/60b80be0c/016b5d09b26049b8b53cdd34e44cb96c/FLAG1c236ede6 [2024-11-21 13:52:02,119 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/60b80be0c/016b5d09b26049b8b53cdd34e44cb96c [2024-11-21 13:52:02,120 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-21 13:52:02,121 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-21 13:52:02,122 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-21 13:52:02,122 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-21 13:52:02,125 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-21 13:52:02,125 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,125 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@c8b5162 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02, skipping insertion in model container [2024-11-21 13:52:02,126 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,149 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-21 13:52:02,446 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3.i[59093,59106] [2024-11-21 13:52:02,464 WARN L1675 CHandler]: Possible shadowing of function lock [2024-11-21 13:52:02,466 WARN L1675 CHandler]: Possible shadowing of function lock [2024-11-21 13:52:02,467 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-21 13:52:02,473 INFO L200 MainTranslator]: Completed pre-run [2024-11-21 13:52:02,503 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3.i[59093,59106] [2024-11-21 13:52:02,510 WARN L1675 CHandler]: Possible shadowing of function lock [2024-11-21 13:52:02,513 WARN L1675 CHandler]: Possible shadowing of function lock [2024-11-21 13:52:02,514 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-21 13:52:02,580 INFO L204 MainTranslator]: Completed translation [2024-11-21 13:52:02,581 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02 WrapperNode [2024-11-21 13:52:02,581 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-21 13:52:02,583 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-21 13:52:02,583 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-21 13:52:02,583 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-21 13:52:02,589 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,608 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,630 INFO L138 Inliner]: procedures = 373, calls = 33, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 136 [2024-11-21 13:52:02,630 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-21 13:52:02,631 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-21 13:52:02,632 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-21 13:52:02,632 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-21 13:52:02,637 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,637 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,639 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,643 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,651 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,653 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,655 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,656 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,657 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,658 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-21 13:52:02,659 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-21 13:52:02,659 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-21 13:52:02,659 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-21 13:52:02,660 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (1/1) ... [2024-11-21 13:52:02,663 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-21 13:52:02,676 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2024-11-21 13:52:02,686 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) [2024-11-21 13:52:02,692 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 [2024-11-21 13:52:02,704 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2024-11-21 13:52:02,704 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2024-11-21 13:52:02,704 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2024-11-21 13:52:02,705 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-21 13:52:02,705 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-21 13:52:02,706 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-21 13:52:02,707 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-21 13:52:02,812 INFO L234 CfgBuilder]: Building ICFG [2024-11-21 13:52:02,813 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-21 13:52:03,025 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-21 13:52:03,025 INFO L283 CfgBuilder]: Performing block encoding [2024-11-21 13:52:03,153 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-21 13:52:03,153 INFO L312 CfgBuilder]: Removed 4 assume(true) statements. [2024-11-21 13:52:03,154 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 01:52:03 BoogieIcfgContainer [2024-11-21 13:52:03,154 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-21 13:52:03,155 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-21 13:52:03,155 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-21 13:52:03,160 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-21 13:52:03,160 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 21.11 01:52:02" (1/3) ... [2024-11-21 13:52:03,161 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6386b26 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.11 01:52:03, skipping insertion in model container [2024-11-21 13:52:03,161 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:02" (2/3) ... [2024-11-21 13:52:03,162 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6386b26 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.11 01:52:03, skipping insertion in model container [2024-11-21 13:52:03,162 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 01:52:03" (3/3) ... [2024-11-21 13:52:03,163 INFO L128 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2024-11-21 13:52:03,173 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-21 13:52:03,175 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG twostage_3.i that has 3 procedures, 46 locations, 1 initial locations, 4 loop locations, and 1 error locations. [2024-11-21 13:52:03,175 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-21 13:52:03,215 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-21 13:52:03,248 INFO L125 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-21 13:52:03,249 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2024-11-21 13:52:03,249 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2024-11-21 13:52:03,251 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) [2024-11-21 13:52:03,252 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 [2024-11-21 13:52:03,310 INFO L177 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2024-11-21 13:52:03,321 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == funcBThread1of1ForFork1 ======== [2024-11-21 13:52:03,327 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;@696778d8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-21 13:52:03,327 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-11-21 13:52:03,768 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-11-21 13:52:03,768 INFO L303 artialOrderCegarLoop]: Trying commutativity condition synthesis. [2024-11-21 13:52:03,768 INFO L139 ounterexampleChecker]: Examining path program with hash -1401091564, occurence #1 [2024-11-21 13:52:03,768 INFO L141 ounterexampleChecker]: Commutativity condition synthesis is only active after more than 2 occurrences. Skipping... [2024-11-21 13:52:03,768 INFO L314 artialOrderCegarLoop]: No commutativity proof found, falling back to feasibility check. [2024-11-21 13:52:03,772 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-21 13:52:03,772 INFO L85 PathProgramCache]: Analyzing trace with hash 2112383265, now seen corresponding path program 1 times [2024-11-21 13:52:03,776 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-21 13:52:03,778 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [355600972] [2024-11-21 13:52:03,778 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-21 13:52:03,778 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-21 13:52:03,898 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-21 13:52:04,255 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-21 13:52:04,255 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-21 13:52:04,255 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [355600972] [2024-11-21 13:52:04,255 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [355600972] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-21 13:52:04,256 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-21 13:52:04,256 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2024-11-21 13:52:04,256 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [200591670] [2024-11-21 13:52:04,257 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-21 13:52:04,259 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-11-21 13:52:04,259 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-21 13:52:04,271 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-11-21 13:52:04,272 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2024-11-21 13:52:04,272 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-21 13:52:04,273 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-11-21 13:52:04,274 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 4.571428571428571) internal successors, (32), 7 states have internal predecessors, (32), 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) [2024-11-21 13:52:04,274 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-11-21 13:52:04,707 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-11-21 13:52:04,707 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-21 13:52:04,707 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-11-21 13:52:04,708 INFO L303 artialOrderCegarLoop]: Trying commutativity condition synthesis. [2024-11-21 13:52:04,708 INFO L139 ounterexampleChecker]: Examining path program with hash 1146608226, occurence #1 [2024-11-21 13:52:04,708 INFO L141 ounterexampleChecker]: Commutativity condition synthesis is only active after more than 2 occurrences. Skipping... [2024-11-21 13:52:04,708 INFO L314 artialOrderCegarLoop]: No commutativity proof found, falling back to feasibility check. [2024-11-21 13:52:04,708 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-21 13:52:04,708 INFO L85 PathProgramCache]: Analyzing trace with hash 2013419549, now seen corresponding path program 2 times [2024-11-21 13:52:04,708 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-21 13:52:04,708 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2143171514] [2024-11-21 13:52:04,708 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-21 13:52:04,709 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-21 13:52:04,734 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-21 13:52:05,006 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-21 13:52:05,007 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-21 13:52:05,007 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2143171514] [2024-11-21 13:52:05,007 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2143171514] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-21 13:52:05,007 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-21 13:52:05,007 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2024-11-21 13:52:05,007 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2141237830] [2024-11-21 13:52:05,007 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-21 13:52:05,008 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-11-21 13:52:05,009 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-21 13:52:05,010 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-11-21 13:52:05,010 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2024-11-21 13:52:05,010 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-21 13:52:05,011 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-11-21 13:52:05,011 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 4.571428571428571) internal successors, (32), 6 states have internal predecessors, (32), 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) [2024-11-21 13:52:05,012 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2024-11-21 13:52:05,012 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-11-21 13:52:05,218 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-11-21 13:52:05,218 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-21 13:52:05,218 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-21 13:52:05,218 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-11-21 13:52:05,218 INFO L303 artialOrderCegarLoop]: Trying commutativity condition synthesis. [2024-11-21 13:52:05,218 INFO L139 ounterexampleChecker]: Examining path program with hash 188147460, occurence #1 [2024-11-21 13:52:05,218 INFO L141 ounterexampleChecker]: Commutativity condition synthesis is only active after more than 2 occurrences. Skipping... [2024-11-21 13:52:05,218 INFO L314 artialOrderCegarLoop]: No commutativity proof found, falling back to feasibility check. [2024-11-21 13:52:05,219 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-21 13:52:05,219 INFO L85 PathProgramCache]: Analyzing trace with hash -769944355, now seen corresponding path program 3 times [2024-11-21 13:52:05,219 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-21 13:52:05,219 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2110178231] [2024-11-21 13:52:05,219 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-21 13:52:05,219 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-21 13:52:05,248 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-21 13:52:05,250 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-21 13:52:05,283 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-21 13:52:05,302 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-21 13:52:05,302 INFO L340 BasicCegarLoop]: Counterexample is feasible [2024-11-21 13:52:05,303 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-11-21 13:52:05,304 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-21 13:52:05,309 INFO L422 BasicCegarLoop]: Path program histogram: [3] [2024-11-21 13:52:05,311 INFO L319 ceAbstractionStarter]: Result for error location funcBThread1of1ForFork1 was UNSAFE (1/2) [2024-11-21 13:52:05,365 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-21 13:52:05,366 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-21 13:52:05,385 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Forceful destruction successful, exit code 0 [2024-11-21 13:52:05,386 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 21.11 01:52:05 BasicIcfg [2024-11-21 13:52:05,386 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-21 13:52:05,387 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-21 13:52:05,387 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-21 13:52:05,387 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-21 13:52:05,387 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 01:52:03" (3/4) ... [2024-11-21 13:52:05,389 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-21 13:52:05,389 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-21 13:52:05,390 INFO L158 Benchmark]: Toolchain (without parser) took 3268.57ms. Allocated memory was 117.4MB in the beginning and 142.6MB in the end (delta: 25.2MB). Free memory was 90.8MB in the beginning and 93.4MB in the end (delta: -2.6MB). Peak memory consumption was 20.7MB. Max. memory is 16.1GB. [2024-11-21 13:52:05,391 INFO L158 Benchmark]: CDTParser took 0.20ms. Allocated memory is still 83.9MB. Free memory was 63.8MB in the beginning and 63.7MB in the end (delta: 35.7kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-21 13:52:05,391 INFO L158 Benchmark]: CACSL2BoogieTranslator took 460.02ms. Allocated memory is still 117.4MB. Free memory was 90.8MB in the beginning and 51.4MB in the end (delta: 39.4MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2024-11-21 13:52:05,392 INFO L158 Benchmark]: Boogie Procedure Inliner took 47.87ms. Allocated memory is still 117.4MB. Free memory was 51.4MB in the beginning and 49.1MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-21 13:52:05,394 INFO L158 Benchmark]: Boogie Preprocessor took 27.64ms. Allocated memory is still 117.4MB. Free memory was 49.1MB in the beginning and 47.5MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-21 13:52:05,394 INFO L158 Benchmark]: RCFGBuilder took 494.92ms. Allocated memory is still 117.4MB. Free memory was 47.5MB in the beginning and 57.4MB in the end (delta: -9.9MB). Peak memory consumption was 21.5MB. Max. memory is 16.1GB. [2024-11-21 13:52:05,394 INFO L158 Benchmark]: TraceAbstraction took 2230.73ms. Allocated memory was 117.4MB in the beginning and 142.6MB in the end (delta: 25.2MB). Free memory was 56.7MB in the beginning and 93.4MB in the end (delta: -36.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-21 13:52:05,394 INFO L158 Benchmark]: Witness Printer took 2.80ms. Allocated memory is still 142.6MB. Free memory was 93.4MB in the beginning and 93.4MB in the end (delta: 11.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-21 13:52:05,396 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.20ms. Allocated memory is still 83.9MB. Free memory was 63.8MB in the beginning and 63.7MB in the end (delta: 35.7kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 460.02ms. Allocated memory is still 117.4MB. Free memory was 90.8MB in the beginning and 51.4MB in the end (delta: 39.4MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 47.87ms. Allocated memory is still 117.4MB. Free memory was 51.4MB in the beginning and 49.1MB in the end (delta: 2.3MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 27.64ms. Allocated memory is still 117.4MB. Free memory was 49.1MB in the beginning and 47.5MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 494.92ms. Allocated memory is still 117.4MB. Free memory was 47.5MB in the beginning and 57.4MB in the end (delta: -9.9MB). Peak memory consumption was 21.5MB. Max. memory is 16.1GB. * TraceAbstraction took 2230.73ms. Allocated memory was 117.4MB in the beginning and 142.6MB in the end (delta: 25.2MB). Free memory was 56.7MB in the beginning and 93.4MB in the end (delta: -36.7MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 2.80ms. Allocated memory is still 142.6MB. Free memory was 93.4MB in the beginning and 93.4MB in the end (delta: 11.5kB). 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: 2319, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 161, dependent conditional: 129, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2194, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2194, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 43, dependent conditional: 11, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 43, dependent conditional: 2, dependent unconditional: 41, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 43, dependent conditional: 2, dependent unconditional: 41, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1211, independent: 1177, independent conditional: 2, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1211, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 65, dependent conditional: 0, dependent unconditional: 65, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 65, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 65, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 611, independent: 308, independent conditional: 19, independent unconditional: 289, dependent: 303, dependent conditional: 15, dependent unconditional: 289, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 2201, independent: 981, independent conditional: 0, independent unconditional: 981, dependent: 9, dependent conditional: 0, dependent unconditional: 9, unknown: 1211, unknown conditional: 4, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1211, Positive cache size: 1177, Positive conditional cache size: 2, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 900, Maximal queried relation: 2, Independence queries for same thread: 125, Persistent sets #1 benchmarks: Persistent set computation time: 0.7s, Number of persistent set computation: 220, Number of trivial persistent sets: 173, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1297, independent: 1265, independent conditional: 0, independent unconditional: 1265, dependent: 32, dependent conditional: 0, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2319, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 161, dependent conditional: 129, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2194, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2194, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 43, dependent conditional: 11, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 43, dependent conditional: 2, dependent unconditional: 41, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 43, dependent conditional: 2, dependent unconditional: 41, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1211, independent: 1177, independent conditional: 2, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1211, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 65, dependent conditional: 0, dependent unconditional: 65, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 65, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 65, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 611, independent: 308, independent conditional: 19, independent unconditional: 289, dependent: 303, dependent conditional: 15, dependent unconditional: 289, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 2201, independent: 981, independent conditional: 0, independent unconditional: 981, dependent: 9, dependent conditional: 0, dependent unconditional: 9, unknown: 1211, unknown conditional: 4, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1211, Positive cache size: 1177, Positive conditional cache size: 2, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 900, Maximal queried relation: 2, Independence queries for same thread: 125 - UnprovableResult [Line: 1272]: Unable to prove that a call to reach_error is unreachable Unable to prove that a call to reach_error is unreachable Reason: overapproximation of sscanf at line 1284. Possible FailurePath: [L1236] 0 static int iTThreads = 2; [L1237] 0 static int iRThreads = 1; [L1238] 0 static int data1Value = 0; [L1239] 0 static int data2Value = 0; [L1240] 0 pthread_mutex_t *data1Lock; [L1241] 0 pthread_mutex_t *data2Lock; [L1278] 0 int i,err; [L1279] COND TRUE 0 argc != 1 [L1280] COND FALSE 0 !(argc != 3) [L1288] COND FALSE 0 !(iTThreads > 100000 || iRThreads > 100000) [L1291] 0 data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1292] 0 data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1293] EXPR 0 err = pthread_mutex_init(data1Lock, ((void *)0)) [L1293] COND FALSE 0 !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) [L1297] EXPR 0 err = pthread_mutex_init(data2Lock, ((void *)0)) [L1297] COND FALSE 0 !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) [L1301] 0 pthread_t tPool[iTThreads]; [L1302] 0 pthread_t rPool[iRThreads]; [L1303] 0 i = 0 VAL [\old(argc)=3, \old(argv)={50:53}, argc=3, data1Lock={-3:0}, data1Value=0, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, rPool={5:0}, tPool={6:0}] [L1303] COND TRUE 0 i < iTThreads [L1304] EXPR, FCALL, FORK 0 pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=0, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, rPool={5:0}, tPool={6:0}] [L1245] 1 int t1 = -1; VAL [\old(param)={0:0}, data1Lock={-3:0}, data1Value=0, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=-1] [L1247] 1 data1Value = 1 VAL [\old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=-1] [L1250] 1 t1 = data1Value VAL [\old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=1] [L1304] EXPR 0 err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) [L1304] COND FALSE 0 !(0 != (err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)))) [L1303] 0 i++ VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, err=0, i=1, iRThreads=1, iTThreads=1, param={0:0}, rPool={5:0}, t1=1, tPool={6:0}] [L1303] COND FALSE 0 !(i < iTThreads) [L1309] 0 i = 0 VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, param={0:0}, rPool={5:0}, t1=1, tPool={6:0}] [L1309] COND TRUE 0 i < iRThreads [L1310] FCALL, FORK 0 pthread_create(&rPool[i], ((void *)0), &funcB, ((void *)0)) VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, param={0:0}, rPool={5:0}, t1=1, tPool={6:0}] [L1258] 2 int t1 = -1; [L1259] 2 int t2 = -1; VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=-1, t1=1, t2=-1] [L1261] COND FALSE 2 !(data1Value == 0) [L1265] 2 t1 = data1Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=-1] [L1268] 2 t2 = data2Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1253] 1 data2Value = t1 + 1 VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=2, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1255] 1 return ((void *)0); [L1270] COND TRUE 2 t2 != (t1 + 1) [L1272] 2 reach_error() VAL [\old(param)={0:0}, \old(param)={0:0}, \result={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=2, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: funcBThread1of1ForFork1 with 1 thread instances CFG has 5 procedures, 80 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 2.0s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 3, EmptinessCheckTime: 1.1s, 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: 12, 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, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 96 NumberOfCodeBlocks, 96 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 62 ConstructedInterpolants, 0 QuantifiedInterpolants, 438 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: SuccessfulCommutativityProofs: 0, ConComChecker Statistics: CheckTime [ms]: 0, ConditionCalculationTime [ms]: 0, ConditionCalculations: 0, QuantifiedConditions: 0, TraceChecks: 0, UnknownTraceChecks: 0, ImperfectProofs: 0 RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-21 13:52:05,419 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 ../sv-benchmarks/c/pthread/twostage_3.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 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 --traceabstraction.commutativity.condition.synthesis NECESSARY_AND_SUFFICIENT --- Real Ultimate output --- This is Ultimate 0.3.0-dev-1f73d82-m [2024-11-21 13:52:07,112 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-21 13:52:07,191 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Bitvector.epf [2024-11-21 13:52:07,197 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-21 13:52:07,197 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-21 13:52:07,228 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-21 13:52:07,229 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-21 13:52:07,229 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-21 13:52:07,230 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-21 13:52:07,230 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-21 13:52:07,230 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-21 13:52:07,231 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-21 13:52:07,231 INFO L153 SettingsManager]: * Use SBE=true [2024-11-21 13:52:07,231 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-21 13:52:07,231 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-21 13:52:07,231 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-21 13:52:07,232 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-21 13:52:07,233 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-21 13:52:07,233 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-21 13:52:07,233 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-21 13:52:07,233 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-21 13:52:07,233 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-21 13:52:07,233 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * Refinement strategy for commutativity condition synthesis=FOX [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * Compute procedure contracts=false [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * Commutativity condition synthesis=SUFFICIENT [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * Trace refinement strategy=FOX [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-11-21 13:52:07,234 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-11-21 13:52:07,235 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-11-21 13:52:07,235 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 -> 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Commutativity condition synthesis -> NECESSARY_AND_SUFFICIENT [2024-11-21 13:52:07,484 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-21 13:52:07,493 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-21 13:52:07,495 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-21 13:52:07,496 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-21 13:52:07,496 INFO L274 PluginConnector]: CDTParser initialized [2024-11-21 13:52:07,497 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/../sv-benchmarks/c/pthread/twostage_3.i [2024-11-21 13:52:08,595 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/d8b205616/7b3d7f478f6a42618773db920f2590f0/FLAGca24f9cb8 [2024-11-21 13:52:08,845 INFO L384 CDTParser]: Found 1 translation units. [2024-11-21 13:52:08,845 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3.i [2024-11-21 13:52:08,862 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/d8b205616/7b3d7f478f6a42618773db920f2590f0/FLAGca24f9cb8 [2024-11-21 13:52:08,877 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/data/d8b205616/7b3d7f478f6a42618773db920f2590f0 [2024-11-21 13:52:08,880 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-21 13:52:08,881 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-21 13:52:08,883 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-21 13:52:08,883 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-21 13:52:08,886 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-21 13:52:08,886 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 01:52:08" (1/1) ... [2024-11-21 13:52:08,887 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7c621dcf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:08, skipping insertion in model container [2024-11-21 13:52:08,887 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 01:52:08" (1/1) ... [2024-11-21 13:52:08,918 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-21 13:52:09,208 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3.i[59093,59106] [2024-11-21 13:52:09,222 WARN L1675 CHandler]: Possible shadowing of function lock [2024-11-21 13:52:09,222 WARN L1675 CHandler]: Possible shadowing of function lock [2024-11-21 13:52:09,223 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-21 13:52:09,230 INFO L200 MainTranslator]: Completed pre-run [2024-11-21 13:52:09,285 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3.i[59093,59106] [2024-11-21 13:52:09,293 WARN L1675 CHandler]: Possible shadowing of function lock [2024-11-21 13:52:09,296 WARN L1675 CHandler]: Possible shadowing of function lock [2024-11-21 13:52:09,297 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-21 13:52:09,367 INFO L204 MainTranslator]: Completed translation [2024-11-21 13:52:09,368 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09 WrapperNode [2024-11-21 13:52:09,368 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-21 13:52:09,369 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-21 13:52:09,369 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-21 13:52:09,369 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-21 13:52:09,373 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,387 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,401 INFO L138 Inliner]: procedures = 376, calls = 33, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 135 [2024-11-21 13:52:09,401 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-21 13:52:09,402 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-21 13:52:09,402 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-21 13:52:09,402 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-21 13:52:09,406 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,406 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,409 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,411 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,425 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,425 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,427 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,429 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,430 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,432 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-21 13:52:09,432 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-21 13:52:09,432 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-21 13:52:09,432 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-21 13:52:09,433 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (1/1) ... [2024-11-21 13:52:09,436 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-21 13:52:09,449 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2024-11-21 13:52:09,459 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) [2024-11-21 13:52:09,461 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 [2024-11-21 13:52:09,479 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-11-21 13:52:09,480 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2024-11-21 13:52:09,480 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2024-11-21 13:52:09,480 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2024-11-21 13:52:09,480 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2024-11-21 13:52:09,480 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-21 13:52:09,480 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-21 13:52:09,480 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-11-21 13:52:09,480 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-21 13:52:09,481 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-21 13:52:09,481 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-21 13:52:09,481 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-21 13:52:09,481 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-21 13:52:09,481 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-21 13:52:09,481 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-21 13:52:09,482 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-21 13:52:09,621 INFO L234 CfgBuilder]: Building ICFG [2024-11-21 13:52:09,623 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-21 13:52:09,874 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-21 13:52:09,875 INFO L283 CfgBuilder]: Performing block encoding [2024-11-21 13:52:10,076 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-21 13:52:10,079 INFO L312 CfgBuilder]: Removed 4 assume(true) statements. [2024-11-21 13:52:10,079 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 01:52:10 BoogieIcfgContainer [2024-11-21 13:52:10,079 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-21 13:52:10,081 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-21 13:52:10,081 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-21 13:52:10,084 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-21 13:52:10,084 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 21.11 01:52:08" (1/3) ... [2024-11-21 13:52:10,085 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1eaeaae9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.11 01:52:10, skipping insertion in model container [2024-11-21 13:52:10,085 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 01:52:09" (2/3) ... [2024-11-21 13:52:10,085 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1eaeaae9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.11 01:52:10, skipping insertion in model container [2024-11-21 13:52:10,085 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 01:52:10" (3/3) ... [2024-11-21 13:52:10,087 INFO L128 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2024-11-21 13:52:10,095 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-21 13:52:10,096 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG twostage_3.i that has 3 procedures, 46 locations, 1 initial locations, 4 loop locations, and 1 error locations. [2024-11-21 13:52:10,096 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-21 13:52:10,137 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-21 13:52:10,182 INFO L125 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-21 13:52:10,183 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2024-11-21 13:52:10,183 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2024-11-21 13:52:10,186 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) [2024-11-21 13:52:10,187 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 [2024-11-21 13:52:10,265 INFO L177 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2024-11-21 13:52:10,277 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == funcBThread1of1ForFork1 ======== [2024-11-21 13:52:10,283 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;@74dcf4b8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-21 13:52:10,283 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-11-21 13:52:10,825 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-11-21 13:52:10,825 INFO L303 artialOrderCegarLoop]: Trying commutativity condition synthesis. [2024-11-21 13:52:10,825 INFO L139 ounterexampleChecker]: Examining path program with hash -280901784, occurence #1 [2024-11-21 13:52:10,825 INFO L141 ounterexampleChecker]: Commutativity condition synthesis is only active after more than 2 occurrences. Skipping... [2024-11-21 13:52:10,826 INFO L314 artialOrderCegarLoop]: No commutativity proof found, falling back to feasibility check. [2024-11-21 13:52:10,829 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-21 13:52:10,830 INFO L85 PathProgramCache]: Analyzing trace with hash -1464343263, now seen corresponding path program 1 times [2024-11-21 13:52:10,838 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2024-11-21 13:52:10,839 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [519666294] [2024-11-21 13:52:10,839 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-21 13:52:10,840 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-21 13:52:10,840 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2024-11-21 13:52:10,842 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) [2024-11-21 13:52:10,843 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 [2024-11-21 13:52:10,960 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-21 13:52:10,963 INFO L256 TraceCheckSpWp]: Trace formula consists of 144 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-11-21 13:52:10,967 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-21 13:52:11,093 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-21 13:52:11,095 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-21 13:52:11,095 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2024-11-21 13:52:11,096 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [519666294] [2024-11-21 13:52:11,097 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [519666294] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-21 13:52:11,097 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-21 13:52:11,098 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2024-11-21 13:52:11,099 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [324031861] [2024-11-21 13:52:11,099 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-21 13:52:11,101 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-11-21 13:52:11,101 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2024-11-21 13:52:11,115 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-11-21 13:52:11,115 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2024-11-21 13:52:11,115 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-21 13:52:11,117 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-11-21 13:52:11,117 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 4.571428571428571) internal successors, (32), 7 states have internal predecessors, (32), 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) [2024-11-21 13:52:11,118 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-11-21 13:52:11,680 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-11-21 13:52:11,694 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2024-11-21 13:52:11,880 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 [2024-11-21 13:52:11,881 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-11-21 13:52:11,881 INFO L303 artialOrderCegarLoop]: Trying commutativity condition synthesis. [2024-11-21 13:52:11,881 INFO L139 ounterexampleChecker]: Examining path program with hash -1925842126, occurence #1 [2024-11-21 13:52:11,881 INFO L141 ounterexampleChecker]: Commutativity condition synthesis is only active after more than 2 occurrences. Skipping... [2024-11-21 13:52:11,881 INFO L314 artialOrderCegarLoop]: No commutativity proof found, falling back to feasibility check. [2024-11-21 13:52:11,882 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-21 13:52:11,882 INFO L85 PathProgramCache]: Analyzing trace with hash -1563306979, now seen corresponding path program 2 times [2024-11-21 13:52:11,882 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2024-11-21 13:52:11,882 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [2124099845] [2024-11-21 13:52:11,882 INFO L95 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2024-11-21 13:52:11,882 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-21 13:52:11,883 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2024-11-21 13:52:11,884 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) [2024-11-21 13:52:11,885 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 [2024-11-21 13:52:11,985 INFO L229 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2024-11-21 13:52:11,985 INFO L230 tOrderPrioritization]: Conjunction of SSA is unsat [2024-11-21 13:52:11,989 INFO L256 TraceCheckSpWp]: Trace formula consists of 144 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-11-21 13:52:11,990 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2024-11-21 13:52:12,010 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2024-11-21 13:52:12,035 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 9 [2024-11-21 13:52:12,098 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 18 treesize of output 13 [2024-11-21 13:52:12,123 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 18 treesize of output 13 [2024-11-21 13:52:12,132 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-21 13:52:12,133 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-21 13:52:12,134 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2024-11-21 13:52:12,134 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [2124099845] [2024-11-21 13:52:12,134 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [2124099845] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-21 13:52:12,134 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-21 13:52:12,134 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-11-21 13:52:12,134 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1713638696] [2024-11-21 13:52:12,134 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-21 13:52:12,135 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2024-11-21 13:52:12,135 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2024-11-21 13:52:12,135 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-11-21 13:52:12,135 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2024-11-21 13:52:12,135 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-21 13:52:12,137 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-11-21 13:52:12,137 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 6.4) internal successors, (32), 4 states have internal predecessors, (32), 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) [2024-11-21 13:52:12,138 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2024-11-21 13:52:12,138 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-11-21 13:52:12,398 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-11-21 13:52:12,399 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-21 13:52:12,412 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2024-11-21 13:52:12,599 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-21 13:52:12,599 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-11-21 13:52:12,599 INFO L303 artialOrderCegarLoop]: Trying commutativity condition synthesis. [2024-11-21 13:52:12,600 INFO L139 ounterexampleChecker]: Examining path program with hash -970963426, occurence #1 [2024-11-21 13:52:12,600 INFO L141 ounterexampleChecker]: Commutativity condition synthesis is only active after more than 2 occurrences. Skipping... [2024-11-21 13:52:12,600 INFO L314 artialOrderCegarLoop]: No commutativity proof found, falling back to feasibility check. [2024-11-21 13:52:12,600 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-21 13:52:12,600 INFO L85 PathProgramCache]: Analyzing trace with hash -51703587, now seen corresponding path program 3 times [2024-11-21 13:52:12,602 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2024-11-21 13:52:12,603 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [2082058211] [2024-11-21 13:52:12,603 INFO L95 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2024-11-21 13:52:12,603 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-21 13:52:12,603 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 [2024-11-21 13:52:12,606 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-21 13:52:12,607 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2024-11-21 13:52:12,731 INFO L229 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 1 check-sat command(s) [2024-11-21 13:52:12,732 INFO L230 tOrderPrioritization]: Conjunction of SSA is sat [2024-11-21 13:52:12,732 INFO L357 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-21 13:52:12,792 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-21 13:52:12,826 INFO L130 FreeRefinementEngine]: Strategy FOX found a feasible trace [2024-11-21 13:52:12,827 INFO L340 BasicCegarLoop]: Counterexample is feasible [2024-11-21 13:52:12,827 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-11-21 13:52:12,842 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Ended with exit code 0 [2024-11-21 13:52:13,029 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-21 13:52:13,033 INFO L422 BasicCegarLoop]: Path program histogram: [3] [2024-11-21 13:52:13,035 INFO L319 ceAbstractionStarter]: Result for error location funcBThread1of1ForFork1 was UNSAFE (1/2) [2024-11-21 13:52:13,083 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-21 13:52:13,083 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-21 13:52:13,097 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Forceful destruction successful, exit code 0 [2024-11-21 13:52:13,097 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 21.11 01:52:13 BasicIcfg [2024-11-21 13:52:13,097 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-21 13:52:13,098 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-21 13:52:13,098 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-21 13:52:13,098 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-21 13:52:13,099 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 01:52:10" (3/4) ... [2024-11-21 13:52:13,100 INFO L149 WitnessPrinter]: No result that supports witness generation found [2024-11-21 13:52:13,101 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-21 13:52:13,101 INFO L158 Benchmark]: Toolchain (without parser) took 4220.61ms. Allocated memory was 83.9MB in the beginning and 134.2MB in the end (delta: 50.3MB). Free memory was 58.9MB in the beginning and 83.5MB in the end (delta: -24.7MB). Peak memory consumption was 24.2MB. Max. memory is 16.1GB. [2024-11-21 13:52:13,102 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 83.9MB. Free memory is still 64.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-21 13:52:13,102 INFO L158 Benchmark]: CACSL2BoogieTranslator took 485.89ms. Allocated memory is still 83.9MB. Free memory was 58.6MB in the beginning and 53.5MB in the end (delta: 5.0MB). Peak memory consumption was 48.2MB. Max. memory is 16.1GB. [2024-11-21 13:52:13,102 INFO L158 Benchmark]: Boogie Procedure Inliner took 32.47ms. Allocated memory is still 83.9MB. Free memory was 53.5MB in the beginning and 50.7MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-21 13:52:13,102 INFO L158 Benchmark]: Boogie Preprocessor took 29.99ms. Allocated memory is still 83.9MB. Free memory was 50.7MB in the beginning and 48.7MB in the end (delta: 2.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-21 13:52:13,102 INFO L158 Benchmark]: RCFGBuilder took 647.08ms. Allocated memory is still 83.9MB. Free memory was 48.7MB in the beginning and 39.7MB in the end (delta: 8.9MB). Peak memory consumption was 25.7MB. Max. memory is 16.1GB. [2024-11-21 13:52:13,102 INFO L158 Benchmark]: TraceAbstraction took 3016.75ms. Allocated memory was 83.9MB in the beginning and 134.2MB in the end (delta: 50.3MB). Free memory was 38.9MB in the beginning and 83.5MB in the end (delta: -44.7MB). Peak memory consumption was 5.5MB. Max. memory is 16.1GB. [2024-11-21 13:52:13,102 INFO L158 Benchmark]: Witness Printer took 2.83ms. Allocated memory is still 134.2MB. Free memory was 83.5MB in the beginning and 83.5MB in the end (delta: 5.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-21 13:52:13,104 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.19ms. Allocated memory is still 83.9MB. Free memory is still 64.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 485.89ms. Allocated memory is still 83.9MB. Free memory was 58.6MB in the beginning and 53.5MB in the end (delta: 5.0MB). Peak memory consumption was 48.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 32.47ms. Allocated memory is still 83.9MB. Free memory was 53.5MB in the beginning and 50.7MB in the end (delta: 2.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 29.99ms. Allocated memory is still 83.9MB. Free memory was 50.7MB in the beginning and 48.7MB in the end (delta: 2.1MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 647.08ms. Allocated memory is still 83.9MB. Free memory was 48.7MB in the beginning and 39.7MB in the end (delta: 8.9MB). Peak memory consumption was 25.7MB. Max. memory is 16.1GB. * TraceAbstraction took 3016.75ms. Allocated memory was 83.9MB in the beginning and 134.2MB in the end (delta: 50.3MB). Free memory was 38.9MB in the beginning and 83.5MB in the end (delta: -44.7MB). Peak memory consumption was 5.5MB. Max. memory is 16.1GB. * Witness Printer took 2.83ms. Allocated memory is still 134.2MB. Free memory was 83.5MB in the beginning and 83.5MB in the end (delta: 5.0kB). 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: 2319, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 161, dependent conditional: 129, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2194, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2194, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 43, dependent conditional: 11, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 43, dependent conditional: 2, dependent unconditional: 41, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 43, dependent conditional: 2, dependent unconditional: 41, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1211, independent: 1177, independent conditional: 2, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1211, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 65, dependent conditional: 0, dependent unconditional: 65, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 65, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 65, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 848, independent: 413, independent conditional: 27, independent unconditional: 386, dependent: 436, dependent conditional: 13, dependent unconditional: 422, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 2201, independent: 981, independent conditional: 0, independent unconditional: 981, dependent: 9, dependent conditional: 0, dependent unconditional: 9, unknown: 1211, unknown conditional: 4, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1211, Positive cache size: 1177, Positive conditional cache size: 2, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 900, Maximal queried relation: 2, Independence queries for same thread: 125, Persistent sets #1 benchmarks: Persistent set computation time: 0.9s, Number of persistent set computation: 220, Number of trivial persistent sets: 173, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1297, independent: 1265, independent conditional: 0, independent unconditional: 1265, dependent: 32, dependent conditional: 0, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2319, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 161, dependent conditional: 129, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2194, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2194, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 893, independent unconditional: 1265, dependent: 43, dependent conditional: 11, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 43, dependent conditional: 2, dependent unconditional: 41, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2201, independent: 2158, independent conditional: 2, independent unconditional: 2156, dependent: 43, dependent conditional: 2, dependent unconditional: 41, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1211, independent: 1177, independent conditional: 2, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1211, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 65, dependent conditional: 0, dependent unconditional: 65, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 65, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 65, independent: 31, independent conditional: 2, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 848, independent: 413, independent conditional: 27, independent unconditional: 386, dependent: 436, dependent conditional: 13, dependent unconditional: 422, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 2201, independent: 981, independent conditional: 0, independent unconditional: 981, dependent: 9, dependent conditional: 0, dependent unconditional: 9, unknown: 1211, unknown conditional: 4, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1211, Positive cache size: 1177, Positive conditional cache size: 2, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 900, Maximal queried relation: 2, Independence queries for same thread: 125 - UnprovableResult [Line: 1272]: Unable to prove that a call to reach_error is unreachable Unable to prove that a call to reach_error is unreachable Reason: overapproximation of sscanf at line 1284. Possible FailurePath: [L1236] 0 static int iTThreads = 2; [L1237] 0 static int iRThreads = 1; [L1238] 0 static int data1Value = 0; [L1239] 0 static int data2Value = 0; [L1240] 0 pthread_mutex_t *data1Lock; [L1241] 0 pthread_mutex_t *data2Lock; [L1278] 0 int i,err; [L1279] COND TRUE 0 argc != 1 [L1280] COND FALSE 0 !(argc != 3) [L1288] COND FALSE 0 !(iTThreads > 100000 || iRThreads > 100000) [L1291] 0 data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1292] 0 data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1293] EXPR 0 err = pthread_mutex_init(data1Lock, ((void *)0)) [L1293] COND FALSE 0 !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) [L1297] EXPR 0 err = pthread_mutex_init(data2Lock, ((void *)0)) [L1297] COND FALSE 0 !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) [L1301] 0 pthread_t tPool[iTThreads]; [L1302] 0 pthread_t rPool[iRThreads]; [L1303] 0 i = 0 VAL [\old(argc)=3, \old(argv)={0:0}, argc=3, data1Lock={8:0}, data1Value=0, data2Lock={4:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, rPool={16:0}, tPool={14:0}] [L1303] COND TRUE 0 i < iTThreads [L1304] EXPR, FCALL, FORK 0 pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) VAL [\old(argc)=3, \old(argv)={0:0}, \old(param)={0:0}, argc=3, data1Lock={8:0}, data1Value=0, data2Lock={4:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, rPool={16:0}, tPool={14:0}] [L1245] 1 int t1 = -1; VAL [\old(param)={0:0}, data1Lock={8:0}, data1Value=0, data2Lock={4:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=-1] [L1247] 1 data1Value = 1 VAL [\old(param)={0:0}, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=-1] [L1250] 1 t1 = data1Value VAL [\old(param)={0:0}, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=1] [L1304] EXPR 0 err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) [L1304] COND FALSE 0 !(0 != (err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)))) [L1303] 0 i++ VAL [\old(argc)=3, \old(argv)={0:0}, \old(param)={0:0}, argc=3, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=0, err=0, i=1, iRThreads=1, iTThreads=1, param={0:0}, rPool={16:0}, t1=1, tPool={14:0}] [L1303] COND FALSE 0 !(i < iTThreads) [L1309] 0 i = 0 VAL [\old(argc)=3, \old(argv)={0:0}, \old(param)={0:0}, argc=3, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, param={0:0}, rPool={16:0}, t1=1, tPool={14:0}] [L1309] COND TRUE 0 i < iRThreads [L1310] FCALL, FORK 0 pthread_create(&rPool[i], ((void *)0), &funcB, ((void *)0)) VAL [\old(argc)=3, \old(argv)={0:0}, \old(param)={0:0}, \old(param)={0:0}, argc=3, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, param={0:0}, rPool={16:0}, t1=1, tPool={14:0}] [L1258] 2 int t1 = -1; [L1259] 2 int t2 = -1; VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=-1, t1=1, t2=-1] [L1261] COND FALSE 2 !(data1Value == 0) [L1265] 2 t1 = data1Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=-1] [L1268] 2 t2 = data2Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1253] 1 data2Value = t1 + 1 VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=2, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1255] 1 return ((void *)0); [L1270] COND TRUE 2 t2 != (t1 + 1) [L1272] 2 reach_error() VAL [\old(param)={0:0}, \old(param)={0:0}, \result={0:0}, data1Lock={8:0}, data1Value=1, data2Lock={4:0}, data2Value=2, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: funcBThread1of1ForFork1 with 1 thread instances CFG has 5 procedures, 80 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 2.8s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 3, EmptinessCheckTime: 1.4s, 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: 11, 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.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 96 NumberOfCodeBlocks, 96 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 62 ConstructedInterpolants, 0 QuantifiedInterpolants, 365 SizeOfPredicates, 4 NumberOfNonLiveVariables, 288 ConjunctsInSsa, 13 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: SuccessfulCommutativityProofs: 0, ConComChecker Statistics: CheckTime [ms]: 0, ConditionCalculationTime [ms]: 0, ConditionCalculations: 0, QuantifiedConditions: 0, TraceChecks: 0, UnknownTraceChecks: 0, ImperfectProofs: 0 RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-21 13:52:13,124 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample