./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 803cd42f Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/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.2.5-tmp.dk.eval-assert-order-craig-803cd42-m [2024-11-22 21:37:46,610 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-22 21:37:46,684 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-22 21:37:46,690 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-22 21:37:46,690 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-22 21:37:46,713 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-22 21:37:46,714 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-22 21:37:46,714 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-22 21:37:46,715 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-22 21:37:46,718 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-22 21:37:46,718 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-22 21:37:46,719 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-22 21:37:46,719 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-22 21:37:46,719 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-22 21:37:46,719 INFO L153 SettingsManager]: * Use SBE=true [2024-11-22 21:37:46,720 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-22 21:37:46,720 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-22 21:37:46,720 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-22 21:37:46,720 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-22 21:37:46,720 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-22 21:37:46,720 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-22 21:37:46,722 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-22 21:37:46,722 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-22 21:37:46,722 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-22 21:37:46,722 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-22 21:37:46,722 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-22 21:37:46,723 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-22 21:37:46,723 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-22 21:37:46,723 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-22 21:37:46,724 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-22 21:37:46,724 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-22 21:37:46,724 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-22 21:37:46,725 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-22 21:37:46,725 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-22 21:37:46,725 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-22 21:37:46,725 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-22 21:37:46,725 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-22 21:37:46,726 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-22 21:37:46,726 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-22 21:37:46,726 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-22 21:37:46,726 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-22 21:37:46,726 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-22 21:37:46,726 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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/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-22 21:37:46,935 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-22 21:37:46,955 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-22 21:37:46,959 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-22 21:37:46,961 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-22 21:37:46,963 INFO L274 PluginConnector]: CDTParser initialized [2024-11-22 21:37:46,964 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i [2024-11-22 21:37:48,330 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-22 21:37:48,504 INFO L384 CDTParser]: Found 1 translation units. [2024-11-22 21:37:48,506 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i [2024-11-22 21:37:48,522 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/236293df7/177e3c9916a54e588c3dc5cf066a1503/FLAG014ef6fc5 [2024-11-22 21:37:48,536 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/236293df7/177e3c9916a54e588c3dc5cf066a1503 [2024-11-22 21:37:48,539 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-22 21:37:48,540 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-22 21:37:48,542 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-22 21:37:48,542 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-22 21:37:48,546 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-22 21:37:48,547 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 09:37:48" (1/1) ... [2024-11-22 21:37:48,548 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@20b58b5c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:48, skipping insertion in model container [2024-11-22 21:37:48,548 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 09:37:48" (1/1) ... [2024-11-22 21:37:48,585 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-22 21:37:48,857 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-22 21:37:48,902 INFO L200 MainTranslator]: Completed pre-run [2024-11-22 21:37:48,969 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-22 21:37:49,034 INFO L204 MainTranslator]: Completed translation [2024-11-22 21:37:49,034 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49 WrapperNode [2024-11-22 21:37:49,034 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-22 21:37:49,035 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-22 21:37:49,035 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-22 21:37:49,039 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-22 21:37:49,044 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,058 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,081 INFO L138 Inliner]: procedures = 173, calls = 38, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 121 [2024-11-22 21:37:49,084 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-22 21:37:49,084 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-22 21:37:49,084 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-22 21:37:49,084 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-22 21:37:49,093 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,093 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,100 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,118 INFO L175 MemorySlicer]: Split 14 memory accesses to 4 slices as follows [2, 2, 5, 5]. 36 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 0, 5, 5]. The 1 writes are split as follows [0, 1, 0, 0]. [2024-11-22 21:37:49,120 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,120 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,129 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,134 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,136 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,136 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,142 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-22 21:37:49,143 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-22 21:37:49,145 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-22 21:37:49,145 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-22 21:37:49,146 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (1/1) ... [2024-11-22 21:37:49,154 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-22 21:37:49,164 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-22 21:37:49,184 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-22 21:37:49,193 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-22 21:37:49,232 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-22 21:37:49,233 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-22 21:37:49,233 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-22 21:37:49,233 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-11-22 21:37:49,233 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-22 21:37:49,233 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-22 21:37:49,233 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-22 21:37:49,234 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-11-22 21:37:49,234 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-22 21:37:49,234 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-22 21:37:49,234 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-22 21:37:49,235 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2024-11-22 21:37:49,236 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2024-11-22 21:37:49,236 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-22 21:37:49,237 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-22 21:37:49,237 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-22 21:37:49,237 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-22 21:37:49,237 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-11-22 21:37:49,237 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-22 21:37:49,237 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-22 21:37:49,237 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-22 21:37:49,241 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-22 21:37:49,342 INFO L238 CfgBuilder]: Building ICFG [2024-11-22 21:37:49,343 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-22 21:37:49,480 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-22 21:37:49,480 INFO L287 CfgBuilder]: Performing block encoding [2024-11-22 21:37:49,569 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-22 21:37:49,569 INFO L316 CfgBuilder]: Removed 10 assume(true) statements. [2024-11-22 21:37:49,569 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 09:37:49 BoogieIcfgContainer [2024-11-22 21:37:49,570 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-22 21:37:49,571 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-22 21:37:49,572 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-22 21:37:49,574 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-22 21:37:49,574 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 22.11 09:37:48" (1/3) ... [2024-11-22 21:37:49,575 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@56dbe951 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 09:37:49, skipping insertion in model container [2024-11-22 21:37:49,575 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:37:49" (2/3) ... [2024-11-22 21:37:49,577 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@56dbe951 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 09:37:49, skipping insertion in model container [2024-11-22 21:37:49,577 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 09:37:49" (3/3) ... [2024-11-22 21:37:49,578 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_05-lockfuns_racefree.i [2024-11-22 21:37:49,603 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-22 21:37:49,604 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2024-11-22 21:37:49,604 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-22 21:37:49,631 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2024-11-22 21:37:49,657 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 54 places, 62 transitions, 131 flow [2024-11-22 21:37:49,692 INFO L124 PetriNetUnfolderBase]: 15/94 cut-off events. [2024-11-22 21:37:49,693 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-22 21:37:49,699 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-22 21:37:49,699 INFO L82 GeneralOperation]: Start removeDead. Operand has 54 places, 62 transitions, 131 flow [2024-11-22 21:37:49,703 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 54 places, 62 transitions, 131 flow [2024-11-22 21:37:49,714 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-22 21:37:49,719 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;@65597e9f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-22 21:37:49,720 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-22 21:37:49,723 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-22 21:37:49,723 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-22 21:37:49,723 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-22 21:37:49,723 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:37:49,723 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-22 21:37:49,724 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-22 21:37:49,727 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:37:49,728 INFO L85 PathProgramCache]: Analyzing trace with hash 342913, now seen corresponding path program 1 times [2024-11-22 21:37:49,737 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:37:49,738 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1546674515] [2024-11-22 21:37:49,738 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:49,738 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:37:49,855 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:37:49,998 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-22 21:37:49,998 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:37:49,999 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1546674515] [2024-11-22 21:37:49,999 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1546674515] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-22 21:37:49,999 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-22 21:37:49,999 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-22 21:37:50,001 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [58276954] [2024-11-22 21:37:50,001 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-22 21:37:50,009 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-22 21:37:50,013 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:37:50,037 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-22 21:37:50,037 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-22 21:37:50,052 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 62 [2024-11-22 21:37:50,054 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-22 21:37:50,054 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:37:50,054 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 62 [2024-11-22 21:37:50,055 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-22 21:37:50,220 INFO L124 PetriNetUnfolderBase]: 177/564 cut-off events. [2024-11-22 21:37:50,220 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-22 21:37:50,222 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-22 21:37:50,225 INFO L140 encePairwiseOnDemand]: 48/62 looper letters, 39 selfloop transitions, 2 changer transitions 1/60 dead transitions. [2024-11-22 21:37:50,225 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 53 places, 60 transitions, 211 flow [2024-11-22 21:37:50,226 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-22 21:37:50,228 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-22 21:37:50,233 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 114 transitions. [2024-11-22 21:37:50,234 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6129032258064516 [2024-11-22 21:37:50,236 INFO L175 Difference]: Start difference. First operand has 54 places, 62 transitions, 131 flow. Second operand 3 states and 114 transitions. [2024-11-22 21:37:50,237 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 53 places, 60 transitions, 211 flow [2024-11-22 21:37:50,239 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 53 places, 60 transitions, 211 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-22 21:37:50,240 INFO L231 Difference]: Finished difference. Result has 53 places, 48 transitions, 107 flow [2024-11-22 21:37:50,242 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-22 21:37:50,245 INFO L277 CegarLoopForPetriNet]: 54 programPoint places, -1 predicate places. [2024-11-22 21:37:50,245 INFO L471 AbstractCegarLoop]: Abstraction has has 53 places, 48 transitions, 107 flow [2024-11-22 21:37:50,245 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-22 21:37:50,245 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:37:50,245 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-22 21:37:50,245 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-22 21:37:50,246 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-22 21:37:50,246 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:37:50,246 INFO L85 PathProgramCache]: Analyzing trace with hash 342914, now seen corresponding path program 1 times [2024-11-22 21:37:50,246 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:37:50,246 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1984487580] [2024-11-22 21:37:50,247 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:50,247 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:37:50,262 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:37:50,371 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-22 21:37:50,371 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:37:50,372 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1984487580] [2024-11-22 21:37:50,372 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1984487580] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-22 21:37:50,372 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-22 21:37:50,373 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-22 21:37:50,373 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1164019000] [2024-11-22 21:37:50,373 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-22 21:37:50,374 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-22 21:37:50,374 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:37:50,375 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-22 21:37:50,375 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-22 21:37:50,390 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 62 [2024-11-22 21:37:50,391 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-22 21:37:50,393 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:37:50,393 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 62 [2024-11-22 21:37:50,393 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-22 21:37:50,507 INFO L124 PetriNetUnfolderBase]: 154/512 cut-off events. [2024-11-22 21:37:50,507 INFO L125 PetriNetUnfolderBase]: For 6/7 co-relation queries the response was YES. [2024-11-22 21:37:50,509 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-22 21:37:50,513 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 39 selfloop transitions, 2 changer transitions 0/60 dead transitions. [2024-11-22 21:37:50,514 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 54 places, 60 transitions, 213 flow [2024-11-22 21:37:50,514 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-22 21:37:50,515 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-22 21:37:50,515 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 106 transitions. [2024-11-22 21:37:50,516 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5698924731182796 [2024-11-22 21:37:50,516 INFO L175 Difference]: Start difference. First operand has 53 places, 48 transitions, 107 flow. Second operand 3 states and 106 transitions. [2024-11-22 21:37:50,517 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 54 places, 60 transitions, 213 flow [2024-11-22 21:37:50,518 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 52 places, 60 transitions, 209 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-22 21:37:50,522 INFO L231 Difference]: Finished difference. Result has 53 places, 48 transitions, 113 flow [2024-11-22 21:37:50,522 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-22 21:37:50,523 INFO L277 CegarLoopForPetriNet]: 54 programPoint places, -1 predicate places. [2024-11-22 21:37:50,523 INFO L471 AbstractCegarLoop]: Abstraction has has 53 places, 48 transitions, 113 flow [2024-11-22 21:37:50,523 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-22 21:37:50,523 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:37:50,523 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-22 21:37:50,524 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-22 21:37:50,524 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-22 21:37:50,524 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:37:50,524 INFO L85 PathProgramCache]: Analyzing trace with hash -1129669692, now seen corresponding path program 1 times [2024-11-22 21:37:50,524 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:37:50,525 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1990338221] [2024-11-22 21:37:50,525 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:50,525 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:37:50,547 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:37:50,708 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-22 21:37:50,708 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:37:50,708 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1990338221] [2024-11-22 21:37:50,709 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1990338221] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-22 21:37:50,710 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1282825546] [2024-11-22 21:37:50,712 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:50,713 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-22 21:37:50,713 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-22 21:37:50,715 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-22 21:37:50,717 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2024-11-22 21:37:50,775 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:37:50,777 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-22 21:37:50,780 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-22 21:37:50,825 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-22 21:37:50,890 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-22 21:37:50,890 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-22 21:37:50,986 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-22 21:37:50,987 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1282825546] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-22 21:37:50,987 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-22 21:37:50,987 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-22 21:37:50,987 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [728401705] [2024-11-22 21:37:50,987 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-22 21:37:50,988 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-22 21:37:50,988 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:37:50,988 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-22 21:37:50,988 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-22 21:37:51,057 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 62 [2024-11-22 21:37:51,058 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-22 21:37:51,058 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:37:51,058 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 62 [2024-11-22 21:37:51,058 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-22 21:37:51,129 INFO L124 PetriNetUnfolderBase]: 33/113 cut-off events. [2024-11-22 21:37:51,130 INFO L125 PetriNetUnfolderBase]: For 27/27 co-relation queries the response was YES. [2024-11-22 21:37:51,130 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-22 21:37:51,131 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 27 selfloop transitions, 2 changer transitions 0/37 dead transitions. [2024-11-22 21:37:51,131 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 33 places, 37 transitions, 142 flow [2024-11-22 21:37:51,132 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-22 21:37:51,132 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-11-22 21:37:51,132 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 111 transitions. [2024-11-22 21:37:51,133 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4475806451612903 [2024-11-22 21:37:51,133 INFO L175 Difference]: Start difference. First operand has 53 places, 48 transitions, 113 flow. Second operand 4 states and 111 transitions. [2024-11-22 21:37:51,133 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 33 places, 37 transitions, 142 flow [2024-11-22 21:37:51,133 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 30 places, 37 transitions, 136 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-11-22 21:37:51,134 INFO L231 Difference]: Finished difference. Result has 30 places, 24 transitions, 56 flow [2024-11-22 21:37:51,134 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-22 21:37:51,134 INFO L277 CegarLoopForPetriNet]: 54 programPoint places, -24 predicate places. [2024-11-22 21:37:51,134 INFO L471 AbstractCegarLoop]: Abstraction has has 30 places, 24 transitions, 56 flow [2024-11-22 21:37:51,135 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-22 21:37:51,135 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:37:51,135 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-11-22 21:37:51,147 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-11-22 21:37:51,340 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-22 21:37:51,343 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-22 21:37:51,344 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:37:51,344 INFO L85 PathProgramCache]: Analyzing trace with hash -660021772, now seen corresponding path program 1 times [2024-11-22 21:37:51,344 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:37:51,345 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1194332368] [2024-11-22 21:37:51,345 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:51,345 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:37:51,355 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-22 21:37:51,355 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-22 21:37:51,361 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-22 21:37:51,378 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-22 21:37:51,379 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-22 21:37:51,380 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-22 21:37:51,381 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-22 21:37:51,382 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-22 21:37:51,382 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-22 21:37:51,382 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-22 21:37:51,383 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-22 21:37:51,383 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-22 21:37:51,383 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-22 21:37:51,383 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-22 21:37:51,385 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-22 21:37:51,385 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-22 21:37:51,403 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-22 21:37:51,405 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 75 places, 88 transitions, 192 flow [2024-11-22 21:37:51,417 INFO L124 PetriNetUnfolderBase]: 27/164 cut-off events. [2024-11-22 21:37:51,418 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2024-11-22 21:37:51,420 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-22 21:37:51,420 INFO L82 GeneralOperation]: Start removeDead. Operand has 75 places, 88 transitions, 192 flow [2024-11-22 21:37:51,421 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 75 places, 88 transitions, 192 flow [2024-11-22 21:37:51,422 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-22 21:37:51,423 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;@65597e9f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-22 21:37:51,424 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-22 21:37:51,425 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-22 21:37:51,425 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-22 21:37:51,425 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-22 21:37:51,425 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:37:51,425 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-22 21:37:51,426 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-22 21:37:51,426 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:37:51,426 INFO L85 PathProgramCache]: Analyzing trace with hash 430297, now seen corresponding path program 1 times [2024-11-22 21:37:51,426 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:37:51,426 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [983181780] [2024-11-22 21:37:51,426 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:51,426 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:37:51,433 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:37:51,457 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-22 21:37:51,457 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:37:51,457 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [983181780] [2024-11-22 21:37:51,457 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [983181780] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-22 21:37:51,457 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-22 21:37:51,457 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-22 21:37:51,457 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1516367103] [2024-11-22 21:37:51,458 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-22 21:37:51,458 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-22 21:37:51,458 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:37:51,458 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-22 21:37:51,458 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-22 21:37:51,472 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 25 out of 88 [2024-11-22 21:37:51,473 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-22 21:37:51,473 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:37:51,473 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 25 of 88 [2024-11-22 21:37:51,473 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-22 21:37:52,112 INFO L124 PetriNetUnfolderBase]: 4612/9436 cut-off events. [2024-11-22 21:37:52,112 INFO L125 PetriNetUnfolderBase]: For 65/65 co-relation queries the response was YES. [2024-11-22 21:37:52,123 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-22 21:37:52,153 INFO L140 encePairwiseOnDemand]: 68/88 looper letters, 63 selfloop transitions, 2 changer transitions 1/91 dead transitions. [2024-11-22 21:37:52,154 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 91 transitions, 330 flow [2024-11-22 21:37:52,154 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-22 21:37:52,154 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-22 21:37:52,155 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 171 transitions. [2024-11-22 21:37:52,155 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6477272727272727 [2024-11-22 21:37:52,155 INFO L175 Difference]: Start difference. First operand has 75 places, 88 transitions, 192 flow. Second operand 3 states and 171 transitions. [2024-11-22 21:37:52,156 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 91 transitions, 330 flow [2024-11-22 21:37:52,156 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 74 places, 91 transitions, 330 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-22 21:37:52,157 INFO L231 Difference]: Finished difference. Result has 74 places, 68 transitions, 156 flow [2024-11-22 21:37:52,158 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-22 21:37:52,158 INFO L277 CegarLoopForPetriNet]: 75 programPoint places, -1 predicate places. [2024-11-22 21:37:52,158 INFO L471 AbstractCegarLoop]: Abstraction has has 74 places, 68 transitions, 156 flow [2024-11-22 21:37:52,159 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-22 21:37:52,159 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:37:52,159 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-22 21:37:52,159 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-11-22 21:37:52,159 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-22 21:37:52,159 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:37:52,160 INFO L85 PathProgramCache]: Analyzing trace with hash 430298, now seen corresponding path program 1 times [2024-11-22 21:37:52,160 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:37:52,160 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1581281556] [2024-11-22 21:37:52,160 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:52,160 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:37:52,165 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:37:52,198 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-22 21:37:52,199 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:37:52,199 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1581281556] [2024-11-22 21:37:52,199 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1581281556] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-22 21:37:52,199 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-22 21:37:52,199 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-22 21:37:52,199 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [553913733] [2024-11-22 21:37:52,199 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-22 21:37:52,200 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-22 21:37:52,200 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:37:52,200 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-22 21:37:52,201 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-22 21:37:52,207 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 28 out of 88 [2024-11-22 21:37:52,208 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-22 21:37:52,208 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:37:52,208 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 28 of 88 [2024-11-22 21:37:52,208 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-22 21:37:52,860 INFO L124 PetriNetUnfolderBase]: 4039/8560 cut-off events. [2024-11-22 21:37:52,861 INFO L125 PetriNetUnfolderBase]: For 163/163 co-relation queries the response was YES. [2024-11-22 21:37:52,872 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-22 21:37:52,906 INFO L140 encePairwiseOnDemand]: 84/88 looper letters, 53 selfloop transitions, 2 changer transitions 0/81 dead transitions. [2024-11-22 21:37:52,907 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 75 places, 81 transitions, 292 flow [2024-11-22 21:37:52,907 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-22 21:37:52,907 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-22 21:37:52,908 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 141 transitions. [2024-11-22 21:37:52,908 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5340909090909091 [2024-11-22 21:37:52,908 INFO L175 Difference]: Start difference. First operand has 74 places, 68 transitions, 156 flow. Second operand 3 states and 141 transitions. [2024-11-22 21:37:52,908 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 75 places, 81 transitions, 292 flow [2024-11-22 21:37:52,915 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 81 transitions, 288 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-22 21:37:52,916 INFO L231 Difference]: Finished difference. Result has 74 places, 69 transitions, 166 flow [2024-11-22 21:37:52,917 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-22 21:37:52,917 INFO L277 CegarLoopForPetriNet]: 75 programPoint places, -1 predicate places. [2024-11-22 21:37:52,917 INFO L471 AbstractCegarLoop]: Abstraction has has 74 places, 69 transitions, 166 flow [2024-11-22 21:37:52,917 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-22 21:37:52,918 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:37:52,918 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-22 21:37:52,918 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-11-22 21:37:52,918 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-22 21:37:52,918 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:37:52,918 INFO L85 PathProgramCache]: Analyzing trace with hash -2029665276, now seen corresponding path program 1 times [2024-11-22 21:37:52,919 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:37:52,919 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1888579176] [2024-11-22 21:37:52,919 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:52,919 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:37:52,925 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:37:52,996 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-22 21:37:52,997 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:37:52,997 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1888579176] [2024-11-22 21:37:52,997 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1888579176] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-22 21:37:52,997 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [787487019] [2024-11-22 21:37:52,997 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:52,997 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-22 21:37:52,997 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-22 21:37:53,003 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-22 21:37:53,005 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2024-11-22 21:37:53,053 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:37:53,054 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-22 21:37:53,055 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-22 21:37:53,063 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-22 21:37:53,113 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-22 21:37:53,113 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-22 21:37:53,170 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-22 21:37:53,170 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [787487019] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-22 21:37:53,170 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-22 21:37:53,170 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-22 21:37:53,170 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [804126566] [2024-11-22 21:37:53,171 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-22 21:37:53,171 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-22 21:37:53,171 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:37:53,172 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-22 21:37:53,172 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-22 21:37:53,219 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 88 [2024-11-22 21:37:53,220 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-22 21:37:53,220 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:37:53,220 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 88 [2024-11-22 21:37:53,220 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-22 21:37:53,468 INFO L124 PetriNetUnfolderBase]: 957/1861 cut-off events. [2024-11-22 21:37:53,468 INFO L125 PetriNetUnfolderBase]: For 339/339 co-relation queries the response was YES. [2024-11-22 21:37:53,470 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-22 21:37:53,479 INFO L140 encePairwiseOnDemand]: 84/88 looper letters, 63 selfloop transitions, 3 changer transitions 0/81 dead transitions. [2024-11-22 21:37:53,479 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 55 places, 81 transitions, 312 flow [2024-11-22 21:37:53,479 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-22 21:37:53,480 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-11-22 21:37:53,480 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 205 transitions. [2024-11-22 21:37:53,480 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4659090909090909 [2024-11-22 21:37:53,480 INFO L175 Difference]: Start difference. First operand has 74 places, 69 transitions, 166 flow. Second operand 5 states and 205 transitions. [2024-11-22 21:37:53,481 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 55 places, 81 transitions, 312 flow [2024-11-22 21:37:53,482 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 81 transitions, 310 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-22 21:37:53,483 INFO L231 Difference]: Finished difference. Result has 54 places, 44 transitions, 110 flow [2024-11-22 21:37:53,484 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-22 21:37:53,485 INFO L277 CegarLoopForPetriNet]: 75 programPoint places, -21 predicate places. [2024-11-22 21:37:53,485 INFO L471 AbstractCegarLoop]: Abstraction has has 54 places, 44 transitions, 110 flow [2024-11-22 21:37:53,485 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-22 21:37:53,485 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:37:53,485 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2024-11-22 21:37:53,493 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2024-11-22 21:37:53,686 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable6 [2024-11-22 21:37:53,687 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-22 21:37:53,687 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:37:53,687 INFO L85 PathProgramCache]: Analyzing trace with hash -1460335429, now seen corresponding path program 1 times [2024-11-22 21:37:53,687 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:37:53,687 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1806590392] [2024-11-22 21:37:53,687 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:53,688 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:37:53,697 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-22 21:37:53,697 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-22 21:37:53,703 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-22 21:37:53,706 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-22 21:37:53,706 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-22 21:37:53,706 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-22 21:37:53,707 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-22 21:37:53,707 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-22 21:37:53,707 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-22 21:37:53,707 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-22 21:37:53,707 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-22 21:37:53,707 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-22 21:37:53,708 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2024-11-22 21:37:53,708 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-22 21:37:53,708 WARN L244 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-22 21:37:53,708 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-11-22 21:37:53,729 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2024-11-22 21:37:53,730 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 114 transitions, 255 flow [2024-11-22 21:37:53,741 INFO L124 PetriNetUnfolderBase]: 42/255 cut-off events. [2024-11-22 21:37:53,742 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-11-22 21:37:53,742 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-22 21:37:53,743 INFO L82 GeneralOperation]: Start removeDead. Operand has 96 places, 114 transitions, 255 flow [2024-11-22 21:37:53,744 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 96 places, 114 transitions, 255 flow [2024-11-22 21:37:53,745 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-22 21:37:53,745 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;@65597e9f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-22 21:37:53,745 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-22 21:37:53,746 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-22 21:37:53,746 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-22 21:37:53,746 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-22 21:37:53,746 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:37:53,746 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-22 21:37:53,747 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-22 21:37:53,747 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:37:53,747 INFO L85 PathProgramCache]: Analyzing trace with hash 543499, now seen corresponding path program 1 times [2024-11-22 21:37:53,747 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:37:53,747 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1976760605] [2024-11-22 21:37:53,747 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:37:53,747 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:37:53,752 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:37:53,763 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-22 21:37:53,763 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:37:53,764 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1976760605] [2024-11-22 21:37:53,764 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1976760605] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-22 21:37:53,764 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-22 21:37:53,764 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-22 21:37:53,764 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1167405968] [2024-11-22 21:37:53,764 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-22 21:37:53,764 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-22 21:37:53,765 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:37:53,765 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-22 21:37:53,765 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-22 21:37:53,771 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 32 out of 114 [2024-11-22 21:37:53,772 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-22 21:37:53,772 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:37:53,772 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 32 of 114 [2024-11-22 21:37:53,772 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-22 21:38:03,173 INFO L124 PetriNetUnfolderBase]: 86952/146186 cut-off events. [2024-11-22 21:38:03,173 INFO L125 PetriNetUnfolderBase]: For 1648/1648 co-relation queries the response was YES. [2024-11-22 21:38:03,445 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-22 21:38:04,617 INFO L140 encePairwiseOnDemand]: 88/114 looper letters, 87 selfloop transitions, 2 changer transitions 1/122 dead transitions. [2024-11-22 21:38:04,618 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 95 places, 122 transitions, 451 flow [2024-11-22 21:38:04,618 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-22 21:38:04,619 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-22 21:38:04,619 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 228 transitions. [2024-11-22 21:38:04,619 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6666666666666666 [2024-11-22 21:38:04,619 INFO L175 Difference]: Start difference. First operand has 96 places, 114 transitions, 255 flow. Second operand 3 states and 228 transitions. [2024-11-22 21:38:04,620 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 95 places, 122 transitions, 451 flow [2024-11-22 21:38:04,622 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 95 places, 122 transitions, 451 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-22 21:38:04,623 INFO L231 Difference]: Finished difference. Result has 95 places, 88 transitions, 207 flow [2024-11-22 21:38:04,623 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-22 21:38:04,624 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -1 predicate places. [2024-11-22 21:38:04,624 INFO L471 AbstractCegarLoop]: Abstraction has has 95 places, 88 transitions, 207 flow [2024-11-22 21:38:04,624 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-22 21:38:04,625 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:38:04,625 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-22 21:38:04,625 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2024-11-22 21:38:04,625 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-22 21:38:04,625 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:38:04,625 INFO L85 PathProgramCache]: Analyzing trace with hash 543500, now seen corresponding path program 1 times [2024-11-22 21:38:04,626 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:38:04,626 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2080055290] [2024-11-22 21:38:04,626 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:38:04,626 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:38:04,631 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:38:04,664 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-22 21:38:04,664 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:38:04,665 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2080055290] [2024-11-22 21:38:04,665 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2080055290] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-22 21:38:04,665 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-22 21:38:04,665 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-22 21:38:04,665 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1634700958] [2024-11-22 21:38:04,665 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-22 21:38:04,665 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-22 21:38:04,666 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:38:04,666 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-22 21:38:04,666 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-22 21:38:04,676 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 35 out of 114 [2024-11-22 21:38:04,677 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-22 21:38:04,677 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:38:04,677 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 35 of 114 [2024-11-22 21:38:04,677 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-22 21:38:12,268 INFO L124 PetriNetUnfolderBase]: 75797/130654 cut-off events. [2024-11-22 21:38:12,268 INFO L125 PetriNetUnfolderBase]: For 3082/3082 co-relation queries the response was YES. [2024-11-22 21:38:12,507 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-22 21:38:13,014 INFO L140 encePairwiseOnDemand]: 110/114 looper letters, 66 selfloop transitions, 2 changer transitions 0/101 dead transitions. [2024-11-22 21:38:13,015 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 96 places, 101 transitions, 369 flow [2024-11-22 21:38:13,015 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-22 21:38:13,015 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-22 21:38:13,016 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 175 transitions. [2024-11-22 21:38:13,016 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5116959064327485 [2024-11-22 21:38:13,016 INFO L175 Difference]: Start difference. First operand has 95 places, 88 transitions, 207 flow. Second operand 3 states and 175 transitions. [2024-11-22 21:38:13,016 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 96 places, 101 transitions, 369 flow [2024-11-22 21:38:13,561 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 94 places, 101 transitions, 365 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-22 21:38:13,564 INFO L231 Difference]: Finished difference. Result has 95 places, 89 transitions, 217 flow [2024-11-22 21:38:13,565 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-22 21:38:13,565 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -1 predicate places. [2024-11-22 21:38:13,565 INFO L471 AbstractCegarLoop]: Abstraction has has 95 places, 89 transitions, 217 flow [2024-11-22 21:38:13,566 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-22 21:38:13,566 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:38:13,566 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-22 21:38:13,566 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2024-11-22 21:38:13,566 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-22 21:38:13,566 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:38:13,566 INFO L85 PathProgramCache]: Analyzing trace with hash -560231778, now seen corresponding path program 1 times [2024-11-22 21:38:13,566 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:38:13,566 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1463187713] [2024-11-22 21:38:13,566 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:38:13,567 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:38:13,587 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:38:13,665 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-22 21:38:13,665 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:38:13,665 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1463187713] [2024-11-22 21:38:13,666 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1463187713] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-22 21:38:13,666 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [425322665] [2024-11-22 21:38:13,666 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:38:13,667 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-22 21:38:13,667 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-22 21:38:13,669 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-22 21:38:13,670 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2024-11-22 21:38:13,723 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:38:13,723 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-22 21:38:13,724 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-22 21:38:13,734 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-22 21:38:13,780 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-22 21:38:13,780 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-22 21:38:13,827 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-22 21:38:13,828 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [425322665] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-22 21:38:13,828 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-22 21:38:13,828 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-22 21:38:13,828 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [726039176] [2024-11-22 21:38:13,828 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-22 21:38:13,829 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-22 21:38:13,829 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:38:13,830 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-22 21:38:13,830 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-22 21:38:13,876 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 34 out of 114 [2024-11-22 21:38:13,876 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-22 21:38:13,876 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:38:13,877 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 34 of 114 [2024-11-22 21:38:13,877 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-22 21:38:15,365 INFO L124 PetriNetUnfolderBase]: 18381/29251 cut-off events. [2024-11-22 21:38:15,365 INFO L125 PetriNetUnfolderBase]: For 7931/7931 co-relation queries the response was YES. [2024-11-22 21:38:15,410 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-22 21:38:15,675 INFO L140 encePairwiseOnDemand]: 110/114 looper letters, 110 selfloop transitions, 4 changer transitions 0/136 dead transitions. [2024-11-22 21:38:15,676 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 77 places, 136 transitions, 528 flow [2024-11-22 21:38:15,676 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-11-22 21:38:15,676 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2024-11-22 21:38:15,677 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 324 transitions. [2024-11-22 21:38:15,677 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.47368421052631576 [2024-11-22 21:38:15,677 INFO L175 Difference]: Start difference. First operand has 95 places, 89 transitions, 217 flow. Second operand 6 states and 324 transitions. [2024-11-22 21:38:15,677 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 77 places, 136 transitions, 528 flow [2024-11-22 21:38:15,682 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 76 places, 136 transitions, 524 flow, removed 1 selfloop flow, removed 1 redundant places. [2024-11-22 21:38:15,684 INFO L231 Difference]: Finished difference. Result has 76 places, 64 transitions, 160 flow [2024-11-22 21:38:15,684 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-22 21:38:15,684 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -20 predicate places. [2024-11-22 21:38:15,685 INFO L471 AbstractCegarLoop]: Abstraction has has 76 places, 64 transitions, 160 flow [2024-11-22 21:38:15,685 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-22 21:38:15,685 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:38:15,685 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2024-11-22 21:38:15,692 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2024-11-22 21:38:15,889 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10,4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-22 21:38:15,890 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-22 21:38:15,891 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:38:15,891 INFO L85 PathProgramCache]: Analyzing trace with hash -2072233549, now seen corresponding path program 1 times [2024-11-22 21:38:15,891 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:38:15,891 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [361644253] [2024-11-22 21:38:15,891 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:38:15,892 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:38:15,913 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-22 21:38:15,914 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-22 21:38:15,924 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-22 21:38:15,927 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-22 21:38:15,928 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-22 21:38:15,928 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-22 21:38:15,928 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-22 21:38:15,928 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-22 21:38:15,928 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-22 21:38:15,928 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-22 21:38:15,929 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-22 21:38:15,929 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-22 21:38:15,929 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2024-11-22 21:38:15,929 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-22 21:38:15,930 WARN L244 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-22 21:38:15,930 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-11-22 21:38:15,947 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-22 21:38:15,949 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 117 places, 140 transitions, 320 flow [2024-11-22 21:38:15,974 INFO L124 PetriNetUnfolderBase]: 65/390 cut-off events. [2024-11-22 21:38:15,974 INFO L125 PetriNetUnfolderBase]: For 48/48 co-relation queries the response was YES. [2024-11-22 21:38:15,976 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-22 21:38:15,976 INFO L82 GeneralOperation]: Start removeDead. Operand has 117 places, 140 transitions, 320 flow [2024-11-22 21:38:15,978 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 117 places, 140 transitions, 320 flow [2024-11-22 21:38:15,979 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-22 21:38:15,979 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;@65597e9f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-22 21:38:15,980 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-22 21:38:15,981 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-22 21:38:15,981 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-22 21:38:15,981 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-22 21:38:15,981 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-22 21:38:15,981 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-22 21:38:15,981 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-22 21:38:15,982 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-22 21:38:15,982 INFO L85 PathProgramCache]: Analyzing trace with hash 682519, now seen corresponding path program 1 times [2024-11-22 21:38:15,982 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-22 21:38:15,982 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2112239870] [2024-11-22 21:38:15,982 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-22 21:38:15,982 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-22 21:38:15,987 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-22 21:38:16,001 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-22 21:38:16,001 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-22 21:38:16,002 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2112239870] [2024-11-22 21:38:16,002 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2112239870] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-22 21:38:16,002 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-22 21:38:16,002 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-22 21:38:16,002 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [678734972] [2024-11-22 21:38:16,002 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-22 21:38:16,002 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-22 21:38:16,003 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-22 21:38:16,003 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-22 21:38:16,003 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-22 21:38:16,011 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 39 out of 140 [2024-11-22 21:38:16,011 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-22 21:38:16,011 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-22 21:38:16,011 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 39 of 140 [2024-11-22 21:38:16,011 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand