./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_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_05-lockfuns_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', '1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5'] 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_05-lockfuns_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 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5 --- Real Ultimate output --- This is Ultimate 0.3.0-?-4f9af40 [2024-11-07 19:24:39,907 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-07 19:24:39,998 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:24:40,004 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-07 19:24:40,004 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-07 19:24:40,032 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-07 19:24:40,033 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-07 19:24:40,033 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-07 19:24:40,034 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-07 19:24:40,034 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-07 19:24:40,034 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-07 19:24:40,034 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-07 19:24:40,035 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-07 19:24:40,036 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-07 19:24:40,036 INFO L153 SettingsManager]: * Use SBE=true [2024-11-07 19:24:40,036 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-07 19:24:40,036 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-07 19:24:40,036 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-07 19:24:40,036 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-07 19:24:40,036 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-07 19:24:40,037 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-07 19:24:40,037 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-07 19:24:40,037 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-07 19:24:40,037 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-07 19:24:40,037 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-07 19:24:40,037 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-07 19:24:40,038 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-07 19:24:40,038 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-07 19:24:40,038 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-07 19:24:40,038 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-07 19:24:40,038 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-07 19:24:40,038 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-07 19:24:40,039 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-07 19:24:40,039 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:24:40,039 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-07 19:24:40,039 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-07 19:24:40,039 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-07 19:24:40,039 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-07 19:24:40,039 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-07 19:24:40,039 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-07 19:24:40,039 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-07 19:24:40,039 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-07 19:24:40,039 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 -> 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5 [2024-11-07 19:24:40,330 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-07 19:24:40,341 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-07 19:24:40,343 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-07 19:24:40,344 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-07 19:24:40,344 INFO L274 PluginConnector]: CDTParser initialized [2024-11-07 19:24:40,346 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_05-lockfuns_racefree.i [2024-11-07 19:24:41,631 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-07 19:24:41,995 INFO L384 CDTParser]: Found 1 translation units. [2024-11-07 19:24:41,997 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i [2024-11-07 19:24:42,014 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/0305c46bc/6e04c22b2a964f74bf326b8e4bc93b20/FLAG31eedb34e [2024-11-07 19:24:42,035 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/0305c46bc/6e04c22b2a964f74bf326b8e4bc93b20 [2024-11-07 19:24:42,038 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-07 19:24:42,040 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-07 19:24:42,042 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-07 19:24:42,043 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-07 19:24:42,046 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-07 19:24:42,047 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,048 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4397123c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42, skipping insertion in model container [2024-11-07 19:24:42,048 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,087 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-07 19:24:42,427 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:24:42,447 INFO L200 MainTranslator]: Completed pre-run [2024-11-07 19:24:42,505 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:24:42,551 INFO L204 MainTranslator]: Completed translation [2024-11-07 19:24:42,551 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42 WrapperNode [2024-11-07 19:24:42,552 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-07 19:24:42,553 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-07 19:24:42,553 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-07 19:24:42,553 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-07 19:24:42,559 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:24:42" (1/1) ... [2024-11-07 19:24:42,570 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:24:42" (1/1) ... [2024-11-07 19:24:42,590 INFO L138 Inliner]: procedures = 173, calls = 38, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 121 [2024-11-07 19:24:42,591 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-07 19:24:42,592 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-07 19:24:42,592 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-07 19:24:42,592 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-07 19:24:42,601 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,601 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,607 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,622 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:24:42,623 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,623 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,629 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,632 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,634 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,635 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,639 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-07 19:24:42,640 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-07 19:24:42,640 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-07 19:24:42,640 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-07 19:24:42,641 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (1/1) ... [2024-11-07 19:24:42,649 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:24:42,663 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:24:42,677 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:24:42,681 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:24:42,703 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-07 19:24:42,704 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2024-11-07 19:24:42,704 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2024-11-07 19:24:42,705 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-07 19:24:42,705 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-07 19:24:42,705 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-07 19:24:42,705 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-07 19:24:42,705 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-11-07 19:24:42,705 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-07 19:24:42,705 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-07 19:24:42,705 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-07 19:24:42,707 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:24:42,834 INFO L238 CfgBuilder]: Building ICFG [2024-11-07 19:24:42,835 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-07 19:24:43,073 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-07 19:24:43,073 INFO L287 CfgBuilder]: Performing block encoding [2024-11-07 19:24:43,239 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-07 19:24:43,240 INFO L316 CfgBuilder]: Removed 10 assume(true) statements. [2024-11-07 19:24:43,241 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:24:43 BoogieIcfgContainer [2024-11-07 19:24:43,241 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-07 19:24:43,243 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-07 19:24:43,244 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-07 19:24:43,248 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-07 19:24:43,248 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 07.11 07:24:42" (1/3) ... [2024-11-07 19:24:43,249 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7752521e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:24:43, skipping insertion in model container [2024-11-07 19:24:43,249 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:42" (2/3) ... [2024-11-07 19:24:43,250 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7752521e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:24:43, skipping insertion in model container [2024-11-07 19:24:43,250 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:24:43" (3/3) ... [2024-11-07 19:24:43,251 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_05-lockfuns_racefree.i [2024-11-07 19:24:43,263 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-07 19:24:43,263 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2024-11-07 19:24:43,263 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-07 19:24:43,302 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2024-11-07 19:24:43,335 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 54 places, 62 transitions, 131 flow [2024-11-07 19:24:43,382 INFO L124 PetriNetUnfolderBase]: 15/94 cut-off events. [2024-11-07 19:24:43,384 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-07 19:24:43,389 INFO L83 FinitePrefix]: Finished finitePrefix Result has 99 conditions, 94 events. 15/94 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 348 event pairs, 0 based on Foata normal form. 0/64 useless extension candidates. Maximal degree in co-relation 57. Up to 4 conditions per place. [2024-11-07 19:24:43,389 INFO L82 GeneralOperation]: Start removeDead. Operand has 54 places, 62 transitions, 131 flow [2024-11-07 19:24:43,393 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 54 places, 62 transitions, 131 flow [2024-11-07 19:24:43,400 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:24:43,409 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;@69a472ac, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:24:43,410 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-07 19:24:43,413 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:24:43,413 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:24:43,413 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:24:43,414 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:43,414 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:24:43,415 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:43,418 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:43,419 INFO L85 PathProgramCache]: Analyzing trace with hash 342913, now seen corresponding path program 1 times [2024-11-07 19:24:43,425 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:43,426 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [783318258] [2024-11-07 19:24:43,426 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:43,427 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:43,516 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:43,662 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:24:43,662 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:43,663 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [783318258] [2024-11-07 19:24:43,663 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [783318258] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:24:43,663 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:24:43,663 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:24:43,666 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1761089062] [2024-11-07 19:24:43,666 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:24:43,671 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:24:43,674 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:43,726 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:24:43,727 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:24:43,751 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 62 [2024-11-07 19:24:43,753 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 54 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:24:43,753 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:43,753 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 62 [2024-11-07 19:24:43,754 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:43,935 INFO L124 PetriNetUnfolderBase]: 177/564 cut-off events. [2024-11-07 19:24:43,935 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-07 19:24:43,937 INFO L83 FinitePrefix]: Finished finitePrefix Result has 968 conditions, 564 events. 177/564 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 27. Compared 2864 event pairs, 154 based on Foata normal form. 105/649 useless extension candidates. Maximal degree in co-relation 912. Up to 350 conditions per place. [2024-11-07 19:24:43,943 INFO L140 encePairwiseOnDemand]: 48/62 looper letters, 39 selfloop transitions, 2 changer transitions 1/60 dead transitions. [2024-11-07 19:24:43,945 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 53 places, 60 transitions, 211 flow [2024-11-07 19:24:43,947 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:24:43,949 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:24:43,957 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 114 transitions. [2024-11-07 19:24:43,959 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6129032258064516 [2024-11-07 19:24:43,961 INFO L175 Difference]: Start difference. First operand has 54 places, 62 transitions, 131 flow. Second operand 3 states and 114 transitions. [2024-11-07 19:24:43,962 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 53 places, 60 transitions, 211 flow [2024-11-07 19:24:43,968 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 53 places, 60 transitions, 211 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:24:43,971 INFO L231 Difference]: Finished difference. Result has 53 places, 48 transitions, 107 flow [2024-11-07 19:24:43,974 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=105, PETRI_DIFFERENCE_MINUEND_PLACES=51, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=49, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=47, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=107, PETRI_PLACES=53, PETRI_TRANSITIONS=48} [2024-11-07 19:24:43,977 INFO L277 CegarLoopForPetriNet]: 54 programPoint places, -1 predicate places. [2024-11-07 19:24:43,980 INFO L471 AbstractCegarLoop]: Abstraction has has 53 places, 48 transitions, 107 flow [2024-11-07 19:24:43,980 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:24:43,980 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:43,980 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:24:43,980 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-07 19:24:43,980 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:43,981 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:43,981 INFO L85 PathProgramCache]: Analyzing trace with hash 342914, now seen corresponding path program 1 times [2024-11-07 19:24:43,981 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:43,981 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1357656797] [2024-11-07 19:24:43,982 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:43,984 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:44,011 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:44,163 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:24:44,163 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:44,163 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1357656797] [2024-11-07 19:24:44,163 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1357656797] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:24:44,163 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:24:44,163 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:24:44,163 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2049822981] [2024-11-07 19:24:44,163 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:24:44,164 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:24:44,164 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:44,165 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:24:44,165 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:24:44,178 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 62 [2024-11-07 19:24:44,179 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 53 places, 48 transitions, 107 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:24:44,179 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:44,179 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 62 [2024-11-07 19:24:44,179 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:44,319 INFO L124 PetriNetUnfolderBase]: 154/512 cut-off events. [2024-11-07 19:24:44,320 INFO L125 PetriNetUnfolderBase]: For 6/7 co-relation queries the response was YES. [2024-11-07 19:24:44,321 INFO L83 FinitePrefix]: Finished finitePrefix Result has 872 conditions, 512 events. 154/512 cut-off events. For 6/7 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 2581 event pairs, 104 based on Foata normal form. 1/483 useless extension candidates. Maximal degree in co-relation 842. Up to 326 conditions per place. [2024-11-07 19:24:44,323 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 39 selfloop transitions, 2 changer transitions 0/60 dead transitions. [2024-11-07 19:24:44,324 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 54 places, 60 transitions, 213 flow [2024-11-07 19:24:44,324 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:24:44,324 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:24:44,325 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 106 transitions. [2024-11-07 19:24:44,325 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5698924731182796 [2024-11-07 19:24:44,325 INFO L175 Difference]: Start difference. First operand has 53 places, 48 transitions, 107 flow. Second operand 3 states and 106 transitions. [2024-11-07 19:24:44,326 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 54 places, 60 transitions, 213 flow [2024-11-07 19:24:44,327 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 52 places, 60 transitions, 209 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-07 19:24:44,329 INFO L231 Difference]: Finished difference. Result has 53 places, 48 transitions, 113 flow [2024-11-07 19:24:44,329 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=103, PETRI_DIFFERENCE_MINUEND_PLACES=50, 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=113, PETRI_PLACES=53, PETRI_TRANSITIONS=48} [2024-11-07 19:24:44,329 INFO L277 CegarLoopForPetriNet]: 54 programPoint places, -1 predicate places. [2024-11-07 19:24:44,330 INFO L471 AbstractCegarLoop]: Abstraction has has 53 places, 48 transitions, 113 flow [2024-11-07 19:24:44,330 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:24:44,330 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:44,330 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-07 19:24:44,330 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-07 19:24:44,330 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:44,331 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:44,331 INFO L85 PathProgramCache]: Analyzing trace with hash -1129669692, now seen corresponding path program 1 times [2024-11-07 19:24:44,331 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:44,331 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2017563217] [2024-11-07 19:24:44,331 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:44,331 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:44,349 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:44,548 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:24:44,549 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:44,549 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2017563217] [2024-11-07 19:24:44,549 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2017563217] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-07 19:24:44,549 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [12691226] [2024-11-07 19:24:44,549 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:44,549 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:24:44,549 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:24:44,553 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:24:44,555 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:24:44,635 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:44,638 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-07 19:24:44,642 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-07 19:24:44,705 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:24:44,790 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:24:44,790 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-07 19:24:44,875 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:24:44,876 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [12691226] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-07 19:24:44,876 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-07 19:24:44,876 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-07 19:24:44,876 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1754607514] [2024-11-07 19:24:44,876 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-07 19:24:44,878 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-07 19:24:44,878 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:44,879 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-07 19:24:44,879 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-07 19:24:44,941 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 62 [2024-11-07 19:24:44,942 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 53 places, 48 transitions, 113 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:24:44,942 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:44,942 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 62 [2024-11-07 19:24:44,942 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:45,050 INFO L124 PetriNetUnfolderBase]: 33/113 cut-off events. [2024-11-07 19:24:45,050 INFO L125 PetriNetUnfolderBase]: For 27/27 co-relation queries the response was YES. [2024-11-07 19:24:45,051 INFO L83 FinitePrefix]: Finished finitePrefix Result has 229 conditions, 113 events. 33/113 cut-off events. For 27/27 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 274 event pairs, 16 based on Foata normal form. 24/137 useless extension candidates. Maximal degree in co-relation 209. Up to 69 conditions per place. [2024-11-07 19:24:45,051 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 27 selfloop transitions, 2 changer transitions 0/37 dead transitions. [2024-11-07 19:24:45,051 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 33 places, 37 transitions, 142 flow [2024-11-07 19:24:45,053 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-07 19:24:45,053 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-11-07 19:24:45,054 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 111 transitions. [2024-11-07 19:24:45,054 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4475806451612903 [2024-11-07 19:24:45,054 INFO L175 Difference]: Start difference. First operand has 53 places, 48 transitions, 113 flow. Second operand 4 states and 111 transitions. [2024-11-07 19:24:45,054 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 33 places, 37 transitions, 142 flow [2024-11-07 19:24:45,055 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 30 places, 37 transitions, 136 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-11-07 19:24:45,056 INFO L231 Difference]: Finished difference. Result has 30 places, 24 transitions, 56 flow [2024-11-07 19:24:45,056 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=52, PETRI_DIFFERENCE_MINUEND_PLACES=27, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=24, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=22, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=56, PETRI_PLACES=30, PETRI_TRANSITIONS=24} [2024-11-07 19:24:45,056 INFO L277 CegarLoopForPetriNet]: 54 programPoint places, -24 predicate places. [2024-11-07 19:24:45,057 INFO L471 AbstractCegarLoop]: Abstraction has has 30 places, 24 transitions, 56 flow [2024-11-07 19:24:45,057 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:24:45,057 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:45,057 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-11-07 19:24:45,078 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-11-07 19:24:45,261 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:24:45,261 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:45,261 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:45,262 INFO L85 PathProgramCache]: Analyzing trace with hash -660021772, now seen corresponding path program 1 times [2024-11-07 19:24:45,262 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:45,262 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [516375438] [2024-11-07 19:24:45,262 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:45,262 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:45,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:24:45,285 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:24:45,301 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:24:45,316 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:24:45,317 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:24:45,317 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-07 19:24:45,319 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-07 19:24:45,319 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-07 19:24:45,319 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-07 19:24:45,319 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-07 19:24:45,319 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-07 19:24:45,319 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-07 19:24:45,320 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-07 19:24:45,320 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-07 19:24:45,322 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:24:45,322 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-07 19:24:45,343 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-07 19:24:45,346 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 75 places, 88 transitions, 192 flow [2024-11-07 19:24:45,360 INFO L124 PetriNetUnfolderBase]: 27/164 cut-off events. [2024-11-07 19:24:45,360 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2024-11-07 19:24:45,361 INFO L83 FinitePrefix]: Finished finitePrefix Result has 176 conditions, 164 events. 27/164 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 696 event pairs, 0 based on Foata normal form. 0/112 useless extension candidates. Maximal degree in co-relation 98. Up to 6 conditions per place. [2024-11-07 19:24:45,361 INFO L82 GeneralOperation]: Start removeDead. Operand has 75 places, 88 transitions, 192 flow [2024-11-07 19:24:45,362 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 75 places, 88 transitions, 192 flow [2024-11-07 19:24:45,363 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:24:45,364 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;@69a472ac, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:24:45,364 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-07 19:24:45,365 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:24:45,365 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:24:45,365 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:24:45,365 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:45,365 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:24:45,365 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:45,366 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:45,366 INFO L85 PathProgramCache]: Analyzing trace with hash 430297, now seen corresponding path program 1 times [2024-11-07 19:24:45,366 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:45,366 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2108482917] [2024-11-07 19:24:45,366 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:45,366 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:45,379 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:45,411 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:24:45,411 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:45,411 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2108482917] [2024-11-07 19:24:45,411 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2108482917] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:24:45,412 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:24:45,412 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:24:45,414 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1648897383] [2024-11-07 19:24:45,414 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:24:45,415 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:24:45,415 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:45,415 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:24:45,415 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:24:45,426 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 25 out of 88 [2024-11-07 19:24:45,428 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 88 transitions, 192 flow. Second operand has 3 states, 3 states have (on average 26.0) internal successors, (78), 3 states have internal predecessors, (78), 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:24:45,428 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:45,428 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 25 of 88 [2024-11-07 19:24:45,428 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:46,363 INFO L124 PetriNetUnfolderBase]: 4612/9436 cut-off events. [2024-11-07 19:24:46,364 INFO L125 PetriNetUnfolderBase]: For 65/65 co-relation queries the response was YES. [2024-11-07 19:24:46,380 INFO L83 FinitePrefix]: Finished finitePrefix Result has 16857 conditions, 9436 events. 4612/9436 cut-off events. For 65/65 co-relation queries the response was YES. Maximal size of possible extension queue 275. Compared 73262 event pairs, 4026 based on Foata normal form. 2120/11218 useless extension candidates. Maximal degree in co-relation 10528. Up to 6443 conditions per place. [2024-11-07 19:24:46,417 INFO L140 encePairwiseOnDemand]: 68/88 looper letters, 63 selfloop transitions, 2 changer transitions 1/91 dead transitions. [2024-11-07 19:24:46,418 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 91 transitions, 330 flow [2024-11-07 19:24:46,418 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:24:46,418 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:24:46,419 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 171 transitions. [2024-11-07 19:24:46,421 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6477272727272727 [2024-11-07 19:24:46,421 INFO L175 Difference]: Start difference. First operand has 75 places, 88 transitions, 192 flow. Second operand 3 states and 171 transitions. [2024-11-07 19:24:46,421 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 91 transitions, 330 flow [2024-11-07 19:24:46,422 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 74 places, 91 transitions, 330 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:24:46,425 INFO L231 Difference]: Finished difference. Result has 74 places, 68 transitions, 156 flow [2024-11-07 19:24:46,425 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=88, PETRI_DIFFERENCE_MINUEND_FLOW=154, PETRI_DIFFERENCE_MINUEND_PLACES=72, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=69, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=67, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=156, PETRI_PLACES=74, PETRI_TRANSITIONS=68} [2024-11-07 19:24:46,426 INFO L277 CegarLoopForPetriNet]: 75 programPoint places, -1 predicate places. [2024-11-07 19:24:46,426 INFO L471 AbstractCegarLoop]: Abstraction has has 74 places, 68 transitions, 156 flow [2024-11-07 19:24:46,426 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 26.0) internal successors, (78), 3 states have internal predecessors, (78), 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:24:46,426 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:46,428 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:24:46,429 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-11-07 19:24:46,429 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:46,429 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:46,429 INFO L85 PathProgramCache]: Analyzing trace with hash 430298, now seen corresponding path program 1 times [2024-11-07 19:24:46,429 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:46,429 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [935810386] [2024-11-07 19:24:46,429 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:46,429 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:46,438 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:46,501 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:24:46,502 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:46,502 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [935810386] [2024-11-07 19:24:46,502 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [935810386] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:24:46,502 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:24:46,502 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:24:46,502 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [986611369] [2024-11-07 19:24:46,502 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:24:46,502 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:24:46,502 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:46,503 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:24:46,503 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:24:46,514 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 28 out of 88 [2024-11-07 19:24:46,515 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 74 places, 68 transitions, 156 flow. Second operand has 3 states, 3 states have (on average 29.0) internal successors, (87), 3 states have internal predecessors, (87), 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:24:46,515 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:46,515 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 28 of 88 [2024-11-07 19:24:46,515 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:47,426 INFO L124 PetriNetUnfolderBase]: 4039/8560 cut-off events. [2024-11-07 19:24:47,427 INFO L125 PetriNetUnfolderBase]: For 163/163 co-relation queries the response was YES. [2024-11-07 19:24:47,438 INFO L83 FinitePrefix]: Finished finitePrefix Result has 15231 conditions, 8560 events. 4039/8560 cut-off events. For 163/163 co-relation queries the response was YES. Maximal size of possible extension queue 269. Compared 68895 event pairs, 1881 based on Foata normal form. 1/8212 useless extension candidates. Maximal degree in co-relation 13963. Up to 6419 conditions per place. [2024-11-07 19:24:47,475 INFO L140 encePairwiseOnDemand]: 84/88 looper letters, 53 selfloop transitions, 2 changer transitions 0/81 dead transitions. [2024-11-07 19:24:47,476 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 75 places, 81 transitions, 292 flow [2024-11-07 19:24:47,476 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:24:47,477 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:24:47,477 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 141 transitions. [2024-11-07 19:24:47,478 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5340909090909091 [2024-11-07 19:24:47,478 INFO L175 Difference]: Start difference. First operand has 74 places, 68 transitions, 156 flow. Second operand 3 states and 141 transitions. [2024-11-07 19:24:47,478 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 75 places, 81 transitions, 292 flow [2024-11-07 19:24:47,492 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 81 transitions, 288 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-07 19:24:47,494 INFO L231 Difference]: Finished difference. Result has 74 places, 69 transitions, 166 flow [2024-11-07 19:24:47,494 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=88, PETRI_DIFFERENCE_MINUEND_FLOW=152, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=68, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=66, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=166, PETRI_PLACES=74, PETRI_TRANSITIONS=69} [2024-11-07 19:24:47,495 INFO L277 CegarLoopForPetriNet]: 75 programPoint places, -1 predicate places. [2024-11-07 19:24:47,495 INFO L471 AbstractCegarLoop]: Abstraction has has 74 places, 69 transitions, 166 flow [2024-11-07 19:24:47,495 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 29.0) internal successors, (87), 3 states have internal predecessors, (87), 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:24:47,495 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:47,495 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-07 19:24:47,495 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-11-07 19:24:47,496 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:47,496 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:47,497 INFO L85 PathProgramCache]: Analyzing trace with hash -2029665276, now seen corresponding path program 1 times [2024-11-07 19:24:47,497 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:47,497 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [743824285] [2024-11-07 19:24:47,497 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:47,497 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:47,516 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:47,655 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:24:47,655 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:47,655 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [743824285] [2024-11-07 19:24:47,655 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [743824285] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-07 19:24:47,656 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1452566379] [2024-11-07 19:24:47,656 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:47,656 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:24:47,656 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:24:47,659 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:24:47,660 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:24:47,736 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:47,737 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-07 19:24:47,739 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-07 19:24:47,752 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:24:47,819 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:24:47,819 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-07 19:24:47,881 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:24:47,881 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1452566379] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-07 19:24:47,881 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-07 19:24:47,881 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-07 19:24:47,881 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1496687267] [2024-11-07 19:24:47,881 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-07 19:24:47,882 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-07 19:24:47,882 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:47,882 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-07 19:24:47,882 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-07 19:24:47,927 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 88 [2024-11-07 19:24:47,927 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 74 places, 69 transitions, 166 flow. Second operand has 9 states, 9 states have (on average 29.333333333333332) internal successors, (264), 9 states have internal predecessors, (264), 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:24:47,927 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:47,927 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 88 [2024-11-07 19:24:47,927 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:48,177 INFO L124 PetriNetUnfolderBase]: 957/1861 cut-off events. [2024-11-07 19:24:48,177 INFO L125 PetriNetUnfolderBase]: For 339/339 co-relation queries the response was YES. [2024-11-07 19:24:48,180 INFO L83 FinitePrefix]: Finished finitePrefix Result has 3658 conditions, 1861 events. 957/1861 cut-off events. For 339/339 co-relation queries the response was YES. Maximal size of possible extension queue 60. Compared 10736 event pairs, 112 based on Foata normal form. 312/2105 useless extension candidates. Maximal degree in co-relation 2659. Up to 1224 conditions per place. [2024-11-07 19:24:48,188 INFO L140 encePairwiseOnDemand]: 84/88 looper letters, 63 selfloop transitions, 3 changer transitions 0/81 dead transitions. [2024-11-07 19:24:48,188 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 55 places, 81 transitions, 312 flow [2024-11-07 19:24:48,189 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-07 19:24:48,189 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-11-07 19:24:48,190 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 205 transitions. [2024-11-07 19:24:48,190 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4659090909090909 [2024-11-07 19:24:48,190 INFO L175 Difference]: Start difference. First operand has 74 places, 69 transitions, 166 flow. Second operand 5 states and 205 transitions. [2024-11-07 19:24:48,190 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 55 places, 81 transitions, 312 flow [2024-11-07 19:24:48,191 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 81 transitions, 310 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-07 19:24:48,192 INFO L231 Difference]: Finished difference. Result has 54 places, 44 transitions, 110 flow [2024-11-07 19:24:48,192 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=88, PETRI_DIFFERENCE_MINUEND_FLOW=104, PETRI_DIFFERENCE_MINUEND_PLACES=50, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=44, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=41, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=110, PETRI_PLACES=54, PETRI_TRANSITIONS=44} [2024-11-07 19:24:48,193 INFO L277 CegarLoopForPetriNet]: 75 programPoint places, -21 predicate places. [2024-11-07 19:24:48,193 INFO L471 AbstractCegarLoop]: Abstraction has has 54 places, 44 transitions, 110 flow [2024-11-07 19:24:48,194 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 29.333333333333332) internal successors, (264), 9 states have internal predecessors, (264), 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:24:48,194 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:48,194 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2024-11-07 19:24:48,211 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:24:48,394 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:24:48,395 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:48,395 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:48,395 INFO L85 PathProgramCache]: Analyzing trace with hash -1460335429, now seen corresponding path program 1 times [2024-11-07 19:24:48,396 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:48,397 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1786625884] [2024-11-07 19:24:48,397 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:48,397 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:48,414 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:24:48,414 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:24:48,428 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:24:48,433 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:24:48,433 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:24:48,433 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-07 19:24:48,433 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-07 19:24:48,433 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-07 19:24:48,433 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-07 19:24:48,434 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-07 19:24:48,434 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-07 19:24:48,434 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-07 19:24:48,434 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2024-11-07 19:24:48,434 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-07 19:24:48,436 WARN L244 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:24:48,438 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-11-07 19:24:48,465 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2024-11-07 19:24:48,467 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 114 transitions, 255 flow [2024-11-07 19:24:48,485 INFO L124 PetriNetUnfolderBase]: 42/255 cut-off events. [2024-11-07 19:24:48,485 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-11-07 19:24:48,486 INFO L83 FinitePrefix]: Finished finitePrefix Result has 280 conditions, 255 events. 42/255 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 1151 event pairs, 1 based on Foata normal form. 0/173 useless extension candidates. Maximal degree in co-relation 175. Up to 12 conditions per place. [2024-11-07 19:24:48,487 INFO L82 GeneralOperation]: Start removeDead. Operand has 96 places, 114 transitions, 255 flow [2024-11-07 19:24:48,491 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 96 places, 114 transitions, 255 flow [2024-11-07 19:24:48,493 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:24:48,493 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;@69a472ac, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:24:48,493 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-07 19:24:48,494 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:24:48,495 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:24:48,495 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:24:48,495 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:48,495 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:24:48,495 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:48,495 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:48,496 INFO L85 PathProgramCache]: Analyzing trace with hash 543499, now seen corresponding path program 1 times [2024-11-07 19:24:48,496 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:48,496 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1267685969] [2024-11-07 19:24:48,496 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:48,496 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:48,504 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:48,527 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:24:48,527 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:48,527 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1267685969] [2024-11-07 19:24:48,527 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1267685969] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:24:48,528 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:24:48,528 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:24:48,528 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [110519686] [2024-11-07 19:24:48,528 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:24:48,528 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:24:48,528 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:48,529 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:24:48,529 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:24:48,538 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 32 out of 114 [2024-11-07 19:24:48,538 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 96 places, 114 transitions, 255 flow. Second operand has 3 states, 3 states have (on average 33.0) internal successors, (99), 3 states have internal predecessors, (99), 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:24:48,538 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:48,538 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 32 of 114 [2024-11-07 19:24:48,539 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:58,175 INFO L124 PetriNetUnfolderBase]: 86952/146186 cut-off events. [2024-11-07 19:24:58,175 INFO L125 PetriNetUnfolderBase]: For 1648/1648 co-relation queries the response was YES. [2024-11-07 19:24:58,361 INFO L83 FinitePrefix]: Finished finitePrefix Result has 268025 conditions, 146186 events. 86952/146186 cut-off events. For 1648/1648 co-relation queries the response was YES. Maximal size of possible extension queue 3077. Compared 1375979 event pairs, 75615 based on Foata normal form. 36536/177717 useless extension candidates. Maximal degree in co-relation 69283. Up to 105165 conditions per place. [2024-11-07 19:24:58,943 INFO L140 encePairwiseOnDemand]: 88/114 looper letters, 87 selfloop transitions, 2 changer transitions 1/122 dead transitions. [2024-11-07 19:24:58,943 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 95 places, 122 transitions, 451 flow [2024-11-07 19:24:58,944 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:24:58,944 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:24:58,945 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 228 transitions. [2024-11-07 19:24:58,945 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6666666666666666 [2024-11-07 19:24:58,946 INFO L175 Difference]: Start difference. First operand has 96 places, 114 transitions, 255 flow. Second operand 3 states and 228 transitions. [2024-11-07 19:24:58,946 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 95 places, 122 transitions, 451 flow [2024-11-07 19:24:58,948 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 95 places, 122 transitions, 451 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:24:58,949 INFO L231 Difference]: Finished difference. Result has 95 places, 88 transitions, 207 flow [2024-11-07 19:24:58,950 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=114, PETRI_DIFFERENCE_MINUEND_FLOW=205, PETRI_DIFFERENCE_MINUEND_PLACES=93, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=89, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=87, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=207, PETRI_PLACES=95, PETRI_TRANSITIONS=88} [2024-11-07 19:24:58,951 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -1 predicate places. [2024-11-07 19:24:58,951 INFO L471 AbstractCegarLoop]: Abstraction has has 95 places, 88 transitions, 207 flow [2024-11-07 19:24:58,951 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 33.0) internal successors, (99), 3 states have internal predecessors, (99), 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:24:58,951 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:58,952 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:24:58,952 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2024-11-07 19:24:58,952 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:24:58,952 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:58,952 INFO L85 PathProgramCache]: Analyzing trace with hash 543500, now seen corresponding path program 1 times [2024-11-07 19:24:58,952 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:58,952 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [772895698] [2024-11-07 19:24:58,952 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:58,953 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:58,966 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:59,017 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:24:59,017 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:59,018 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [772895698] [2024-11-07 19:24:59,018 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [772895698] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:24:59,018 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:24:59,018 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:24:59,018 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [237560696] [2024-11-07 19:24:59,018 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:24:59,018 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:24:59,019 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:59,019 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:24:59,019 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:24:59,029 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 35 out of 114 [2024-11-07 19:24:59,030 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 95 places, 88 transitions, 207 flow. Second operand has 3 states, 3 states have (on average 36.0) internal successors, (108), 3 states have internal predecessors, (108), 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:24:59,030 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:59,030 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 35 of 114 [2024-11-07 19:24:59,030 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:05,810 INFO L124 PetriNetUnfolderBase]: 75797/130654 cut-off events. [2024-11-07 19:25:05,810 INFO L125 PetriNetUnfolderBase]: For 3082/3082 co-relation queries the response was YES. [2024-11-07 19:25:05,999 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239133 conditions, 130654 events. 75797/130654 cut-off events. For 3082/3082 co-relation queries the response was YES. Maximal size of possible extension queue 3029. Compared 1255608 event pairs, 49182 based on Foata normal form. 1/126019 useless extension candidates. Maximal degree in co-relation 219122. Up to 105141 conditions per place. [2024-11-07 19:25:06,438 INFO L140 encePairwiseOnDemand]: 110/114 looper letters, 66 selfloop transitions, 2 changer transitions 0/101 dead transitions. [2024-11-07 19:25:06,438 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 96 places, 101 transitions, 369 flow [2024-11-07 19:25:06,438 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:25:06,438 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:25:06,439 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 175 transitions. [2024-11-07 19:25:06,439 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5116959064327485 [2024-11-07 19:25:06,439 INFO L175 Difference]: Start difference. First operand has 95 places, 88 transitions, 207 flow. Second operand 3 states and 175 transitions. [2024-11-07 19:25:06,439 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 96 places, 101 transitions, 369 flow [2024-11-07 19:25:06,742 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 94 places, 101 transitions, 365 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-07 19:25:06,746 INFO L231 Difference]: Finished difference. Result has 95 places, 89 transitions, 217 flow [2024-11-07 19:25:06,746 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=114, PETRI_DIFFERENCE_MINUEND_FLOW=203, PETRI_DIFFERENCE_MINUEND_PLACES=92, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=88, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=86, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=217, PETRI_PLACES=95, PETRI_TRANSITIONS=89} [2024-11-07 19:25:06,747 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -1 predicate places. [2024-11-07 19:25:06,747 INFO L471 AbstractCegarLoop]: Abstraction has has 95 places, 89 transitions, 217 flow [2024-11-07 19:25:06,747 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 36.0) internal successors, (108), 3 states have internal predecessors, (108), 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:06,747 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:06,747 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-07 19:25:06,747 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2024-11-07 19:25:06,748 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:25:06,748 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:06,748 INFO L85 PathProgramCache]: Analyzing trace with hash -560231778, now seen corresponding path program 1 times [2024-11-07 19:25:06,748 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:06,748 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [708469801] [2024-11-07 19:25:06,748 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:06,748 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:06,758 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:06,871 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:06,871 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:06,872 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [708469801] [2024-11-07 19:25:06,873 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [708469801] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-07 19:25:06,873 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1274223182] [2024-11-07 19:25:06,873 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:06,873 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:25:06,873 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:25:06,879 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:06,880 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:06,957 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:06,958 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-07 19:25:06,962 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-07 19:25:06,976 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:07,039 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:07,039 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-07 19:25:07,110 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:07,111 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1274223182] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-07 19:25:07,111 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-07 19:25:07,111 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-07 19:25:07,111 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1584894223] [2024-11-07 19:25:07,111 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-07 19:25:07,112 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-07 19:25:07,112 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:07,113 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-07 19:25:07,113 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-07 19:25:07,172 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 34 out of 114 [2024-11-07 19:25:07,173 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 95 places, 89 transitions, 217 flow. Second operand has 9 states, 9 states have (on average 36.333333333333336) internal successors, (327), 9 states have internal predecessors, (327), 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:07,173 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:07,173 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 34 of 114 [2024-11-07 19:25:07,173 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:25:09,046 INFO L124 PetriNetUnfolderBase]: 18381/29251 cut-off events. [2024-11-07 19:25:09,047 INFO L125 PetriNetUnfolderBase]: For 7931/7931 co-relation queries the response was YES. [2024-11-07 19:25:09,084 INFO L83 FinitePrefix]: Finished finitePrefix Result has 57689 conditions, 29251 events. 18381/29251 cut-off events. For 7931/7931 co-relation queries the response was YES. Maximal size of possible extension queue 757. Compared 220410 event pairs, 1344 based on Foata normal form. 3768/32199 useless extension candidates. Maximal degree in co-relation 4908. Up to 19440 conditions per place. [2024-11-07 19:25:09,163 INFO L140 encePairwiseOnDemand]: 110/114 looper letters, 110 selfloop transitions, 4 changer transitions 0/136 dead transitions. [2024-11-07 19:25:09,164 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 77 places, 136 transitions, 528 flow [2024-11-07 19:25:09,164 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-11-07 19:25:09,164 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2024-11-07 19:25:09,165 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 324 transitions. [2024-11-07 19:25:09,165 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.47368421052631576 [2024-11-07 19:25:09,166 INFO L175 Difference]: Start difference. First operand has 95 places, 89 transitions, 217 flow. Second operand 6 states and 324 transitions. [2024-11-07 19:25:09,166 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 77 places, 136 transitions, 528 flow [2024-11-07 19:25:09,172 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 76 places, 136 transitions, 524 flow, removed 1 selfloop flow, removed 1 redundant places. [2024-11-07 19:25:09,174 INFO L231 Difference]: Finished difference. Result has 76 places, 64 transitions, 160 flow [2024-11-07 19:25:09,174 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=114, PETRI_DIFFERENCE_MINUEND_FLOW=148, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=63, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=60, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=160, PETRI_PLACES=76, PETRI_TRANSITIONS=64} [2024-11-07 19:25:09,175 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -20 predicate places. [2024-11-07 19:25:09,175 INFO L471 AbstractCegarLoop]: Abstraction has has 76 places, 64 transitions, 160 flow [2024-11-07 19:25:09,175 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 36.333333333333336) internal successors, (327), 9 states have internal predecessors, (327), 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:09,175 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:09,176 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2024-11-07 19:25:09,191 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2024-11-07 19:25:09,376 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:09,376 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:25:09,377 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:09,377 INFO L85 PathProgramCache]: Analyzing trace with hash -2072233549, now seen corresponding path program 1 times [2024-11-07 19:25:09,377 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:09,377 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1236541239] [2024-11-07 19:25:09,377 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:09,377 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:09,395 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:09,395 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:25:09,408 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:25:09,415 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:25:09,417 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:25:09,417 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-07 19:25:09,419 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-07 19:25:09,419 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-07 19:25:09,419 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-07 19:25:09,419 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-07 19:25:09,419 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-07 19:25:09,419 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-07 19:25:09,419 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2024-11-07 19:25:09,419 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-07 19:25:09,420 WARN L244 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:25:09,420 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-11-07 19:25:09,451 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-07 19:25:09,454 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 117 places, 140 transitions, 320 flow [2024-11-07 19:25:09,479 INFO L124 PetriNetUnfolderBase]: 65/390 cut-off events. [2024-11-07 19:25:09,479 INFO L125 PetriNetUnfolderBase]: For 48/48 co-relation queries the response was YES. [2024-11-07 19:25:09,482 INFO L83 FinitePrefix]: Finished finitePrefix Result has 441 conditions, 390 events. 65/390 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 1910 event pairs, 6 based on Foata normal form. 0/262 useless extension candidates. Maximal degree in co-relation 279. Up to 32 conditions per place. [2024-11-07 19:25:09,482 INFO L82 GeneralOperation]: Start removeDead. Operand has 117 places, 140 transitions, 320 flow [2024-11-07 19:25:09,485 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 117 places, 140 transitions, 320 flow [2024-11-07 19:25:09,485 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:25:09,486 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;@69a472ac, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:25:09,486 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-07 19:25:09,487 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:25:09,487 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:25:09,487 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:25:09,487 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:25:09,487 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:25:09,487 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-07 19:25:09,487 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:25:09,489 INFO L85 PathProgramCache]: Analyzing trace with hash 682519, now seen corresponding path program 1 times [2024-11-07 19:25:09,489 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:25:09,489 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [384227220] [2024-11-07 19:25:09,489 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:25:09,489 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:25:09,496 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:25:09,533 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:09,534 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:25:09,534 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [384227220] [2024-11-07 19:25:09,534 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [384227220] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:25:09,534 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:25:09,534 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:25:09,534 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1627994390] [2024-11-07 19:25:09,534 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:25:09,535 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:25:09,535 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:25:09,535 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:25:09,535 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:25:09,544 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 39 out of 140 [2024-11-07 19:25:09,545 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 117 places, 140 transitions, 320 flow. Second operand has 3 states, 3 states have (on average 40.0) internal successors, (120), 3 states have internal predecessors, (120), 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:09,545 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:25:09,545 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 39 of 140 [2024-11-07 19:25:09,545 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand