./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/goblint-regression/28-race_reach_41-trylock_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_41-trylock_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', 'af00d5f4cc6a18cb9fd8a5151467217fe3ddb5ee0fa30b2cfbd9dd374105ee15'] 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_41-trylock_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 af00d5f4cc6a18cb9fd8a5151467217fe3ddb5ee0fa30b2cfbd9dd374105ee15 --- Real Ultimate output --- This is Ultimate 0.3.0-?-4f9af40 [2024-11-07 19:25:34,184 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-07 19:25:34,289 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:34,295 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-07 19:25:34,296 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-07 19:25:34,322 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-07 19:25:34,325 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-07 19:25:34,325 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-07 19:25:34,326 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-07 19:25:34,326 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-07 19:25:34,327 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-07 19:25:34,327 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-07 19:25:34,327 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-07 19:25:34,328 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-07 19:25:34,328 INFO L153 SettingsManager]: * Use SBE=true [2024-11-07 19:25:34,328 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-07 19:25:34,328 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-07 19:25:34,328 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-07 19:25:34,329 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-07 19:25:34,329 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-07 19:25:34,329 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-07 19:25:34,329 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-07 19:25:34,330 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:25:34,330 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-07 19:25:34,330 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-07 19:25:34,331 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-07 19:25:34,331 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-07 19:25:34,331 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-07 19:25:34,331 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-07 19:25:34,331 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-07 19:25:34,331 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 -> af00d5f4cc6a18cb9fd8a5151467217fe3ddb5ee0fa30b2cfbd9dd374105ee15 [2024-11-07 19:25:34,640 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-07 19:25:34,647 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-07 19:25:34,649 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-07 19:25:34,651 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-07 19:25:34,651 INFO L274 PluginConnector]: CDTParser initialized [2024-11-07 19:25:34,653 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_41-trylock_racefree.i [2024-11-07 19:25:35,924 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-07 19:25:36,161 INFO L384 CDTParser]: Found 1 translation units. [2024-11-07 19:25:36,162 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_41-trylock_racefree.i [2024-11-07 19:25:36,175 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/e643a44fa/9f3ab999647244cabaad2238e0c891ff/FLAG79d59c9a7 [2024-11-07 19:25:36,194 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/e643a44fa/9f3ab999647244cabaad2238e0c891ff [2024-11-07 19:25:36,196 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-07 19:25:36,198 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-07 19:25:36,200 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-07 19:25:36,201 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-07 19:25:36,205 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-07 19:25:36,206 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:25:36" (1/1) ... [2024-11-07 19:25:36,208 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3a0b22cd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:36, skipping insertion in model container [2024-11-07 19:25:36,208 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:25:36" (1/1) ... [2024-11-07 19:25:36,249 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-07 19:25:36,506 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:25:36,521 INFO L200 MainTranslator]: Completed pre-run [2024-11-07 19:25:36,565 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:25:36,600 INFO L204 MainTranslator]: Completed translation [2024-11-07 19:25:36,601 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:36 WrapperNode [2024-11-07 19:25:36,601 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-07 19:25:36,602 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-07 19:25:36,602 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-07 19:25:36,602 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-07 19:25:36,607 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:36" (1/1) ... [2024-11-07 19:25:36,621 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:36" (1/1) ... [2024-11-07 19:25:36,643 INFO L138 Inliner]: procedures = 172, calls = 36, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 83 [2024-11-07 19:25:36,646 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-07 19:25:36,646 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-07 19:25:36,646 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-07 19:25:36,647 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-07 19:25:36,654 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:36" (1/1) ... [2024-11-07 19:25:36,655 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:36" (1/1) ... [2024-11-07 19:25:36,662 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:36" (1/1) ... [2024-11-07 19:25:36,677 INFO L175 MemorySlicer]: Split 14 memory accesses to 4 slices as follows [2, 5, 5, 2]. 36 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 5, 5, 0]. The 1 writes are split as follows [0, 0, 0, 1]. [2024-11-07 19:25:36,677 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:36" (1/1) ... [2024-11-07 19:25:36,678 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:36" (1/1) ... [2024-11-07 19:25:36,690 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:36" (1/1) ... [2024-11-07 19:25:36,697 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:36" (1/1) ... [2024-11-07 19:25:36,701 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:36" (1/1) ... [2024-11-07 19:25:36,702 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:36" (1/1) ... [2024-11-07 19:25:36,708 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-07 19:25:36,709 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-07 19:25:36,713 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-07 19:25:36,713 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-07 19:25:36,718 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:36" (1/1) ... [2024-11-07 19:25:36,728 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:25:36,742 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:25:36,758 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:36,761 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:36,788 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-07 19:25:36,788 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-07 19:25:36,788 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-07 19:25:36,788 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-11-07 19:25:36,788 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-07 19:25:36,788 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-07 19:25:36,788 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-07 19:25:36,788 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-11-07 19:25:36,789 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-07 19:25:36,789 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-07 19:25:36,789 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-07 19:25:36,789 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2024-11-07 19:25:36,789 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2024-11-07 19:25:36,789 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-07 19:25:36,789 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexTryLock [2024-11-07 19:25:36,790 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-07 19:25:36,790 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-07 19:25:36,790 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-07 19:25:36,790 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-11-07 19:25:36,790 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-07 19:25:36,790 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-07 19:25:36,790 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-07 19:25:36,791 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:36,929 INFO L238 CfgBuilder]: Building ICFG [2024-11-07 19:25:36,930 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-07 19:25:37,142 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-07 19:25:37,142 INFO L287 CfgBuilder]: Performing block encoding [2024-11-07 19:25:37,304 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-07 19:25:37,306 INFO L316 CfgBuilder]: Removed 11 assume(true) statements. [2024-11-07 19:25:37,306 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:25:37 BoogieIcfgContainer [2024-11-07 19:25:37,306 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-07 19:25:37,309 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-07 19:25:37,310 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-07 19:25:37,314 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-07 19:25:37,314 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 07.11 07:25:36" (1/3) ... [2024-11-07 19:25:37,315 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2d1d9150 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:25:37, skipping insertion in model container [2024-11-07 19:25:37,315 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:25:36" (2/3) ... [2024-11-07 19:25:37,315 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2d1d9150 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:25:37, skipping insertion in model container [2024-11-07 19:25:37,315 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:25:37" (3/3) ... [2024-11-07 19:25:37,317 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_41-trylock_racefree.i [2024-11-07 19:25:37,331 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-07 19:25:37,332 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2024-11-07 19:25:37,332 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-07 19:25:37,388 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2024-11-07 19:25:37,428 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 52 places, 62 transitions, 131 flow [2024-11-07 19:25:37,481 INFO L124 PetriNetUnfolderBase]: 19/95 cut-off events. [2024-11-07 19:25:37,482 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-07 19:25:37,487 INFO L83 FinitePrefix]: Finished finitePrefix Result has 100 conditions, 95 events. 19/95 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 358 event pairs, 0 based on Foata normal form. 0/61 useless extension candidates. Maximal degree in co-relation 57. Up to 6 conditions per place. [2024-11-07 19:25:37,488 INFO L82 GeneralOperation]: Start removeDead. Operand has 52 places, 62 transitions, 131 flow [2024-11-07 19:25:37,492 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 52 places, 62 transitions, 131 flow [2024-11-07 19:25:37,503 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:25:37,517 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;@274c2135, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:25:37,518 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-07 19:25:37,523 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:25:37,523 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:25:37,524 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:25:37,524 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:37,525 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:37,525 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:37,529 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:37,531 INFO L85 PathProgramCache]: Analyzing trace with hash 342964, now seen corresponding path program 1 times [2024-11-07 19:25:37,538 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:37,539 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1878149635] [2024-11-07 19:25:37,539 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:37,540 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:37,623 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:37,782 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:37,783 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:37,783 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1878149635] [2024-11-07 19:25:37,784 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1878149635] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:37,784 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:37,784 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:37,785 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1318845249] [2024-11-07 19:25:37,786 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:37,791 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:37,794 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:37,810 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:37,811 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:37,827 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 62 [2024-11-07 19:25:37,829 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 52 places, 62 transitions, 131 flow. Second operand has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 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:37,830 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:37,830 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 62 [2024-11-07 19:25:37,832 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:38,076 INFO L124 PetriNetUnfolderBase]: 156/469 cut-off events. [2024-11-07 19:25:38,077 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-07 19:25:38,078 INFO L83 FinitePrefix]: Finished finitePrefix Result has 818 conditions, 469 events. 156/469 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 22. Compared 2311 event pairs, 126 based on Foata normal form. 98/537 useless extension candidates. Maximal degree in co-relation 760. Up to 303 conditions per place. [2024-11-07 19:25:38,084 INFO L140 encePairwiseOnDemand]: 47/62 looper letters, 36 selfloop transitions, 2 changer transitions 1/57 dead transitions. [2024-11-07 19:25:38,085 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 51 places, 57 transitions, 199 flow [2024-11-07 19:25:38,087 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:38,089 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:38,095 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 112 transitions. [2024-11-07 19:25:38,098 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6021505376344086 [2024-11-07 19:25:38,100 INFO L175 Difference]: Start difference. First operand has 52 places, 62 transitions, 131 flow. Second operand 3 states and 112 transitions. [2024-11-07 19:25:38,100 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 51 places, 57 transitions, 199 flow [2024-11-07 19:25:38,104 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 51 places, 57 transitions, 199 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:25:38,108 INFO L231 Difference]: Finished difference. Result has 51 places, 47 transitions, 105 flow [2024-11-07 19:25:38,111 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=103, PETRI_DIFFERENCE_MINUEND_PLACES=49, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=48, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=46, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=105, PETRI_PLACES=51, PETRI_TRANSITIONS=47} [2024-11-07 19:25:38,114 INFO L277 CegarLoopForPetriNet]: 52 programPoint places, -1 predicate places. [2024-11-07 19:25:38,115 INFO L471 AbstractCegarLoop]: Abstraction has has 51 places, 47 transitions, 105 flow [2024-11-07 19:25:38,116 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 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:38,116 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:38,116 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:38,116 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-07 19:25:38,116 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:38,117 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:38,117 INFO L85 PathProgramCache]: Analyzing trace with hash 342965, now seen corresponding path program 1 times [2024-11-07 19:25:38,118 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:38,118 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2064930440] [2024-11-07 19:25:38,118 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:38,118 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:38,145 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:38,288 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:38,289 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:38,289 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2064930440] [2024-11-07 19:25:38,289 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2064930440] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:38,289 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:38,289 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:38,290 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [19250931] [2024-11-07 19:25:38,290 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:38,291 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:38,291 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:38,291 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:38,291 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:38,307 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 62 [2024-11-07 19:25:38,308 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 51 places, 47 transitions, 105 flow. Second operand has 3 states, 3 states have (on average 22.0) internal successors, (66), 3 states have internal predecessors, (66), 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:38,308 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:38,308 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 62 [2024-11-07 19:25:38,309 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:38,447 INFO L124 PetriNetUnfolderBase]: 136/414 cut-off events. [2024-11-07 19:25:38,447 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2024-11-07 19:25:38,449 INFO L83 FinitePrefix]: Finished finitePrefix Result has 724 conditions, 414 events. 136/414 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 22. Compared 2181 event pairs, 0 based on Foata normal form. 1/376 useless extension candidates. Maximal degree in co-relation 688. Up to 280 conditions per place. [2024-11-07 19:25:38,452 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 36 selfloop transitions, 2 changer transitions 0/57 dead transitions. [2024-11-07 19:25:38,453 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 52 places, 57 transitions, 201 flow [2024-11-07 19:25:38,453 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:38,454 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:38,454 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 103 transitions. [2024-11-07 19:25:38,455 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.553763440860215 [2024-11-07 19:25:38,456 INFO L175 Difference]: Start difference. First operand has 51 places, 47 transitions, 105 flow. Second operand 3 states and 103 transitions. [2024-11-07 19:25:38,456 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 52 places, 57 transitions, 201 flow [2024-11-07 19:25:38,457 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 50 places, 57 transitions, 197 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-07 19:25:38,460 INFO L231 Difference]: Finished difference. Result has 51 places, 47 transitions, 111 flow [2024-11-07 19:25:38,461 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=101, PETRI_DIFFERENCE_MINUEND_PLACES=48, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=47, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=45, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=111, PETRI_PLACES=51, PETRI_TRANSITIONS=47} [2024-11-07 19:25:38,462 INFO L277 CegarLoopForPetriNet]: 52 programPoint places, -1 predicate places. [2024-11-07 19:25:38,462 INFO L471 AbstractCegarLoop]: Abstraction has has 51 places, 47 transitions, 111 flow [2024-11-07 19:25:38,463 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 22.0) internal successors, (66), 3 states have internal predecessors, (66), 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:38,463 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:38,463 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-07 19:25:38,463 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-07 19:25:38,463 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:38,464 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:38,465 INFO L85 PathProgramCache]: Analyzing trace with hash -1082694039, now seen corresponding path program 1 times [2024-11-07 19:25:38,465 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:38,465 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1835111785] [2024-11-07 19:25:38,465 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:38,465 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:38,485 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:38,670 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:38,671 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:38,671 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1835111785] [2024-11-07 19:25:38,671 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1835111785] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-07 19:25:38,671 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [426025826] [2024-11-07 19:25:38,671 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:38,671 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:25:38,671 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:25:38,675 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:38,684 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:38,773 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:38,775 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-07 19:25:38,779 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-07 19:25:38,831 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:38,921 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:38,922 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-07 19:25:39,009 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:39,010 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [426025826] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-07 19:25:39,010 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-07 19:25:39,010 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-07 19:25:39,010 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1926680983] [2024-11-07 19:25:39,011 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-07 19:25:39,011 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-07 19:25:39,011 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:39,011 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-07 19:25:39,012 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-07 19:25:39,077 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 62 [2024-11-07 19:25:39,078 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 51 places, 47 transitions, 111 flow. Second operand has 9 states, 9 states have (on average 22.333333333333332) internal successors, (201), 9 states have internal predecessors, (201), 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:39,078 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:39,079 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 62 [2024-11-07 19:25:39,079 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:39,165 INFO L124 PetriNetUnfolderBase]: 27/88 cut-off events. [2024-11-07 19:25:39,165 INFO L125 PetriNetUnfolderBase]: For 9/9 co-relation queries the response was YES. [2024-11-07 19:25:39,165 INFO L83 FinitePrefix]: Finished finitePrefix Result has 186 conditions, 88 events. 27/88 cut-off events. For 9/9 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 231 event pairs, 0 based on Foata normal form. 20/104 useless extension candidates. Maximal degree in co-relation 160. Up to 57 conditions per place. [2024-11-07 19:25:39,166 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 23 selfloop transitions, 2 changer transitions 0/34 dead transitions. [2024-11-07 19:25:39,166 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 32 places, 34 transitions, 128 flow [2024-11-07 19:25:39,167 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-07 19:25:39,167 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-11-07 19:25:39,167 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 107 transitions. [2024-11-07 19:25:39,168 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4314516129032258 [2024-11-07 19:25:39,168 INFO L175 Difference]: Start difference. First operand has 51 places, 47 transitions, 111 flow. Second operand 4 states and 107 transitions. [2024-11-07 19:25:39,168 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 32 places, 34 transitions, 128 flow [2024-11-07 19:25:39,169 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 29 places, 34 transitions, 122 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-11-07 19:25:39,169 INFO L231 Difference]: Finished difference. Result has 29 places, 23 transitions, 54 flow [2024-11-07 19:25:39,169 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=50, PETRI_DIFFERENCE_MINUEND_PLACES=26, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=23, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=21, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=54, PETRI_PLACES=29, PETRI_TRANSITIONS=23} [2024-11-07 19:25:39,172 INFO L277 CegarLoopForPetriNet]: 52 programPoint places, -23 predicate places. [2024-11-07 19:25:39,172 INFO L471 AbstractCegarLoop]: Abstraction has has 29 places, 23 transitions, 54 flow [2024-11-07 19:25:39,173 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 22.333333333333332) internal successors, (201), 9 states have internal predecessors, (201), 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:39,173 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:39,173 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-11-07 19:25:39,193 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2024-11-07 19:25:39,377 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:39,378 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:39,378 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:39,378 INFO L85 PathProgramCache]: Analyzing trace with hash 796223466, now seen corresponding path program 1 times [2024-11-07 19:25:39,378 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:39,379 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2043231462] [2024-11-07 19:25:39,379 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:39,379 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:39,404 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:39,407 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:25:39,422 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:39,442 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:25:39,443 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:25:39,445 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-07 19:25:39,446 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-07 19:25:39,446 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-07 19:25:39,446 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 7 remaining) [2024-11-07 19:25:39,446 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-07 19:25:39,447 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2024-11-07 19:25:39,447 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-07 19:25:39,447 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-07 19:25:39,447 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-07 19:25:39,450 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:25:39,450 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-07 19:25:39,468 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-07 19:25:39,470 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 72 places, 87 transitions, 190 flow [2024-11-07 19:25:39,490 INFO L124 PetriNetUnfolderBase]: 33/165 cut-off events. [2024-11-07 19:25:39,490 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2024-11-07 19:25:39,494 INFO L83 FinitePrefix]: Finished finitePrefix Result has 177 conditions, 165 events. 33/165 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 14. Compared 698 event pairs, 0 based on Foata normal form. 0/107 useless extension candidates. Maximal degree in co-relation 99. Up to 9 conditions per place. [2024-11-07 19:25:39,495 INFO L82 GeneralOperation]: Start removeDead. Operand has 72 places, 87 transitions, 190 flow [2024-11-07 19:25:39,498 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 72 places, 87 transitions, 190 flow [2024-11-07 19:25:39,503 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:25:39,503 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;@274c2135, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:25:39,503 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-07 19:25:39,505 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:25:39,505 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:25:39,506 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:25:39,507 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:39,507 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:39,507 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:39,507 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:39,507 INFO L85 PathProgramCache]: Analyzing trace with hash 429355, now seen corresponding path program 1 times [2024-11-07 19:25:39,507 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:39,508 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [56401605] [2024-11-07 19:25:39,508 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:39,508 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:39,519 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:39,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:25:39,557 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:39,557 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [56401605] [2024-11-07 19:25:39,557 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [56401605] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:39,558 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:39,558 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:39,559 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [952339333] [2024-11-07 19:25:39,559 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:39,559 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:39,559 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:39,560 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:39,560 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:39,573 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 26 out of 87 [2024-11-07 19:25:39,574 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 72 places, 87 transitions, 190 flow. Second operand has 3 states, 3 states have (on average 27.0) internal successors, (81), 3 states have internal predecessors, (81), 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:39,574 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:39,574 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 26 of 87 [2024-11-07 19:25:39,574 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:40,314 INFO L124 PetriNetUnfolderBase]: 3291/6532 cut-off events. [2024-11-07 19:25:40,315 INFO L125 PetriNetUnfolderBase]: For 57/57 co-relation queries the response was YES. [2024-11-07 19:25:40,328 INFO L83 FinitePrefix]: Finished finitePrefix Result has 11828 conditions, 6532 events. 3291/6532 cut-off events. For 57/57 co-relation queries the response was YES. Maximal size of possible extension queue 216. Compared 48954 event pairs, 2772 based on Foata normal form. 1717/7881 useless extension candidates. Maximal degree in co-relation 8686. Up to 4600 conditions per place. [2024-11-07 19:25:40,397 INFO L140 encePairwiseOnDemand]: 66/87 looper letters, 56 selfloop transitions, 2 changer transitions 1/85 dead transitions. [2024-11-07 19:25:40,397 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 71 places, 85 transitions, 304 flow [2024-11-07 19:25:40,397 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:40,397 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:40,399 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 168 transitions. [2024-11-07 19:25:40,399 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6436781609195402 [2024-11-07 19:25:40,399 INFO L175 Difference]: Start difference. First operand has 72 places, 87 transitions, 190 flow. Second operand 3 states and 168 transitions. [2024-11-07 19:25:40,399 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 71 places, 85 transitions, 304 flow [2024-11-07 19:25:40,405 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 71 places, 85 transitions, 304 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:25:40,406 INFO L231 Difference]: Finished difference. Result has 71 places, 66 transitions, 152 flow [2024-11-07 19:25:40,406 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=87, PETRI_DIFFERENCE_MINUEND_FLOW=150, PETRI_DIFFERENCE_MINUEND_PLACES=69, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=67, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=65, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=152, PETRI_PLACES=71, PETRI_TRANSITIONS=66} [2024-11-07 19:25:40,407 INFO L277 CegarLoopForPetriNet]: 72 programPoint places, -1 predicate places. [2024-11-07 19:25:40,407 INFO L471 AbstractCegarLoop]: Abstraction has has 71 places, 66 transitions, 152 flow [2024-11-07 19:25:40,407 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 27.0) internal successors, (81), 3 states have internal predecessors, (81), 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:40,407 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:40,407 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:40,407 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-11-07 19:25:40,407 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:40,408 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:40,408 INFO L85 PathProgramCache]: Analyzing trace with hash 429356, now seen corresponding path program 1 times [2024-11-07 19:25:40,408 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:40,408 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1515399914] [2024-11-07 19:25:40,408 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:40,408 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:40,420 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:40,472 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:40,472 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:40,472 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1515399914] [2024-11-07 19:25:40,472 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1515399914] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:40,472 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:40,475 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:40,475 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [622920036] [2024-11-07 19:25:40,475 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:40,476 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:40,476 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:40,476 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:40,476 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:40,491 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 29 out of 87 [2024-11-07 19:25:40,491 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 71 places, 66 transitions, 152 flow. Second operand has 3 states, 3 states have (on average 30.0) internal successors, (90), 3 states have internal predecessors, (90), 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:40,491 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:40,491 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 29 of 87 [2024-11-07 19:25:40,491 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:41,054 INFO L124 PetriNetUnfolderBase]: 2893/5932 cut-off events. [2024-11-07 19:25:41,054 INFO L125 PetriNetUnfolderBase]: For 135/143 co-relation queries the response was YES. [2024-11-07 19:25:41,067 INFO L83 FinitePrefix]: Finished finitePrefix Result has 10701 conditions, 5932 events. 2893/5932 cut-off events. For 135/143 co-relation queries the response was YES. Maximal size of possible extension queue 207. Compared 44729 event pairs, 2599 based on Foata normal form. 1/5515 useless extension candidates. Maximal degree in co-relation 9833. Up to 4577 conditions per place. [2024-11-07 19:25:41,094 INFO L140 encePairwiseOnDemand]: 83/87 looper letters, 48 selfloop transitions, 2 changer transitions 0/77 dead transitions. [2024-11-07 19:25:41,095 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 72 places, 77 transitions, 274 flow [2024-11-07 19:25:41,095 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:41,095 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:41,098 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 139 transitions. [2024-11-07 19:25:41,098 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5325670498084292 [2024-11-07 19:25:41,098 INFO L175 Difference]: Start difference. First operand has 71 places, 66 transitions, 152 flow. Second operand 3 states and 139 transitions. [2024-11-07 19:25:41,098 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 72 places, 77 transitions, 274 flow [2024-11-07 19:25:41,105 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 70 places, 77 transitions, 270 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-07 19:25:41,107 INFO L231 Difference]: Finished difference. Result has 71 places, 67 transitions, 162 flow [2024-11-07 19:25:41,107 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=87, PETRI_DIFFERENCE_MINUEND_FLOW=148, PETRI_DIFFERENCE_MINUEND_PLACES=68, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=66, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=64, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=162, PETRI_PLACES=71, PETRI_TRANSITIONS=67} [2024-11-07 19:25:41,110 INFO L277 CegarLoopForPetriNet]: 72 programPoint places, -1 predicate places. [2024-11-07 19:25:41,110 INFO L471 AbstractCegarLoop]: Abstraction has has 71 places, 67 transitions, 162 flow [2024-11-07 19:25:41,111 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 30.0) internal successors, (90), 3 states have internal predecessors, (90), 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,111 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:41,111 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-07 19:25:41,111 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-11-07 19:25:41,111 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:41,111 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:41,112 INFO L85 PathProgramCache]: Analyzing trace with hash 1395160745, now seen corresponding path program 1 times [2024-11-07 19:25:41,112 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:41,112 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [945006136] [2024-11-07 19:25:41,112 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:41,112 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:41,126 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:41,230 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:41,231 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:41,231 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [945006136] [2024-11-07 19:25:41,231 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [945006136] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-07 19:25:41,231 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1566385619] [2024-11-07 19:25:41,231 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:41,232 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:25:41,232 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:25:41,234 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:41,236 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:41,309 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:41,310 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-07 19:25:41,311 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-07 19:25:41,323 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:41,375 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:41,376 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-07 19:25:41,434 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:41,434 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1566385619] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-07 19:25:41,434 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-07 19:25:41,434 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2024-11-07 19:25:41,435 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1175164540] [2024-11-07 19:25:41,435 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-07 19:25:41,435 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-11-07 19:25:41,435 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:41,436 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-11-07 19:25:41,436 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2024-11-07 19:25:41,475 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 28 out of 87 [2024-11-07 19:25:41,475 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 71 places, 67 transitions, 162 flow. Second operand has 7 states, 7 states have (on average 30.428571428571427) internal successors, (213), 7 states have internal predecessors, (213), 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,475 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:41,475 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 28 of 87 [2024-11-07 19:25:41,475 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:42,116 INFO L124 PetriNetUnfolderBase]: 2792/5577 cut-off events. [2024-11-07 19:25:42,116 INFO L125 PetriNetUnfolderBase]: For 311/311 co-relation queries the response was YES. [2024-11-07 19:25:42,129 INFO L83 FinitePrefix]: Finished finitePrefix Result has 10256 conditions, 5577 events. 2792/5577 cut-off events. For 311/311 co-relation queries the response was YES. Maximal size of possible extension queue 201. Compared 42851 event pairs, 97 based on Foata normal form. 120/5400 useless extension candidates. Maximal degree in co-relation 9145. Up to 3299 conditions per place. [2024-11-07 19:25:42,158 INFO L140 encePairwiseOnDemand]: 83/87 looper letters, 85 selfloop transitions, 4 changer transitions 0/115 dead transitions. [2024-11-07 19:25:42,158 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 115 transitions, 434 flow [2024-11-07 19:25:42,159 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-07 19:25:42,159 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-11-07 19:25:42,160 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 232 transitions. [2024-11-07 19:25:42,160 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5333333333333333 [2024-11-07 19:25:42,160 INFO L175 Difference]: Start difference. First operand has 71 places, 67 transitions, 162 flow. Second operand 5 states and 232 transitions. [2024-11-07 19:25:42,160 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 115 transitions, 434 flow [2024-11-07 19:25:42,162 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 115 transitions, 432 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-07 19:25:42,166 INFO L231 Difference]: Finished difference. Result has 73 places, 66 transitions, 164 flow [2024-11-07 19:25:42,167 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=87, PETRI_DIFFERENCE_MINUEND_FLOW=156, PETRI_DIFFERENCE_MINUEND_PLACES=69, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=66, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=62, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=164, PETRI_PLACES=73, PETRI_TRANSITIONS=66} [2024-11-07 19:25:42,167 INFO L277 CegarLoopForPetriNet]: 72 programPoint places, 1 predicate places. [2024-11-07 19:25:42,169 INFO L471 AbstractCegarLoop]: Abstraction has has 73 places, 66 transitions, 164 flow [2024-11-07 19:25:42,169 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 30.428571428571427) internal successors, (213), 7 states have internal predecessors, (213), 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,169 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:42,169 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2024-11-07 19:25:42,186 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2024-11-07 19:25:42,373 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:42,374 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:42,374 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:42,374 INFO L85 PathProgramCache]: Analyzing trace with hash -102108100, now seen corresponding path program 1 times [2024-11-07 19:25:42,374 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:42,374 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [838112010] [2024-11-07 19:25:42,374 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:42,374 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:42,389 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:42,389 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:25:42,398 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:42,403 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:25:42,403 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:25:42,403 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-07 19:25:42,403 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-07 19:25:42,403 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-07 19:25:42,403 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 7 remaining) [2024-11-07 19:25:42,404 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-07 19:25:42,404 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2024-11-07 19:25:42,404 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-07 19:25:42,404 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2024-11-07 19:25:42,404 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-07 19:25:42,405 WARN L244 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:25:42,405 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-11-07 19:25:42,426 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2024-11-07 19:25:42,428 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 92 places, 112 transitions, 251 flow [2024-11-07 19:25:42,446 INFO L124 PetriNetUnfolderBase]: 50/256 cut-off events. [2024-11-07 19:25:42,446 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-11-07 19:25:42,448 INFO L83 FinitePrefix]: Finished finitePrefix Result has 281 conditions, 256 events. 50/256 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 1148 event pairs, 1 based on Foata normal form. 0/166 useless extension candidates. Maximal degree in co-relation 176. Up to 12 conditions per place. [2024-11-07 19:25:42,448 INFO L82 GeneralOperation]: Start removeDead. Operand has 92 places, 112 transitions, 251 flow [2024-11-07 19:25:42,451 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 92 places, 112 transitions, 251 flow [2024-11-07 19:25:42,453 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:25:42,454 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;@274c2135, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:25:42,454 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-07 19:25:42,455 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:25:42,456 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:25:42,456 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:25:42,456 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:42,456 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:42,456 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:42,456 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:42,456 INFO L85 PathProgramCache]: Analyzing trace with hash 540571, now seen corresponding path program 1 times [2024-11-07 19:25:42,457 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:42,457 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1002351869] [2024-11-07 19:25:42,457 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:42,457 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:42,464 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:42,485 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,485 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:42,486 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1002351869] [2024-11-07 19:25:42,486 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1002351869] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:42,486 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:42,486 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:42,486 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1560343340] [2024-11-07 19:25:42,486 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:42,486 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:42,487 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:42,487 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:42,487 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:42,497 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 34 out of 112 [2024-11-07 19:25:42,497 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 92 places, 112 transitions, 251 flow. Second operand has 3 states, 3 states have (on average 35.0) internal successors, (105), 3 states have internal predecessors, (105), 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,498 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:42,498 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 34 of 112 [2024-11-07 19:25:42,498 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:47,710 INFO L124 PetriNetUnfolderBase]: 51447/84449 cut-off events. [2024-11-07 19:25:47,711 INFO L125 PetriNetUnfolderBase]: For 1236/1236 co-relation queries the response was YES. [2024-11-07 19:25:47,891 INFO L83 FinitePrefix]: Finished finitePrefix Result has 156793 conditions, 84449 events. 51447/84449 cut-off events. For 1236/1236 co-relation queries the response was YES. Maximal size of possible extension queue 2093. Compared 749987 event pairs, 43669 based on Foata normal form. 25091/105232 useless extension candidates. Maximal degree in co-relation 57162. Up to 62348 conditions per place. [2024-11-07 19:25:48,224 INFO L140 encePairwiseOnDemand]: 85/112 looper letters, 76 selfloop transitions, 2 changer transitions 1/113 dead transitions. [2024-11-07 19:25:48,225 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 91 places, 113 transitions, 411 flow [2024-11-07 19:25:48,225 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:48,225 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:48,226 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 224 transitions. [2024-11-07 19:25:48,226 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6666666666666666 [2024-11-07 19:25:48,226 INFO L175 Difference]: Start difference. First operand has 92 places, 112 transitions, 251 flow. Second operand 3 states and 224 transitions. [2024-11-07 19:25:48,226 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 91 places, 113 transitions, 411 flow [2024-11-07 19:25:48,232 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 91 places, 113 transitions, 411 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:25:48,235 INFO L231 Difference]: Finished difference. Result has 91 places, 85 transitions, 201 flow [2024-11-07 19:25:48,236 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=112, PETRI_DIFFERENCE_MINUEND_FLOW=199, PETRI_DIFFERENCE_MINUEND_PLACES=89, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=86, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=84, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=201, PETRI_PLACES=91, PETRI_TRANSITIONS=85} [2024-11-07 19:25:48,236 INFO L277 CegarLoopForPetriNet]: 92 programPoint places, -1 predicate places. [2024-11-07 19:25:48,237 INFO L471 AbstractCegarLoop]: Abstraction has has 91 places, 85 transitions, 201 flow [2024-11-07 19:25:48,239 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 35.0) internal successors, (105), 3 states have internal predecessors, (105), 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:48,239 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:48,239 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:48,239 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2024-11-07 19:25:48,240 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:48,240 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:48,240 INFO L85 PathProgramCache]: Analyzing trace with hash 540572, now seen corresponding path program 1 times [2024-11-07 19:25:48,240 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:48,240 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1981843045] [2024-11-07 19:25:48,240 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:48,240 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:48,248 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:48,481 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:48,481 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:48,481 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1981843045] [2024-11-07 19:25:48,482 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1981843045] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:48,482 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:48,482 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:48,482 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2103939378] [2024-11-07 19:25:48,482 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:48,482 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:48,482 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:48,483 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:48,483 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:48,495 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 37 out of 112 [2024-11-07 19:25:48,496 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 91 places, 85 transitions, 201 flow. Second operand has 3 states, 3 states have (on average 38.0) internal successors, (114), 3 states have internal predecessors, (114), 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:48,496 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:48,496 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 37 of 112 [2024-11-07 19:25:48,496 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:52,711 INFO L124 PetriNetUnfolderBase]: 44911/74973 cut-off events. [2024-11-07 19:25:52,711 INFO L125 PetriNetUnfolderBase]: For 2262/2336 co-relation queries the response was YES. [2024-11-07 19:25:52,864 INFO L83 FinitePrefix]: Finished finitePrefix Result has 139442 conditions, 74973 events. 44911/74973 cut-off events. For 2262/2336 co-relation queries the response was YES. Maximal size of possible extension queue 1919. Compared 665249 event pairs, 43660 based on Foata normal form. 1/70602 useless extension candidates. Maximal degree in co-relation 127839. Up to 62325 conditions per place. [2024-11-07 19:25:53,148 INFO L140 encePairwiseOnDemand]: 108/112 looper letters, 59 selfloop transitions, 2 changer transitions 0/96 dead transitions. [2024-11-07 19:25:53,149 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 92 places, 96 transitions, 345 flow [2024-11-07 19:25:53,149 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:53,149 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:53,150 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 174 transitions. [2024-11-07 19:25:53,150 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5178571428571429 [2024-11-07 19:25:53,150 INFO L175 Difference]: Start difference. First operand has 91 places, 85 transitions, 201 flow. Second operand 3 states and 174 transitions. [2024-11-07 19:25:53,150 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 92 places, 96 transitions, 345 flow [2024-11-07 19:25:53,239 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 90 places, 96 transitions, 341 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-07 19:25:53,240 INFO L231 Difference]: Finished difference. Result has 91 places, 86 transitions, 211 flow [2024-11-07 19:25:53,240 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=112, PETRI_DIFFERENCE_MINUEND_FLOW=197, PETRI_DIFFERENCE_MINUEND_PLACES=88, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=85, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=83, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=211, PETRI_PLACES=91, PETRI_TRANSITIONS=86} [2024-11-07 19:25:53,241 INFO L277 CegarLoopForPetriNet]: 92 programPoint places, -1 predicate places. [2024-11-07 19:25:53,241 INFO L471 AbstractCegarLoop]: Abstraction has has 91 places, 86 transitions, 211 flow [2024-11-07 19:25:53,241 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 38.0) internal successors, (114), 3 states have internal predecessors, (114), 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:53,241 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:53,241 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-07 19:25:53,241 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2024-11-07 19:25:53,242 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:53,242 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:53,242 INFO L85 PathProgramCache]: Analyzing trace with hash 1030390178, now seen corresponding path program 1 times [2024-11-07 19:25:53,242 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:53,242 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [170494266] [2024-11-07 19:25:53,242 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:53,242 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:53,251 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:53,363 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:53,363 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:53,363 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [170494266] [2024-11-07 19:25:53,364 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [170494266] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-07 19:25:53,364 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1494748151] [2024-11-07 19:25:53,364 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:53,364 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:25:53,364 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:25:53,367 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-07 19:25:53,369 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2024-11-07 19:25:53,443 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:53,444 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-07 19:25:53,449 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-07 19:25:53,462 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:53,522 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:53,523 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-07 19:25:53,585 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:53,585 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1494748151] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-07 19:25:53,586 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-07 19:25:53,586 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-07 19:25:53,586 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [49886554] [2024-11-07 19:25:53,586 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-07 19:25:53,586 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-07 19:25:53,587 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:53,587 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-07 19:25:53,587 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-07 19:25:53,643 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 36 out of 112 [2024-11-07 19:25:53,644 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 91 places, 86 transitions, 211 flow. Second operand has 9 states, 9 states have (on average 38.333333333333336) internal successors, (345), 9 states have internal predecessors, (345), 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:53,645 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:53,645 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 36 of 112 [2024-11-07 19:25:53,645 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:54,684 INFO L124 PetriNetUnfolderBase]: 10557/18088 cut-off events. [2024-11-07 19:25:54,684 INFO L125 PetriNetUnfolderBase]: For 4009/4009 co-relation queries the response was YES. [2024-11-07 19:25:54,713 INFO L83 FinitePrefix]: Finished finitePrefix Result has 34648 conditions, 18088 events. 10557/18088 cut-off events. For 4009/4009 co-relation queries the response was YES. Maximal size of possible extension queue 572. Compared 140241 event pairs, 1800 based on Foata normal form. 2220/20164 useless extension candidates. Maximal degree in co-relation 3548. Up to 11100 conditions per place. [2024-11-07 19:25:54,759 INFO L140 encePairwiseOnDemand]: 108/112 looper letters, 92 selfloop transitions, 4 changer transitions 0/121 dead transitions. [2024-11-07 19:25:54,759 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 121 transitions, 462 flow [2024-11-07 19:25:54,759 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-11-07 19:25:54,759 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2024-11-07 19:25:54,760 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 318 transitions. [2024-11-07 19:25:54,760 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4732142857142857 [2024-11-07 19:25:54,760 INFO L175 Difference]: Start difference. First operand has 91 places, 86 transitions, 211 flow. Second operand 6 states and 318 transitions. [2024-11-07 19:25:54,760 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 121 transitions, 462 flow [2024-11-07 19:25:54,762 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 121 transitions, 458 flow, removed 1 selfloop flow, removed 1 redundant places. [2024-11-07 19:25:54,764 INFO L231 Difference]: Finished difference. Result has 73 places, 61 transitions, 154 flow [2024-11-07 19:25:54,764 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=112, PETRI_DIFFERENCE_MINUEND_FLOW=142, PETRI_DIFFERENCE_MINUEND_PLACES=68, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=60, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=57, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=154, PETRI_PLACES=73, PETRI_TRANSITIONS=61} [2024-11-07 19:25:54,764 INFO L277 CegarLoopForPetriNet]: 92 programPoint places, -19 predicate places. [2024-11-07 19:25:54,764 INFO L471 AbstractCegarLoop]: Abstraction has has 73 places, 61 transitions, 154 flow [2024-11-07 19:25:54,765 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 38.333333333333336) internal successors, (345), 9 states have internal predecessors, (345), 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:54,765 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:54,765 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2024-11-07 19:25:54,781 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Ended with exit code 0 [2024-11-07 19:25:54,969 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10,4 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:25:54,970 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:54,970 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:54,970 INFO L85 PathProgramCache]: Analyzing trace with hash -671413955, now seen corresponding path program 1 times [2024-11-07 19:25:54,970 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:54,970 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [651713812] [2024-11-07 19:25:54,970 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:54,970 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:54,987 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:54,987 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:25:55,000 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:55,006 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:25:55,009 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:25:55,009 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-07 19:25:55,010 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-07 19:25:55,010 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-07 19:25:55,010 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 7 remaining) [2024-11-07 19:25:55,010 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-07 19:25:55,010 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2024-11-07 19:25:55,010 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-07 19:25:55,010 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2024-11-07 19:25:55,011 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-07 19:25:55,011 WARN L244 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:25:55,014 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-11-07 19:25:55,039 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-07 19:25:55,041 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 112 places, 137 transitions, 314 flow [2024-11-07 19:25:55,067 INFO L124 PetriNetUnfolderBase]: 75/391 cut-off events. [2024-11-07 19:25:55,068 INFO L125 PetriNetUnfolderBase]: For 48/48 co-relation queries the response was YES. [2024-11-07 19:25:55,072 INFO L83 FinitePrefix]: Finished finitePrefix Result has 442 conditions, 391 events. 75/391 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 18. Compared 1884 event pairs, 6 based on Foata normal form. 0/253 useless extension candidates. Maximal degree in co-relation 280. Up to 32 conditions per place. [2024-11-07 19:25:55,072 INFO L82 GeneralOperation]: Start removeDead. Operand has 112 places, 137 transitions, 314 flow [2024-11-07 19:25:55,074 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 112 places, 137 transitions, 314 flow [2024-11-07 19:25:55,075 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:25:55,077 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;@274c2135, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:25:55,077 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-07 19:25:55,078 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:25:55,078 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:25:55,078 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:25:55,078 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:55,078 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:55,078 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-11-07 19:25:55,079 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:55,079 INFO L85 PathProgramCache]: Analyzing trace with hash 676612, now seen corresponding path program 1 times [2024-11-07 19:25:55,079 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:55,079 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1985446879] [2024-11-07 19:25:55,079 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:55,079 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:55,085 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:55,110 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:55,111 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:55,111 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1985446879] [2024-11-07 19:25:55,111 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1985446879] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:55,111 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:55,111 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:55,111 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [537922044] [2024-11-07 19:25:55,111 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:55,111 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:55,111 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:55,111 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:55,111 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:55,125 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 137 [2024-11-07 19:25:55,126 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 112 places, 137 transitions, 314 flow. Second operand has 3 states, 3 states have (on average 43.0) internal successors, (129), 3 states have internal predecessors, (129), 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:55,126 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:55,126 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 137 [2024-11-07 19:25:55,126 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand