./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 4f9af400 extending candidate: java ['java'] extending candidate: /usr/bin/java ['java', '/usr/bin/java'] extending candidate: /opt/oracle-jdk-bin-*/bin/java ['java', '/usr/bin/java'] extending candidate: /opt/openjdk-*/bin/java ['java', '/usr/bin/java'] extending candidate: /usr/lib/jvm/java-*-openjdk-amd64/bin/java ['java', '/usr/bin/java', '/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java', '/usr/lib/jvm/java-17-openjdk-amd64/bin/java', '/usr/lib/jvm/java-11-openjdk-amd64/bin/java', '/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin/java'] ['/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-ext/35_double_lock_p3_vs.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) )\nCHECK( init(main()), LTL(G valid-deref) )\nCHECK( init(main()), LTL(G valid-memtrack) )\n\n', '--witnessprinter.graph.data.producer', 'Automizer', '--witnessprinter.graph.data.architecture', '32bit', '--witnessprinter.graph.data.programhash', '22ba795826618dfa50b90a88d5a4c30adee7dfead438325f939eb97a379da897'] 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-ext/35_double_lock_p3_vs.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 22ba795826618dfa50b90a88d5a4c30adee7dfead438325f939eb97a379da897 --- Real Ultimate output --- This is Ultimate 0.3.0-?-4f9af40 [2024-11-07 19:08:44,177 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-07 19:08:44,288 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-07 19:08:44,293 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-07 19:08:44,295 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-07 19:08:44,325 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-07 19:08:44,326 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-07 19:08:44,326 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-07 19:08:44,327 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-07 19:08:44,327 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-07 19:08:44,328 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-07 19:08:44,328 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-07 19:08:44,328 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-07 19:08:44,328 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-07 19:08:44,329 INFO L153 SettingsManager]: * Use SBE=true [2024-11-07 19:08:44,329 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-07 19:08:44,329 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-07 19:08:44,329 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-07 19:08:44,329 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-07 19:08:44,330 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-07 19:08:44,330 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-07 19:08:44,330 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-07 19:08:44,330 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-07 19:08:44,330 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-07 19:08:44,330 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-07 19:08:44,330 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-07 19:08:44,331 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-07 19:08:44,331 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-07 19:08:44,331 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-07 19:08:44,331 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-07 19:08:44,331 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-07 19:08:44,331 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-07 19:08:44,331 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-07 19:08:44,331 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:08:44,332 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-07 19:08:44,332 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-07 19:08:44,332 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-07 19:08:44,332 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-07 19:08:44,332 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-07 19:08:44,333 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-07 19:08:44,333 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-07 19:08:44,333 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-07 19:08:44,333 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 -> 22ba795826618dfa50b90a88d5a4c30adee7dfead438325f939eb97a379da897 [2024-11-07 19:08:44,607 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-07 19:08:44,615 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-07 19:08:44,618 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-07 19:08:44,619 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-07 19:08:44,619 INFO L274 PluginConnector]: CDTParser initialized [2024-11-07 19:08:44,621 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i [2024-11-07 19:08:45,859 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-07 19:08:46,173 INFO L384 CDTParser]: Found 1 translation units. [2024-11-07 19:08:46,174 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i [2024-11-07 19:08:46,191 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/f879e22f4/95903b2f662c42b8ab9e58a5aaa55744/FLAG76a627bf7 [2024-11-07 19:08:46,211 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/f879e22f4/95903b2f662c42b8ab9e58a5aaa55744 [2024-11-07 19:08:46,214 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-07 19:08:46,216 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-07 19:08:46,218 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-07 19:08:46,219 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-07 19:08:46,223 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-07 19:08:46,225 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,226 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1165e5a6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46, skipping insertion in model container [2024-11-07 19:08:46,226 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,263 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-07 19:08:46,566 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:08:46,579 INFO L200 MainTranslator]: Completed pre-run [2024-11-07 19:08:46,622 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:08:46,661 INFO L204 MainTranslator]: Completed translation [2024-11-07 19:08:46,662 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46 WrapperNode [2024-11-07 19:08:46,662 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-07 19:08:46,663 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-07 19:08:46,663 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-07 19:08:46,663 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-07 19:08:46,668 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,685 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,707 INFO L138 Inliner]: procedures = 164, calls = 22, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 86 [2024-11-07 19:08:46,708 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-07 19:08:46,709 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-07 19:08:46,709 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-07 19:08:46,709 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-07 19:08:46,716 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,717 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,719 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,731 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]. [2024-11-07 19:08:46,731 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,732 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,735 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,740 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,741 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,746 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,748 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-07 19:08:46,753 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-07 19:08:46,753 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-07 19:08:46,754 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-07 19:08:46,755 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (1/1) ... [2024-11-07 19:08:46,759 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:08:46,778 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:08:46,792 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-07 19:08:46,796 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 [2024-11-07 19:08:46,818 INFO L130 BoogieDeclarations]: Found specification of procedure thr2 [2024-11-07 19:08:46,819 INFO L138 BoogieDeclarations]: Found implementation of procedure thr2 [2024-11-07 19:08:46,819 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-11-07 19:08:46,819 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-11-07 19:08:46,819 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-07 19:08:46,819 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-07 19:08:46,819 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-07 19:08:46,819 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-07 19:08:46,819 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-07 19:08:46,820 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-07 19:08:46,820 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-07 19:08:46,821 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-07 19:08:46,953 INFO L238 CfgBuilder]: Building ICFG [2024-11-07 19:08:46,955 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-07 19:08:47,121 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-07 19:08:47,122 INFO L287 CfgBuilder]: Performing block encoding [2024-11-07 19:08:47,223 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-07 19:08:47,225 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-07 19:08:47,225 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:08:47 BoogieIcfgContainer [2024-11-07 19:08:47,225 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-07 19:08:47,227 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-07 19:08:47,228 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-07 19:08:47,232 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-07 19:08:47,232 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 07.11 07:08:46" (1/3) ... [2024-11-07 19:08:47,232 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@50e3fa23 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:08:47, skipping insertion in model container [2024-11-07 19:08:47,233 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:08:46" (2/3) ... [2024-11-07 19:08:47,233 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@50e3fa23 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:08:47, skipping insertion in model container [2024-11-07 19:08:47,234 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:08:47" (3/3) ... [2024-11-07 19:08:47,235 INFO L112 eAbstractionObserver]: Analyzing ICFG 35_double_lock_p3_vs.i [2024-11-07 19:08:47,256 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-07 19:08:47,256 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-11-07 19:08:47,256 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-07 19:08:47,299 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-07 19:08:47,332 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 39 places, 37 transitions, 82 flow [2024-11-07 19:08:47,365 INFO L124 PetriNetUnfolderBase]: 4/40 cut-off events. [2024-11-07 19:08:47,367 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:08:47,373 INFO L83 FinitePrefix]: Finished finitePrefix Result has 47 conditions, 40 events. 4/40 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 102 event pairs, 0 based on Foata normal form. 0/31 useless extension candidates. Maximal degree in co-relation 40. Up to 2 conditions per place. [2024-11-07 19:08:47,373 INFO L82 GeneralOperation]: Start removeDead. Operand has 39 places, 37 transitions, 82 flow [2024-11-07 19:08:47,376 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 38 places, 36 transitions, 79 flow [2024-11-07 19:08:47,386 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:08:47,400 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;@3786bab6, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:08:47,401 INFO L334 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2024-11-07 19:08:47,410 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:08:47,411 INFO L124 PetriNetUnfolderBase]: 0/9 cut-off events. [2024-11-07 19:08:47,412 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:08:47,412 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:08:47,412 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2024-11-07 19:08:47,414 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2024-11-07 19:08:47,418 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:08:47,418 INFO L85 PathProgramCache]: Analyzing trace with hash 250028329, now seen corresponding path program 1 times [2024-11-07 19:08:47,425 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:08:47,426 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [992200190] [2024-11-07 19:08:47,426 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:08:47,427 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:08:47,503 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:08:47,557 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:08:47,557 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:08:47,557 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [992200190] [2024-11-07 19:08:47,558 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [992200190] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:08:47,558 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:08:47,558 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-07 19:08:47,560 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [256298159] [2024-11-07 19:08:47,560 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:08:47,565 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-07 19:08:47,569 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:08:47,585 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-07 19:08:47,586 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-07 19:08:47,587 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 11 out of 37 [2024-11-07 19:08:47,589 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 38 places, 36 transitions, 79 flow. Second operand has 2 states, 2 states have (on average 13.0) internal successors, (26), 2 states have internal predecessors, (26), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:47,589 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:08:47,590 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 11 of 37 [2024-11-07 19:08:47,590 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:08:47,737 INFO L124 PetriNetUnfolderBase]: 198/365 cut-off events. [2024-11-07 19:08:47,738 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:08:47,740 INFO L83 FinitePrefix]: Finished finitePrefix Result has 721 conditions, 365 events. 198/365 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 37. Compared 1800 event pairs, 185 based on Foata normal form. 106/454 useless extension candidates. Maximal degree in co-relation 711. Up to 343 conditions per place. [2024-11-07 19:08:47,744 INFO L140 encePairwiseOnDemand]: 33/37 looper letters, 20 selfloop transitions, 0 changer transitions 0/29 dead transitions. [2024-11-07 19:08:47,744 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 34 places, 29 transitions, 105 flow [2024-11-07 19:08:47,746 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-07 19:08:47,748 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-11-07 19:08:47,753 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 46 transitions. [2024-11-07 19:08:47,755 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6216216216216216 [2024-11-07 19:08:47,756 INFO L175 Difference]: Start difference. First operand has 38 places, 36 transitions, 79 flow. Second operand 2 states and 46 transitions. [2024-11-07 19:08:47,757 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 34 places, 29 transitions, 105 flow [2024-11-07 19:08:47,760 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 33 places, 29 transitions, 104 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-07 19:08:47,762 INFO L231 Difference]: Finished difference. Result has 33 places, 29 transitions, 64 flow [2024-11-07 19:08:47,764 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=64, PETRI_DIFFERENCE_MINUEND_PLACES=32, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=29, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=64, PETRI_PLACES=33, PETRI_TRANSITIONS=29} [2024-11-07 19:08:47,768 INFO L277 CegarLoopForPetriNet]: 38 programPoint places, -5 predicate places. [2024-11-07 19:08:47,768 INFO L471 AbstractCegarLoop]: Abstraction has has 33 places, 29 transitions, 64 flow [2024-11-07 19:08:47,768 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 13.0) internal successors, (26), 2 states have internal predecessors, (26), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:47,768 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:08:47,769 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1] [2024-11-07 19:08:47,769 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-07 19:08:47,769 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2024-11-07 19:08:47,769 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:08:47,770 INFO L85 PathProgramCache]: Analyzing trace with hash 1121329882, now seen corresponding path program 1 times [2024-11-07 19:08:47,770 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:08:47,770 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [509715468] [2024-11-07 19:08:47,770 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:08:47,770 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:08:47,803 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:08:47,804 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:08:47,816 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:08:47,840 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:08:47,841 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:08:47,845 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 5 remaining) [2024-11-07 19:08:47,847 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 5 remaining) [2024-11-07 19:08:47,848 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (2 of 5 remaining) [2024-11-07 19:08:47,849 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 5 remaining) [2024-11-07 19:08:47,849 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 5 remaining) [2024-11-07 19:08:47,849 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-07 19:08:47,849 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-07 19:08:47,852 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:08:47,852 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-07 19:08:47,886 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-07 19:08:47,888 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 67 places, 65 transitions, 150 flow [2024-11-07 19:08:47,904 INFO L124 PetriNetUnfolderBase]: 5/58 cut-off events. [2024-11-07 19:08:47,905 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-07 19:08:47,906 INFO L83 FinitePrefix]: Finished finitePrefix Result has 70 conditions, 58 events. 5/58 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 161 event pairs, 0 based on Foata normal form. 0/46 useless extension candidates. Maximal degree in co-relation 65. Up to 3 conditions per place. [2024-11-07 19:08:47,906 INFO L82 GeneralOperation]: Start removeDead. Operand has 67 places, 65 transitions, 150 flow [2024-11-07 19:08:47,911 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 52 places, 49 transitions, 111 flow [2024-11-07 19:08:47,912 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:08:47,913 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;@3786bab6, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:08:47,913 INFO L334 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2024-11-07 19:08:47,919 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:08:47,919 INFO L124 PetriNetUnfolderBase]: 0/10 cut-off events. [2024-11-07 19:08:47,919 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:08:47,919 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:08:47,919 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2024-11-07 19:08:47,920 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2024-11-07 19:08:47,924 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:08:47,924 INFO L85 PathProgramCache]: Analyzing trace with hash 312862511, now seen corresponding path program 1 times [2024-11-07 19:08:47,924 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:08:47,924 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [314632389] [2024-11-07 19:08:47,924 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:08:47,925 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:08:47,943 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:08:47,972 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:08:47,974 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:08:47,974 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [314632389] [2024-11-07 19:08:47,974 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [314632389] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:08:47,974 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:08:47,975 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-07 19:08:47,975 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1259838600] [2024-11-07 19:08:47,975 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:08:47,975 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-07 19:08:47,976 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:08:47,977 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-07 19:08:47,977 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-07 19:08:47,977 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 19 out of 65 [2024-11-07 19:08:47,977 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 52 places, 49 transitions, 111 flow. Second operand has 2 states, 2 states have (on average 21.0) internal successors, (42), 2 states have internal predecessors, (42), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:47,978 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:08:47,979 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 19 of 65 [2024-11-07 19:08:47,979 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:08:48,686 INFO L124 PetriNetUnfolderBase]: 3751/5538 cut-off events. [2024-11-07 19:08:48,687 INFO L125 PetriNetUnfolderBase]: For 132/132 co-relation queries the response was YES. [2024-11-07 19:08:48,708 INFO L83 FinitePrefix]: Finished finitePrefix Result has 11032 conditions, 5538 events. 3751/5538 cut-off events. For 132/132 co-relation queries the response was YES. Maximal size of possible extension queue 311. Compared 32624 event pairs, 3474 based on Foata normal form. 1196/6418 useless extension candidates. Maximal degree in co-relation 11021. Up to 5348 conditions per place. [2024-11-07 19:08:48,747 INFO L140 encePairwiseOnDemand]: 61/65 looper letters, 32 selfloop transitions, 0 changer transitions 0/42 dead transitions. [2024-11-07 19:08:48,747 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 48 places, 42 transitions, 161 flow [2024-11-07 19:08:48,749 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-07 19:08:48,749 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-11-07 19:08:48,750 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 74 transitions. [2024-11-07 19:08:48,751 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5692307692307692 [2024-11-07 19:08:48,751 INFO L175 Difference]: Start difference. First operand has 52 places, 49 transitions, 111 flow. Second operand 2 states and 74 transitions. [2024-11-07 19:08:48,751 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 48 places, 42 transitions, 161 flow [2024-11-07 19:08:48,753 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 42 transitions, 160 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-07 19:08:48,756 INFO L231 Difference]: Finished difference. Result has 47 places, 42 transitions, 96 flow [2024-11-07 19:08:48,757 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=65, PETRI_DIFFERENCE_MINUEND_FLOW=96, PETRI_DIFFERENCE_MINUEND_PLACES=46, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=42, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=42, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=96, PETRI_PLACES=47, PETRI_TRANSITIONS=42} [2024-11-07 19:08:48,757 INFO L277 CegarLoopForPetriNet]: 52 programPoint places, -5 predicate places. [2024-11-07 19:08:48,758 INFO L471 AbstractCegarLoop]: Abstraction has has 47 places, 42 transitions, 96 flow [2024-11-07 19:08:48,758 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 21.0) internal successors, (42), 2 states have internal predecessors, (42), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:48,758 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:08:48,758 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 19:08:48,758 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-07 19:08:48,758 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2024-11-07 19:08:48,759 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:08:48,759 INFO L85 PathProgramCache]: Analyzing trace with hash 153112686, now seen corresponding path program 1 times [2024-11-07 19:08:48,759 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:08:48,759 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1585763311] [2024-11-07 19:08:48,759 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:08:48,759 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:08:48,787 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:08:48,850 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:08:48,850 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:08:48,850 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1585763311] [2024-11-07 19:08:48,850 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1585763311] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:08:48,850 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:08:48,851 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-07 19:08:48,851 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [620605980] [2024-11-07 19:08:48,851 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:08:48,851 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:08:48,851 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:08:48,851 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:08:48,852 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:08:48,858 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 19 out of 65 [2024-11-07 19:08:48,859 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 47 places, 42 transitions, 96 flow. Second operand has 3 states, 3 states have (on average 20.333333333333332) internal successors, (61), 3 states have internal predecessors, (61), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:48,860 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:08:48,860 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 19 of 65 [2024-11-07 19:08:48,860 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:08:49,242 INFO L124 PetriNetUnfolderBase]: 2714/4054 cut-off events. [2024-11-07 19:08:49,243 INFO L125 PetriNetUnfolderBase]: For 99/99 co-relation queries the response was YES. [2024-11-07 19:08:49,252 INFO L83 FinitePrefix]: Finished finitePrefix Result has 8077 conditions, 4054 events. 2714/4054 cut-off events. For 99/99 co-relation queries the response was YES. Maximal size of possible extension queue 240. Compared 23104 event pairs, 2506 based on Foata normal form. 398/4215 useless extension candidates. Maximal degree in co-relation 8072. Up to 3911 conditions per place. [2024-11-07 19:08:49,270 INFO L140 encePairwiseOnDemand]: 63/65 looper letters, 30 selfloop transitions, 1 changer transitions 0/39 dead transitions. [2024-11-07 19:08:49,271 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 46 places, 39 transitions, 152 flow [2024-11-07 19:08:49,271 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:08:49,272 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:08:49,274 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 89 transitions. [2024-11-07 19:08:49,275 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4564102564102564 [2024-11-07 19:08:49,275 INFO L175 Difference]: Start difference. First operand has 47 places, 42 transitions, 96 flow. Second operand 3 states and 89 transitions. [2024-11-07 19:08:49,275 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 46 places, 39 transitions, 152 flow [2024-11-07 19:08:49,276 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 46 places, 39 transitions, 152 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:08:49,278 INFO L231 Difference]: Finished difference. Result has 46 places, 39 transitions, 92 flow [2024-11-07 19:08:49,279 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=65, PETRI_DIFFERENCE_MINUEND_FLOW=90, PETRI_DIFFERENCE_MINUEND_PLACES=44, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=39, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=38, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=92, PETRI_PLACES=46, PETRI_TRANSITIONS=39} [2024-11-07 19:08:49,279 INFO L277 CegarLoopForPetriNet]: 52 programPoint places, -6 predicate places. [2024-11-07 19:08:49,280 INFO L471 AbstractCegarLoop]: Abstraction has has 46 places, 39 transitions, 92 flow [2024-11-07 19:08:49,281 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 20.333333333333332) internal successors, (61), 3 states have internal predecessors, (61), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:49,281 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:08:49,281 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1, 1, 1] [2024-11-07 19:08:49,281 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-07 19:08:49,281 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2024-11-07 19:08:49,282 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:08:49,282 INFO L85 PathProgramCache]: Analyzing trace with hash -1278669066, now seen corresponding path program 1 times [2024-11-07 19:08:49,282 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:08:49,282 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1930611812] [2024-11-07 19:08:49,282 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:08:49,282 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:08:49,303 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:08:49,303 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:08:49,318 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:08:49,326 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:08:49,329 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:08:49,330 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (5 of 6 remaining) [2024-11-07 19:08:49,330 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 6 remaining) [2024-11-07 19:08:49,330 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2024-11-07 19:08:49,330 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 6 remaining) [2024-11-07 19:08:49,331 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 6 remaining) [2024-11-07 19:08:49,331 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 6 remaining) [2024-11-07 19:08:49,331 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-11-07 19:08:49,331 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2024-11-07 19:08:49,332 WARN L244 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:08:49,332 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-11-07 19:08:49,381 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-07 19:08:49,384 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 95 places, 93 transitions, 222 flow [2024-11-07 19:08:49,392 INFO L124 PetriNetUnfolderBase]: 6/76 cut-off events. [2024-11-07 19:08:49,392 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2024-11-07 19:08:49,393 INFO L83 FinitePrefix]: Finished finitePrefix Result has 94 conditions, 76 events. 6/76 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 233 event pairs, 0 based on Foata normal form. 0/61 useless extension candidates. Maximal degree in co-relation 87. Up to 4 conditions per place. [2024-11-07 19:08:49,393 INFO L82 GeneralOperation]: Start removeDead. Operand has 95 places, 93 transitions, 222 flow [2024-11-07 19:08:49,394 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 66 places, 62 transitions, 145 flow [2024-11-07 19:08:49,395 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:08:49,397 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;@3786bab6, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:08:49,400 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-07 19:08:49,401 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:08:49,401 INFO L124 PetriNetUnfolderBase]: 0/10 cut-off events. [2024-11-07 19:08:49,402 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:08:49,402 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:08:49,402 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2024-11-07 19:08:49,402 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2024-11-07 19:08:49,402 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:08:49,402 INFO L85 PathProgramCache]: Analyzing trace with hash 402417233, now seen corresponding path program 1 times [2024-11-07 19:08:49,402 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:08:49,402 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1361331420] [2024-11-07 19:08:49,402 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:08:49,402 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:08:49,411 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:08:49,418 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:08:49,419 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:08:49,419 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1361331420] [2024-11-07 19:08:49,419 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1361331420] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:08:49,419 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:08:49,419 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-07 19:08:49,419 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [359506624] [2024-11-07 19:08:49,419 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:08:49,420 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-07 19:08:49,420 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:08:49,420 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-07 19:08:49,420 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-07 19:08:49,421 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 93 [2024-11-07 19:08:49,421 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 66 places, 62 transitions, 145 flow. Second operand has 2 states, 2 states have (on average 29.0) internal successors, (58), 2 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:49,421 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:08:49,421 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 93 [2024-11-07 19:08:49,421 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:08:55,081 INFO L124 PetriNetUnfolderBase]: 58806/78313 cut-off events. [2024-11-07 19:08:55,081 INFO L125 PetriNetUnfolderBase]: For 3412/3412 co-relation queries the response was YES. [2024-11-07 19:08:55,225 INFO L83 FinitePrefix]: Finished finitePrefix Result has 156771 conditions, 78313 events. 58806/78313 cut-off events. For 3412/3412 co-relation queries the response was YES. Maximal size of possible extension queue 2927. Compared 506464 event pairs, 54173 based on Foata normal form. 13175/86404 useless extension candidates. Maximal degree in co-relation 156759. Up to 76375 conditions per place. [2024-11-07 19:08:55,715 INFO L140 encePairwiseOnDemand]: 89/93 looper letters, 44 selfloop transitions, 0 changer transitions 0/55 dead transitions. [2024-11-07 19:08:55,715 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 62 places, 55 transitions, 219 flow [2024-11-07 19:08:55,716 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-07 19:08:55,716 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-11-07 19:08:55,717 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 102 transitions. [2024-11-07 19:08:55,717 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5483870967741935 [2024-11-07 19:08:55,717 INFO L175 Difference]: Start difference. First operand has 66 places, 62 transitions, 145 flow. Second operand 2 states and 102 transitions. [2024-11-07 19:08:55,717 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 62 places, 55 transitions, 219 flow [2024-11-07 19:08:55,721 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 61 places, 55 transitions, 216 flow, removed 1 selfloop flow, removed 1 redundant places. [2024-11-07 19:08:55,722 INFO L231 Difference]: Finished difference. Result has 61 places, 55 transitions, 128 flow [2024-11-07 19:08:55,723 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=93, PETRI_DIFFERENCE_MINUEND_FLOW=128, PETRI_DIFFERENCE_MINUEND_PLACES=60, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=55, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=55, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=128, PETRI_PLACES=61, PETRI_TRANSITIONS=55} [2024-11-07 19:08:55,723 INFO L277 CegarLoopForPetriNet]: 66 programPoint places, -5 predicate places. [2024-11-07 19:08:55,724 INFO L471 AbstractCegarLoop]: Abstraction has has 61 places, 55 transitions, 128 flow [2024-11-07 19:08:55,724 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 29.0) internal successors, (58), 2 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:55,724 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:08:55,724 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 19:08:55,724 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-11-07 19:08:55,724 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2024-11-07 19:08:55,725 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:08:55,725 INFO L85 PathProgramCache]: Analyzing trace with hash 6601770, now seen corresponding path program 1 times [2024-11-07 19:08:55,725 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:08:55,725 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [660111010] [2024-11-07 19:08:55,725 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:08:55,725 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:08:55,737 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:08:55,773 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:08:55,773 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:08:55,773 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [660111010] [2024-11-07 19:08:55,774 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [660111010] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:08:55,775 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:08:55,775 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-07 19:08:55,775 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1385726802] [2024-11-07 19:08:55,775 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:08:55,775 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:08:55,776 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:08:55,776 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:08:55,776 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:08:55,784 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 93 [2024-11-07 19:08:55,785 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 61 places, 55 transitions, 128 flow. Second operand has 3 states, 3 states have (on average 28.333333333333332) internal successors, (85), 3 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:55,785 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:08:55,785 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 93 [2024-11-07 19:08:55,785 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:08:58,834 INFO L124 PetriNetUnfolderBase]: 43007/57637 cut-off events. [2024-11-07 19:08:58,835 INFO L125 PetriNetUnfolderBase]: For 1482/1482 co-relation queries the response was YES. [2024-11-07 19:08:58,929 INFO L83 FinitePrefix]: Finished finitePrefix Result has 115022 conditions, 57637 events. 43007/57637 cut-off events. For 1482/1482 co-relation queries the response was YES. Maximal size of possible extension queue 2287. Compared 365457 event pairs, 39532 based on Foata normal form. 4391/58215 useless extension candidates. Maximal degree in co-relation 115016. Up to 56183 conditions per place. [2024-11-07 19:08:59,144 INFO L140 encePairwiseOnDemand]: 91/93 looper letters, 42 selfloop transitions, 1 changer transitions 0/52 dead transitions. [2024-11-07 19:08:59,144 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 60 places, 52 transitions, 208 flow [2024-11-07 19:08:59,145 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:08:59,145 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:08:59,146 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 125 transitions. [2024-11-07 19:08:59,146 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.44802867383512546 [2024-11-07 19:08:59,146 INFO L175 Difference]: Start difference. First operand has 61 places, 55 transitions, 128 flow. Second operand 3 states and 125 transitions. [2024-11-07 19:08:59,146 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 60 places, 52 transitions, 208 flow [2024-11-07 19:08:59,149 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 60 places, 52 transitions, 208 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:08:59,150 INFO L231 Difference]: Finished difference. Result has 60 places, 52 transitions, 124 flow [2024-11-07 19:08:59,150 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=93, PETRI_DIFFERENCE_MINUEND_FLOW=122, PETRI_DIFFERENCE_MINUEND_PLACES=58, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=52, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=51, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=124, PETRI_PLACES=60, PETRI_TRANSITIONS=52} [2024-11-07 19:08:59,151 INFO L277 CegarLoopForPetriNet]: 66 programPoint places, -6 predicate places. [2024-11-07 19:08:59,152 INFO L471 AbstractCegarLoop]: Abstraction has has 60 places, 52 transitions, 124 flow [2024-11-07 19:08:59,152 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 28.333333333333332) internal successors, (85), 3 states have internal predecessors, (85), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:59,152 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:08:59,152 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 3, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 19:08:59,153 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2024-11-07 19:08:59,153 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2024-11-07 19:08:59,153 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:08:59,153 INFO L85 PathProgramCache]: Analyzing trace with hash -220161489, now seen corresponding path program 1 times [2024-11-07 19:08:59,154 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:08:59,154 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [643347827] [2024-11-07 19:08:59,154 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:08:59,154 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:08:59,164 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:08:59,168 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:08:59,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:08:59,186 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:08:59,189 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:08:59,190 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-07 19:08:59,190 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 7 remaining) [2024-11-07 19:08:59,190 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (4 of 7 remaining) [2024-11-07 19:08:59,191 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 7 remaining) [2024-11-07 19:08:59,191 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 7 remaining) [2024-11-07 19:08:59,191 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2024-11-07 19:08:59,192 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-07 19:08:59,192 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2024-11-07 19:08:59,192 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2024-11-07 19:08:59,193 WARN L244 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:08:59,193 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-11-07 19:08:59,244 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-07 19:08:59,248 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 123 places, 121 transitions, 298 flow [2024-11-07 19:08:59,254 INFO L124 PetriNetUnfolderBase]: 7/94 cut-off events. [2024-11-07 19:08:59,254 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2024-11-07 19:08:59,255 INFO L83 FinitePrefix]: Finished finitePrefix Result has 119 conditions, 94 events. 7/94 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 308 event pairs, 0 based on Foata normal form. 0/76 useless extension candidates. Maximal degree in co-relation 110. Up to 5 conditions per place. [2024-11-07 19:08:59,255 INFO L82 GeneralOperation]: Start removeDead. Operand has 123 places, 121 transitions, 298 flow [2024-11-07 19:08:59,256 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 80 places, 75 transitions, 181 flow [2024-11-07 19:08:59,257 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:08:59,258 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;@3786bab6, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:08:59,258 INFO L334 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2024-11-07 19:08:59,259 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:08:59,260 INFO L124 PetriNetUnfolderBase]: 0/10 cut-off events. [2024-11-07 19:08:59,260 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:08:59,260 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:08:59,260 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2024-11-07 19:08:59,260 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 5 more)] === [2024-11-07 19:08:59,261 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:08:59,261 INFO L85 PathProgramCache]: Analyzing trace with hash 518692495, now seen corresponding path program 1 times [2024-11-07 19:08:59,261 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:08:59,261 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1311118634] [2024-11-07 19:08:59,261 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:08:59,261 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:08:59,271 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:08:59,281 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:08:59,281 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:08:59,282 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1311118634] [2024-11-07 19:08:59,282 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1311118634] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:08:59,282 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:08:59,282 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-07 19:08:59,282 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [151918118] [2024-11-07 19:08:59,282 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:08:59,282 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-07 19:08:59,282 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:08:59,283 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-07 19:08:59,283 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-07 19:08:59,283 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 35 out of 121 [2024-11-07 19:08:59,283 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 80 places, 75 transitions, 181 flow. Second operand has 2 states, 2 states have (on average 37.0) internal successors, (74), 2 states have internal predecessors, (74), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:08:59,283 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:08:59,283 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 35 of 121 [2024-11-07 19:08:59,283 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand