./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 8fc3dc66 Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53 --- Real Ultimate output --- This is Ultimate 0.3.0-?-8fc3dc6-m [2025-03-17 14:18:43,114 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-17 14:18:43,161 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2025-03-17 14:18:43,165 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-17 14:18:43,165 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-17 14:18:43,179 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-17 14:18:43,180 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-17 14:18:43,180 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-17 14:18:43,180 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-03-17 14:18:43,180 INFO L153 SettingsManager]: * Use memory slicer=true [2025-03-17 14:18:43,180 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-17 14:18:43,180 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-17 14:18:43,180 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Use SBE=true [2025-03-17 14:18:43,181 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * sizeof long=4 [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * sizeof long double=12 [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-17 14:18:43,181 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-17 14:18:43,181 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 14:18:43,182 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-17 14:18:43,182 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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/releaseScripts/default/UAutomizer-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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer 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 -> 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53 [2025-03-17 14:18:43,420 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-17 14:18:43,429 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-17 14:18:43,431 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-17 14:18:43,432 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-17 14:18:43,433 INFO L274 PluginConnector]: CDTParser initialized [2025-03-17 14:18:43,434 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i [2025-03-17 14:18:44,562 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dd46dd54c/ec8ee007052a4090a26d9ed1e6681018/FLAGa77f3abcb [2025-03-17 14:18:44,825 INFO L384 CDTParser]: Found 1 translation units. [2025-03-17 14:18:44,826 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i [2025-03-17 14:18:44,839 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dd46dd54c/ec8ee007052a4090a26d9ed1e6681018/FLAGa77f3abcb [2025-03-17 14:18:45,126 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dd46dd54c/ec8ee007052a4090a26d9ed1e6681018 [2025-03-17 14:18:45,128 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-17 14:18:45,129 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-17 14:18:45,130 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-17 14:18:45,130 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-17 14:18:45,133 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-17 14:18:45,133 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,134 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3def4cc1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45, skipping insertion in model container [2025-03-17 14:18:45,134 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,169 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-17 14:18:45,514 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 14:18:45,533 INFO L200 MainTranslator]: Completed pre-run [2025-03-17 14:18:45,573 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 14:18:45,629 INFO L204 MainTranslator]: Completed translation [2025-03-17 14:18:45,630 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45 WrapperNode [2025-03-17 14:18:45,630 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-17 14:18:45,631 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-17 14:18:45,631 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-17 14:18:45,631 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-17 14:18:45,636 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,652 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,675 INFO L138 Inliner]: procedures = 354, calls = 22, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 169 [2025-03-17 14:18:45,677 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-17 14:18:45,677 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-17 14:18:45,678 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-17 14:18:45,678 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-17 14:18:45,683 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,684 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,686 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,703 INFO L175 MemorySlicer]: Split 7 memory accesses to 2 slices as follows [2, 5]. 71 percent of accesses are in the largest equivalence class. The 7 initializations are split as follows [2, 5]. The 0 writes are split as follows [0, 0]. [2025-03-17 14:18:45,703 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,703 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,714 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,720 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,722 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,727 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,733 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-17 14:18:45,735 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-17 14:18:45,736 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-17 14:18:45,736 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-17 14:18:45,737 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (1/1) ... [2025-03-17 14:18:45,742 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 14:18:45,752 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 14:18:45,765 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-03-17 14:18:45,774 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-03-17 14:18:45,789 INFO L130 BoogieDeclarations]: Found specification of procedure f1 [2025-03-17 14:18:45,790 INFO L138 BoogieDeclarations]: Found implementation of procedure f1 [2025-03-17 14:18:45,790 INFO L130 BoogieDeclarations]: Found specification of procedure f2 [2025-03-17 14:18:45,790 INFO L138 BoogieDeclarations]: Found implementation of procedure f2 [2025-03-17 14:18:45,790 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-03-17 14:18:45,790 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-03-17 14:18:45,791 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-17 14:18:45,791 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-03-17 14:18:45,791 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-03-17 14:18:45,791 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-17 14:18:45,791 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-17 14:18:45,792 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-03-17 14:18:46,037 INFO L256 CfgBuilder]: Building ICFG [2025-03-17 14:18:46,038 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-17 14:18:46,277 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-03-17 14:18:46,277 INFO L307 CfgBuilder]: Performing block encoding [2025-03-17 14:18:46,604 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-03-17 14:18:46,604 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2025-03-17 14:18:46,605 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 02:18:46 BoogieIcfgContainer [2025-03-17 14:18:46,605 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-03-17 14:18:46,606 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-03-17 14:18:46,606 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-03-17 14:18:46,609 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-03-17 14:18:46,609 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.03 02:18:45" (1/3) ... [2025-03-17 14:18:46,610 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@77e4eaa1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 02:18:46, skipping insertion in model container [2025-03-17 14:18:46,610 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:45" (2/3) ... [2025-03-17 14:18:46,610 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@77e4eaa1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 02:18:46, skipping insertion in model container [2025-03-17 14:18:46,610 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 02:18:46" (3/3) ... [2025-03-17 14:18:46,611 INFO L128 eAbstractionObserver]: Analyzing ICFG 13-privatized_67-pthread_cond_wait_true.i [2025-03-17 14:18:46,622 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-03-17 14:18:46,624 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG 13-privatized_67-pthread_cond_wait_true.i that has 3 procedures, 32 locations, 1 initial locations, 0 loop locations, and 2 error locations. [2025-03-17 14:18:46,624 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-03-17 14:18:46,666 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2025-03-17 14:18:46,691 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 38 places, 33 transitions, 80 flow [2025-03-17 14:18:46,715 INFO L124 PetriNetUnfolderBase]: 2/31 cut-off events. [2025-03-17 14:18:46,716 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2025-03-17 14:18:46,718 INFO L83 FinitePrefix]: Finished finitePrefix Result has 40 conditions, 31 events. 2/31 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 34 event pairs, 0 based on Foata normal form. 0/27 useless extension candidates. Maximal degree in co-relation 26. Up to 2 conditions per place. [2025-03-17 14:18:46,718 INFO L82 GeneralOperation]: Start removeDead. Operand has 38 places, 33 transitions, 80 flow [2025-03-17 14:18:46,720 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 35 places, 30 transitions, 72 flow [2025-03-17 14:18:46,725 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-17 14:18:46,736 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=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, 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;@2a8f3999, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-17 14:18:46,736 INFO L334 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2025-03-17 14:18:46,746 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-03-17 14:18:46,746 INFO L124 PetriNetUnfolderBase]: 2/24 cut-off events. [2025-03-17 14:18:46,746 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-03-17 14:18:46,746 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 14:18:46,748 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 14:18:46,748 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting f1Err0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2025-03-17 14:18:46,752 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 14:18:46,752 INFO L85 PathProgramCache]: Analyzing trace with hash -328428939, now seen corresponding path program 1 times [2025-03-17 14:18:46,758 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 14:18:46,760 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [670229086] [2025-03-17 14:18:46,760 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 14:18:46,760 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 14:18:47,024 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 11 statements into 1 equivalence classes. [2025-03-17 14:18:47,068 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 11 of 11 statements. [2025-03-17 14:18:47,070 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:18:47,070 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 14:18:47,322 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 14:18:47,322 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 14:18:47,324 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [670229086] [2025-03-17 14:18:47,324 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [670229086] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 14:18:47,324 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 14:18:47,325 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2025-03-17 14:18:47,326 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1759846106] [2025-03-17 14:18:47,326 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 14:18:47,331 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-03-17 14:18:47,334 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 14:18:47,349 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-03-17 14:18:47,349 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-03-17 14:18:47,353 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 8 out of 33 [2025-03-17 14:18:47,355 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 35 places, 30 transitions, 72 flow. Second operand has 4 states, 4 states have (on average 10.0) internal successors, (40), 4 states have internal predecessors, (40), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:18:47,356 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-17 14:18:47,356 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 8 of 33 [2025-03-17 14:18:47,356 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-17 14:18:47,498 INFO L124 PetriNetUnfolderBase]: 192/378 cut-off events. [2025-03-17 14:18:47,498 INFO L125 PetriNetUnfolderBase]: For 14/14 co-relation queries the response was YES. [2025-03-17 14:18:47,500 INFO L83 FinitePrefix]: Finished finitePrefix Result has 771 conditions, 378 events. 192/378 cut-off events. For 14/14 co-relation queries the response was YES. Maximal size of possible extension queue 23. Compared 1525 event pairs, 91 based on Foata normal form. 12/381 useless extension candidates. Maximal degree in co-relation 733. Up to 207 conditions per place. [2025-03-17 14:18:47,502 INFO L140 encePairwiseOnDemand]: 25/33 looper letters, 37 selfloop transitions, 7 changer transitions 0/50 dead transitions. [2025-03-17 14:18:47,505 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 38 places, 50 transitions, 206 flow [2025-03-17 14:18:47,506 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2025-03-17 14:18:47,508 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2025-03-17 14:18:47,514 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 88 transitions. [2025-03-17 14:18:47,516 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.5333333333333333 [2025-03-17 14:18:47,518 INFO L175 Difference]: Start difference. First operand has 35 places, 30 transitions, 72 flow. Second operand 5 states and 88 transitions. [2025-03-17 14:18:47,518 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 38 places, 50 transitions, 206 flow [2025-03-17 14:18:47,523 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 34 places, 50 transitions, 194 flow, removed 0 selfloop flow, removed 4 redundant places. [2025-03-17 14:18:47,528 INFO L231 Difference]: Finished difference. Result has 38 places, 32 transitions, 106 flow [2025-03-17 14:18:47,530 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=33, PETRI_DIFFERENCE_MINUEND_FLOW=58, PETRI_DIFFERENCE_MINUEND_PLACES=30, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=27, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=22, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=106, PETRI_PLACES=38, PETRI_TRANSITIONS=32} [2025-03-17 14:18:47,534 INFO L279 CegarLoopForPetriNet]: 35 programPoint places, 3 predicate places. [2025-03-17 14:18:47,535 INFO L471 AbstractCegarLoop]: Abstraction has has 38 places, 32 transitions, 106 flow [2025-03-17 14:18:47,535 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 10.0) internal successors, (40), 4 states have internal predecessors, (40), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:18:47,535 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 14:18:47,535 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 14:18:47,535 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-03-17 14:18:47,535 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting f1Err0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2025-03-17 14:18:47,537 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 14:18:47,537 INFO L85 PathProgramCache]: Analyzing trace with hash 1024342317, now seen corresponding path program 1 times [2025-03-17 14:18:47,537 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 14:18:47,538 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1533973161] [2025-03-17 14:18:47,538 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 14:18:47,538 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 14:18:47,684 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-03-17 14:18:47,697 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-03-17 14:18:47,700 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:18:47,701 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 14:18:47,959 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 14:18:47,959 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 14:18:47,959 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1533973161] [2025-03-17 14:18:47,959 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1533973161] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 14:18:47,959 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 14:18:47,959 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2025-03-17 14:18:47,959 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [130067366] [2025-03-17 14:18:47,960 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 14:18:47,960 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2025-03-17 14:18:47,961 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 14:18:47,961 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2025-03-17 14:18:47,961 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2025-03-17 14:18:47,963 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 8 out of 33 [2025-03-17 14:18:47,963 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 38 places, 32 transitions, 106 flow. Second operand has 5 states, 5 states have (on average 10.4) internal successors, (52), 5 states have internal predecessors, (52), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:18:47,963 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-17 14:18:47,963 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 8 of 33 [2025-03-17 14:18:47,963 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-17 14:18:48,114 INFO L124 PetriNetUnfolderBase]: 107/243 cut-off events. [2025-03-17 14:18:48,114 INFO L125 PetriNetUnfolderBase]: For 28/28 co-relation queries the response was YES. [2025-03-17 14:18:48,115 INFO L83 FinitePrefix]: Finished finitePrefix Result has 585 conditions, 243 events. 107/243 cut-off events. For 28/28 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 868 event pairs, 24 based on Foata normal form. 20/260 useless extension candidates. Maximal degree in co-relation 507. Up to 87 conditions per place. [2025-03-17 14:18:48,116 INFO L140 encePairwiseOnDemand]: 22/33 looper letters, 33 selfloop transitions, 14 changer transitions 0/53 dead transitions. [2025-03-17 14:18:48,116 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 53 transitions, 243 flow [2025-03-17 14:18:48,118 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2025-03-17 14:18:48,118 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2025-03-17 14:18:48,119 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 109 transitions. [2025-03-17 14:18:48,119 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.47186147186147187 [2025-03-17 14:18:48,120 INFO L175 Difference]: Start difference. First operand has 38 places, 32 transitions, 106 flow. Second operand 7 states and 109 transitions. [2025-03-17 14:18:48,120 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 53 transitions, 243 flow [2025-03-17 14:18:48,122 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 43 places, 53 transitions, 239 flow, removed 1 selfloop flow, removed 1 redundant places. [2025-03-17 14:18:48,122 INFO L231 Difference]: Finished difference. Result has 43 places, 33 transitions, 128 flow [2025-03-17 14:18:48,123 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=33, PETRI_DIFFERENCE_MINUEND_FLOW=96, PETRI_DIFFERENCE_MINUEND_PLACES=37, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=31, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=12, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=19, PETRI_DIFFERENCE_SUBTRAHEND_STATES=7, PETRI_FLOW=128, PETRI_PLACES=43, PETRI_TRANSITIONS=33} [2025-03-17 14:18:48,123 INFO L279 CegarLoopForPetriNet]: 35 programPoint places, 8 predicate places. [2025-03-17 14:18:48,123 INFO L471 AbstractCegarLoop]: Abstraction has has 43 places, 33 transitions, 128 flow [2025-03-17 14:18:48,123 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 10.4) internal successors, (52), 5 states have internal predecessors, (52), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:18:48,123 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 14:18:48,123 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 14:18:48,123 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-03-17 14:18:48,124 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting f1Err0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2025-03-17 14:18:48,126 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 14:18:48,126 INFO L85 PathProgramCache]: Analyzing trace with hash -2102720506, now seen corresponding path program 1 times [2025-03-17 14:18:48,126 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 14:18:48,126 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [721289784] [2025-03-17 14:18:48,126 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 14:18:48,126 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 14:18:48,228 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 17 statements into 1 equivalence classes. [2025-03-17 14:18:48,246 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 17 of 17 statements. [2025-03-17 14:18:48,246 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:18:48,246 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-17 14:18:48,247 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-17 14:18:48,251 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 17 statements into 1 equivalence classes. [2025-03-17 14:18:48,264 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 17 of 17 statements. [2025-03-17 14:18:48,264 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:18:48,264 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-17 14:18:48,296 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-03-17 14:18:48,296 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-17 14:18:48,297 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location f1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 5 remaining) [2025-03-17 14:18:48,298 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 5 remaining) [2025-03-17 14:18:48,299 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 5 remaining) [2025-03-17 14:18:48,299 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 5 remaining) [2025-03-17 14:18:48,299 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location f1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 5 remaining) [2025-03-17 14:18:48,299 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-03-17 14:18:48,299 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2025-03-17 14:18:48,334 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-03-17 14:18:48,334 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-03-17 14:18:48,340 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 17.03 02:18:48 BasicIcfg [2025-03-17 14:18:48,340 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-03-17 14:18:48,341 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-03-17 14:18:48,341 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-03-17 14:18:48,341 INFO L274 PluginConnector]: Witness Printer initialized [2025-03-17 14:18:48,341 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 02:18:46" (3/4) ... [2025-03-17 14:18:48,342 INFO L149 WitnessPrinter]: No result that supports witness generation found [2025-03-17 14:18:48,343 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-03-17 14:18:48,344 INFO L158 Benchmark]: Toolchain (without parser) took 3214.87ms. Allocated memory was 142.6MB in the beginning and 310.4MB in the end (delta: 167.8MB). Free memory was 106.0MB in the beginning and 112.6MB in the end (delta: -6.7MB). Peak memory consumption was 158.9MB. Max. memory is 16.1GB. [2025-03-17 14:18:48,344 INFO L158 Benchmark]: CDTParser took 0.28ms. Allocated memory is still 201.3MB. Free memory is still 126.2MB. There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:18:48,344 INFO L158 Benchmark]: CACSL2BoogieTranslator took 500.73ms. Allocated memory is still 142.6MB. Free memory was 105.0MB in the beginning and 68.3MB in the end (delta: 36.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2025-03-17 14:18:48,345 INFO L158 Benchmark]: Boogie Procedure Inliner took 45.96ms. Allocated memory is still 142.6MB. Free memory was 68.3MB in the beginning and 65.3MB in the end (delta: 3.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-03-17 14:18:48,345 INFO L158 Benchmark]: Boogie Preprocessor took 57.07ms. Allocated memory is still 142.6MB. Free memory was 65.3MB in the beginning and 62.2MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:18:48,345 INFO L158 Benchmark]: IcfgBuilder took 869.73ms. Allocated memory is still 142.6MB. Free memory was 62.2MB in the beginning and 92.0MB in the end (delta: -29.8MB). Peak memory consumption was 48.0MB. Max. memory is 16.1GB. [2025-03-17 14:18:48,346 INFO L158 Benchmark]: TraceAbstraction took 1734.17ms. Allocated memory was 142.6MB in the beginning and 310.4MB in the end (delta: 167.8MB). Free memory was 91.2MB in the beginning and 112.7MB in the end (delta: -21.4MB). Peak memory consumption was 140.7MB. Max. memory is 16.1GB. [2025-03-17 14:18:48,346 INFO L158 Benchmark]: Witness Printer took 2.51ms. Allocated memory is still 310.4MB. Free memory was 112.7MB in the beginning and 112.6MB in the end (delta: 41.0kB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:18:48,347 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.28ms. Allocated memory is still 201.3MB. Free memory is still 126.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 500.73ms. Allocated memory is still 142.6MB. Free memory was 105.0MB in the beginning and 68.3MB in the end (delta: 36.7MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 45.96ms. Allocated memory is still 142.6MB. Free memory was 68.3MB in the beginning and 65.3MB in the end (delta: 3.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 57.07ms. Allocated memory is still 142.6MB. Free memory was 65.3MB in the beginning and 62.2MB in the end (delta: 3.1MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 869.73ms. Allocated memory is still 142.6MB. Free memory was 62.2MB in the beginning and 92.0MB in the end (delta: -29.8MB). Peak memory consumption was 48.0MB. Max. memory is 16.1GB. * TraceAbstraction took 1734.17ms. Allocated memory was 142.6MB in the beginning and 310.4MB in the end (delta: 167.8MB). Free memory was 91.2MB in the beginning and 112.7MB in the end (delta: -21.4MB). Peak memory consumption was 140.7MB. Max. memory is 16.1GB. * Witness Printer took 2.51ms. Allocated memory is still 310.4MB. Free memory was 112.7MB in the beginning and 112.6MB in the end (delta: 41.0kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 18]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 18. Possible FailurePath: [L1351] 0 int g; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1353] 0 pthread_cond_t cond = { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }; [L1373] 0 pthread_t t1; [L1374] 0 pthread_t t2; [L1375] FCALL, FORK 0 pthread_create(&t1,((void *)0),f1,((void *)0)) VAL [\old(argc)=1181, \old(argv)={1191:1152}, argc=1181, g=0, mut={3:0}, t1=-1] [L1377] FCALL, FORK 0 pthread_create(&t2,((void *)0),f2,((void *)0)) VAL [\old(argc)=1181, \old(argv)={1191:1152}, \old(ptr)={0:0}, argc=1181, g=0, mut={3:0}, t1=-1, t2=0] [L1356] 1 g = 1 VAL [\old(ptr)={0:0}, \old(ptr)={0:0}, g=1, mut={3:0}, ptr={0:0}, ptr={0:0}] [L1366] 2 g = 0 VAL [\old(ptr)={0:0}, g=0, mut={3:0}, ptr={0:0}] [L1358] CALL 1 __VERIFIER_assert(g == 1) [L19] COND TRUE 1 !(cond) [L19] CALL 1 reach_error() [L18] COND FALSE 1 !(0) VAL [\old(ptr)={0:0}, g=0, mut={3:0}, ptr={0:0}] [L18] 1 __assert_fail ("0", "13-privatized_67-pthread_cond_wait_true.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(ptr)={0:0}, g=0, mut={3:0}, ptr={0:0}] - UnprovableResult [Line: 1371]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 1375]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 1377]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 55 locations, 58 edges, 5 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 1.6s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.3s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 54 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 51 mSDsluCounter, 3 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 3 mSDsCounter, 9 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 200 IncrementalHoareTripleChecker+Invalid, 209 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 9 mSolverCounterUnsat, 0 mSDtfsCounter, 200 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 14 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=128occurred in iteration=2, 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.5s InterpolantComputationTime, 44 NumberOfCodeBlocks, 44 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 25 ConstructedInterpolants, 0 QuantifiedInterpolants, 63 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2025-03-17 14:18:48,361 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (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/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53 --- Real Ultimate output --- This is Ultimate 0.3.0-?-8fc3dc6-m [2025-03-17 14:18:50,241 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-17 14:18:50,300 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2025-03-17 14:18:50,309 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-17 14:18:50,309 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-17 14:18:50,350 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-17 14:18:50,350 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-17 14:18:50,350 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-17 14:18:50,351 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-03-17 14:18:50,351 INFO L153 SettingsManager]: * Use memory slicer=true [2025-03-17 14:18:50,351 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-17 14:18:50,351 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-17 14:18:50,351 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-17 14:18:50,351 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-17 14:18:50,351 INFO L153 SettingsManager]: * Use SBE=true [2025-03-17 14:18:50,351 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-17 14:18:50,351 INFO L153 SettingsManager]: * sizeof long=4 [2025-03-17 14:18:50,351 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * sizeof long double=12 [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-17 14:18:50,357 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-17 14:18:50,357 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 14:18:50,358 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * Trace refinement strategy=FOX [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-17 14:18:50,358 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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/releaseScripts/default/UAutomizer-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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer 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 -> 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53 [2025-03-17 14:18:50,594 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-17 14:18:50,601 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-17 14:18:50,604 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-17 14:18:50,605 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-17 14:18:50,605 INFO L274 PluginConnector]: CDTParser initialized [2025-03-17 14:18:50,606 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i [2025-03-17 14:18:51,761 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cc742c99f/3a7320ab61c04c61bef9b0329593240a/FLAG5d378dbe4 [2025-03-17 14:18:52,050 INFO L384 CDTParser]: Found 1 translation units. [2025-03-17 14:18:52,051 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i [2025-03-17 14:18:52,068 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cc742c99f/3a7320ab61c04c61bef9b0329593240a/FLAG5d378dbe4 [2025-03-17 14:18:52,337 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cc742c99f/3a7320ab61c04c61bef9b0329593240a [2025-03-17 14:18:52,339 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-17 14:18:52,341 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-17 14:18:52,343 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-17 14:18:52,344 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-17 14:18:52,347 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-17 14:18:52,348 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,349 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@11c6a02f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52, skipping insertion in model container [2025-03-17 14:18:52,349 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,384 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-17 14:18:52,680 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 14:18:52,698 INFO L200 MainTranslator]: Completed pre-run [2025-03-17 14:18:52,762 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 14:18:52,817 INFO L204 MainTranslator]: Completed translation [2025-03-17 14:18:52,818 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52 WrapperNode [2025-03-17 14:18:52,818 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-17 14:18:52,819 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-17 14:18:52,819 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-17 14:18:52,819 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-17 14:18:52,823 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,837 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,854 INFO L138 Inliner]: procedures = 358, calls = 22, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 170 [2025-03-17 14:18:52,855 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-17 14:18:52,855 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-17 14:18:52,856 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-17 14:18:52,856 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-17 14:18:52,861 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,862 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,868 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,880 INFO L175 MemorySlicer]: Split 7 memory accesses to 2 slices as follows [2, 5]. 71 percent of accesses are in the largest equivalence class. The 7 initializations are split as follows [2, 5]. The 0 writes are split as follows [0, 0]. [2025-03-17 14:18:52,880 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,880 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,905 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,906 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,908 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,909 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,917 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-17 14:18:52,918 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-17 14:18:52,918 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-17 14:18:52,918 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-17 14:18:52,918 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (1/1) ... [2025-03-17 14:18:52,926 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 14:18:52,934 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 14:18:52,947 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-03-17 14:18:52,952 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-03-17 14:18:52,966 INFO L130 BoogieDeclarations]: Found specification of procedure f1 [2025-03-17 14:18:52,967 INFO L138 BoogieDeclarations]: Found implementation of procedure f1 [2025-03-17 14:18:52,967 INFO L130 BoogieDeclarations]: Found specification of procedure f2 [2025-03-17 14:18:52,967 INFO L138 BoogieDeclarations]: Found implementation of procedure f2 [2025-03-17 14:18:52,967 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2025-03-17 14:18:52,967 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2025-03-17 14:18:52,968 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#0 [2025-03-17 14:18:52,968 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#1 [2025-03-17 14:18:52,968 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-03-17 14:18:52,968 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-03-17 14:18:52,968 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-17 14:18:52,968 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-17 14:18:52,968 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-17 14:18:52,969 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-03-17 14:18:53,181 INFO L256 CfgBuilder]: Building ICFG [2025-03-17 14:18:53,182 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-17 14:18:53,420 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-03-17 14:18:53,420 INFO L307 CfgBuilder]: Performing block encoding [2025-03-17 14:18:53,778 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-03-17 14:18:53,779 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2025-03-17 14:18:53,779 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 02:18:53 BoogieIcfgContainer [2025-03-17 14:18:53,779 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-03-17 14:18:53,781 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-03-17 14:18:53,781 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-03-17 14:18:53,785 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-03-17 14:18:53,786 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.03 02:18:52" (1/3) ... [2025-03-17 14:18:53,787 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6bb4934f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 02:18:53, skipping insertion in model container [2025-03-17 14:18:53,787 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:18:52" (2/3) ... [2025-03-17 14:18:53,787 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6bb4934f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 02:18:53, skipping insertion in model container [2025-03-17 14:18:53,787 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 02:18:53" (3/3) ... [2025-03-17 14:18:53,788 INFO L128 eAbstractionObserver]: Analyzing ICFG 13-privatized_67-pthread_cond_wait_true.i [2025-03-17 14:18:53,800 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-03-17 14:18:53,801 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG 13-privatized_67-pthread_cond_wait_true.i that has 3 procedures, 32 locations, 1 initial locations, 0 loop locations, and 2 error locations. [2025-03-17 14:18:53,801 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-03-17 14:18:53,849 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2025-03-17 14:18:53,878 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 38 places, 33 transitions, 80 flow [2025-03-17 14:18:53,912 INFO L124 PetriNetUnfolderBase]: 2/31 cut-off events. [2025-03-17 14:18:53,914 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2025-03-17 14:18:53,916 INFO L83 FinitePrefix]: Finished finitePrefix Result has 40 conditions, 31 events. 2/31 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 34 event pairs, 0 based on Foata normal form. 0/27 useless extension candidates. Maximal degree in co-relation 26. Up to 2 conditions per place. [2025-03-17 14:18:53,916 INFO L82 GeneralOperation]: Start removeDead. Operand has 38 places, 33 transitions, 80 flow [2025-03-17 14:18:53,919 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 35 places, 30 transitions, 72 flow [2025-03-17 14:18:53,926 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-17 14:18:53,935 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=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, 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;@a2cea14, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-17 14:18:53,935 INFO L334 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2025-03-17 14:18:53,951 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-03-17 14:18:53,951 INFO L124 PetriNetUnfolderBase]: 2/24 cut-off events. [2025-03-17 14:18:53,951 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-03-17 14:18:53,951 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 14:18:53,952 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 14:18:53,953 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting f1Err0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2025-03-17 14:18:53,956 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 14:18:53,957 INFO L85 PathProgramCache]: Analyzing trace with hash 1684494647, now seen corresponding path program 1 times [2025-03-17 14:18:53,964 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-03-17 14:18:53,966 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1458816168] [2025-03-17 14:18:53,966 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 14:18:53,966 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 14:18:53,966 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 14:18:53,968 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-03-17 14:18:53,969 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2025-03-17 14:18:54,199 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 11 statements into 1 equivalence classes. [2025-03-17 14:18:54,219 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 11 of 11 statements. [2025-03-17 14:18:54,219 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:18:54,219 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 14:18:54,222 INFO L256 TraceCheckSpWp]: Trace formula consists of 115 conjuncts, 4 conjuncts are in the unsatisfiable core [2025-03-17 14:18:54,225 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-03-17 14:18:54,274 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 14:18:54,274 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-03-17 14:18:54,275 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-03-17 14:18:54,275 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1458816168] [2025-03-17 14:18:54,275 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1458816168] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 14:18:54,275 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 14:18:54,275 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2025-03-17 14:18:54,277 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1817849119] [2025-03-17 14:18:54,277 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 14:18:54,281 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-03-17 14:18:54,284 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-03-17 14:18:54,297 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-03-17 14:18:54,297 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-03-17 14:18:54,301 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 33 [2025-03-17 14:18:54,303 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 35 places, 30 transitions, 72 flow. Second operand has 4 states, 4 states have (on average 11.0) internal successors, (44), 4 states have internal predecessors, (44), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:18:54,303 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-17 14:18:54,303 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 33 [2025-03-17 14:18:54,304 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-17 14:18:54,464 INFO L124 PetriNetUnfolderBase]: 170/356 cut-off events. [2025-03-17 14:18:54,464 INFO L125 PetriNetUnfolderBase]: For 13/13 co-relation queries the response was YES. [2025-03-17 14:18:54,465 INFO L83 FinitePrefix]: Finished finitePrefix Result has 707 conditions, 356 events. 170/356 cut-off events. For 13/13 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 1518 event pairs, 91 based on Foata normal form. 30/383 useless extension candidates. Maximal degree in co-relation 669. Up to 213 conditions per place. [2025-03-17 14:18:54,468 INFO L140 encePairwiseOnDemand]: 26/33 looper letters, 36 selfloop transitions, 6 changer transitions 0/49 dead transitions. [2025-03-17 14:18:54,469 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 38 places, 49 transitions, 200 flow [2025-03-17 14:18:54,469 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2025-03-17 14:18:54,471 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2025-03-17 14:18:54,475 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 91 transitions. [2025-03-17 14:18:54,477 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.5515151515151515 [2025-03-17 14:18:54,478 INFO L175 Difference]: Start difference. First operand has 35 places, 30 transitions, 72 flow. Second operand 5 states and 91 transitions. [2025-03-17 14:18:54,478 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 38 places, 49 transitions, 200 flow [2025-03-17 14:18:54,481 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 34 places, 49 transitions, 188 flow, removed 0 selfloop flow, removed 4 redundant places. [2025-03-17 14:18:54,484 INFO L231 Difference]: Finished difference. Result has 37 places, 32 transitions, 98 flow [2025-03-17 14:18:54,486 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=33, PETRI_DIFFERENCE_MINUEND_FLOW=58, PETRI_DIFFERENCE_MINUEND_PLACES=30, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=27, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=23, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=98, PETRI_PLACES=37, PETRI_TRANSITIONS=32} [2025-03-17 14:18:54,488 INFO L279 CegarLoopForPetriNet]: 35 programPoint places, 2 predicate places. [2025-03-17 14:18:54,489 INFO L471 AbstractCegarLoop]: Abstraction has has 37 places, 32 transitions, 98 flow [2025-03-17 14:18:54,489 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 11.0) internal successors, (44), 4 states have internal predecessors, (44), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:18:54,489 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 14:18:54,489 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 14:18:54,499 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2025-03-17 14:18:54,693 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 14:18:54,693 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting f1Err0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2025-03-17 14:18:54,694 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 14:18:54,694 INFO L85 PathProgramCache]: Analyzing trace with hash -603423955, now seen corresponding path program 1 times [2025-03-17 14:18:54,694 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-03-17 14:18:54,694 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [261304525] [2025-03-17 14:18:54,694 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 14:18:54,694 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 14:18:54,694 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 14:18:54,696 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-03-17 14:18:54,697 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2025-03-17 14:18:54,883 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-03-17 14:18:54,901 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-03-17 14:18:54,901 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:18:54,901 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 14:18:54,903 INFO L256 TraceCheckSpWp]: Trace formula consists of 131 conjuncts, 4 conjuncts are in the unsatisfiable core [2025-03-17 14:18:54,905 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-03-17 14:18:54,923 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 0 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 [2025-03-17 14:18:54,935 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 14:18:54,935 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-03-17 14:18:54,935 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-03-17 14:18:54,935 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [261304525] [2025-03-17 14:18:54,936 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [261304525] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 14:18:54,936 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 14:18:54,936 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-03-17 14:18:54,936 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [596308701] [2025-03-17 14:18:54,936 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 14:18:54,937 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-03-17 14:18:54,937 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-03-17 14:18:54,937 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-03-17 14:18:54,937 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-03-17 14:18:54,937 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 33 [2025-03-17 14:18:54,938 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 37 places, 32 transitions, 98 flow. Second operand has 3 states, 3 states have (on average 13.0) internal successors, (39), 3 states have internal predecessors, (39), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:18:54,938 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-17 14:18:54,938 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 33 [2025-03-17 14:18:54,938 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-17 14:18:55,014 INFO L124 PetriNetUnfolderBase]: 96/232 cut-off events. [2025-03-17 14:18:55,014 INFO L125 PetriNetUnfolderBase]: For 34/34 co-relation queries the response was YES. [2025-03-17 14:18:55,014 INFO L83 FinitePrefix]: Finished finitePrefix Result has 522 conditions, 232 events. 96/232 cut-off events. For 34/34 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 862 event pairs, 31 based on Foata normal form. 18/247 useless extension candidates. Maximal degree in co-relation 484. Up to 135 conditions per place. [2025-03-17 14:18:55,015 INFO L140 encePairwiseOnDemand]: 27/33 looper letters, 23 selfloop transitions, 6 changer transitions 0/36 dead transitions. [2025-03-17 14:18:55,016 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 38 places, 36 transitions, 159 flow [2025-03-17 14:18:55,016 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-03-17 14:18:55,016 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-03-17 14:18:55,017 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 56 transitions. [2025-03-17 14:18:55,017 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.5656565656565656 [2025-03-17 14:18:55,017 INFO L175 Difference]: Start difference. First operand has 37 places, 32 transitions, 98 flow. Second operand 3 states and 56 transitions. [2025-03-17 14:18:55,017 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 38 places, 36 transitions, 159 flow [2025-03-17 14:18:55,018 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 37 places, 36 transitions, 157 flow, removed 1 selfloop flow, removed 1 redundant places. [2025-03-17 14:18:55,019 INFO L231 Difference]: Finished difference. Result has 37 places, 30 transitions, 97 flow [2025-03-17 14:18:55,019 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=33, PETRI_DIFFERENCE_MINUEND_FLOW=85, PETRI_DIFFERENCE_MINUEND_PLACES=35, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=30, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=6, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=24, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=97, PETRI_PLACES=37, PETRI_TRANSITIONS=30} [2025-03-17 14:18:55,019 INFO L279 CegarLoopForPetriNet]: 35 programPoint places, 2 predicate places. [2025-03-17 14:18:55,019 INFO L471 AbstractCegarLoop]: Abstraction has has 37 places, 30 transitions, 97 flow [2025-03-17 14:18:55,019 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 13.0) internal successors, (39), 3 states have internal predecessors, (39), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:18:55,020 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 14:18:55,020 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 14:18:55,030 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2025-03-17 14:18:55,224 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 14:18:55,224 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting f1Err0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2025-03-17 14:18:55,225 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 14:18:55,225 INFO L85 PathProgramCache]: Analyzing trace with hash -1326247356, now seen corresponding path program 1 times [2025-03-17 14:18:55,225 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-03-17 14:18:55,225 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1044000522] [2025-03-17 14:18:55,225 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 14:18:55,226 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 14:18:55,226 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 14:18:55,229 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-03-17 14:18:55,230 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2025-03-17 14:18:55,411 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 17 statements into 1 equivalence classes. [2025-03-17 14:18:55,437 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 17 of 17 statements. [2025-03-17 14:18:55,437 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:18:55,437 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-17 14:18:55,437 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-17 14:18:55,454 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 17 statements into 1 equivalence classes. [2025-03-17 14:18:55,467 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 17 of 17 statements. [2025-03-17 14:18:55,467 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:18:55,467 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-17 14:18:55,498 INFO L130 FreeRefinementEngine]: Strategy FOX found a feasible trace [2025-03-17 14:18:55,498 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-17 14:18:55,499 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location f1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 5 remaining) [2025-03-17 14:18:55,500 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 5 remaining) [2025-03-17 14:18:55,500 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 5 remaining) [2025-03-17 14:18:55,500 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 5 remaining) [2025-03-17 14:18:55,500 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location f1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 5 remaining) [2025-03-17 14:18:55,510 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2025-03-17 14:18:55,700 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 14:18:55,701 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2025-03-17 14:18:55,726 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-03-17 14:18:55,726 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-03-17 14:18:55,730 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 17.03 02:18:55 BasicIcfg [2025-03-17 14:18:55,730 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-03-17 14:18:55,730 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-03-17 14:18:55,730 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-03-17 14:18:55,731 INFO L274 PluginConnector]: Witness Printer initialized [2025-03-17 14:18:55,731 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 02:18:53" (3/4) ... [2025-03-17 14:18:55,732 INFO L149 WitnessPrinter]: No result that supports witness generation found [2025-03-17 14:18:55,733 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-03-17 14:18:55,734 INFO L158 Benchmark]: Toolchain (without parser) took 3392.62ms. Allocated memory was 117.4MB in the beginning and 234.9MB in the end (delta: 117.4MB). Free memory was 88.0MB in the beginning and 172.1MB in the end (delta: -84.1MB). Peak memory consumption was 33.8MB. Max. memory is 16.1GB. [2025-03-17 14:18:55,734 INFO L158 Benchmark]: CDTParser took 1.85ms. Allocated memory is still 117.4MB. Free memory is still 81.9MB. There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:18:55,734 INFO L158 Benchmark]: CACSL2BoogieTranslator took 475.18ms. Allocated memory is still 117.4MB. Free memory was 87.8MB in the beginning and 48.2MB in the end (delta: 39.6MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2025-03-17 14:18:55,734 INFO L158 Benchmark]: Boogie Procedure Inliner took 36.16ms. Allocated memory is still 117.4MB. Free memory was 48.2MB in the beginning and 45.3MB in the end (delta: 3.0MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:18:55,734 INFO L158 Benchmark]: Boogie Preprocessor took 61.86ms. Allocated memory is still 117.4MB. Free memory was 45.3MB in the beginning and 85.7MB in the end (delta: -40.4MB). Peak memory consumption was 13.6MB. Max. memory is 16.1GB. [2025-03-17 14:18:55,735 INFO L158 Benchmark]: IcfgBuilder took 861.37ms. Allocated memory was 117.4MB in the beginning and 234.9MB in the end (delta: 117.4MB). Free memory was 85.7MB in the beginning and 124.0MB in the end (delta: -38.3MB). Peak memory consumption was 80.7MB. Max. memory is 16.1GB. [2025-03-17 14:18:55,735 INFO L158 Benchmark]: TraceAbstraction took 1948.50ms. Allocated memory is still 234.9MB. Free memory was 123.4MB in the beginning and 172.1MB in the end (delta: -48.8MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:18:55,735 INFO L158 Benchmark]: Witness Printer took 2.67ms. Allocated memory is still 234.9MB. Free memory was 172.1MB in the beginning and 172.1MB in the end (delta: 69.1kB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:18:55,736 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.85ms. Allocated memory is still 117.4MB. Free memory is still 81.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 475.18ms. Allocated memory is still 117.4MB. Free memory was 87.8MB in the beginning and 48.2MB in the end (delta: 39.6MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 36.16ms. Allocated memory is still 117.4MB. Free memory was 48.2MB in the beginning and 45.3MB in the end (delta: 3.0MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 61.86ms. Allocated memory is still 117.4MB. Free memory was 45.3MB in the beginning and 85.7MB in the end (delta: -40.4MB). Peak memory consumption was 13.6MB. Max. memory is 16.1GB. * IcfgBuilder took 861.37ms. Allocated memory was 117.4MB in the beginning and 234.9MB in the end (delta: 117.4MB). Free memory was 85.7MB in the beginning and 124.0MB in the end (delta: -38.3MB). Peak memory consumption was 80.7MB. Max. memory is 16.1GB. * TraceAbstraction took 1948.50ms. Allocated memory is still 234.9MB. Free memory was 123.4MB in the beginning and 172.1MB in the end (delta: -48.8MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 2.67ms. Allocated memory is still 234.9MB. Free memory was 172.1MB in the beginning and 172.1MB in the end (delta: 69.1kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 18]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 18. Possible FailurePath: [L1351] 0 int g; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1352] 0 pthread_mutex_t mut = { { 0, 0, 0, PTHREAD_MUTEX_TIMED_NP, 0, { { 0, 0 } } } }; [L1353] 0 pthread_cond_t cond = { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } }; [L1373] 0 pthread_t t1; [L1374] 0 pthread_t t2; [L1375] FCALL, FORK 0 pthread_create(&t1,((void *)0),f1,((void *)0)) VAL [\old(argc)=0, \old(argv)={0:0}, argc=0, g=0, mut={3:0}, t1=-1] [L1356] 1 g = 1 VAL [\old(ptr)={0:0}, g=1, mut={3:0}, ptr={0:0}] [L1377] FCALL, FORK 0 pthread_create(&t2,((void *)0),f2,((void *)0)) VAL [\old(argc)=0, \old(argv)={0:0}, \old(ptr)={0:0}, argc=0, g=1, mut={3:0}, t1=-1, t2=0] [L1366] 2 g = 0 VAL [\old(ptr)={0:0}, g=0, mut={3:0}, ptr={0:0}] [L1358] CALL 1 __VERIFIER_assert(g == 1) [L19] COND TRUE 1 !(cond) [L19] CALL 1 reach_error() [L18] COND FALSE 1 !(0) VAL [\old(ptr)={0:0}, g=0, mut={3:0}, ptr={0:0}] [L18] 1 __assert_fail ("0", "13-privatized_67-pthread_cond_wait_true.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(ptr)={0:0}, g=0, mut={3:0}, ptr={0:0}] - UnprovableResult [Line: 1371]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 1375]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 1377]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 55 locations, 58 edges, 5 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 1.8s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.3s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 30 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 28 mSDsluCounter, 3 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 1 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 127 IncrementalHoareTripleChecker+Invalid, 131 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 2 mSDtfsCounter, 127 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 26 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=98occurred in iteration=1, InterpolantAutomatonStates: 8, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 44 NumberOfCodeBlocks, 44 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 25 ConstructedInterpolants, 0 QuantifiedInterpolants, 65 SizeOfPredicates, 2 NumberOfNonLiveVariables, 246 ConjunctsInSsa, 8 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2025-03-17 14:18:55,754 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample