./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/goblint-regression/28-race_reach_04-munge_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_04-munge_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', '50de8acec85b0b2508f1f33521d9ab6717fa1b5141d6b9e2d08fcb4af894112b'] 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_04-munge_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 50de8acec85b0b2508f1f33521d9ab6717fa1b5141d6b9e2d08fcb4af894112b --- Real Ultimate output --- This is Ultimate 0.3.0-?-4f9af40 [2024-11-07 19:24:36,448 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-07 19:24:36,510 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:36,513 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-07 19:24:36,514 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-07 19:24:36,535 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-07 19:24:36,536 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-07 19:24:36,536 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-07 19:24:36,537 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-07 19:24:36,537 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-07 19:24:36,537 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-07 19:24:36,537 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-07 19:24:36,538 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-07 19:24:36,538 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-07 19:24:36,538 INFO L153 SettingsManager]: * Use SBE=true [2024-11-07 19:24:36,538 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-07 19:24:36,538 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-07 19:24:36,539 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-07 19:24:36,539 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-07 19:24:36,539 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-07 19:24:36,539 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-07 19:24:36,539 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-07 19:24:36,539 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-07 19:24:36,539 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-07 19:24:36,539 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-07 19:24:36,539 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-07 19:24:36,540 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-07 19:24:36,540 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-07 19:24:36,540 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-07 19:24:36,540 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-07 19:24:36,540 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-07 19:24:36,540 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-07 19:24:36,540 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-07 19:24:36,541 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:24:36,541 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-07 19:24:36,541 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-07 19:24:36,541 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-07 19:24:36,541 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-07 19:24:36,541 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-07 19:24:36,541 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-07 19:24:36,541 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-07 19:24:36,541 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-07 19:24:36,541 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 -> 50de8acec85b0b2508f1f33521d9ab6717fa1b5141d6b9e2d08fcb4af894112b [2024-11-07 19:24:36,767 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-07 19:24:36,775 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-07 19:24:36,777 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-07 19:24:36,778 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-07 19:24:36,778 INFO L274 PluginConnector]: CDTParser initialized [2024-11-07 19:24:36,779 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_04-munge_racefree.i [2024-11-07 19:24:37,947 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-07 19:24:38,175 INFO L384 CDTParser]: Found 1 translation units. [2024-11-07 19:24:38,176 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_04-munge_racefree.i [2024-11-07 19:24:38,186 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/adebf04c7/b2a4538b78bc43d1ac58621ae28b4828/FLAGbfb0b70bb [2024-11-07 19:24:38,201 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/adebf04c7/b2a4538b78bc43d1ac58621ae28b4828 [2024-11-07 19:24:38,203 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-07 19:24:38,205 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-07 19:24:38,207 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-07 19:24:38,207 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-07 19:24:38,210 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-07 19:24:38,211 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:24:38" (1/1) ... [2024-11-07 19:24:38,212 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3ee5b28f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:38, skipping insertion in model container [2024-11-07 19:24:38,212 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 07:24:38" (1/1) ... [2024-11-07 19:24:38,241 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-07 19:24:38,464 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:24:38,487 INFO L200 MainTranslator]: Completed pre-run [2024-11-07 19:24:38,515 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 19:24:38,547 INFO L204 MainTranslator]: Completed translation [2024-11-07 19:24:38,548 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:38 WrapperNode [2024-11-07 19:24:38,548 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-07 19:24:38,548 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-07 19:24:38,548 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-07 19:24:38,549 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-07 19:24:38,556 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:38" (1/1) ... [2024-11-07 19:24:38,566 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:38" (1/1) ... [2024-11-07 19:24:38,583 INFO L138 Inliner]: procedures = 173, calls = 42, calls flagged for inlining = 6, calls inlined = 8, statements flattened = 274 [2024-11-07 19:24:38,583 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-07 19:24:38,584 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-07 19:24:38,584 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-07 19:24:38,584 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-07 19:24:38,590 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:38" (1/1) ... [2024-11-07 19:24:38,590 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:38" (1/1) ... [2024-11-07 19:24:38,594 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:38" (1/1) ... [2024-11-07 19:24:38,618 INFO L175 MemorySlicer]: Split 16 memory accesses to 5 slices as follows [2, 5, 2, 5, 2]. 31 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 5, 0, 5, 0]. The 2 writes are split as follows [0, 0, 1, 0, 1]. [2024-11-07 19:24:38,618 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:38" (1/1) ... [2024-11-07 19:24:38,618 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:38" (1/1) ... [2024-11-07 19:24:38,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:38" (1/1) ... [2024-11-07 19:24:38,636 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:38" (1/1) ... [2024-11-07 19:24:38,637 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:38" (1/1) ... [2024-11-07 19:24:38,638 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:38" (1/1) ... [2024-11-07 19:24:38,640 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-07 19:24:38,641 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-07 19:24:38,641 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-07 19:24:38,641 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-07 19:24:38,642 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:38" (1/1) ... [2024-11-07 19:24:38,645 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 19:24:38,655 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:24:38,669 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:38,671 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:38,687 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-07 19:24:38,687 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-07 19:24:38,687 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-07 19:24:38,687 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-11-07 19:24:38,687 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2024-11-07 19:24:38,687 INFO L130 BoogieDeclarations]: Found specification of procedure t2_fun [2024-11-07 19:24:38,687 INFO L138 BoogieDeclarations]: Found implementation of procedure t2_fun [2024-11-07 19:24:38,687 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure t1_fun [2024-11-07 19:24:38,688 INFO L138 BoogieDeclarations]: Found implementation of procedure t1_fun [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-11-07 19:24:38,688 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2024-11-07 19:24:38,689 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-07 19:24:38,689 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-07 19:24:38,689 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-07 19:24:38,690 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:38,831 INFO L238 CfgBuilder]: Building ICFG [2024-11-07 19:24:38,833 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-07 19:24:39,180 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-07 19:24:39,183 INFO L287 CfgBuilder]: Performing block encoding [2024-11-07 19:24:39,551 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-07 19:24:39,553 INFO L316 CfgBuilder]: Removed 24 assume(true) statements. [2024-11-07 19:24:39,554 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:24:39 BoogieIcfgContainer [2024-11-07 19:24:39,554 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-07 19:24:39,556 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-07 19:24:39,556 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-07 19:24:39,560 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-07 19:24:39,560 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 07.11 07:24:38" (1/3) ... [2024-11-07 19:24:39,561 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@240859f5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:24:39, skipping insertion in model container [2024-11-07 19:24:39,561 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 07:24:38" (2/3) ... [2024-11-07 19:24:39,561 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@240859f5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 07:24:39, skipping insertion in model container [2024-11-07 19:24:39,561 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 07:24:39" (3/3) ... [2024-11-07 19:24:39,562 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_04-munge_racefree.i [2024-11-07 19:24:39,573 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-07 19:24:39,573 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 11 error locations. [2024-11-07 19:24:39,573 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-07 19:24:39,631 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-07 19:24:39,663 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 98 places, 123 transitions, 266 flow [2024-11-07 19:24:39,739 INFO L124 PetriNetUnfolderBase]: 47/234 cut-off events. [2024-11-07 19:24:39,741 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2024-11-07 19:24:39,745 INFO L83 FinitePrefix]: Finished finitePrefix Result has 251 conditions, 234 events. 47/234 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1246 event pairs, 0 based on Foata normal form. 0/146 useless extension candidates. Maximal degree in co-relation 139. Up to 8 conditions per place. [2024-11-07 19:24:39,745 INFO L82 GeneralOperation]: Start removeDead. Operand has 98 places, 123 transitions, 266 flow [2024-11-07 19:24:39,749 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 98 places, 123 transitions, 266 flow [2024-11-07 19:24:39,756 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:24:39,766 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;@79092c55, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:24:39,766 INFO L334 AbstractCegarLoop]: Starting to check reachability of 15 error locations. [2024-11-07 19:24:39,773 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:24:39,773 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:24:39,773 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:24:39,773 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:39,774 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:24:39,774 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-07 19:24:39,777 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:39,778 INFO L85 PathProgramCache]: Analyzing trace with hash 704042, now seen corresponding path program 1 times [2024-11-07 19:24:39,784 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:39,784 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2086500484] [2024-11-07 19:24:39,785 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:39,785 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:39,914 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:40,081 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:40,083 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:40,084 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2086500484] [2024-11-07 19:24:40,085 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2086500484] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:24:40,086 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:24:40,086 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:24:40,087 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [979246122] [2024-11-07 19:24:40,088 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:24:40,092 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:24:40,097 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:40,113 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:24:40,113 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:24:40,139 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 39 out of 123 [2024-11-07 19:24:40,141 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 98 places, 123 transitions, 266 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:24:40,142 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:40,143 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 39 of 123 [2024-11-07 19:24:40,145 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:41,284 INFO L124 PetriNetUnfolderBase]: 5855/11699 cut-off events. [2024-11-07 19:24:41,285 INFO L125 PetriNetUnfolderBase]: For 108/108 co-relation queries the response was YES. [2024-11-07 19:24:41,307 INFO L83 FinitePrefix]: Finished finitePrefix Result has 20834 conditions, 11699 events. 5855/11699 cut-off events. For 108/108 co-relation queries the response was YES. Maximal size of possible extension queue 419. Compared 97021 event pairs, 4068 based on Foata normal form. 2515/13221 useless extension candidates. Maximal degree in co-relation 19836. Up to 6749 conditions per place. [2024-11-07 19:24:41,354 INFO L140 encePairwiseOnDemand]: 95/123 looper letters, 90 selfloop transitions, 2 changer transitions 0/131 dead transitions. [2024-11-07 19:24:41,354 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 96 places, 131 transitions, 466 flow [2024-11-07 19:24:41,355 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:24:41,357 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:24:41,365 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 259 transitions. [2024-11-07 19:24:41,368 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7018970189701897 [2024-11-07 19:24:41,370 INFO L175 Difference]: Start difference. First operand has 98 places, 123 transitions, 266 flow. Second operand 3 states and 259 transitions. [2024-11-07 19:24:41,370 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 96 places, 131 transitions, 466 flow [2024-11-07 19:24:41,382 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 96 places, 131 transitions, 466 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-07 19:24:41,386 INFO L231 Difference]: Finished difference. Result has 96 places, 95 transitions, 214 flow [2024-11-07 19:24:41,389 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=123, PETRI_DIFFERENCE_MINUEND_FLOW=210, PETRI_DIFFERENCE_MINUEND_PLACES=94, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=95, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=93, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=214, PETRI_PLACES=96, PETRI_TRANSITIONS=95} [2024-11-07 19:24:41,391 INFO L277 CegarLoopForPetriNet]: 98 programPoint places, -2 predicate places. [2024-11-07 19:24:41,393 INFO L471 AbstractCegarLoop]: Abstraction has has 96 places, 95 transitions, 214 flow [2024-11-07 19:24:41,393 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has 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:24:41,393 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:41,393 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:24:41,393 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-07 19:24:41,394 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-07 19:24:41,394 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:41,394 INFO L85 PathProgramCache]: Analyzing trace with hash 704043, now seen corresponding path program 1 times [2024-11-07 19:24:41,394 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:41,394 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [293561511] [2024-11-07 19:24:41,395 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:41,395 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:41,427 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:41,554 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:41,554 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:41,555 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [293561511] [2024-11-07 19:24:41,555 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [293561511] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:24:41,555 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:24:41,555 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:24:41,555 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [144870637] [2024-11-07 19:24:41,555 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:24:41,556 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:24:41,556 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:41,557 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:24:41,558 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:24:41,574 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 123 [2024-11-07 19:24:41,575 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 96 places, 95 transitions, 214 flow. Second operand has 3 states, 3 states have (on average 43.0) internal successors, (129), 3 states have internal predecessors, (129), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:24:41,575 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:41,575 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 123 [2024-11-07 19:24:41,575 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:42,280 INFO L124 PetriNetUnfolderBase]: 4948/10321 cut-off events. [2024-11-07 19:24:42,281 INFO L125 PetriNetUnfolderBase]: For 507/507 co-relation queries the response was YES. [2024-11-07 19:24:42,301 INFO L83 FinitePrefix]: Finished finitePrefix Result has 18536 conditions, 10321 events. 4948/10321 cut-off events. For 507/507 co-relation queries the response was YES. Maximal size of possible extension queue 363. Compared 86223 event pairs, 2160 based on Foata normal form. 1/9280 useless extension candidates. Maximal degree in co-relation 17754. Up to 7669 conditions per place. [2024-11-07 19:24:42,344 INFO L140 encePairwiseOnDemand]: 119/123 looper letters, 72 selfloop transitions, 2 changer transitions 0/114 dead transitions. [2024-11-07 19:24:42,344 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 98 places, 114 transitions, 400 flow [2024-11-07 19:24:42,345 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 19:24:42,345 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 19:24:42,346 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 202 transitions. [2024-11-07 19:24:42,346 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5474254742547425 [2024-11-07 19:24:42,346 INFO L175 Difference]: Start difference. First operand has 96 places, 95 transitions, 214 flow. Second operand 3 states and 202 transitions. [2024-11-07 19:24:42,346 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 98 places, 114 transitions, 400 flow [2024-11-07 19:24:42,359 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 96 places, 114 transitions, 396 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-07 19:24:42,361 INFO L231 Difference]: Finished difference. Result has 97 places, 95 transitions, 220 flow [2024-11-07 19:24:42,362 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=123, PETRI_DIFFERENCE_MINUEND_FLOW=210, PETRI_DIFFERENCE_MINUEND_PLACES=94, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=95, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=93, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=220, PETRI_PLACES=97, PETRI_TRANSITIONS=95} [2024-11-07 19:24:42,362 INFO L277 CegarLoopForPetriNet]: 98 programPoint places, -1 predicate places. [2024-11-07 19:24:42,362 INFO L471 AbstractCegarLoop]: Abstraction has has 97 places, 95 transitions, 220 flow [2024-11-07 19:24:42,363 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 43.0) internal successors, (129), 3 states have internal predecessors, (129), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 19:24:42,363 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:42,365 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-07 19:24:42,365 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-07 19:24:42,365 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-07 19:24:42,366 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:42,366 INFO L85 PathProgramCache]: Analyzing trace with hash 1682445844, now seen corresponding path program 1 times [2024-11-07 19:24:42,366 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:42,366 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1064412367] [2024-11-07 19:24:42,366 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:42,367 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:42,417 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:42,607 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:42,607 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:42,608 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1064412367] [2024-11-07 19:24:42,608 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1064412367] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-07 19:24:42,608 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [975401349] [2024-11-07 19:24:42,608 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:42,608 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-07 19:24:42,608 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 19:24:42,610 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:42,611 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:42,732 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:42,736 INFO L255 TraceCheckSpWp]: Trace formula consists of 156 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-07 19:24:42,740 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-07 19:24:42,782 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:42,834 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:42,834 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-07 19:24:42,908 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:42,909 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [975401349] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-07 19:24:42,909 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-07 19:24:42,909 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-07 19:24:42,909 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [205926866] [2024-11-07 19:24:42,909 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-07 19:24:42,909 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-07 19:24:42,910 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:42,910 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-07 19:24:42,910 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-07 19:24:43,007 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 41 out of 123 [2024-11-07 19:24:43,008 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 97 places, 95 transitions, 220 flow. Second operand has 9 states, 9 states have (on average 43.333333333333336) internal successors, (390), 9 states have internal predecessors, (390), 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,008 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:43,009 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 41 of 123 [2024-11-07 19:24:43,009 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 19:24:43,126 INFO L124 PetriNetUnfolderBase]: 58/185 cut-off events. [2024-11-07 19:24:43,126 INFO L125 PetriNetUnfolderBase]: For 50/50 co-relation queries the response was YES. [2024-11-07 19:24:43,127 INFO L83 FinitePrefix]: Finished finitePrefix Result has 365 conditions, 185 events. 58/185 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 670 event pairs, 32 based on Foata normal form. 38/219 useless extension candidates. Maximal degree in co-relation 359. Up to 111 conditions per place. [2024-11-07 19:24:43,127 INFO L140 encePairwiseOnDemand]: 119/123 looper letters, 41 selfloop transitions, 2 changer transitions 0/57 dead transitions. [2024-11-07 19:24:43,128 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 46 places, 57 transitions, 210 flow [2024-11-07 19:24:43,128 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-07 19:24:43,128 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-11-07 19:24:43,129 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 209 transitions. [2024-11-07 19:24:43,129 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4247967479674797 [2024-11-07 19:24:43,129 INFO L175 Difference]: Start difference. First operand has 97 places, 95 transitions, 220 flow. Second operand 4 states and 209 transitions. [2024-11-07 19:24:43,129 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 46 places, 57 transitions, 210 flow [2024-11-07 19:24:43,130 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 43 places, 57 transitions, 204 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-11-07 19:24:43,130 INFO L231 Difference]: Finished difference. Result has 43 places, 37 transitions, 82 flow [2024-11-07 19:24:43,130 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=123, PETRI_DIFFERENCE_MINUEND_FLOW=78, PETRI_DIFFERENCE_MINUEND_PLACES=40, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=37, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=35, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=82, PETRI_PLACES=43, PETRI_TRANSITIONS=37} [2024-11-07 19:24:43,131 INFO L277 CegarLoopForPetriNet]: 98 programPoint places, -55 predicate places. [2024-11-07 19:24:43,131 INFO L471 AbstractCegarLoop]: Abstraction has has 43 places, 37 transitions, 82 flow [2024-11-07 19:24:43,131 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 43.333333333333336) internal successors, (390), 9 states have internal predecessors, (390), 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,131 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:43,131 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-11-07 19:24:43,145 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:43,332 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:43,332 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-07 19:24:43,333 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:43,333 INFO L85 PathProgramCache]: Analyzing trace with hash 616214394, now seen corresponding path program 1 times [2024-11-07 19:24:43,333 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:43,333 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [125347266] [2024-11-07 19:24:43,333 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:43,333 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:43,366 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:24:43,366 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 19:24:43,377 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 19:24:43,393 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 19:24:43,394 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 19:24:43,397 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (14 of 15 remaining) [2024-11-07 19:24:43,400 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK (13 of 15 remaining) [2024-11-07 19:24:43,400 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (12 of 15 remaining) [2024-11-07 19:24:43,400 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (11 of 15 remaining) [2024-11-07 19:24:43,401 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 15 remaining) [2024-11-07 19:24:43,401 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 15 remaining) [2024-11-07 19:24:43,401 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 15 remaining) [2024-11-07 19:24:43,401 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 15 remaining) [2024-11-07 19:24:43,401 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 15 remaining) [2024-11-07 19:24:43,401 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 15 remaining) [2024-11-07 19:24:43,401 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (4 of 15 remaining) [2024-11-07 19:24:43,401 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 15 remaining) [2024-11-07 19:24:43,401 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK (2 of 15 remaining) [2024-11-07 19:24:43,402 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK (1 of 15 remaining) [2024-11-07 19:24:43,402 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 15 remaining) [2024-11-07 19:24:43,402 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-07 19:24:43,403 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-07 19:24:43,405 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 19:24:43,405 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-07 19:24:43,454 INFO L143 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2024-11-07 19:24:43,456 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 166 places, 217 transitions, 478 flow [2024-11-07 19:24:43,534 INFO L124 PetriNetUnfolderBase]: 161/719 cut-off events. [2024-11-07 19:24:43,535 INFO L125 PetriNetUnfolderBase]: For 72/79 co-relation queries the response was YES. [2024-11-07 19:24:43,544 INFO L83 FinitePrefix]: Finished finitePrefix Result has 808 conditions, 719 events. 161/719 cut-off events. For 72/79 co-relation queries the response was YES. Maximal size of possible extension queue 44. Compared 4825 event pairs, 1 based on Foata normal form. 0/459 useless extension candidates. Maximal degree in co-relation 445. Up to 32 conditions per place. [2024-11-07 19:24:43,545 INFO L82 GeneralOperation]: Start removeDead. Operand has 166 places, 217 transitions, 478 flow [2024-11-07 19:24:43,552 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 166 places, 217 transitions, 478 flow [2024-11-07 19:24:43,553 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 19:24:43,553 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;@79092c55, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 19:24:43,553 INFO L334 AbstractCegarLoop]: Starting to check reachability of 17 error locations. [2024-11-07 19:24:43,556 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 19:24:43,556 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-07 19:24:43,556 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 19:24:43,556 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 19:24:43,556 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-07 19:24:43,556 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 14 more)] === [2024-11-07 19:24:43,557 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 19:24:43,557 INFO L85 PathProgramCache]: Analyzing trace with hash 917537, now seen corresponding path program 1 times [2024-11-07 19:24:43,557 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 19:24:43,557 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1432623614] [2024-11-07 19:24:43,557 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 19:24:43,557 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 19:24:43,582 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 19:24:43,610 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,610 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 19:24:43,610 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1432623614] [2024-11-07 19:24:43,610 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1432623614] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 19:24:43,610 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 19:24:43,610 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-07 19:24:43,610 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1919682115] [2024-11-07 19:24:43,610 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 19:24:43,611 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 19:24:43,611 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 19:24:43,611 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 19:24:43,611 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 19:24:43,625 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 65 out of 217 [2024-11-07 19:24:43,626 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 166 places, 217 transitions, 478 flow. Second operand has 3 states, 3 states have (on average 66.0) internal successors, (198), 3 states have internal predecessors, (198), 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,626 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 19:24:43,626 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 65 of 217 [2024-11-07 19:24:43,626 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand