./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/pthread/lazy01.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version c00e63dc Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread/lazy01.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/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 b5d87933b05ad3566f9bc28daac5c0aeceb8a45433a1cac3d51a8d34f7f284f0 --- Real Ultimate output --- This is Ultimate 0.3.0-?-c00e63d-m [2025-02-06 12:33:25,832 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-06 12:33:25,895 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2025-02-06 12:33:25,901 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-06 12:33:25,905 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-06 12:33:25,928 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-06 12:33:25,929 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-06 12:33:25,929 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-06 12:33:25,930 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-06 12:33:25,930 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-06 12:33:25,930 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-06 12:33:25,931 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-06 12:33:25,931 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-06 12:33:25,931 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-06 12:33:25,931 INFO L153 SettingsManager]: * Use SBE=true [2025-02-06 12:33:25,932 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-06 12:33:25,932 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-06 12:33:25,932 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-06 12:33:25,932 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-06 12:33:25,932 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-06 12:33:25,932 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-06 12:33:25,933 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-06 12:33:25,933 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-06 12:33:25,934 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 12:33:25,934 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-06 12:33:25,934 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-06 12:33:25,934 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-02-06 12:33:25,934 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-02-06 12:33:25,934 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-06 12:33:25,934 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-06 12:33:25,934 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-06 12:33:25,934 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-06 12:33:25,934 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-jdk21/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 -> b5d87933b05ad3566f9bc28daac5c0aeceb8a45433a1cac3d51a8d34f7f284f0 [2025-02-06 12:33:26,219 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-06 12:33:26,226 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-06 12:33:26,229 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-06 12:33:26,230 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-06 12:33:26,230 INFO L274 PluginConnector]: CDTParser initialized [2025-02-06 12:33:26,231 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread/lazy01.i [2025-02-06 12:33:27,597 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/1eceb4f52/ee8edf8c66494a7d81715daade66a09b/FLAG5c048ac19 [2025-02-06 12:33:27,979 INFO L384 CDTParser]: Found 1 translation units. [2025-02-06 12:33:27,984 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/lazy01.i [2025-02-06 12:33:28,003 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/1eceb4f52/ee8edf8c66494a7d81715daade66a09b/FLAG5c048ac19 [2025-02-06 12:33:28,179 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/1eceb4f52/ee8edf8c66494a7d81715daade66a09b [2025-02-06 12:33:28,181 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-06 12:33:28,182 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-06 12:33:28,184 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-06 12:33:28,184 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-06 12:33:28,187 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-06 12:33:28,187 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,188 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@717006eb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28, skipping insertion in model container [2025-02-06 12:33:28,188 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,224 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-06 12:33:28,557 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 12:33:28,576 INFO L200 MainTranslator]: Completed pre-run [2025-02-06 12:33:28,629 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 12:33:28,665 INFO L204 MainTranslator]: Completed translation [2025-02-06 12:33:28,665 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28 WrapperNode [2025-02-06 12:33:28,665 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-06 12:33:28,666 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-06 12:33:28,667 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-06 12:33:28,667 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-06 12:33:28,672 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,684 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,706 INFO L138 Inliner]: procedures = 169, calls = 22, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 58 [2025-02-06 12:33:28,706 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-06 12:33:28,707 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-06 12:33:28,707 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-06 12:33:28,707 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-06 12:33:28,715 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,715 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,719 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,737 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-02-06 12:33:28,738 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,738 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,746 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,747 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,753 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,753 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,755 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-06 12:33:28,756 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-06 12:33:28,756 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-06 12:33:28,756 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-06 12:33:28,757 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (1/1) ... [2025-02-06 12:33:28,765 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 12:33:28,778 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 12:33:28,792 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-02-06 12:33:28,797 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-02-06 12:33:28,819 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2025-02-06 12:33:28,819 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2025-02-06 12:33:28,820 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2025-02-06 12:33:28,820 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2025-02-06 12:33:28,820 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2025-02-06 12:33:28,820 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2025-02-06 12:33:28,820 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-02-06 12:33:28,821 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-06 12:33:28,821 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-02-06 12:33:28,821 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-02-06 12:33:28,821 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-02-06 12:33:28,821 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-06 12:33:28,821 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-06 12:33:28,824 WARN L227 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-02-06 12:33:28,943 INFO L257 CfgBuilder]: Building ICFG [2025-02-06 12:33:28,945 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-06 12:33:29,092 INFO L304 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-02-06 12:33:29,093 INFO L308 CfgBuilder]: Performing block encoding [2025-02-06 12:33:29,188 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-06 12:33:29,188 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-06 12:33:29,189 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 06.02 12:33:29 BoogieIcfgContainer [2025-02-06 12:33:29,189 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-06 12:33:29,191 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-06 12:33:29,191 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-06 12:33:29,196 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-06 12:33:29,196 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.02 12:33:28" (1/3) ... [2025-02-06 12:33:29,200 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2b30bb28 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.02 12:33:29, skipping insertion in model container [2025-02-06 12:33:29,200 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:28" (2/3) ... [2025-02-06 12:33:29,200 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2b30bb28 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.02 12:33:29, skipping insertion in model container [2025-02-06 12:33:29,200 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 06.02 12:33:29" (3/3) ... [2025-02-06 12:33:29,202 INFO L128 eAbstractionObserver]: Analyzing ICFG lazy01.i [2025-02-06 12:33:29,216 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-06 12:33:29,217 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG lazy01.i that has 4 procedures, 37 locations, 1 initial locations, 0 loop locations, and 2 error locations. [2025-02-06 12:33:29,217 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-02-06 12:33:29,280 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2025-02-06 12:33:29,315 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 46 places, 38 transitions, 97 flow [2025-02-06 12:33:29,342 INFO L124 PetriNetUnfolderBase]: 2/35 cut-off events. [2025-02-06 12:33:29,344 INFO L125 PetriNetUnfolderBase]: For 3/3 co-relation queries the response was YES. [2025-02-06 12:33:29,350 INFO L83 FinitePrefix]: Finished finitePrefix Result has 48 conditions, 35 events. 2/35 cut-off events. For 3/3 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 55 event pairs, 0 based on Foata normal form. 0/31 useless extension candidates. Maximal degree in co-relation 31. Up to 2 conditions per place. [2025-02-06 12:33:29,350 INFO L82 GeneralOperation]: Start removeDead. Operand has 46 places, 38 transitions, 97 flow [2025-02-06 12:33:29,353 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 42 places, 34 transitions, 86 flow [2025-02-06 12:33:29,362 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-02-06 12:33:29,374 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;@63253e23, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-02-06 12:33:29,374 INFO L334 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2025-02-06 12:33:29,387 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-02-06 12:33:29,387 INFO L124 PetriNetUnfolderBase]: 2/28 cut-off events. [2025-02-06 12:33:29,388 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2025-02-06 12:33:29,388 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:29,388 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:29,389 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:29,395 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:29,395 INFO L85 PathProgramCache]: Analyzing trace with hash 976122537, now seen corresponding path program 1 times [2025-02-06 12:33:29,402 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-06 12:33:29,403 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [423538462] [2025-02-06 12:33:29,403 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:29,405 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-06 12:33:29,494 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 12 statements into 1 equivalence classes. [2025-02-06 12:33:29,525 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 12 of 12 statements. [2025-02-06 12:33:29,527 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:29,527 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 12:33:29,687 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-06 12:33:29,687 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-06 12:33:29,688 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [423538462] [2025-02-06 12:33:29,688 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [423538462] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-06 12:33:29,688 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-06 12:33:29,689 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-02-06 12:33:29,690 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1504679602] [2025-02-06 12:33:29,690 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-06 12:33:29,696 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-06 12:33:29,700 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-06 12:33:29,721 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-06 12:33:29,722 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-06 12:33:29,728 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-06 12:33:29,731 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 42 places, 34 transitions, 86 flow. Second operand has 3 states, 3 states have (on average 14.666666666666666) internal successors, (44), 3 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-02-06 12:33:29,731 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-06 12:33:29,731 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-06 12:33:29,732 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-06 12:33:30,018 INFO L124 PetriNetUnfolderBase]: 588/1023 cut-off events. [2025-02-06 12:33:30,019 INFO L125 PetriNetUnfolderBase]: For 89/89 co-relation queries the response was YES. [2025-02-06 12:33:30,025 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2043 conditions, 1023 events. 588/1023 cut-off events. For 89/89 co-relation queries the response was YES. Maximal size of possible extension queue 80. Compared 5452 event pairs, 178 based on Foata normal form. 95/1097 useless extension candidates. Maximal degree in co-relation 1849. Up to 827 conditions per place. [2025-02-06 12:33:30,038 INFO L140 encePairwiseOnDemand]: 32/38 looper letters, 31 selfloop transitions, 3 changer transitions 0/43 dead transitions. [2025-02-06 12:33:30,039 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 43 places, 43 transitions, 178 flow [2025-02-06 12:33:30,040 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-06 12:33:30,042 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-06 12:33:30,051 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 73 transitions. [2025-02-06 12:33:30,053 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6403508771929824 [2025-02-06 12:33:30,055 INFO L175 Difference]: Start difference. First operand has 42 places, 34 transitions, 86 flow. Second operand 3 states and 73 transitions. [2025-02-06 12:33:30,055 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 43 places, 43 transitions, 178 flow [2025-02-06 12:33:30,065 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 37 places, 43 transitions, 162 flow, removed 0 selfloop flow, removed 6 redundant places. [2025-02-06 12:33:30,069 INFO L231 Difference]: Finished difference. Result has 38 places, 33 transitions, 87 flow [2025-02-06 12:33:30,071 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=38, PETRI_DIFFERENCE_MINUEND_FLOW=68, PETRI_DIFFERENCE_MINUEND_PLACES=35, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=31, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=28, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=87, PETRI_PLACES=38, PETRI_TRANSITIONS=33} [2025-02-06 12:33:30,075 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, -4 predicate places. [2025-02-06 12:33:30,076 INFO L471 AbstractCegarLoop]: Abstraction has has 38 places, 33 transitions, 87 flow [2025-02-06 12:33:30,076 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 14.666666666666666) internal successors, (44), 3 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-02-06 12:33:30,076 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:30,077 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:30,077 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-02-06 12:33:30,077 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:30,078 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:30,078 INFO L85 PathProgramCache]: Analyzing trace with hash -1504738601, now seen corresponding path program 1 times [2025-02-06 12:33:30,079 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-06 12:33:30,079 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1397392837] [2025-02-06 12:33:30,079 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:30,079 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-06 12:33:30,102 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 15 statements into 1 equivalence classes. [2025-02-06 12:33:30,112 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 15 of 15 statements. [2025-02-06 12:33:30,112 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:30,113 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 12:33:30,215 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-06 12:33:30,216 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-06 12:33:30,216 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1397392837] [2025-02-06 12:33:30,216 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1397392837] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-06 12:33:30,216 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-06 12:33:30,216 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-06 12:33:30,216 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1754534149] [2025-02-06 12:33:30,216 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-06 12:33:30,217 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-06 12:33:30,217 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-06 12:33:30,218 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-06 12:33:30,218 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-06 12:33:30,218 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-06 12:33:30,218 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 38 places, 33 transitions, 87 flow. Second operand has 3 states, 3 states have (on average 15.333333333333334) internal successors, (46), 3 states have internal predecessors, (46), 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-02-06 12:33:30,218 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-06 12:33:30,218 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-06 12:33:30,218 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-06 12:33:30,367 INFO L124 PetriNetUnfolderBase]: 303/636 cut-off events. [2025-02-06 12:33:30,368 INFO L125 PetriNetUnfolderBase]: For 39/39 co-relation queries the response was YES. [2025-02-06 12:33:30,371 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1302 conditions, 636 events. 303/636 cut-off events. For 39/39 co-relation queries the response was YES. Maximal size of possible extension queue 35. Compared 3028 event pairs, 108 based on Foata normal form. 80/708 useless extension candidates. Maximal degree in co-relation 734. Up to 327 conditions per place. [2025-02-06 12:33:30,377 INFO L140 encePairwiseOnDemand]: 32/38 looper letters, 28 selfloop transitions, 6 changer transitions 0/43 dead transitions. [2025-02-06 12:33:30,377 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 40 places, 43 transitions, 179 flow [2025-02-06 12:33:30,378 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-06 12:33:30,378 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-06 12:33:30,379 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 71 transitions. [2025-02-06 12:33:30,381 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6228070175438597 [2025-02-06 12:33:30,381 INFO L175 Difference]: Start difference. First operand has 38 places, 33 transitions, 87 flow. Second operand 3 states and 71 transitions. [2025-02-06 12:33:30,381 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 40 places, 43 transitions, 179 flow [2025-02-06 12:33:30,382 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 43 transitions, 176 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-02-06 12:33:30,383 INFO L231 Difference]: Finished difference. Result has 39 places, 33 transitions, 96 flow [2025-02-06 12:33:30,385 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=38, PETRI_DIFFERENCE_MINUEND_FLOW=84, PETRI_DIFFERENCE_MINUEND_PLACES=37, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=33, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=6, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=27, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=96, PETRI_PLACES=39, PETRI_TRANSITIONS=33} [2025-02-06 12:33:30,386 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, -3 predicate places. [2025-02-06 12:33:30,386 INFO L471 AbstractCegarLoop]: Abstraction has has 39 places, 33 transitions, 96 flow [2025-02-06 12:33:30,386 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 15.333333333333334) internal successors, (46), 3 states have internal predecessors, (46), 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-02-06 12:33:30,386 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:30,387 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:30,387 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-02-06 12:33:30,387 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:30,387 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:30,387 INFO L85 PathProgramCache]: Analyzing trace with hash -1616746645, now seen corresponding path program 1 times [2025-02-06 12:33:30,388 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-06 12:33:30,388 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1252683427] [2025-02-06 12:33:30,388 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:30,388 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-06 12:33:30,406 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-02-06 12:33:30,421 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-02-06 12:33:30,422 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:30,422 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 12:33:30,514 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-06 12:33:30,514 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-06 12:33:30,514 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1252683427] [2025-02-06 12:33:30,514 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1252683427] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-06 12:33:30,514 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-06 12:33:30,514 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-06 12:33:30,515 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1694194937] [2025-02-06 12:33:30,515 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-06 12:33:30,515 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-02-06 12:33:30,515 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-06 12:33:30,516 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-02-06 12:33:30,516 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2025-02-06 12:33:30,520 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-06 12:33:30,520 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 39 places, 33 transitions, 96 flow. Second operand has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-02-06 12:33:30,521 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-06 12:33:30,521 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-06 12:33:30,521 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-06 12:33:30,723 INFO L124 PetriNetUnfolderBase]: 298/607 cut-off events. [2025-02-06 12:33:30,723 INFO L125 PetriNetUnfolderBase]: For 134/134 co-relation queries the response was YES. [2025-02-06 12:33:30,724 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1390 conditions, 607 events. 298/607 cut-off events. For 134/134 co-relation queries the response was YES. Maximal size of possible extension queue 33. Compared 2850 event pairs, 65 based on Foata normal form. 5/607 useless extension candidates. Maximal degree in co-relation 255. Up to 363 conditions per place. [2025-02-06 12:33:30,729 INFO L140 encePairwiseOnDemand]: 34/38 looper letters, 39 selfloop transitions, 4 changer transitions 0/52 dead transitions. [2025-02-06 12:33:30,730 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 42 places, 52 transitions, 238 flow [2025-02-06 12:33:30,730 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-06 12:33:30,731 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-06 12:33:30,732 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 92 transitions. [2025-02-06 12:33:30,732 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6052631578947368 [2025-02-06 12:33:30,732 INFO L175 Difference]: Start difference. First operand has 39 places, 33 transitions, 96 flow. Second operand 4 states and 92 transitions. [2025-02-06 12:33:30,733 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 42 places, 52 transitions, 238 flow [2025-02-06 12:33:30,734 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 52 transitions, 225 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-02-06 12:33:30,736 INFO L231 Difference]: Finished difference. Result has 42 places, 33 transitions, 102 flow [2025-02-06 12:33:30,736 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=38, PETRI_DIFFERENCE_MINUEND_FLOW=90, PETRI_DIFFERENCE_MINUEND_PLACES=38, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=33, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=102, PETRI_PLACES=42, PETRI_TRANSITIONS=33} [2025-02-06 12:33:30,738 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 0 predicate places. [2025-02-06 12:33:30,738 INFO L471 AbstractCegarLoop]: Abstraction has has 42 places, 33 transitions, 102 flow [2025-02-06 12:33:30,738 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-02-06 12:33:30,738 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:30,738 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:30,738 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-02-06 12:33:30,739 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:30,739 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:30,740 INFO L85 PathProgramCache]: Analyzing trace with hash 1633448747, now seen corresponding path program 1 times [2025-02-06 12:33:30,740 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-06 12:33:30,740 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [902692960] [2025-02-06 12:33:30,740 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:30,740 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-06 12:33:30,754 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-02-06 12:33:30,764 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-02-06 12:33:30,764 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:30,765 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 12:33:30,839 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-06 12:33:30,839 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-06 12:33:30,840 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [902692960] [2025-02-06 12:33:30,840 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [902692960] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-06 12:33:30,840 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-06 12:33:30,840 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-06 12:33:30,840 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1837626200] [2025-02-06 12:33:30,840 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-06 12:33:30,840 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-02-06 12:33:30,841 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-06 12:33:30,841 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-02-06 12:33:30,841 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2025-02-06 12:33:30,843 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 11 out of 38 [2025-02-06 12:33:30,843 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 42 places, 33 transitions, 102 flow. Second operand has 4 states, 4 states have (on average 13.75) internal successors, (55), 4 states have internal predecessors, (55), 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-02-06 12:33:30,843 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-06 12:33:30,843 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 11 of 38 [2025-02-06 12:33:30,843 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-06 12:33:30,985 INFO L124 PetriNetUnfolderBase]: 341/666 cut-off events. [2025-02-06 12:33:30,986 INFO L125 PetriNetUnfolderBase]: For 221/221 co-relation queries the response was YES. [2025-02-06 12:33:30,987 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1524 conditions, 666 events. 341/666 cut-off events. For 221/221 co-relation queries the response was YES. Maximal size of possible extension queue 36. Compared 3018 event pairs, 91 based on Foata normal form. 4/667 useless extension candidates. Maximal degree in co-relation 508. Up to 316 conditions per place. [2025-02-06 12:33:30,990 INFO L140 encePairwiseOnDemand]: 33/38 looper letters, 43 selfloop transitions, 6 changer transitions 0/57 dead transitions. [2025-02-06 12:33:30,990 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 57 transitions, 261 flow [2025-02-06 12:33:30,991 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-06 12:33:30,991 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-06 12:33:30,991 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 94 transitions. [2025-02-06 12:33:30,992 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.618421052631579 [2025-02-06 12:33:30,992 INFO L175 Difference]: Start difference. First operand has 42 places, 33 transitions, 102 flow. Second operand 4 states and 94 transitions. [2025-02-06 12:33:30,992 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 57 transitions, 261 flow [2025-02-06 12:33:30,993 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 43 places, 57 transitions, 253 flow, removed 1 selfloop flow, removed 2 redundant places. [2025-02-06 12:33:30,994 INFO L231 Difference]: Finished difference. Result has 45 places, 34 transitions, 121 flow [2025-02-06 12:33:30,994 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=38, PETRI_DIFFERENCE_MINUEND_FLOW=94, PETRI_DIFFERENCE_MINUEND_PLACES=40, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=33, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=5, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=27, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=121, PETRI_PLACES=45, PETRI_TRANSITIONS=34} [2025-02-06 12:33:30,996 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 3 predicate places. [2025-02-06 12:33:30,996 INFO L471 AbstractCegarLoop]: Abstraction has has 45 places, 34 transitions, 121 flow [2025-02-06 12:33:30,997 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 13.75) internal successors, (55), 4 states have internal predecessors, (55), 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-02-06 12:33:30,997 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:30,997 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:30,997 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2025-02-06 12:33:30,997 INFO L396 AbstractCegarLoop]: === Iteration 5 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:30,998 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:30,999 INFO L85 PathProgramCache]: Analyzing trace with hash 1003020077, now seen corresponding path program 1 times [2025-02-06 12:33:30,999 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-06 12:33:30,999 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2059013581] [2025-02-06 12:33:30,999 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:30,999 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-06 12:33:31,015 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 20 statements into 1 equivalence classes. [2025-02-06 12:33:31,034 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 20 of 20 statements. [2025-02-06 12:33:31,034 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:31,034 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-06 12:33:31,035 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-02-06 12:33:31,041 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 20 statements into 1 equivalence classes. [2025-02-06 12:33:31,051 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 20 of 20 statements. [2025-02-06 12:33:31,052 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:31,052 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-06 12:33:31,078 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-02-06 12:33:31,079 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-02-06 12:33:31,080 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location thread3Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2025-02-06 12:33:31,084 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thread3Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 6 remaining) [2025-02-06 12:33:31,084 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2025-02-06 12:33:31,084 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 6 remaining) [2025-02-06 12:33:31,086 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 6 remaining) [2025-02-06 12:33:31,087 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 6 remaining) [2025-02-06 12:33:31,087 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2025-02-06 12:33:31,087 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2025-02-06 12:33:31,129 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-02-06 12:33:31,130 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-02-06 12:33:31,136 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 06.02 12:33:31 BasicIcfg [2025-02-06 12:33:31,137 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-06 12:33:31,137 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-06 12:33:31,138 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-06 12:33:31,138 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-06 12:33:31,139 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 06.02 12:33:29" (3/4) ... [2025-02-06 12:33:31,141 INFO L149 WitnessPrinter]: No result that supports witness generation found [2025-02-06 12:33:31,142 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-06 12:33:31,142 INFO L158 Benchmark]: Toolchain (without parser) took 2960.09ms. Allocated memory is still 167.8MB. Free memory was 121.1MB in the beginning and 82.4MB in the end (delta: 38.7MB). Peak memory consumption was 35.1MB. Max. memory is 16.1GB. [2025-02-06 12:33:31,143 INFO L158 Benchmark]: CDTParser took 0.22ms. Allocated memory is still 201.3MB. Free memory is still 119.4MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:33:31,143 INFO L158 Benchmark]: CACSL2BoogieTranslator took 482.23ms. Allocated memory is still 167.8MB. Free memory was 121.1MB in the beginning and 101.5MB in the end (delta: 19.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-06 12:33:31,145 INFO L158 Benchmark]: Boogie Procedure Inliner took 39.81ms. Allocated memory is still 167.8MB. Free memory was 101.5MB in the beginning and 100.0MB in the end (delta: 1.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-06 12:33:31,145 INFO L158 Benchmark]: Boogie Preprocessor took 48.49ms. Allocated memory is still 167.8MB. Free memory was 100.0MB in the beginning and 98.4MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:33:31,145 INFO L158 Benchmark]: IcfgBuilder took 433.04ms. Allocated memory is still 167.8MB. Free memory was 98.4MB in the beginning and 78.0MB in the end (delta: 20.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-06 12:33:31,146 INFO L158 Benchmark]: TraceAbstraction took 1945.81ms. Allocated memory is still 167.8MB. Free memory was 77.6MB in the beginning and 82.4MB in the end (delta: -4.9MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:33:31,146 INFO L158 Benchmark]: Witness Printer took 4.21ms. Allocated memory is still 167.8MB. Free memory was 82.4MB in the beginning and 82.4MB in the end (delta: 27.1kB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:33:31,147 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.22ms. Allocated memory is still 201.3MB. Free memory is still 119.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 482.23ms. Allocated memory is still 167.8MB. Free memory was 121.1MB in the beginning and 101.5MB in the end (delta: 19.6MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 39.81ms. Allocated memory is still 167.8MB. Free memory was 101.5MB in the beginning and 100.0MB in the end (delta: 1.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 48.49ms. Allocated memory is still 167.8MB. Free memory was 100.0MB in the beginning and 98.4MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 433.04ms. Allocated memory is still 167.8MB. Free memory was 98.4MB in the beginning and 78.0MB in the end (delta: 20.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * TraceAbstraction took 1945.81ms. Allocated memory is still 167.8MB. Free memory was 77.6MB in the beginning and 82.4MB in the end (delta: -4.9MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 4.21ms. Allocated memory is still 167.8MB. Free memory was 82.4MB in the beginning and 82.4MB in the end (delta: 27.1kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 20. Possible FailurePath: [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L703] 0 int data = 0; [L731] 0 pthread_t t1, t2, t3; [L732] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [\old(arg)={0:0}, data=0, mutex={3:0}, t1=-2] [L733] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data=0, mutex={3:0}, t1=-2, t2=-1] [L734] FCALL, FORK 0 pthread_create(&t3, 0, thread3, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data=0, mutex={3:0}, t1=-2, t2=-1, t3=0] [L707] 1 data++ VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data=1, mutex={3:0}] [L714] 2 data+=2 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={3:0}] [L721] COND TRUE 3 data >= 3 [L722] CALL 3 reach_error() [L20] COND FALSE 3 !(0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={3:0}] [L20] 3 __assert_fail ("0", "lazy01.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={3:0}] - UnprovableResult [Line: 728]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 734]: 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: 732]: 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: 733]: 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 7 procedures, 63 locations, 6 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: 5, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.9s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 62 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 57 mSDsluCounter, 0 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 6 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 212 IncrementalHoareTripleChecker+Invalid, 218 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 6 mSolverCounterUnsat, 0 mSDtfsCounter, 212 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 11 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=121occurred in iteration=4, InterpolantAutomatonStates: 14, 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.4s InterpolantComputationTime, 79 NumberOfCodeBlocks, 79 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 55 ConstructedInterpolants, 0 QuantifiedInterpolants, 161 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 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-02-06 12:33:31,166 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/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-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread/lazy01.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/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 b5d87933b05ad3566f9bc28daac5c0aeceb8a45433a1cac3d51a8d34f7f284f0 --- Real Ultimate output --- This is Ultimate 0.3.0-?-c00e63d-m [2025-02-06 12:33:33,452 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-06 12:33:33,522 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2025-02-06 12:33:33,531 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-06 12:33:33,531 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-06 12:33:33,606 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-06 12:33:33,609 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-06 12:33:33,609 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-06 12:33:33,609 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-06 12:33:33,610 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-06 12:33:33,610 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-06 12:33:33,610 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-06 12:33:33,610 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-06 12:33:33,610 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-06 12:33:33,610 INFO L153 SettingsManager]: * Use SBE=true [2025-02-06 12:33:33,611 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-06 12:33:33,612 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-06 12:33:33,612 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-06 12:33:33,612 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-06 12:33:33,612 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-06 12:33:33,612 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-02-06 12:33:33,612 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-02-06 12:33:33,612 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-02-06 12:33:33,612 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-06 12:33:33,613 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-02-06 12:33:33,613 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2025-02-06 12:33:33,613 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2025-02-06 12:33:33,613 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-02-06 12:33:33,614 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-06 12:33:33,614 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-06 12:33:33,614 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-06 12:33:33,614 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-06 12:33:33,614 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-06 12:33:33,614 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-06 12:33:33,614 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-06 12:33:33,614 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 12:33:33,615 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-06 12:33:33,615 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-06 12:33:33,615 INFO L153 SettingsManager]: * Trace refinement strategy=FOX [2025-02-06 12:33:33,615 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2025-02-06 12:33:33,615 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-06 12:33:33,616 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-06 12:33:33,616 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-06 12:33:33,616 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-06 12:33:33,616 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-jdk21/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 -> b5d87933b05ad3566f9bc28daac5c0aeceb8a45433a1cac3d51a8d34f7f284f0 [2025-02-06 12:33:33,898 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-06 12:33:33,908 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-06 12:33:33,911 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-06 12:33:33,913 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-06 12:33:33,913 INFO L274 PluginConnector]: CDTParser initialized [2025-02-06 12:33:33,914 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread/lazy01.i [2025-02-06 12:33:35,232 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/bf65cf799/a4a9263ae1af40c0a5628c9688541fb5/FLAGed5f9265d [2025-02-06 12:33:35,512 INFO L384 CDTParser]: Found 1 translation units. [2025-02-06 12:33:35,515 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/lazy01.i [2025-02-06 12:33:35,531 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/bf65cf799/a4a9263ae1af40c0a5628c9688541fb5/FLAGed5f9265d [2025-02-06 12:33:35,550 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/bf65cf799/a4a9263ae1af40c0a5628c9688541fb5 [2025-02-06 12:33:35,554 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-06 12:33:35,555 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-06 12:33:35,557 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-06 12:33:35,558 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-06 12:33:35,562 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-06 12:33:35,562 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 12:33:35" (1/1) ... [2025-02-06 12:33:35,563 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@38de72cc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:35, skipping insertion in model container [2025-02-06 12:33:35,563 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.02 12:33:35" (1/1) ... [2025-02-06 12:33:35,595 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-06 12:33:35,922 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 12:33:35,939 INFO L200 MainTranslator]: Completed pre-run [2025-02-06 12:33:35,993 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-06 12:33:36,035 INFO L204 MainTranslator]: Completed translation [2025-02-06 12:33:36,036 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36 WrapperNode [2025-02-06 12:33:36,036 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-06 12:33:36,038 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-06 12:33:36,038 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-06 12:33:36,038 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-06 12:33:36,044 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,065 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,084 INFO L138 Inliner]: procedures = 173, calls = 22, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 59 [2025-02-06 12:33:36,086 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-06 12:33:36,087 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-06 12:33:36,087 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-06 12:33:36,087 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-06 12:33:36,096 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,096 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,100 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,117 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-02-06 12:33:36,117 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,117 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,123 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,124 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,126 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,127 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,129 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-06 12:33:36,129 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-06 12:33:36,130 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-06 12:33:36,130 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-06 12:33:36,131 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (1/1) ... [2025-02-06 12:33:36,137 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-06 12:33:36,147 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 12:33:36,158 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-02-06 12:33:36,159 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2025-02-06 12:33:36,182 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2025-02-06 12:33:36,182 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2025-02-06 12:33:36,182 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#0 [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#1 [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-02-06 12:33:36,182 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-06 12:33:36,182 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-06 12:33:36,185 WARN L227 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-02-06 12:33:36,307 INFO L257 CfgBuilder]: Building ICFG [2025-02-06 12:33:36,309 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-06 12:33:36,482 INFO L304 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-02-06 12:33:36,482 INFO L308 CfgBuilder]: Performing block encoding [2025-02-06 12:33:36,655 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-06 12:33:36,655 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-06 12:33:36,656 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 06.02 12:33:36 BoogieIcfgContainer [2025-02-06 12:33:36,656 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-06 12:33:36,658 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-06 12:33:36,658 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-06 12:33:36,662 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-06 12:33:36,663 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.02 12:33:35" (1/3) ... [2025-02-06 12:33:36,664 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@46f1b82 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.02 12:33:36, skipping insertion in model container [2025-02-06 12:33:36,666 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.02 12:33:36" (2/3) ... [2025-02-06 12:33:36,666 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@46f1b82 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.02 12:33:36, skipping insertion in model container [2025-02-06 12:33:36,667 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 06.02 12:33:36" (3/3) ... [2025-02-06 12:33:36,668 INFO L128 eAbstractionObserver]: Analyzing ICFG lazy01.i [2025-02-06 12:33:36,681 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-06 12:33:36,682 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG lazy01.i that has 4 procedures, 37 locations, 1 initial locations, 0 loop locations, and 2 error locations. [2025-02-06 12:33:36,683 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-02-06 12:33:36,748 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2025-02-06 12:33:36,787 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 46 places, 38 transitions, 97 flow [2025-02-06 12:33:36,826 INFO L124 PetriNetUnfolderBase]: 2/35 cut-off events. [2025-02-06 12:33:36,830 INFO L125 PetriNetUnfolderBase]: For 3/3 co-relation queries the response was YES. [2025-02-06 12:33:36,835 INFO L83 FinitePrefix]: Finished finitePrefix Result has 48 conditions, 35 events. 2/35 cut-off events. For 3/3 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 55 event pairs, 0 based on Foata normal form. 0/31 useless extension candidates. Maximal degree in co-relation 31. Up to 2 conditions per place. [2025-02-06 12:33:36,836 INFO L82 GeneralOperation]: Start removeDead. Operand has 46 places, 38 transitions, 97 flow [2025-02-06 12:33:36,840 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 42 places, 34 transitions, 86 flow [2025-02-06 12:33:36,851 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-02-06 12:33:36,866 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;@223a07a6, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-02-06 12:33:36,866 INFO L334 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2025-02-06 12:33:36,880 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-02-06 12:33:36,881 INFO L124 PetriNetUnfolderBase]: 2/28 cut-off events. [2025-02-06 12:33:36,881 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2025-02-06 12:33:36,881 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:36,882 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:36,883 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:36,888 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:36,889 INFO L85 PathProgramCache]: Analyzing trace with hash -1047755735, now seen corresponding path program 1 times [2025-02-06 12:33:36,900 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-06 12:33:36,900 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [926230257] [2025-02-06 12:33:36,901 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:36,901 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:36,903 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 12:33:36,906 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-06 12:33:36,909 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2025-02-06 12:33:36,999 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 12 statements into 1 equivalence classes. [2025-02-06 12:33:37,016 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 12 of 12 statements. [2025-02-06 12:33:37,017 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:37,017 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 12:33:37,020 INFO L256 TraceCheckSpWp]: Trace formula consists of 60 conjuncts, 2 conjuncts are in the unsatisfiable core [2025-02-06 12:33:37,023 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-06 12:33:37,081 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-06 12:33:37,082 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-06 12:33:37,082 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-06 12:33:37,083 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [926230257] [2025-02-06 12:33:37,083 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [926230257] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-06 12:33:37,084 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-06 12:33:37,084 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-02-06 12:33:37,085 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1189386653] [2025-02-06 12:33:37,087 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-06 12:33:37,093 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-06 12:33:37,098 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-06 12:33:37,119 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-06 12:33:37,120 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-06 12:33:37,128 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-06 12:33:37,131 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 42 places, 34 transitions, 86 flow. Second operand has 3 states, 3 states have (on average 14.666666666666666) internal successors, (44), 3 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-02-06 12:33:37,131 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-06 12:33:37,131 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-06 12:33:37,133 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-06 12:33:37,441 INFO L124 PetriNetUnfolderBase]: 588/1023 cut-off events. [2025-02-06 12:33:37,441 INFO L125 PetriNetUnfolderBase]: For 89/89 co-relation queries the response was YES. [2025-02-06 12:33:37,446 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2043 conditions, 1023 events. 588/1023 cut-off events. For 89/89 co-relation queries the response was YES. Maximal size of possible extension queue 80. Compared 5447 event pairs, 178 based on Foata normal form. 95/1097 useless extension candidates. Maximal degree in co-relation 1849. Up to 827 conditions per place. [2025-02-06 12:33:37,458 INFO L140 encePairwiseOnDemand]: 32/38 looper letters, 31 selfloop transitions, 3 changer transitions 0/43 dead transitions. [2025-02-06 12:33:37,458 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 43 places, 43 transitions, 178 flow [2025-02-06 12:33:37,459 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-06 12:33:37,461 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-06 12:33:37,469 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 73 transitions. [2025-02-06 12:33:37,472 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6403508771929824 [2025-02-06 12:33:37,475 INFO L175 Difference]: Start difference. First operand has 42 places, 34 transitions, 86 flow. Second operand 3 states and 73 transitions. [2025-02-06 12:33:37,475 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 43 places, 43 transitions, 178 flow [2025-02-06 12:33:37,483 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 37 places, 43 transitions, 162 flow, removed 0 selfloop flow, removed 6 redundant places. [2025-02-06 12:33:37,486 INFO L231 Difference]: Finished difference. Result has 38 places, 33 transitions, 87 flow [2025-02-06 12:33:37,488 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=38, PETRI_DIFFERENCE_MINUEND_FLOW=68, PETRI_DIFFERENCE_MINUEND_PLACES=35, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=31, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=28, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=87, PETRI_PLACES=38, PETRI_TRANSITIONS=33} [2025-02-06 12:33:37,491 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, -4 predicate places. [2025-02-06 12:33:37,492 INFO L471 AbstractCegarLoop]: Abstraction has has 38 places, 33 transitions, 87 flow [2025-02-06 12:33:37,493 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 14.666666666666666) internal successors, (44), 3 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-02-06 12:33:37,493 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:37,493 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:37,501 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2025-02-06 12:33:37,694 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:37,694 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:37,695 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:37,695 INFO L85 PathProgramCache]: Analyzing trace with hash -2111436519, now seen corresponding path program 1 times [2025-02-06 12:33:37,695 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-06 12:33:37,695 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1798876890] [2025-02-06 12:33:37,695 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:37,696 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:37,696 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 12:33:37,699 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-06 12:33:37,700 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2025-02-06 12:33:37,782 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 15 statements into 1 equivalence classes. [2025-02-06 12:33:37,796 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 15 of 15 statements. [2025-02-06 12:33:37,796 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:37,796 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 12:33:37,798 INFO L256 TraceCheckSpWp]: Trace formula consists of 68 conjuncts, 3 conjuncts are in the unsatisfiable core [2025-02-06 12:33:37,800 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-06 12:33:37,834 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-02-06 12:33:37,863 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-06 12:33:37,864 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-06 12:33:37,864 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-06 12:33:37,864 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1798876890] [2025-02-06 12:33:37,865 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1798876890] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-06 12:33:37,865 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-06 12:33:37,865 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-06 12:33:37,865 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2081150591] [2025-02-06 12:33:37,865 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-06 12:33:37,866 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-06 12:33:37,867 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-06 12:33:37,868 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-06 12:33:37,868 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-06 12:33:37,868 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-06 12:33:37,869 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 38 places, 33 transitions, 87 flow. Second operand has 3 states, 3 states have (on average 15.333333333333334) internal successors, (46), 3 states have internal predecessors, (46), 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-02-06 12:33:37,869 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-06 12:33:37,869 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-06 12:33:37,869 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-06 12:33:38,041 INFO L124 PetriNetUnfolderBase]: 303/636 cut-off events. [2025-02-06 12:33:38,041 INFO L125 PetriNetUnfolderBase]: For 39/39 co-relation queries the response was YES. [2025-02-06 12:33:38,043 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1302 conditions, 636 events. 303/636 cut-off events. For 39/39 co-relation queries the response was YES. Maximal size of possible extension queue 35. Compared 3023 event pairs, 108 based on Foata normal form. 80/708 useless extension candidates. Maximal degree in co-relation 734. Up to 327 conditions per place. [2025-02-06 12:33:38,047 INFO L140 encePairwiseOnDemand]: 32/38 looper letters, 28 selfloop transitions, 6 changer transitions 0/43 dead transitions. [2025-02-06 12:33:38,047 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 40 places, 43 transitions, 179 flow [2025-02-06 12:33:38,048 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-06 12:33:38,048 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-06 12:33:38,048 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 71 transitions. [2025-02-06 12:33:38,048 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6228070175438597 [2025-02-06 12:33:38,049 INFO L175 Difference]: Start difference. First operand has 38 places, 33 transitions, 87 flow. Second operand 3 states and 71 transitions. [2025-02-06 12:33:38,049 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 40 places, 43 transitions, 179 flow [2025-02-06 12:33:38,050 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 43 transitions, 176 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-02-06 12:33:38,051 INFO L231 Difference]: Finished difference. Result has 39 places, 33 transitions, 96 flow [2025-02-06 12:33:38,051 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=38, PETRI_DIFFERENCE_MINUEND_FLOW=84, PETRI_DIFFERENCE_MINUEND_PLACES=37, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=33, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=6, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=27, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=96, PETRI_PLACES=39, PETRI_TRANSITIONS=33} [2025-02-06 12:33:38,051 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, -3 predicate places. [2025-02-06 12:33:38,052 INFO L471 AbstractCegarLoop]: Abstraction has has 39 places, 33 transitions, 96 flow [2025-02-06 12:33:38,052 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 15.333333333333334) internal successors, (46), 3 states have internal predecessors, (46), 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-02-06 12:33:38,052 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:38,052 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:38,061 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2025-02-06 12:33:38,256 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:38,256 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:38,257 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:38,258 INFO L85 PathProgramCache]: Analyzing trace with hash 1050454379, now seen corresponding path program 1 times [2025-02-06 12:33:38,258 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-06 12:33:38,259 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [23695812] [2025-02-06 12:33:38,259 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:38,259 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:38,259 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 12:33:38,261 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-06 12:33:38,262 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2025-02-06 12:33:38,325 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-02-06 12:33:38,342 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-02-06 12:33:38,342 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:38,343 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 12:33:38,345 INFO L256 TraceCheckSpWp]: Trace formula consists of 72 conjuncts, 3 conjuncts are in the unsatisfiable core [2025-02-06 12:33:38,346 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-06 12:33:38,390 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-06 12:33:38,390 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-06 12:33:38,390 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-06 12:33:38,390 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [23695812] [2025-02-06 12:33:38,390 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [23695812] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-06 12:33:38,390 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-06 12:33:38,390 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-06 12:33:38,390 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1980749233] [2025-02-06 12:33:38,390 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-06 12:33:38,390 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-02-06 12:33:38,391 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-06 12:33:38,391 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-02-06 12:33:38,391 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-02-06 12:33:38,396 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-06 12:33:38,396 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 39 places, 33 transitions, 96 flow. Second operand has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-02-06 12:33:38,396 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-06 12:33:38,396 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-06 12:33:38,396 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-06 12:33:38,585 INFO L124 PetriNetUnfolderBase]: 298/607 cut-off events. [2025-02-06 12:33:38,586 INFO L125 PetriNetUnfolderBase]: For 126/126 co-relation queries the response was YES. [2025-02-06 12:33:38,588 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1390 conditions, 607 events. 298/607 cut-off events. For 126/126 co-relation queries the response was YES. Maximal size of possible extension queue 33. Compared 2833 event pairs, 65 based on Foata normal form. 5/607 useless extension candidates. Maximal degree in co-relation 255. Up to 363 conditions per place. [2025-02-06 12:33:38,590 INFO L140 encePairwiseOnDemand]: 34/38 looper letters, 39 selfloop transitions, 4 changer transitions 0/52 dead transitions. [2025-02-06 12:33:38,591 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 42 places, 52 transitions, 238 flow [2025-02-06 12:33:38,591 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-06 12:33:38,591 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-06 12:33:38,592 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 92 transitions. [2025-02-06 12:33:38,592 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6052631578947368 [2025-02-06 12:33:38,592 INFO L175 Difference]: Start difference. First operand has 39 places, 33 transitions, 96 flow. Second operand 4 states and 92 transitions. [2025-02-06 12:33:38,592 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 42 places, 52 transitions, 238 flow [2025-02-06 12:33:38,594 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 52 transitions, 225 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-02-06 12:33:38,596 INFO L231 Difference]: Finished difference. Result has 42 places, 33 transitions, 102 flow [2025-02-06 12:33:38,596 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=38, PETRI_DIFFERENCE_MINUEND_FLOW=90, PETRI_DIFFERENCE_MINUEND_PLACES=38, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=33, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=102, PETRI_PLACES=42, PETRI_TRANSITIONS=33} [2025-02-06 12:33:38,597 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 0 predicate places. [2025-02-06 12:33:38,597 INFO L471 AbstractCegarLoop]: Abstraction has has 42 places, 33 transitions, 102 flow [2025-02-06 12:33:38,597 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-02-06 12:33:38,597 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:38,597 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:38,606 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Ended with exit code 0 [2025-02-06 12:33:38,797 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:38,798 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:38,798 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:38,799 INFO L85 PathProgramCache]: Analyzing trace with hash 5682475, now seen corresponding path program 1 times [2025-02-06 12:33:38,799 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-06 12:33:38,799 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [307921511] [2025-02-06 12:33:38,799 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:38,799 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:38,799 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 12:33:38,802 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-06 12:33:38,804 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2025-02-06 12:33:38,863 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-02-06 12:33:38,878 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-02-06 12:33:38,878 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:38,878 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-06 12:33:38,881 INFO L256 TraceCheckSpWp]: Trace formula consists of 72 conjuncts, 3 conjuncts are in the unsatisfiable core [2025-02-06 12:33:38,882 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-06 12:33:38,921 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-06 12:33:38,921 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-06 12:33:38,921 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-06 12:33:38,921 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [307921511] [2025-02-06 12:33:38,921 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [307921511] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-06 12:33:38,921 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-06 12:33:38,921 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-06 12:33:38,922 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [230742469] [2025-02-06 12:33:38,922 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-06 12:33:38,922 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-02-06 12:33:38,922 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-06 12:33:38,922 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-02-06 12:33:38,922 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-02-06 12:33:38,927 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-06 12:33:38,927 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 42 places, 33 transitions, 102 flow. Second operand has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-02-06 12:33:38,927 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-06 12:33:38,927 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-06 12:33:38,927 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-06 12:33:39,091 INFO L124 PetriNetUnfolderBase]: 294/567 cut-off events. [2025-02-06 12:33:39,092 INFO L125 PetriNetUnfolderBase]: For 210/210 co-relation queries the response was YES. [2025-02-06 12:33:39,093 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1333 conditions, 567 events. 294/567 cut-off events. For 210/210 co-relation queries the response was YES. Maximal size of possible extension queue 33. Compared 2541 event pairs, 100 based on Foata normal form. 4/562 useless extension candidates. Maximal degree in co-relation 491. Up to 381 conditions per place. [2025-02-06 12:33:39,096 INFO L140 encePairwiseOnDemand]: 34/38 looper letters, 38 selfloop transitions, 4 changer transitions 0/51 dead transitions. [2025-02-06 12:33:39,096 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 51 transitions, 232 flow [2025-02-06 12:33:39,097 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-06 12:33:39,097 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-06 12:33:39,098 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 91 transitions. [2025-02-06 12:33:39,098 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.5986842105263158 [2025-02-06 12:33:39,098 INFO L175 Difference]: Start difference. First operand has 42 places, 33 transitions, 102 flow. Second operand 4 states and 91 transitions. [2025-02-06 12:33:39,098 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 51 transitions, 232 flow [2025-02-06 12:33:39,100 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 43 places, 51 transitions, 224 flow, removed 1 selfloop flow, removed 2 redundant places. [2025-02-06 12:33:39,101 INFO L231 Difference]: Finished difference. Result has 44 places, 33 transitions, 106 flow [2025-02-06 12:33:39,101 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=38, PETRI_DIFFERENCE_MINUEND_FLOW=94, PETRI_DIFFERENCE_MINUEND_PLACES=40, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=33, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=106, PETRI_PLACES=44, PETRI_TRANSITIONS=33} [2025-02-06 12:33:39,101 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 2 predicate places. [2025-02-06 12:33:39,102 INFO L471 AbstractCegarLoop]: Abstraction has has 44 places, 33 transitions, 106 flow [2025-02-06 12:33:39,102 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-02-06 12:33:39,102 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-06 12:33:39,102 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-06 12:33:39,110 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Ended with exit code 0 [2025-02-06 12:33:39,303 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:39,303 INFO L396 AbstractCegarLoop]: === Iteration 5 === Targeting thread3Err0ASSERT_VIOLATIONMEMORY_LEAK === [thread3Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2025-02-06 12:33:39,304 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-06 12:33:39,304 INFO L85 PathProgramCache]: Analyzing trace with hash 1876103597, now seen corresponding path program 1 times [2025-02-06 12:33:39,304 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-06 12:33:39,304 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [90847121] [2025-02-06 12:33:39,304 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-06 12:33:39,304 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:39,305 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-06 12:33:39,307 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-06 12:33:39,308 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Waiting until timeout for monitored process [2025-02-06 12:33:39,369 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 20 statements into 1 equivalence classes. [2025-02-06 12:33:39,388 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 20 of 20 statements. [2025-02-06 12:33:39,388 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:39,389 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-06 12:33:39,389 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-02-06 12:33:39,405 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 20 statements into 1 equivalence classes. [2025-02-06 12:33:39,416 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 20 of 20 statements. [2025-02-06 12:33:39,417 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-06 12:33:39,417 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-06 12:33:39,444 INFO L130 FreeRefinementEngine]: Strategy FOX found a feasible trace [2025-02-06 12:33:39,444 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-02-06 12:33:39,445 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location thread3Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2025-02-06 12:33:39,446 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thread3Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 6 remaining) [2025-02-06 12:33:39,446 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2025-02-06 12:33:39,447 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 6 remaining) [2025-02-06 12:33:39,447 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 6 remaining) [2025-02-06 12:33:39,447 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 6 remaining) [2025-02-06 12:33:39,455 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Ended with exit code 0 [2025-02-06 12:33:39,647 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 6 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-06 12:33:39,648 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2025-02-06 12:33:39,690 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-02-06 12:33:39,690 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-02-06 12:33:39,696 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 06.02 12:33:39 BasicIcfg [2025-02-06 12:33:39,696 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-06 12:33:39,697 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-06 12:33:39,697 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-06 12:33:39,697 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-06 12:33:39,698 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 06.02 12:33:36" (3/4) ... [2025-02-06 12:33:39,700 INFO L149 WitnessPrinter]: No result that supports witness generation found [2025-02-06 12:33:39,701 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-06 12:33:39,702 INFO L158 Benchmark]: Toolchain (without parser) took 4146.56ms. Allocated memory is still 117.4MB. Free memory was 92.7MB in the beginning and 36.7MB in the end (delta: 56.0MB). Peak memory consumption was 57.6MB. Max. memory is 16.1GB. [2025-02-06 12:33:39,703 INFO L158 Benchmark]: CDTParser took 0.21ms. Allocated memory is still 83.9MB. Free memory is still 49.7MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:33:39,703 INFO L158 Benchmark]: CACSL2BoogieTranslator took 480.56ms. Allocated memory is still 117.4MB. Free memory was 92.5MB in the beginning and 72.1MB in the end (delta: 20.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-06 12:33:39,703 INFO L158 Benchmark]: Boogie Procedure Inliner took 48.38ms. Allocated memory is still 117.4MB. Free memory was 72.1MB in the beginning and 70.4MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-06 12:33:39,703 INFO L158 Benchmark]: Boogie Preprocessor took 42.28ms. Allocated memory is still 117.4MB. Free memory was 70.4MB in the beginning and 68.0MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:33:39,705 INFO L158 Benchmark]: IcfgBuilder took 526.42ms. Allocated memory is still 117.4MB. Free memory was 68.0MB in the beginning and 40.8MB in the end (delta: 27.3MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2025-02-06 12:33:39,705 INFO L158 Benchmark]: TraceAbstraction took 3038.12ms. Allocated memory is still 117.4MB. Free memory was 40.3MB in the beginning and 37.5MB in the end (delta: 2.8MB). Peak memory consumption was 7.3MB. Max. memory is 16.1GB. [2025-02-06 12:33:39,705 INFO L158 Benchmark]: Witness Printer took 4.30ms. Allocated memory is still 117.4MB. Free memory was 37.5MB in the beginning and 36.7MB in the end (delta: 826.7kB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-06 12:33:39,707 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.21ms. Allocated memory is still 83.9MB. Free memory is still 49.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 480.56ms. Allocated memory is still 117.4MB. Free memory was 92.5MB in the beginning and 72.1MB in the end (delta: 20.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 48.38ms. Allocated memory is still 117.4MB. Free memory was 72.1MB in the beginning and 70.4MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 42.28ms. Allocated memory is still 117.4MB. Free memory was 70.4MB in the beginning and 68.0MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 526.42ms. Allocated memory is still 117.4MB. Free memory was 68.0MB in the beginning and 40.8MB in the end (delta: 27.3MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * TraceAbstraction took 3038.12ms. Allocated memory is still 117.4MB. Free memory was 40.3MB in the beginning and 37.5MB in the end (delta: 2.8MB). Peak memory consumption was 7.3MB. Max. memory is 16.1GB. * Witness Printer took 4.30ms. Allocated memory is still 117.4MB. Free memory was 37.5MB in the beginning and 36.7MB in the end (delta: 826.7kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 20. Possible FailurePath: [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L702] 0 pthread_mutex_t mutex; [L703] 0 int data = 0; [L731] 0 pthread_t t1, t2, t3; [L732] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [\old(arg)={0:0}, data=0, mutex={3:0}, t1=-2] [L733] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data=0, mutex={3:0}, t1=-2, t2=-1] [L734] FCALL, FORK 0 pthread_create(&t3, 0, thread3, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data=0, mutex={3:0}, t1=-2, t2=-1, t3=0] [L707] 1 data++ VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data=1, mutex={3:0}] [L714] 2 data+=2 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={3:0}] [L721] COND TRUE 3 data >= 3 [L722] CALL 3 reach_error() [L20] COND FALSE 3 !(0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={3:0}] [L20] 3 __assert_fail ("0", "lazy01.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={3:0}] - UnprovableResult [Line: 728]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 734]: 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: 732]: 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: 733]: 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 7 procedures, 63 locations, 6 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: 2.9s, OverallIterations: 5, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.9s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 52 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 46 mSDsluCounter, 1 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 256 IncrementalHoareTripleChecker+Invalid, 260 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 1 mSDtfsCounter, 256 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 55 GetRequests, 49 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=106occurred in iteration=4, InterpolantAutomatonStates: 14, 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.2s InterpolantComputationTime, 79 NumberOfCodeBlocks, 79 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 55 ConstructedInterpolants, 0 QuantifiedInterpolants, 173 SizeOfPredicates, 0 NumberOfNonLiveVariables, 272 ConjunctsInSsa, 11 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 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-02-06 12:33:39,729 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample