./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 48c9605d 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-?-48c9605-m [2025-02-08 08:10:00,467 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-08 08:10:00,513 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2025-02-08 08:10:00,518 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-08 08:10:00,519 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-08 08:10:00,538 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-08 08:10:00,541 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-08 08:10:00,542 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-08 08:10:00,542 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-08 08:10:00,542 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-08 08:10:00,542 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-08 08:10:00,542 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-08 08:10:00,542 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-08 08:10:00,542 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-08 08:10:00,542 INFO L153 SettingsManager]: * Use SBE=true [2025-02-08 08:10:00,542 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-08 08:10:00,542 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-08 08:10:00,543 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-08 08:10:00,544 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-08 08:10:00,544 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-08 08:10:00,545 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-08 08:10:00,545 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-08 08:10:00,545 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-08 08:10:00,545 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 08:10:00,545 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-08 08:10:00,545 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-08 08:10:00,545 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-02-08 08:10:00,545 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-02-08 08:10:00,545 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-08 08:10:00,546 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-08 08:10:00,546 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-08 08:10:00,546 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-08 08:10:00,546 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-08 08:10:00,757 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-08 08:10:00,766 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-08 08:10:00,768 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-08 08:10:00,769 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-08 08:10:00,769 INFO L274 PluginConnector]: CDTParser initialized [2025-02-08 08:10:00,771 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-08 08:10:02,263 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/bb820ef59/63f4913b443248aca4c10f8eb2aca05a/FLAG5450d863d [2025-02-08 08:10:02,610 INFO L384 CDTParser]: Found 1 translation units. [2025-02-08 08:10:02,610 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/lazy01.i [2025-02-08 08:10:02,633 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/bb820ef59/63f4913b443248aca4c10f8eb2aca05a/FLAG5450d863d [2025-02-08 08:10:02,836 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/bb820ef59/63f4913b443248aca4c10f8eb2aca05a [2025-02-08 08:10:02,838 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-08 08:10:02,839 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-08 08:10:02,844 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-08 08:10:02,844 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-08 08:10:02,847 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-08 08:10:02,847 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 08:10:02" (1/1) ... [2025-02-08 08:10:02,852 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3f773c06 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:02, skipping insertion in model container [2025-02-08 08:10:02,852 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 08:10:02" (1/1) ... [2025-02-08 08:10:02,903 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-08 08:10:03,107 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 08:10:03,116 INFO L200 MainTranslator]: Completed pre-run [2025-02-08 08:10:03,142 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 08:10:03,164 INFO L204 MainTranslator]: Completed translation [2025-02-08 08:10:03,165 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03 WrapperNode [2025-02-08 08:10:03,165 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-08 08:10:03,166 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-08 08:10:03,166 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-08 08:10:03,166 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-08 08:10:03,169 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,176 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,187 INFO L138 Inliner]: procedures = 169, calls = 22, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 58 [2025-02-08 08:10:03,187 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-08 08:10:03,187 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-08 08:10:03,187 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-08 08:10:03,187 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-08 08:10:03,192 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,192 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,193 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,200 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-08 08:10:03,200 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,200 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,203 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,204 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,204 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,205 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,206 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-08 08:10:03,206 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-08 08:10:03,206 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-08 08:10:03,207 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-08 08:10:03,207 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (1/1) ... [2025-02-08 08:10:03,210 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 08:10:03,219 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:10:03,232 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-08 08:10:03,243 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-08 08:10:03,260 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2025-02-08 08:10:03,260 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2025-02-08 08:10:03,260 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2025-02-08 08:10:03,260 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2025-02-08 08:10:03,260 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2025-02-08 08:10:03,260 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2025-02-08 08:10:03,260 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-02-08 08:10:03,260 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-08 08:10:03,261 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-02-08 08:10:03,261 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-02-08 08:10:03,261 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-02-08 08:10:03,261 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-08 08:10:03,261 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-08 08:10:03,262 WARN L227 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-02-08 08:10:03,356 INFO L257 CfgBuilder]: Building ICFG [2025-02-08 08:10:03,358 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-08 08:10:03,483 INFO L304 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-02-08 08:10:03,484 INFO L308 CfgBuilder]: Performing block encoding [2025-02-08 08:10:03,549 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-08 08:10:03,549 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-08 08:10:03,550 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:10:03 BoogieIcfgContainer [2025-02-08 08:10:03,553 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-08 08:10:03,555 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-08 08:10:03,555 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-08 08:10:03,558 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-08 08:10:03,559 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.02 08:10:02" (1/3) ... [2025-02-08 08:10:03,559 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@72d1a97a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 08:10:03, skipping insertion in model container [2025-02-08 08:10:03,561 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:03" (2/3) ... [2025-02-08 08:10:03,561 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@72d1a97a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 08:10:03, skipping insertion in model container [2025-02-08 08:10:03,561 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:10:03" (3/3) ... [2025-02-08 08:10:03,562 INFO L128 eAbstractionObserver]: Analyzing ICFG lazy01.i [2025-02-08 08:10:03,573 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-08 08:10:03,574 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-08 08:10:03,575 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-02-08 08:10:03,622 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2025-02-08 08:10:03,646 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 46 places, 38 transitions, 97 flow [2025-02-08 08:10:03,675 INFO L124 PetriNetUnfolderBase]: 2/35 cut-off events. [2025-02-08 08:10:03,676 INFO L125 PetriNetUnfolderBase]: For 3/3 co-relation queries the response was YES. [2025-02-08 08:10:03,678 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 53 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-08 08:10:03,679 INFO L82 GeneralOperation]: Start removeDead. Operand has 46 places, 38 transitions, 97 flow [2025-02-08 08:10:03,681 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 42 places, 34 transitions, 86 flow [2025-02-08 08:10:03,689 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-02-08 08:10:03,700 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;@2dbc7a69, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-02-08 08:10:03,700 INFO L334 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2025-02-08 08:10:03,711 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-02-08 08:10:03,711 INFO L124 PetriNetUnfolderBase]: 2/28 cut-off events. [2025-02-08 08:10:03,712 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2025-02-08 08:10:03,712 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:03,713 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:10:03,713 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-08 08:10:03,717 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:03,717 INFO L85 PathProgramCache]: Analyzing trace with hash 1068619978, now seen corresponding path program 1 times [2025-02-08 08:10:03,721 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 08:10:03,722 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [304936755] [2025-02-08 08:10:03,722 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:03,722 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 08:10:03,787 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 12 statements into 1 equivalence classes. [2025-02-08 08:10:03,806 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 12 of 12 statements. [2025-02-08 08:10:03,806 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:03,806 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:10:03,923 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-08 08:10:03,927 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-08 08:10:03,927 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [304936755] [2025-02-08 08:10:03,927 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [304936755] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:10:03,927 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:10:03,927 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-02-08 08:10:03,928 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [973622274] [2025-02-08 08:10:03,929 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:10:03,935 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-08 08:10:03,937 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-08 08:10:03,961 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-08 08:10:03,965 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-08 08:10:03,972 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-08 08:10:03,974 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-08 08:10:03,977 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:10:03,978 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-08 08:10:03,978 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:10:04,151 INFO L124 PetriNetUnfolderBase]: 588/1023 cut-off events. [2025-02-08 08:10:04,152 INFO L125 PetriNetUnfolderBase]: For 89/89 co-relation queries the response was YES. [2025-02-08 08:10:04,154 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 5406 event pairs, 178 based on Foata normal form. 95/1101 useless extension candidates. Maximal degree in co-relation 1849. Up to 827 conditions per place. [2025-02-08 08:10:04,159 INFO L140 encePairwiseOnDemand]: 32/38 looper letters, 31 selfloop transitions, 3 changer transitions 0/43 dead transitions. [2025-02-08 08:10:04,160 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 43 places, 43 transitions, 178 flow [2025-02-08 08:10:04,160 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-08 08:10:04,162 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-08 08:10:04,166 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 73 transitions. [2025-02-08 08:10:04,167 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6403508771929824 [2025-02-08 08:10:04,168 INFO L175 Difference]: Start difference. First operand has 42 places, 34 transitions, 86 flow. Second operand 3 states and 73 transitions. [2025-02-08 08:10:04,169 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 43 places, 43 transitions, 178 flow [2025-02-08 08:10:04,172 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 37 places, 43 transitions, 162 flow, removed 0 selfloop flow, removed 6 redundant places. [2025-02-08 08:10:04,173 INFO L231 Difference]: Finished difference. Result has 38 places, 33 transitions, 87 flow [2025-02-08 08:10:04,175 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-08 08:10:04,177 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, -4 predicate places. [2025-02-08 08:10:04,177 INFO L471 AbstractCegarLoop]: Abstraction has has 38 places, 33 transitions, 87 flow [2025-02-08 08:10:04,177 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-08 08:10:04,177 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:04,177 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:10:04,177 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-02-08 08:10:04,177 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-08 08:10:04,178 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:04,178 INFO L85 PathProgramCache]: Analyzing trace with hash 1621034273, now seen corresponding path program 1 times [2025-02-08 08:10:04,178 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 08:10:04,178 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1610970031] [2025-02-08 08:10:04,178 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:04,178 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 08:10:04,185 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 15 statements into 1 equivalence classes. [2025-02-08 08:10:04,190 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 15 of 15 statements. [2025-02-08 08:10:04,190 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:04,190 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:10:04,251 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-08 08:10:04,252 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-08 08:10:04,252 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1610970031] [2025-02-08 08:10:04,252 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1610970031] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:10:04,252 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:10:04,252 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-08 08:10:04,252 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [29694888] [2025-02-08 08:10:04,252 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:10:04,253 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-08 08:10:04,253 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-08 08:10:04,253 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-08 08:10:04,253 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-08 08:10:04,253 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-08 08:10:04,254 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-08 08:10:04,254 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:10:04,254 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-08 08:10:04,254 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:10:04,344 INFO L124 PetriNetUnfolderBase]: 303/636 cut-off events. [2025-02-08 08:10:04,344 INFO L125 PetriNetUnfolderBase]: For 39/39 co-relation queries the response was YES. [2025-02-08 08:10:04,346 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 3018 event pairs, 108 based on Foata normal form. 80/715 useless extension candidates. Maximal degree in co-relation 734. Up to 327 conditions per place. [2025-02-08 08:10:04,349 INFO L140 encePairwiseOnDemand]: 32/38 looper letters, 28 selfloop transitions, 6 changer transitions 0/43 dead transitions. [2025-02-08 08:10:04,349 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 40 places, 43 transitions, 179 flow [2025-02-08 08:10:04,350 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-08 08:10:04,350 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-08 08:10:04,350 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 71 transitions. [2025-02-08 08:10:04,351 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6228070175438597 [2025-02-08 08:10:04,352 INFO L175 Difference]: Start difference. First operand has 38 places, 33 transitions, 87 flow. Second operand 3 states and 71 transitions. [2025-02-08 08:10:04,352 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 40 places, 43 transitions, 179 flow [2025-02-08 08:10:04,352 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 43 transitions, 176 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-02-08 08:10:04,353 INFO L231 Difference]: Finished difference. Result has 39 places, 33 transitions, 96 flow [2025-02-08 08:10:04,354 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-08 08:10:04,354 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, -3 predicate places. [2025-02-08 08:10:04,354 INFO L471 AbstractCegarLoop]: Abstraction has has 39 places, 33 transitions, 96 flow [2025-02-08 08:10:04,354 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-08 08:10:04,355 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:04,355 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:10:04,355 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-02-08 08:10:04,355 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-08 08:10:04,355 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:04,356 INFO L85 PathProgramCache]: Analyzing trace with hash 258623052, now seen corresponding path program 1 times [2025-02-08 08:10:04,356 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 08:10:04,356 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1916981225] [2025-02-08 08:10:04,356 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:04,356 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 08:10:04,362 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-02-08 08:10:04,366 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-02-08 08:10:04,367 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:04,367 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:10:04,399 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-08 08:10:04,400 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-08 08:10:04,400 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1916981225] [2025-02-08 08:10:04,400 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1916981225] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:10:04,400 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:10:04,400 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-08 08:10:04,400 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [989205552] [2025-02-08 08:10:04,400 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:10:04,400 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-02-08 08:10:04,400 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-08 08:10:04,401 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-02-08 08:10:04,401 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2025-02-08 08:10:04,403 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-08 08:10:04,404 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-08 08:10:04,404 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:10:04,404 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-08 08:10:04,404 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:10:04,522 INFO L124 PetriNetUnfolderBase]: 298/607 cut-off events. [2025-02-08 08:10:04,522 INFO L125 PetriNetUnfolderBase]: For 134/134 co-relation queries the response was YES. [2025-02-08 08:10:04,523 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 2867 event pairs, 65 based on Foata normal form. 5/608 useless extension candidates. Maximal degree in co-relation 255. Up to 363 conditions per place. [2025-02-08 08:10:04,531 INFO L140 encePairwiseOnDemand]: 34/38 looper letters, 39 selfloop transitions, 4 changer transitions 0/52 dead transitions. [2025-02-08 08:10:04,531 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 42 places, 52 transitions, 238 flow [2025-02-08 08:10:04,532 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-08 08:10:04,532 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-08 08:10:04,532 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 92 transitions. [2025-02-08 08:10:04,532 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6052631578947368 [2025-02-08 08:10:04,532 INFO L175 Difference]: Start difference. First operand has 39 places, 33 transitions, 96 flow. Second operand 4 states and 92 transitions. [2025-02-08 08:10:04,533 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 42 places, 52 transitions, 238 flow [2025-02-08 08:10:04,533 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 52 transitions, 225 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-02-08 08:10:04,534 INFO L231 Difference]: Finished difference. Result has 42 places, 33 transitions, 102 flow [2025-02-08 08:10:04,534 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-08 08:10:04,534 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 0 predicate places. [2025-02-08 08:10:04,535 INFO L471 AbstractCegarLoop]: Abstraction has has 42 places, 33 transitions, 102 flow [2025-02-08 08:10:04,535 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-08 08:10:04,535 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:04,535 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:10:04,535 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-02-08 08:10:04,535 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-08 08:10:04,535 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:04,535 INFO L85 PathProgramCache]: Analyzing trace with hash -1915883508, now seen corresponding path program 1 times [2025-02-08 08:10:04,536 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 08:10:04,536 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1984585226] [2025-02-08 08:10:04,536 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:04,536 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 08:10:04,552 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-02-08 08:10:04,564 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-02-08 08:10:04,564 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:04,564 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:10:04,645 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-08 08:10:04,645 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-08 08:10:04,645 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1984585226] [2025-02-08 08:10:04,645 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1984585226] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:10:04,645 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:10:04,645 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-08 08:10:04,646 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1343432725] [2025-02-08 08:10:04,646 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:10:04,646 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-02-08 08:10:04,646 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-08 08:10:04,646 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-02-08 08:10:04,646 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2025-02-08 08:10:04,654 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 11 out of 38 [2025-02-08 08:10:04,655 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-08 08:10:04,655 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:10:04,655 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 11 of 38 [2025-02-08 08:10:04,655 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:10:04,789 INFO L124 PetriNetUnfolderBase]: 341/666 cut-off events. [2025-02-08 08:10:04,789 INFO L125 PetriNetUnfolderBase]: For 221/221 co-relation queries the response was YES. [2025-02-08 08:10:04,790 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 3027 event pairs, 91 based on Foata normal form. 4/668 useless extension candidates. Maximal degree in co-relation 508. Up to 316 conditions per place. [2025-02-08 08:10:04,791 INFO L140 encePairwiseOnDemand]: 33/38 looper letters, 43 selfloop transitions, 6 changer transitions 0/57 dead transitions. [2025-02-08 08:10:04,792 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 57 transitions, 261 flow [2025-02-08 08:10:04,793 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-08 08:10:04,793 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-08 08:10:04,794 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 94 transitions. [2025-02-08 08:10:04,795 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.618421052631579 [2025-02-08 08:10:04,795 INFO L175 Difference]: Start difference. First operand has 42 places, 33 transitions, 102 flow. Second operand 4 states and 94 transitions. [2025-02-08 08:10:04,795 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 57 transitions, 261 flow [2025-02-08 08:10:04,796 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 43 places, 57 transitions, 253 flow, removed 1 selfloop flow, removed 2 redundant places. [2025-02-08 08:10:04,797 INFO L231 Difference]: Finished difference. Result has 45 places, 34 transitions, 121 flow [2025-02-08 08:10:04,798 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-08 08:10:04,798 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 3 predicate places. [2025-02-08 08:10:04,799 INFO L471 AbstractCegarLoop]: Abstraction has has 45 places, 34 transitions, 121 flow [2025-02-08 08:10:04,799 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-08 08:10:04,799 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:04,799 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-08 08:10:04,799 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2025-02-08 08:10:04,799 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-08 08:10:04,800 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:04,801 INFO L85 PathProgramCache]: Analyzing trace with hash -85011868, now seen corresponding path program 1 times [2025-02-08 08:10:04,801 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 08:10:04,801 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1778814593] [2025-02-08 08:10:04,801 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:04,801 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 08:10:04,809 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 20 statements into 1 equivalence classes. [2025-02-08 08:10:04,821 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 20 of 20 statements. [2025-02-08 08:10:04,821 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:04,821 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 08:10:04,821 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-02-08 08:10:04,825 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 20 statements into 1 equivalence classes. [2025-02-08 08:10:04,833 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 20 of 20 statements. [2025-02-08 08:10:04,834 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:04,834 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 08:10:04,852 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-02-08 08:10:04,854 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-02-08 08:10:04,855 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location thread3Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2025-02-08 08:10:04,856 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thread3Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 6 remaining) [2025-02-08 08:10:04,856 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2025-02-08 08:10:04,856 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 6 remaining) [2025-02-08 08:10:04,856 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 6 remaining) [2025-02-08 08:10:04,856 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 6 remaining) [2025-02-08 08:10:04,857 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2025-02-08 08:10:04,857 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2025-02-08 08:10:04,884 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-02-08 08:10:04,884 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-02-08 08:10:04,889 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.02 08:10:04 BasicIcfg [2025-02-08 08:10:04,889 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-08 08:10:04,890 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-08 08:10:04,890 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-08 08:10:04,890 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-08 08:10:04,891 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:10:03" (3/4) ... [2025-02-08 08:10:04,892 INFO L149 WitnessPrinter]: No result that supports witness generation found [2025-02-08 08:10:04,892 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-08 08:10:04,893 INFO L158 Benchmark]: Toolchain (without parser) took 2053.95ms. Allocated memory is still 167.8MB. Free memory was 121.4MB in the beginning and 80.9MB in the end (delta: 40.5MB). Peak memory consumption was 43.7MB. Max. memory is 16.1GB. [2025-02-08 08:10:04,893 INFO L158 Benchmark]: CDTParser took 0.34ms. Allocated memory is still 201.3MB. Free memory is still 120.4MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:10:04,893 INFO L158 Benchmark]: CACSL2BoogieTranslator took 321.25ms. Allocated memory is still 167.8MB. Free memory was 121.4MB in the beginning and 101.6MB in the end (delta: 19.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-08 08:10:04,895 INFO L158 Benchmark]: Boogie Procedure Inliner took 21.39ms. Allocated memory is still 167.8MB. Free memory was 101.6MB in the beginning and 100.0MB in the end (delta: 1.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-08 08:10:04,895 INFO L158 Benchmark]: Boogie Preprocessor took 18.66ms. Allocated memory is still 167.8MB. Free memory was 100.0MB in the beginning and 98.6MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:10:04,895 INFO L158 Benchmark]: IcfgBuilder took 347.09ms. Allocated memory is still 167.8MB. Free memory was 98.6MB in the beginning and 77.3MB in the end (delta: 21.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-08 08:10:04,895 INFO L158 Benchmark]: TraceAbstraction took 1334.20ms. Allocated memory is still 167.8MB. Free memory was 76.4MB in the beginning and 80.9MB in the end (delta: -4.5MB). Peak memory consumption was 1.7MB. Max. memory is 16.1GB. [2025-02-08 08:10:04,895 INFO L158 Benchmark]: Witness Printer took 2.66ms. Allocated memory is still 167.8MB. Free memory was 80.9MB in the beginning and 80.9MB in the end (delta: 41.5kB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:10:04,896 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.34ms. Allocated memory is still 201.3MB. Free memory is still 120.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 321.25ms. Allocated memory is still 167.8MB. Free memory was 121.4MB in the beginning and 101.6MB in the end (delta: 19.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 21.39ms. Allocated memory is still 167.8MB. Free memory was 101.6MB in the beginning and 100.0MB in the end (delta: 1.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 18.66ms. Allocated memory is still 167.8MB. Free memory was 100.0MB in the beginning and 98.6MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 347.09ms. Allocated memory is still 167.8MB. Free memory was 98.6MB in the beginning and 77.3MB in the end (delta: 21.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * TraceAbstraction took 1334.20ms. Allocated memory is still 167.8MB. Free memory was 76.4MB in the beginning and 80.9MB in the end (delta: -4.5MB). Peak memory consumption was 1.7MB. Max. memory is 16.1GB. * Witness Printer took 2.66ms. Allocated memory is still 167.8MB. Free memory was 80.9MB in the beginning and 80.9MB in the end (delta: 41.5kB). 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=-1] [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=-1, t2=0] [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=-1, t2=0, t3=1] [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.2s, OverallIterations: 5, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.6s, 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.3s 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-08 08:10:04,910 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 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-?-48c9605-m [2025-02-08 08:10:06,955 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-08 08:10:07,031 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2025-02-08 08:10:07,041 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-08 08:10:07,042 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-08 08:10:07,063 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-08 08:10:07,064 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-08 08:10:07,064 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-08 08:10:07,064 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-08 08:10:07,064 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-08 08:10:07,065 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-08 08:10:07,065 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-08 08:10:07,065 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-08 08:10:07,065 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-08 08:10:07,065 INFO L153 SettingsManager]: * Use SBE=true [2025-02-08 08:10:07,065 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-08 08:10:07,065 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-08 08:10:07,065 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-08 08:10:07,065 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-08 08:10:07,065 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-08 08:10:07,065 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-02-08 08:10:07,065 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-08 08:10:07,066 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 08:10:07,066 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Trace refinement strategy=FOX [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-08 08:10:07,066 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-08 08:10:07,067 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-08 08:10:07,067 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-08 08:10:07,067 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-08 08:10:07,317 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-08 08:10:07,323 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-08 08:10:07,325 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-08 08:10:07,327 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-08 08:10:07,327 INFO L274 PluginConnector]: CDTParser initialized [2025-02-08 08:10:07,327 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-08 08:10:08,497 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/43f231eec/a6d9fe4c4a934813924406c75a610fc2/FLAG6e15f228e [2025-02-08 08:10:08,742 INFO L384 CDTParser]: Found 1 translation units. [2025-02-08 08:10:08,742 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/lazy01.i [2025-02-08 08:10:08,756 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/43f231eec/a6d9fe4c4a934813924406c75a610fc2/FLAG6e15f228e [2025-02-08 08:10:09,052 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/43f231eec/a6d9fe4c4a934813924406c75a610fc2 [2025-02-08 08:10:09,055 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-08 08:10:09,056 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-08 08:10:09,057 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-08 08:10:09,057 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-08 08:10:09,060 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-08 08:10:09,060 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,061 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@a10c17a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09, skipping insertion in model container [2025-02-08 08:10:09,061 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,078 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-08 08:10:09,274 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 08:10:09,284 INFO L200 MainTranslator]: Completed pre-run [2025-02-08 08:10:09,339 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 08:10:09,383 INFO L204 MainTranslator]: Completed translation [2025-02-08 08:10:09,384 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09 WrapperNode [2025-02-08 08:10:09,384 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-08 08:10:09,385 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-08 08:10:09,385 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-08 08:10:09,385 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-08 08:10:09,390 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,406 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,421 INFO L138 Inliner]: procedures = 173, calls = 22, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 59 [2025-02-08 08:10:09,421 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-08 08:10:09,421 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-08 08:10:09,422 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-08 08:10:09,422 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-08 08:10:09,428 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,429 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,431 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,445 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-08 08:10:09,449 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,449 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,457 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,458 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,461 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,462 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,468 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-08 08:10:09,468 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-08 08:10:09,468 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-08 08:10:09,468 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-08 08:10:09,469 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (1/1) ... [2025-02-08 08:10:09,474 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 08:10:09,484 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:10:09,497 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-08 08:10:09,499 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-08 08:10:09,516 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2025-02-08 08:10:09,517 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2025-02-08 08:10:09,517 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2025-02-08 08:10:09,517 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#0 [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#1 [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-02-08 08:10:09,517 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-08 08:10:09,518 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-08 08:10:09,519 WARN L227 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-02-08 08:10:09,613 INFO L257 CfgBuilder]: Building ICFG [2025-02-08 08:10:09,615 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-08 08:10:09,743 INFO L304 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-02-08 08:10:09,743 INFO L308 CfgBuilder]: Performing block encoding [2025-02-08 08:10:09,854 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-08 08:10:09,854 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-08 08:10:09,854 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:10:09 BoogieIcfgContainer [2025-02-08 08:10:09,854 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-08 08:10:09,857 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-08 08:10:09,857 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-08 08:10:09,861 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-08 08:10:09,861 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.02 08:10:09" (1/3) ... [2025-02-08 08:10:09,862 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6c88416a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 08:10:09, skipping insertion in model container [2025-02-08 08:10:09,862 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:10:09" (2/3) ... [2025-02-08 08:10:09,863 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6c88416a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 08:10:09, skipping insertion in model container [2025-02-08 08:10:09,863 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:10:09" (3/3) ... [2025-02-08 08:10:09,864 INFO L128 eAbstractionObserver]: Analyzing ICFG lazy01.i [2025-02-08 08:10:09,894 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-08 08:10:09,896 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-08 08:10:09,896 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-02-08 08:10:09,924 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2025-02-08 08:10:09,948 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 46 places, 38 transitions, 97 flow [2025-02-08 08:10:09,969 INFO L124 PetriNetUnfolderBase]: 2/35 cut-off events. [2025-02-08 08:10:09,970 INFO L125 PetriNetUnfolderBase]: For 3/3 co-relation queries the response was YES. [2025-02-08 08:10:09,971 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 53 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-08 08:10:09,971 INFO L82 GeneralOperation]: Start removeDead. Operand has 46 places, 38 transitions, 97 flow [2025-02-08 08:10:09,973 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 42 places, 34 transitions, 86 flow [2025-02-08 08:10:09,977 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-02-08 08:10:09,985 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;@52d09842, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-02-08 08:10:09,986 INFO L334 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2025-02-08 08:10:09,996 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-02-08 08:10:09,997 INFO L124 PetriNetUnfolderBase]: 2/28 cut-off events. [2025-02-08 08:10:09,998 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2025-02-08 08:10:09,998 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:09,998 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:10:09,999 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-08 08:10:10,002 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:10,003 INFO L85 PathProgramCache]: Analyzing trace with hash -955258294, now seen corresponding path program 1 times [2025-02-08 08:10:10,010 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-08 08:10:10,012 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [2144156482] [2025-02-08 08:10:10,013 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:10,013 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:10:10,013 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:10:10,022 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-08 08:10:10,023 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-08 08:10:10,081 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 12 statements into 1 equivalence classes. [2025-02-08 08:10:10,092 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 12 of 12 statements. [2025-02-08 08:10:10,092 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:10,092 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:10:10,094 INFO L256 TraceCheckSpWp]: Trace formula consists of 60 conjuncts, 2 conjuncts are in the unsatisfiable core [2025-02-08 08:10:10,096 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-08 08:10:10,125 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-08 08:10:10,125 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-08 08:10:10,126 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-08 08:10:10,126 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [2144156482] [2025-02-08 08:10:10,126 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [2144156482] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:10:10,126 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:10:10,126 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-02-08 08:10:10,127 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [805996296] [2025-02-08 08:10:10,127 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:10:10,131 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-08 08:10:10,133 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-08 08:10:10,145 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-08 08:10:10,145 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-08 08:10:10,148 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-08 08:10:10,150 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-08 08:10:10,150 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:10:10,150 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-08 08:10:10,151 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:10:10,332 INFO L124 PetriNetUnfolderBase]: 588/1023 cut-off events. [2025-02-08 08:10:10,332 INFO L125 PetriNetUnfolderBase]: For 89/89 co-relation queries the response was YES. [2025-02-08 08:10:10,334 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 5379 event pairs, 178 based on Foata normal form. 95/1101 useless extension candidates. Maximal degree in co-relation 1849. Up to 827 conditions per place. [2025-02-08 08:10:10,339 INFO L140 encePairwiseOnDemand]: 32/38 looper letters, 31 selfloop transitions, 3 changer transitions 0/43 dead transitions. [2025-02-08 08:10:10,339 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 43 places, 43 transitions, 178 flow [2025-02-08 08:10:10,340 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-08 08:10:10,342 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-08 08:10:10,346 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 73 transitions. [2025-02-08 08:10:10,347 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6403508771929824 [2025-02-08 08:10:10,348 INFO L175 Difference]: Start difference. First operand has 42 places, 34 transitions, 86 flow. Second operand 3 states and 73 transitions. [2025-02-08 08:10:10,349 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 43 places, 43 transitions, 178 flow [2025-02-08 08:10:10,352 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 37 places, 43 transitions, 162 flow, removed 0 selfloop flow, removed 6 redundant places. [2025-02-08 08:10:10,353 INFO L231 Difference]: Finished difference. Result has 38 places, 33 transitions, 87 flow [2025-02-08 08:10:10,355 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-08 08:10:10,357 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, -4 predicate places. [2025-02-08 08:10:10,357 INFO L471 AbstractCegarLoop]: Abstraction has has 38 places, 33 transitions, 87 flow [2025-02-08 08:10:10,357 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-08 08:10:10,357 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:10,358 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:10:10,364 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-08 08:10:10,558 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-08 08:10:10,558 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-08 08:10:10,559 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:10,559 INFO L85 PathProgramCache]: Analyzing trace with hash 1014336355, now seen corresponding path program 1 times [2025-02-08 08:10:10,560 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-08 08:10:10,560 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [666052160] [2025-02-08 08:10:10,560 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:10,560 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:10:10,560 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:10:10,562 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-08 08:10:10,563 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-08 08:10:10,606 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 15 statements into 1 equivalence classes. [2025-02-08 08:10:10,616 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 15 of 15 statements. [2025-02-08 08:10:10,616 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:10,616 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:10:10,617 INFO L256 TraceCheckSpWp]: Trace formula consists of 68 conjuncts, 3 conjuncts are in the unsatisfiable core [2025-02-08 08:10:10,618 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-08 08:10:10,637 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-08 08:10:10,653 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-08 08:10:10,653 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-08 08:10:10,653 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-08 08:10:10,654 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [666052160] [2025-02-08 08:10:10,654 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [666052160] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:10:10,654 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:10:10,654 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-08 08:10:10,654 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [183639148] [2025-02-08 08:10:10,654 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:10:10,655 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-08 08:10:10,655 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-08 08:10:10,655 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-08 08:10:10,655 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-08 08:10:10,655 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-08 08:10:10,655 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-08 08:10:10,656 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:10:10,656 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-08 08:10:10,656 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:10:10,739 INFO L124 PetriNetUnfolderBase]: 303/636 cut-off events. [2025-02-08 08:10:10,739 INFO L125 PetriNetUnfolderBase]: For 39/39 co-relation queries the response was YES. [2025-02-08 08:10:10,740 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 3018 event pairs, 108 based on Foata normal form. 80/715 useless extension candidates. Maximal degree in co-relation 734. Up to 327 conditions per place. [2025-02-08 08:10:10,742 INFO L140 encePairwiseOnDemand]: 32/38 looper letters, 28 selfloop transitions, 6 changer transitions 0/43 dead transitions. [2025-02-08 08:10:10,742 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 40 places, 43 transitions, 179 flow [2025-02-08 08:10:10,742 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-08 08:10:10,742 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-08 08:10:10,743 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 71 transitions. [2025-02-08 08:10:10,743 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6228070175438597 [2025-02-08 08:10:10,743 INFO L175 Difference]: Start difference. First operand has 38 places, 33 transitions, 87 flow. Second operand 3 states and 71 transitions. [2025-02-08 08:10:10,743 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 40 places, 43 transitions, 179 flow [2025-02-08 08:10:10,744 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 43 transitions, 176 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-02-08 08:10:10,748 INFO L231 Difference]: Finished difference. Result has 39 places, 33 transitions, 96 flow [2025-02-08 08:10:10,748 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-08 08:10:10,748 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, -3 predicate places. [2025-02-08 08:10:10,749 INFO L471 AbstractCegarLoop]: Abstraction has has 39 places, 33 transitions, 96 flow [2025-02-08 08:10:10,749 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-08 08:10:10,749 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:10,749 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:10:10,759 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-08 08:10:10,949 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-08 08:10:10,949 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-08 08:10:10,950 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:10,950 INFO L85 PathProgramCache]: Analyzing trace with hash -1369143220, now seen corresponding path program 1 times [2025-02-08 08:10:10,950 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-08 08:10:10,950 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [914308516] [2025-02-08 08:10:10,951 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:10,951 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:10:10,951 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:10:10,952 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-08 08:10:10,954 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-08 08:10:10,998 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-02-08 08:10:11,007 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-02-08 08:10:11,007 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:11,007 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:10:11,008 INFO L256 TraceCheckSpWp]: Trace formula consists of 72 conjuncts, 3 conjuncts are in the unsatisfiable core [2025-02-08 08:10:11,009 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-08 08:10:11,034 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-08 08:10:11,034 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-08 08:10:11,034 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-08 08:10:11,034 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [914308516] [2025-02-08 08:10:11,035 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [914308516] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:10:11,035 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:10:11,035 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-08 08:10:11,035 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [370582961] [2025-02-08 08:10:11,035 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:10:11,035 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-02-08 08:10:11,035 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-08 08:10:11,035 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-02-08 08:10:11,035 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-02-08 08:10:11,038 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-08 08:10:11,038 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-08 08:10:11,038 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:10:11,038 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-08 08:10:11,038 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:10:11,142 INFO L124 PetriNetUnfolderBase]: 298/607 cut-off events. [2025-02-08 08:10:11,142 INFO L125 PetriNetUnfolderBase]: For 126/126 co-relation queries the response was YES. [2025-02-08 08:10:11,143 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 2840 event pairs, 65 based on Foata normal form. 5/608 useless extension candidates. Maximal degree in co-relation 255. Up to 363 conditions per place. [2025-02-08 08:10:11,145 INFO L140 encePairwiseOnDemand]: 34/38 looper letters, 39 selfloop transitions, 4 changer transitions 0/52 dead transitions. [2025-02-08 08:10:11,145 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 42 places, 52 transitions, 238 flow [2025-02-08 08:10:11,145 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-08 08:10:11,145 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-08 08:10:11,146 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 92 transitions. [2025-02-08 08:10:11,146 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6052631578947368 [2025-02-08 08:10:11,146 INFO L175 Difference]: Start difference. First operand has 39 places, 33 transitions, 96 flow. Second operand 4 states and 92 transitions. [2025-02-08 08:10:11,146 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 42 places, 52 transitions, 238 flow [2025-02-08 08:10:11,147 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 52 transitions, 225 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-02-08 08:10:11,148 INFO L231 Difference]: Finished difference. Result has 42 places, 33 transitions, 102 flow [2025-02-08 08:10:11,148 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-08 08:10:11,148 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 0 predicate places. [2025-02-08 08:10:11,148 INFO L471 AbstractCegarLoop]: Abstraction has has 42 places, 33 transitions, 102 flow [2025-02-08 08:10:11,149 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-08 08:10:11,149 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:11,149 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:10:11,155 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-08 08:10:11,349 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-08 08:10:11,349 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-08 08:10:11,350 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:11,350 INFO L85 PathProgramCache]: Analyzing trace with hash 751317516, now seen corresponding path program 1 times [2025-02-08 08:10:11,350 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-08 08:10:11,350 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1250183623] [2025-02-08 08:10:11,350 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:11,350 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:10:11,350 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:10:11,352 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-08 08:10:11,353 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-08 08:10:11,398 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 16 statements into 1 equivalence classes. [2025-02-08 08:10:11,407 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 16 of 16 statements. [2025-02-08 08:10:11,407 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:11,407 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:10:11,408 INFO L256 TraceCheckSpWp]: Trace formula consists of 72 conjuncts, 3 conjuncts are in the unsatisfiable core [2025-02-08 08:10:11,409 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-08 08:10:11,431 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-08 08:10:11,431 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-08 08:10:11,431 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-08 08:10:11,431 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1250183623] [2025-02-08 08:10:11,431 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1250183623] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:10:11,431 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:10:11,431 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-08 08:10:11,431 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [719776693] [2025-02-08 08:10:11,431 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:10:11,431 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-02-08 08:10:11,432 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-08 08:10:11,432 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-02-08 08:10:11,432 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-02-08 08:10:11,435 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 38 [2025-02-08 08:10:11,435 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-08 08:10:11,435 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:10:11,435 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 38 [2025-02-08 08:10:11,435 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:10:11,523 INFO L124 PetriNetUnfolderBase]: 294/567 cut-off events. [2025-02-08 08:10:11,523 INFO L125 PetriNetUnfolderBase]: For 210/210 co-relation queries the response was YES. [2025-02-08 08:10:11,523 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 2525 event pairs, 100 based on Foata normal form. 4/563 useless extension candidates. Maximal degree in co-relation 491. Up to 381 conditions per place. [2025-02-08 08:10:11,525 INFO L140 encePairwiseOnDemand]: 34/38 looper letters, 38 selfloop transitions, 4 changer transitions 0/51 dead transitions. [2025-02-08 08:10:11,525 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 51 transitions, 232 flow [2025-02-08 08:10:11,525 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-08 08:10:11,525 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-08 08:10:11,527 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 91 transitions. [2025-02-08 08:10:11,527 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.5986842105263158 [2025-02-08 08:10:11,527 INFO L175 Difference]: Start difference. First operand has 42 places, 33 transitions, 102 flow. Second operand 4 states and 91 transitions. [2025-02-08 08:10:11,527 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 51 transitions, 232 flow [2025-02-08 08:10:11,528 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 43 places, 51 transitions, 224 flow, removed 1 selfloop flow, removed 2 redundant places. [2025-02-08 08:10:11,529 INFO L231 Difference]: Finished difference. Result has 44 places, 33 transitions, 106 flow [2025-02-08 08:10:11,529 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-08 08:10:11,529 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 2 predicate places. [2025-02-08 08:10:11,529 INFO L471 AbstractCegarLoop]: Abstraction has has 44 places, 33 transitions, 106 flow [2025-02-08 08:10:11,530 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-08 08:10:11,530 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:10:11,530 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-08 08:10:11,537 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-08 08:10:11,730 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-08 08:10:11,730 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-08 08:10:11,733 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:10:11,733 INFO L85 PathProgramCache]: Analyzing trace with hash 612726354, now seen corresponding path program 1 times [2025-02-08 08:10:11,733 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-08 08:10:11,733 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [159316085] [2025-02-08 08:10:11,734 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:10:11,734 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:10:11,734 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:10:11,736 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-08 08:10:11,737 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-08 08:10:11,784 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 20 statements into 1 equivalence classes. [2025-02-08 08:10:11,796 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 20 of 20 statements. [2025-02-08 08:10:11,796 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:11,796 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 08:10:11,796 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-02-08 08:10:11,806 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 20 statements into 1 equivalence classes. [2025-02-08 08:10:11,812 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 20 of 20 statements. [2025-02-08 08:10:11,812 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:10:11,812 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 08:10:11,831 INFO L130 FreeRefinementEngine]: Strategy FOX found a feasible trace [2025-02-08 08:10:11,831 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-02-08 08:10:11,831 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location thread3Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2025-02-08 08:10:11,832 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thread3Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 6 remaining) [2025-02-08 08:10:11,833 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2025-02-08 08:10:11,833 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 6 remaining) [2025-02-08 08:10:11,833 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 6 remaining) [2025-02-08 08:10:11,833 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 6 remaining) [2025-02-08 08:10:11,843 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-08 08:10:12,033 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-08 08:10:12,034 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2025-02-08 08:10:12,053 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-02-08 08:10:12,053 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-02-08 08:10:12,056 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.02 08:10:12 BasicIcfg [2025-02-08 08:10:12,056 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-08 08:10:12,056 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-08 08:10:12,056 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-08 08:10:12,056 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-08 08:10:12,057 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:10:09" (3/4) ... [2025-02-08 08:10:12,058 INFO L149 WitnessPrinter]: No result that supports witness generation found [2025-02-08 08:10:12,058 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-08 08:10:12,059 INFO L158 Benchmark]: Toolchain (without parser) took 3002.67ms. Allocated memory is still 117.4MB. Free memory was 89.9MB in the beginning and 76.5MB in the end (delta: 13.4MB). Peak memory consumption was 14.6MB. Max. memory is 16.1GB. [2025-02-08 08:10:12,059 INFO L158 Benchmark]: CDTParser took 0.75ms. Allocated memory is still 83.9MB. Free memory is still 61.6MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:10:12,059 INFO L158 Benchmark]: CACSL2BoogieTranslator took 327.36ms. Allocated memory is still 117.4MB. Free memory was 89.7MB in the beginning and 69.4MB in the end (delta: 20.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-02-08 08:10:12,059 INFO L158 Benchmark]: Boogie Procedure Inliner took 36.29ms. Allocated memory is still 117.4MB. Free memory was 69.4MB in the beginning and 67.5MB in the end (delta: 1.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-08 08:10:12,059 INFO L158 Benchmark]: Boogie Preprocessor took 46.28ms. Allocated memory is still 117.4MB. Free memory was 67.5MB in the beginning and 65.7MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:10:12,060 INFO L158 Benchmark]: IcfgBuilder took 386.03ms. Allocated memory is still 117.4MB. Free memory was 65.7MB in the beginning and 37.9MB in the end (delta: 27.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2025-02-08 08:10:12,060 INFO L158 Benchmark]: TraceAbstraction took 2199.34ms. Allocated memory is still 117.4MB. Free memory was 37.2MB in the beginning and 76.5MB in the end (delta: -39.3MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:10:12,060 INFO L158 Benchmark]: Witness Printer took 1.93ms. Allocated memory is still 117.4MB. Free memory was 76.5MB in the beginning and 76.5MB in the end (delta: 12.9kB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:10:12,061 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.75ms. Allocated memory is still 83.9MB. Free memory is still 61.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 327.36ms. Allocated memory is still 117.4MB. Free memory was 89.7MB in the beginning and 69.4MB in the end (delta: 20.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 36.29ms. Allocated memory is still 117.4MB. Free memory was 69.4MB in the beginning and 67.5MB in the end (delta: 1.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 46.28ms. Allocated memory is still 117.4MB. Free memory was 67.5MB in the beginning and 65.7MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 386.03ms. Allocated memory is still 117.4MB. Free memory was 65.7MB in the beginning and 37.9MB in the end (delta: 27.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * TraceAbstraction took 2199.34ms. Allocated memory is still 117.4MB. Free memory was 37.2MB in the beginning and 76.5MB in the end (delta: -39.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 1.93ms. Allocated memory is still 117.4MB. Free memory was 76.5MB in the beginning and 76.5MB in the end (delta: 12.9kB). 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.1s, OverallIterations: 5, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.5s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 52 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 46 mSDsluCounter, 1 SdHoareTripleChecker+Invalid, 0.2s 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.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s 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-08 08:10:12,072 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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample