./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/goblint-regression/28-race_reach_42-trylock2_racefree.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/goblint-regression/28-race_reach_42-trylock2_racefree.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', '844ba080c7d33529db727776ee230d62edb7b62a6350a8061572438c458d73d3'] 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/goblint-regression/28-race_reach_42-trylock2_racefree.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 844ba080c7d33529db727776ee230d62edb7b62a6350a8061572438c458d73d3 --- Real Ultimate output --- This is Ultimate 0.3.0-?-4f9af40 [2024-11-07 19:25:37,618 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-07 19:25:37,706 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:25:37,712 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-07 19:25:37,712 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-07 19:25:37,732 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-07 19:25:37,733 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-07 19:25:37,733 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-07 19:25:37,733 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-07 19:25:37,734 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-07 19:25:37,734 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-07 19:25:37,734 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-07 19:25:37,735 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-07 19:25:37,735 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-07 19:25:37,735 INFO L153 SettingsManager]: * Use SBE=true [2024-11-07 19:25:37,735 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-07 19:25:37,735 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-07 19:25:37,735 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-07 19:25:37,735 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-07 19:25:37,735 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-07 19:25:37,735 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-07 19:25:37,736 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-07 19:25:37,736 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-07 19:25:37,736 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-07 19:25:37,736 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-07 19:25:37,736 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-07 19:25:37,736 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-07 19:25:37,736 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-07 19:25:37,736 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-07 19:25:37,737 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-07 19:25:37,737 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-07 19:25:37,737 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-07 19:25:37,737 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-07 19:25:37,737 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:25:37,737 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-07 19:25:37,737 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-07 19:25:37,737 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-07 19:25:37,738 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-07 19:25:37,738 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-07 19:25:37,738 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-07 19:25:37,738 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-07 19:25:37,738 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-07 19:25:37,738 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 -> 844ba080c7d33529db727776ee230d62edb7b62a6350a8061572438c458d73d3 [2024-11-07 19:25:37,939 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-07 19:25:37,953 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-07 19:25:37,960 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-07 19:25:37,961 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-07 19:25:37,961 INFO L274 PluginConnector]: CDTParser initialized [2024-11-07 19:25:37,962 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/goblint-regression/28-race_reach_42-trylock2_racefree.i [2024-11-07 19:25:39,137 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-07 19:25:39,491 INFO L384 CDTParser]: Found 1 translation units. [2024-11-07 19:25:39,494 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_42-trylock2_racefree.i [2024-11-07 19:25:39,505 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/51761c8cc/fcb1690784b949058605c31dc53e9631/FLAGd4c0c996c [2024-11-07 19:25:39,737 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/51761c8cc/fcb1690784b949058605c31dc53e9631 [2024-11-07 19:25:39,740 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-07 19:25:39,741 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-07 19:25:39,743 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-07 19:25:39,743 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-07 19:25:39,746 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-07 19:25:39,747 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:25:39" (1/1) ... [2024-11-07 19:25:39,748 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@79c6c8be and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:39, skipping insertion in model container [2024-11-07 19:25:39,748 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:25:39" (1/1) ... [2024-11-07 19:25:39,775 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-07 19:25:39,993 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:25:40,014 INFO L200 MainTranslator]: Completed pre-run [2024-11-07 19:25:40,059 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:25:40,091 INFO L204 MainTranslator]: Completed translation [2024-11-07 19:25:40,092 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40 WrapperNode [2024-11-07 19:25:40,092 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-07 19:25:40,093 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-07 19:25:40,093 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-07 19:25:40,094 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-07 19:25:40,098 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:25:40" (1/1) ... [2024-11-07 19:25:40,113 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:25:40" (1/1) ... [2024-11-07 19:25:40,131 INFO L138 Inliner]: procedures = 172, calls = 61, calls flagged for inlining = 7, calls inlined = 10, statements flattened = 157 [2024-11-07 19:25:40,133 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-07 19:25:40,134 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-07 19:25:40,134 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-07 19:25:40,134 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-07 19:25:40,140 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,140 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,143 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,152 INFO L175 MemorySlicer]: Split 19 memory accesses to 5 slices as follows [2, 5, 5, 5, 2]. 26 percent of accesses are in the largest equivalence class. The 17 initializations are split as follows [2, 5, 5, 5, 0]. The 1 writes are split as follows [0, 0, 0, 0, 1]. [2024-11-07 19:25:40,155 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,155 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,166 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,171 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,175 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,175 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,181 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-07 19:25:40,181 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-07 19:25:40,182 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-07 19:25:40,182 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-07 19:25:40,182 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (1/1) ... [2024-11-07 19:25:40,190 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:25:40,204 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:25:40,216 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:25:40,221 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:25:40,235 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-07 19:25:40,236 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-07 19:25:40,236 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-07 19:25:40,236 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-11-07 19:25:40,236 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2024-11-07 19:25:40,236 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-07 19:25:40,237 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-07 19:25:40,237 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-07 19:25:40,237 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-11-07 19:25:40,237 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2024-11-07 19:25:40,237 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-07 19:25:40,237 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-07 19:25:40,237 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-07 19:25:40,237 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2024-11-07 19:25:40,237 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2024-11-07 19:25:40,237 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-07 19:25:40,238 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexTryLock [2024-11-07 19:25:40,238 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-07 19:25:40,238 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-07 19:25:40,238 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-07 19:25:40,238 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-11-07 19:25:40,238 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2024-11-07 19:25:40,238 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-07 19:25:40,238 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-07 19:25:40,238 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-07 19:25:40,240 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:25:40,370 INFO L238 CfgBuilder]: Building ICFG [2024-11-07 19:25:40,371 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-07 19:25:40,586 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-07 19:25:40,586 INFO L287 CfgBuilder]: Performing block encoding [2024-11-07 19:25:40,769 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-07 19:25:40,773 INFO L316 CfgBuilder]: Removed 23 assume(true) statements. [2024-11-07 19:25:40,773 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:25:40 BoogieIcfgContainer [2024-11-07 19:25:40,774 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-07 19:25:40,775 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-07 19:25:40,775 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-07 19:25:40,780 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-07 19:25:40,781 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 07.11 07:25:39" (1/3) ... [2024-11-07 19:25:40,781 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5873c59c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:25:40, skipping insertion in model container [2024-11-07 19:25:40,781 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:40" (2/3) ... [2024-11-07 19:25:40,781 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5873c59c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:25:40, skipping insertion in model container [2024-11-07 19:25:40,781 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:25:40" (3/3) ... [2024-11-07 19:25:40,782 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_42-trylock2_racefree.i [2024-11-07 19:25:40,792 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-07 19:25:40,792 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 9 error locations. [2024-11-07 19:25:40,792 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-07 19:25:40,833 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2024-11-07 19:25:40,862 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 109 places, 137 transitions, 281 flow [2024-11-07 19:25:40,916 INFO L124 PetriNetUnfolderBase]: 49/223 cut-off events. [2024-11-07 19:25:40,918 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-07 19:25:40,921 INFO L83 FinitePrefix]: Finished finitePrefix Result has 228 conditions, 223 events. 49/223 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 1081 event pairs, 0 based on Foata normal form. 0/153 useless extension candidates. Maximal degree in co-relation 132. Up to 6 conditions per place. [2024-11-07 19:25:40,921 INFO L82 GeneralOperation]: Start removeDead. Operand has 109 places, 137 transitions, 281 flow [2024-11-07 19:25:40,924 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 109 places, 137 transitions, 281 flow [2024-11-07 19:25:40,929 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:25:40,936 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;@1de82ffd, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:25:40,937 INFO L334 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2024-11-07 19:25:40,944 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:25:40,944 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:25:40,944 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:25:40,944 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:40,944 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:40,945 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-11-07 19:25:40,947 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:40,952 INFO L85 PathProgramCache]: Analyzing trace with hash 617243, now seen corresponding path program 1 times [2024-11-07 19:25:40,965 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:40,966 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [340916738] [2024-11-07 19:25:40,966 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:40,967 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:41,034 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:41,175 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:25:41,176 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:41,176 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [340916738] [2024-11-07 19:25:41,178 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [340916738] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:41,178 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:41,178 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:41,180 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1167784227] [2024-11-07 19:25:41,180 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:41,185 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:41,188 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:41,206 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:41,207 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:41,227 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 45 out of 137 [2024-11-07 19:25:41,230 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 109 places, 137 transitions, 281 flow. Second operand has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 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:25:41,231 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:41,231 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 45 of 137 [2024-11-07 19:25:41,232 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:41,626 INFO L124 PetriNetUnfolderBase]: 632/1936 cut-off events. [2024-11-07 19:25:41,626 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-07 19:25:41,629 INFO L83 FinitePrefix]: Finished finitePrefix Result has 3273 conditions, 1936 events. 632/1936 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 44. Compared 12517 event pairs, 578 based on Foata normal form. 513/2386 useless extension candidates. Maximal degree in co-relation 3158. Up to 1259 conditions per place. [2024-11-07 19:25:41,636 INFO L140 encePairwiseOnDemand]: 104/137 looper letters, 71 selfloop transitions, 2 changer transitions 1/119 dead transitions. [2024-11-07 19:25:41,636 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 105 places, 119 transitions, 393 flow [2024-11-07 19:25:41,637 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:41,639 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:41,645 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 252 transitions. [2024-11-07 19:25:41,647 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6131386861313869 [2024-11-07 19:25:41,649 INFO L175 Difference]: Start difference. First operand has 109 places, 137 transitions, 281 flow. Second operand 3 states and 252 transitions. [2024-11-07 19:25:41,649 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 105 places, 119 transitions, 393 flow [2024-11-07 19:25:41,655 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 105 places, 119 transitions, 393 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:25:41,659 INFO L231 Difference]: Finished difference. Result has 105 places, 101 transitions, 213 flow [2024-11-07 19:25:41,661 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=211, PETRI_DIFFERENCE_MINUEND_PLACES=103, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=102, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=100, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=213, PETRI_PLACES=105, PETRI_TRANSITIONS=101} [2024-11-07 19:25:41,663 INFO L277 CegarLoopForPetriNet]: 109 programPoint places, -4 predicate places. [2024-11-07 19:25:41,664 INFO L471 AbstractCegarLoop]: Abstraction has has 105 places, 101 transitions, 213 flow [2024-11-07 19:25:41,664 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 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:25:41,664 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:41,664 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:41,665 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-07 19:25:41,665 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-11-07 19:25:41,665 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:41,666 INFO L85 PathProgramCache]: Analyzing trace with hash 617244, now seen corresponding path program 1 times [2024-11-07 19:25:41,666 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:41,666 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2134914804] [2024-11-07 19:25:41,666 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:41,666 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:41,690 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:41,789 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:25:41,789 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:41,789 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2134914804] [2024-11-07 19:25:41,789 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2134914804] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:41,790 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:41,790 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:41,790 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [688677591] [2024-11-07 19:25:41,790 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:41,790 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:41,791 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:41,791 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:41,791 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:41,800 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 48 out of 137 [2024-11-07 19:25:41,801 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 105 places, 101 transitions, 213 flow. Second operand has 3 states, 3 states have (on average 49.0) internal successors, (147), 3 states have internal predecessors, (147), 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:25:41,801 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:41,801 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 48 of 137 [2024-11-07 19:25:41,801 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:42,067 INFO L124 PetriNetUnfolderBase]: 596/1804 cut-off events. [2024-11-07 19:25:42,068 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2024-11-07 19:25:42,070 INFO L83 FinitePrefix]: Finished finitePrefix Result has 3056 conditions, 1804 events. 596/1804 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 43. Compared 11379 event pairs, 528 based on Foata normal form. 1/1728 useless extension candidates. Maximal degree in co-relation 3027. Up to 1206 conditions per place. [2024-11-07 19:25:42,079 INFO L140 encePairwiseOnDemand]: 133/137 looper letters, 71 selfloop transitions, 2 changer transitions 0/119 dead transitions. [2024-11-07 19:25:42,079 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 106 places, 119 transitions, 395 flow [2024-11-07 19:25:42,080 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:42,080 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:42,081 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 219 transitions. [2024-11-07 19:25:42,082 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5328467153284672 [2024-11-07 19:25:42,082 INFO L175 Difference]: Start difference. First operand has 105 places, 101 transitions, 213 flow. Second operand 3 states and 219 transitions. [2024-11-07 19:25:42,083 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 106 places, 119 transitions, 395 flow [2024-11-07 19:25:42,084 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 104 places, 119 transitions, 391 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-07 19:25:42,087 INFO L231 Difference]: Finished difference. Result has 105 places, 101 transitions, 219 flow [2024-11-07 19:25:42,088 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=209, PETRI_DIFFERENCE_MINUEND_PLACES=102, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=101, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=99, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=219, PETRI_PLACES=105, PETRI_TRANSITIONS=101} [2024-11-07 19:25:42,089 INFO L277 CegarLoopForPetriNet]: 109 programPoint places, -4 predicate places. [2024-11-07 19:25:42,089 INFO L471 AbstractCegarLoop]: Abstraction has has 105 places, 101 transitions, 219 flow [2024-11-07 19:25:42,089 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 49.0) internal successors, (147), 3 states have internal predecessors, (147), 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:25:42,089 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:42,090 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-07 19:25:42,090 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-07 19:25:42,090 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-11-07 19:25:42,091 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:42,091 INFO L85 PathProgramCache]: Analyzing trace with hash -1172063688, now seen corresponding path program 1 times [2024-11-07 19:25:42,091 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:42,091 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1281428433] [2024-11-07 19:25:42,091 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:42,092 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:42,129 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:42,287 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:25:42,288 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:42,288 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1281428433] [2024-11-07 19:25:42,288 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1281428433] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-07 19:25:42,288 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1465857332] [2024-11-07 19:25:42,288 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:42,288 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:25:42,289 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:25:42,294 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) [2024-11-07 19:25:42,295 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 [2024-11-07 19:25:42,371 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:42,375 INFO L255 TraceCheckSpWp]: Trace formula consists of 117 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-07 19:25:42,378 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-07 19:25:42,418 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 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 8 treesize of output 1 [2024-11-07 19:25:42,471 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:25:42,471 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-07 19:25:42,524 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:25:42,524 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1465857332] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-07 19:25:42,524 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-07 19:25:42,524 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-07 19:25:42,524 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1341282568] [2024-11-07 19:25:42,525 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-07 19:25:42,525 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-07 19:25:42,525 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:42,525 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-07 19:25:42,525 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-07 19:25:42,574 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 47 out of 137 [2024-11-07 19:25:42,575 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 105 places, 101 transitions, 219 flow. Second operand has 9 states, 9 states have (on average 49.333333333333336) internal successors, (444), 9 states have internal predecessors, (444), 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:25:42,575 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:42,575 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 47 of 137 [2024-11-07 19:25:42,576 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:42,669 INFO L124 PetriNetUnfolderBase]: 51/184 cut-off events. [2024-11-07 19:25:42,669 INFO L125 PetriNetUnfolderBase]: For 48/48 co-relation queries the response was YES. [2024-11-07 19:25:42,670 INFO L83 FinitePrefix]: Finished finitePrefix Result has 354 conditions, 184 events. 51/184 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 433 event pairs, 32 based on Foata normal form. 36/219 useless extension candidates. Maximal degree in co-relation 335. Up to 105 conditions per place. [2024-11-07 19:25:42,670 INFO L140 encePairwiseOnDemand]: 133/137 looper letters, 39 selfloop transitions, 2 changer transitions 0/58 dead transitions. [2024-11-07 19:25:42,671 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 48 places, 58 transitions, 208 flow [2024-11-07 19:25:42,671 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-07 19:25:42,671 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-11-07 19:25:42,672 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 231 transitions. [2024-11-07 19:25:42,672 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4215328467153285 [2024-11-07 19:25:42,672 INFO L175 Difference]: Start difference. First operand has 105 places, 101 transitions, 219 flow. Second operand 4 states and 231 transitions. [2024-11-07 19:25:42,672 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 48 places, 58 transitions, 208 flow [2024-11-07 19:25:42,673 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 45 places, 58 transitions, 202 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-11-07 19:25:42,673 INFO L231 Difference]: Finished difference. Result has 45 places, 39 transitions, 86 flow [2024-11-07 19:25:42,673 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=82, PETRI_DIFFERENCE_MINUEND_PLACES=42, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=39, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=37, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=86, PETRI_PLACES=45, PETRI_TRANSITIONS=39} [2024-11-07 19:25:42,674 INFO L277 CegarLoopForPetriNet]: 109 programPoint places, -64 predicate places. [2024-11-07 19:25:42,674 INFO L471 AbstractCegarLoop]: Abstraction has has 45 places, 39 transitions, 86 flow [2024-11-07 19:25:42,674 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 49.333333333333336) internal successors, (444), 9 states have internal predecessors, (444), 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:25:42,674 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:42,674 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-11-07 19:25:42,696 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-11-07 19:25:42,875 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:25:42,876 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-11-07 19:25:42,876 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:42,876 INFO L85 PathProgramCache]: Analyzing trace with hash -1974235283, now seen corresponding path program 1 times [2024-11-07 19:25:42,876 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:42,876 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1286338372] [2024-11-07 19:25:42,876 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:42,876 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:42,889 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:42,889 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:25:42,901 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:42,912 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:25:42,912 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:25:42,913 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 10 remaining) [2024-11-07 19:25:42,914 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 10 remaining) [2024-11-07 19:25:42,914 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 10 remaining) [2024-11-07 19:25:42,914 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (6 of 10 remaining) [2024-11-07 19:25:42,914 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (5 of 10 remaining) [2024-11-07 19:25:42,915 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_LEAK (4 of 10 remaining) [2024-11-07 19:25:42,915 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 10 remaining) [2024-11-07 19:25:42,915 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 10 remaining) [2024-11-07 19:25:42,915 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (1 of 10 remaining) [2024-11-07 19:25:42,915 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 10 remaining) [2024-11-07 19:25:42,915 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-07 19:25:42,915 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-07 19:25:42,917 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:25:42,917 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-07 19:25:42,937 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-07 19:25:42,939 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 145 places, 184 transitions, 384 flow [2024-11-07 19:25:42,962 INFO L124 PetriNetUnfolderBase]: 81/368 cut-off events. [2024-11-07 19:25:42,962 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2024-11-07 19:25:42,965 INFO L83 FinitePrefix]: Finished finitePrefix Result has 380 conditions, 368 events. 81/368 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 28. Compared 2003 event pairs, 0 based on Foata normal form. 0/253 useless extension candidates. Maximal degree in co-relation 227. Up to 9 conditions per place. [2024-11-07 19:25:42,965 INFO L82 GeneralOperation]: Start removeDead. Operand has 145 places, 184 transitions, 384 flow [2024-11-07 19:25:42,967 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 145 places, 184 transitions, 384 flow [2024-11-07 19:25:42,968 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:25:42,968 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;@1de82ffd, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:25:42,968 INFO L334 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2024-11-07 19:25:42,970 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:25:42,970 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:25:42,970 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:25:42,970 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:42,970 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:42,970 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-11-07 19:25:42,970 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:42,970 INFO L85 PathProgramCache]: Analyzing trace with hash 799955, now seen corresponding path program 1 times [2024-11-07 19:25:42,970 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:42,971 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1432567459] [2024-11-07 19:25:42,971 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:42,971 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:42,977 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:42,994 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:25:42,995 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:42,995 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1432567459] [2024-11-07 19:25:42,995 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1432567459] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:42,995 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:42,995 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:42,995 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1943455130] [2024-11-07 19:25:42,995 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:42,995 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:42,996 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:42,996 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:42,996 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:43,004 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 61 out of 184 [2024-11-07 19:25:43,005 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 145 places, 184 transitions, 384 flow. Second operand has 3 states, 3 states have (on average 62.0) internal successors, (186), 3 states have internal predecessors, (186), 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:25:43,005 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:43,005 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 61 of 184 [2024-11-07 19:25:43,005 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:46,765 INFO L124 PetriNetUnfolderBase]: 23415/46871 cut-off events. [2024-11-07 19:25:46,765 INFO L125 PetriNetUnfolderBase]: For 97/97 co-relation queries the response was YES. [2024-11-07 19:25:46,857 INFO L83 FinitePrefix]: Finished finitePrefix Result has 83170 conditions, 46871 events. 23415/46871 cut-off events. For 97/97 co-relation queries the response was YES. Maximal size of possible extension queue 796. Compared 444308 event pairs, 21760 based on Foata normal form. 14736/60095 useless extension candidates. Maximal degree in co-relation 70699. Up to 34187 conditions per place. [2024-11-07 19:25:47,042 INFO L140 encePairwiseOnDemand]: 139/184 looper letters, 107 selfloop transitions, 2 changer transitions 1/171 dead transitions. [2024-11-07 19:25:47,042 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 141 places, 171 transitions, 578 flow [2024-11-07 19:25:47,042 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:47,043 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:47,043 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 360 transitions. [2024-11-07 19:25:47,044 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6521739130434783 [2024-11-07 19:25:47,044 INFO L175 Difference]: Start difference. First operand has 145 places, 184 transitions, 384 flow. Second operand 3 states and 360 transitions. [2024-11-07 19:25:47,044 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 141 places, 171 transitions, 578 flow [2024-11-07 19:25:47,046 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 141 places, 171 transitions, 578 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:25:47,052 INFO L231 Difference]: Finished difference. Result has 141 places, 136 transitions, 292 flow [2024-11-07 19:25:47,052 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=184, PETRI_DIFFERENCE_MINUEND_FLOW=290, PETRI_DIFFERENCE_MINUEND_PLACES=139, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=137, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=135, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=292, PETRI_PLACES=141, PETRI_TRANSITIONS=136} [2024-11-07 19:25:47,053 INFO L277 CegarLoopForPetriNet]: 145 programPoint places, -4 predicate places. [2024-11-07 19:25:47,053 INFO L471 AbstractCegarLoop]: Abstraction has has 141 places, 136 transitions, 292 flow [2024-11-07 19:25:47,053 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 62.0) internal successors, (186), 3 states have internal predecessors, (186), 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:25:47,053 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:47,053 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:47,053 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-11-07 19:25:47,053 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-11-07 19:25:47,054 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:47,054 INFO L85 PathProgramCache]: Analyzing trace with hash 799956, now seen corresponding path program 1 times [2024-11-07 19:25:47,054 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:47,054 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [318837936] [2024-11-07 19:25:47,054 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:47,058 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:47,072 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:47,155 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:25:47,155 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:47,155 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [318837936] [2024-11-07 19:25:47,156 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [318837936] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:47,156 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:47,156 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:47,157 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [194015000] [2024-11-07 19:25:47,157 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:47,157 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:47,157 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:47,158 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:47,158 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:47,169 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 64 out of 184 [2024-11-07 19:25:47,169 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 141 places, 136 transitions, 292 flow. Second operand has 3 states, 3 states have (on average 65.0) internal successors, (195), 3 states have internal predecessors, (195), 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:25:47,169 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:47,169 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 64 of 184 [2024-11-07 19:25:47,170 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:49,978 INFO L124 PetriNetUnfolderBase]: 22121/45112 cut-off events. [2024-11-07 19:25:49,978 INFO L125 PetriNetUnfolderBase]: For 178/178 co-relation queries the response was YES. [2024-11-07 19:25:50,053 INFO L83 FinitePrefix]: Finished finitePrefix Result has 79717 conditions, 45112 events. 22121/45112 cut-off events. For 178/178 co-relation queries the response was YES. Maximal size of possible extension queue 784. Compared 432040 event pairs, 21743 based on Foata normal form. 1/43317 useless extension candidates. Maximal degree in co-relation 76973. Up to 34125 conditions per place. [2024-11-07 19:25:50,170 INFO L140 encePairwiseOnDemand]: 180/184 looper letters, 91 selfloop transitions, 2 changer transitions 0/155 dead transitions. [2024-11-07 19:25:50,171 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 142 places, 155 transitions, 516 flow [2024-11-07 19:25:50,171 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:50,171 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:50,172 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 287 transitions. [2024-11-07 19:25:50,172 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.519927536231884 [2024-11-07 19:25:50,173 INFO L175 Difference]: Start difference. First operand has 141 places, 136 transitions, 292 flow. Second operand 3 states and 287 transitions. [2024-11-07 19:25:50,173 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 142 places, 155 transitions, 516 flow [2024-11-07 19:25:50,198 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 140 places, 155 transitions, 512 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-07 19:25:50,200 INFO L231 Difference]: Finished difference. Result has 141 places, 137 transitions, 302 flow [2024-11-07 19:25:50,200 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=184, PETRI_DIFFERENCE_MINUEND_FLOW=288, PETRI_DIFFERENCE_MINUEND_PLACES=138, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=136, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=134, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=302, PETRI_PLACES=141, PETRI_TRANSITIONS=137} [2024-11-07 19:25:50,201 INFO L277 CegarLoopForPetriNet]: 145 programPoint places, -4 predicate places. [2024-11-07 19:25:50,201 INFO L471 AbstractCegarLoop]: Abstraction has has 141 places, 137 transitions, 302 flow [2024-11-07 19:25:50,201 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 65.0) internal successors, (195), 3 states have internal predecessors, (195), 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:25:50,201 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:50,201 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-07 19:25:50,201 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-11-07 19:25:50,202 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-11-07 19:25:50,202 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:50,202 INFO L85 PathProgramCache]: Analyzing trace with hash 69585571, now seen corresponding path program 1 times [2024-11-07 19:25:50,202 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:50,202 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1912994201] [2024-11-07 19:25:50,202 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:50,202 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:50,213 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:50,311 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:25:50,312 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:50,312 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1912994201] [2024-11-07 19:25:50,312 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1912994201] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-07 19:25:50,312 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1360633940] [2024-11-07 19:25:50,313 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:50,313 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:25:50,313 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:25:50,318 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) [2024-11-07 19:25:50,319 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 [2024-11-07 19:25:50,381 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:50,382 INFO L255 TraceCheckSpWp]: Trace formula consists of 117 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-07 19:25:50,383 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-07 19:25:50,393 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 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 8 treesize of output 1 [2024-11-07 19:25:50,430 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:25:50,430 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-07 19:25:50,467 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 19:25:50,468 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1360633940] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-07 19:25:50,468 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-07 19:25:50,468 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-07 19:25:50,468 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [658527059] [2024-11-07 19:25:50,468 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-07 19:25:50,468 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-07 19:25:50,468 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:50,469 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-07 19:25:50,469 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-07 19:25:50,510 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 63 out of 184 [2024-11-07 19:25:50,510 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 141 places, 137 transitions, 302 flow. Second operand has 9 states, 9 states have (on average 65.33333333333333) internal successors, (588), 9 states have internal predecessors, (588), 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:25:50,511 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:50,511 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 63 of 184 [2024-11-07 19:25:50,511 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:50,904 INFO L124 PetriNetUnfolderBase]: 2193/4215 cut-off events. [2024-11-07 19:25:50,904 INFO L125 PetriNetUnfolderBase]: For 741/741 co-relation queries the response was YES. [2024-11-07 19:25:50,908 INFO L83 FinitePrefix]: Finished finitePrefix Result has 8202 conditions, 4215 events. 2193/4215 cut-off events. For 741/741 co-relation queries the response was YES. Maximal size of possible extension queue 100. Compared 28219 event pairs, 320 based on Foata normal form. 684/4710 useless extension candidates. Maximal degree in co-relation 7610. Up to 2808 conditions per place. [2024-11-07 19:25:50,915 INFO L140 encePairwiseOnDemand]: 180/184 looper letters, 93 selfloop transitions, 3 changer transitions 0/129 dead transitions. [2024-11-07 19:25:50,915 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 85 places, 129 transitions, 468 flow [2024-11-07 19:25:50,915 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-07 19:25:50,916 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-11-07 19:25:50,916 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 415 transitions. [2024-11-07 19:25:50,916 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.45108695652173914 [2024-11-07 19:25:50,917 INFO L175 Difference]: Start difference. First operand has 141 places, 137 transitions, 302 flow. Second operand 5 states and 415 transitions. [2024-11-07 19:25:50,917 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 85 places, 129 transitions, 468 flow [2024-11-07 19:25:50,918 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 84 places, 129 transitions, 466 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-07 19:25:50,919 INFO L231 Difference]: Finished difference. Result has 84 places, 74 transitions, 170 flow [2024-11-07 19:25:50,919 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=184, PETRI_DIFFERENCE_MINUEND_FLOW=164, PETRI_DIFFERENCE_MINUEND_PLACES=80, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=74, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=71, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=170, PETRI_PLACES=84, PETRI_TRANSITIONS=74} [2024-11-07 19:25:50,919 INFO L277 CegarLoopForPetriNet]: 145 programPoint places, -61 predicate places. [2024-11-07 19:25:50,920 INFO L471 AbstractCegarLoop]: Abstraction has has 84 places, 74 transitions, 170 flow [2024-11-07 19:25:50,920 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 65.33333333333333) internal successors, (588), 9 states have internal predecessors, (588), 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:25:50,920 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:50,920 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2024-11-07 19:25:50,934 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2024-11-07 19:25:51,124 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6,3 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:25:51,125 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-11-07 19:25:51,125 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:51,125 INFO L85 PathProgramCache]: Analyzing trace with hash -948414375, now seen corresponding path program 1 times [2024-11-07 19:25:51,125 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:51,125 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2079461196] [2024-11-07 19:25:51,125 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:51,125 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:51,143 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:51,147 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:25:51,153 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:51,157 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:25:51,157 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:25:51,157 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 10 remaining) [2024-11-07 19:25:51,157 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 10 remaining) [2024-11-07 19:25:51,157 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 10 remaining) [2024-11-07 19:25:51,157 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (6 of 10 remaining) [2024-11-07 19:25:51,157 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (5 of 10 remaining) [2024-11-07 19:25:51,157 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_LEAK (4 of 10 remaining) [2024-11-07 19:25:51,158 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 10 remaining) [2024-11-07 19:25:51,158 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 10 remaining) [2024-11-07 19:25:51,158 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (1 of 10 remaining) [2024-11-07 19:25:51,158 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 10 remaining) [2024-11-07 19:25:51,158 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2024-11-07 19:25:51,158 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-07 19:25:51,158 WARN L244 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:25:51,158 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-11-07 19:25:51,175 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2024-11-07 19:25:51,177 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 181 places, 231 transitions, 489 flow [2024-11-07 19:25:51,198 INFO L124 PetriNetUnfolderBase]: 116/534 cut-off events. [2024-11-07 19:25:51,198 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-11-07 19:25:51,201 INFO L83 FinitePrefix]: Finished finitePrefix Result has 559 conditions, 534 events. 116/534 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 31. Compared 3055 event pairs, 1 based on Foata normal form. 0/366 useless extension candidates. Maximal degree in co-relation 379. Up to 12 conditions per place. [2024-11-07 19:25:51,201 INFO L82 GeneralOperation]: Start removeDead. Operand has 181 places, 231 transitions, 489 flow [2024-11-07 19:25:51,205 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 181 places, 231 transitions, 489 flow [2024-11-07 19:25:51,207 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:25:51,207 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;@1de82ffd, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:25:51,207 INFO L334 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2024-11-07 19:25:51,208 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:25:51,209 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:25:51,209 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:25:51,209 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:51,209 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:51,209 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-11-07 19:25:51,209 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:51,209 INFO L85 PathProgramCache]: Analyzing trace with hash 1029338, now seen corresponding path program 1 times [2024-11-07 19:25:51,209 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:51,209 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1605416795] [2024-11-07 19:25:51,209 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:51,210 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:51,215 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:51,233 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:25:51,233 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:51,233 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1605416795] [2024-11-07 19:25:51,233 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1605416795] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:51,233 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:51,233 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:51,233 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [697301934] [2024-11-07 19:25:51,233 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:51,234 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:51,234 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:51,234 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:51,234 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:51,241 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 77 out of 231 [2024-11-07 19:25:51,242 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 181 places, 231 transitions, 489 flow. Second operand has 3 states, 3 states have (on average 78.0) internal successors, (234), 3 states have internal predecessors, (234), 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:25:51,242 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:51,242 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 77 of 231 [2024-11-07 19:25:51,242 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand