./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/valid-memsafety.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version a046e57d 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 /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.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 6bed9188bb7b7687ebd02ffac8f3cae5646a3288850778355d808dde868a6cf7 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.dk.eval-mul-div-a046e57-m [2024-10-13 12:11:01,003 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-13 12:11:01,088 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-10-13 12:11:01,093 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-13 12:11:01,094 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-13 12:11:01,124 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-13 12:11:01,125 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-13 12:11:01,126 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-13 12:11:01,126 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-13 12:11:01,127 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-13 12:11:01,127 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-13 12:11:01,128 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-13 12:11:01,152 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-13 12:11:01,154 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-13 12:11:01,154 INFO L153 SettingsManager]: * Use SBE=true [2024-10-13 12:11:01,154 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-13 12:11:01,155 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-13 12:11:01,155 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-13 12:11:01,155 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-13 12:11:01,156 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-13 12:11:01,156 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-10-13 12:11:01,159 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-10-13 12:11:01,159 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-10-13 12:11:01,159 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-13 12:11:01,159 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-13 12:11:01,160 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-13 12:11:01,160 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-13 12:11:01,160 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-13 12:11:01,161 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-13 12:11:01,161 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-13 12:11:01,161 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-13 12:11:01,161 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-13 12:11:01,162 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-13 12:11:01,162 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-13 12:11:01,166 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-13 12:11:01,166 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-13 12:11:01,166 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-13 12:11:01,166 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-13 12:11:01,167 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-13 12:11:01,167 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-13 12:11:01,167 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-13 12:11:01,168 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-13 12:11:01,168 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 -> 6bed9188bb7b7687ebd02ffac8f3cae5646a3288850778355d808dde868a6cf7 [2024-10-13 12:11:01,464 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-13 12:11:01,489 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-13 12:11:01,491 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-13 12:11:01,493 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-13 12:11:01,494 INFO L274 PluginConnector]: CDTParser initialized [2024-10-13 12:11:01,496 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i [2024-10-13 12:11:02,986 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-13 12:11:03,270 INFO L384 CDTParser]: Found 1 translation units. [2024-10-13 12:11:03,270 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/25_stack_longest-2-pthread.i [2024-10-13 12:11:03,287 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a61e2c06b/2ff59af122ac44c8ae4be9a6d1641944/FLAGafe53a79f [2024-10-13 12:11:03,567 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a61e2c06b/2ff59af122ac44c8ae4be9a6d1641944 [2024-10-13 12:11:03,570 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-13 12:11:03,571 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-13 12:11:03,573 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-13 12:11:03,573 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-13 12:11:03,579 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-13 12:11:03,580 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:11:03" (1/1) ... [2024-10-13 12:11:03,581 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3c83ea4b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:03, skipping insertion in model container [2024-10-13 12:11:03,581 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:11:03" (1/1) ... [2024-10-13 12:11:03,637 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-13 12:11:04,057 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 12:11:04,072 INFO L200 MainTranslator]: Completed pre-run [2024-10-13 12:11:04,117 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 12:11:04,192 INFO L204 MainTranslator]: Completed translation [2024-10-13 12:11:04,193 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04 WrapperNode [2024-10-13 12:11:04,195 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-13 12:11:04,200 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-13 12:11:04,200 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-13 12:11:04,200 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-13 12:11:04,229 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,247 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,272 INFO L138 Inliner]: procedures = 171, calls = 36, calls flagged for inlining = 10, calls inlined = 9, statements flattened = 137 [2024-10-13 12:11:04,272 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-13 12:11:04,273 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-13 12:11:04,273 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-13 12:11:04,273 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-13 12:11:04,283 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,284 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,287 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,301 INFO L175 MemorySlicer]: Split 12 memory accesses to 3 slices as follows [2, 5, 5]. 42 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 5, 5]. The 0 writes are split as follows [0, 0, 0]. [2024-10-13 12:11:04,301 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,304 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,309 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,313 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,315 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,316 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,328 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-13 12:11:04,329 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-13 12:11:04,329 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-13 12:11:04,330 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-13 12:11:04,331 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (1/1) ... [2024-10-13 12:11:04,339 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-13 12:11:04,351 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 12:11:04,368 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-10-13 12:11:04,375 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-10-13 12:11:04,427 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-10-13 12:11:04,428 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-10-13 12:11:04,428 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-13 12:11:04,428 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-10-13 12:11:04,428 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-13 12:11:04,428 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-10-13 12:11:04,429 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-10-13 12:11:04,429 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-10-13 12:11:04,429 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-10-13 12:11:04,429 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-13 12:11:04,429 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-13 12:11:04,431 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-13 12:11:04,433 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-13 12:11:04,599 INFO L238 CfgBuilder]: Building ICFG [2024-10-13 12:11:04,601 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-13 12:11:04,866 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-13 12:11:04,866 INFO L287 CfgBuilder]: Performing block encoding [2024-10-13 12:11:05,050 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-13 12:11:05,051 INFO L314 CfgBuilder]: Removed 2 assume(true) statements. [2024-10-13 12:11:05,051 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:11:05 BoogieIcfgContainer [2024-10-13 12:11:05,051 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-13 12:11:05,054 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-13 12:11:05,054 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-13 12:11:05,058 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-13 12:11:05,058 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.10 12:11:03" (1/3) ... [2024-10-13 12:11:05,059 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@46ee4e37 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.10 12:11:05, skipping insertion in model container [2024-10-13 12:11:05,059 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:11:04" (2/3) ... [2024-10-13 12:11:05,059 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@46ee4e37 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.10 12:11:05, skipping insertion in model container [2024-10-13 12:11:05,060 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:11:05" (3/3) ... [2024-10-13 12:11:05,061 INFO L112 eAbstractionObserver]: Analyzing ICFG 25_stack_longest-2-pthread.i [2024-10-13 12:11:05,080 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-13 12:11:05,081 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2024-10-13 12:11:05,081 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-13 12:11:05,177 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-10-13 12:11:05,220 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 40 places, 41 transitions, 86 flow [2024-10-13 12:11:05,259 INFO L124 PetriNetUnfolderBase]: 4/45 cut-off events. [2024-10-13 12:11:05,260 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:11:05,263 INFO L83 FinitePrefix]: Finished finitePrefix Result has 49 conditions, 45 events. 4/45 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 43 event pairs, 0 based on Foata normal form. 0/34 useless extension candidates. Maximal degree in co-relation 38. Up to 2 conditions per place. [2024-10-13 12:11:05,263 INFO L82 GeneralOperation]: Start removeDead. Operand has 40 places, 41 transitions, 86 flow [2024-10-13 12:11:05,267 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 40 places, 41 transitions, 86 flow [2024-10-13 12:11:05,278 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:11:05,286 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;@1b0b6b6d, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:11:05,286 INFO L334 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2024-10-13 12:11:05,291 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:11:05,291 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-13 12:11:05,291 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:11:05,292 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:11:05,292 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:11:05,293 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:11:05,298 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:11:05,299 INFO L85 PathProgramCache]: Analyzing trace with hash 400866, now seen corresponding path program 1 times [2024-10-13 12:11:05,308 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:11:05,309 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [280403112] [2024-10-13 12:11:05,309 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:11:05,310 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:11:05,424 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:11:05,504 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:11:05,505 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:11:05,506 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [280403112] [2024-10-13 12:11:05,506 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [280403112] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:11:05,507 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:11:05,507 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-13 12:11:05,509 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1236514076] [2024-10-13 12:11:05,510 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:11:05,518 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-10-13 12:11:05,522 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:11:05,547 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-10-13 12:11:05,549 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-13 12:11:05,550 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 41 [2024-10-13 12:11:05,554 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 40 places, 41 transitions, 86 flow. Second operand has 2 states, 2 states have (on average 13.0) internal successors, (26), 2 states have internal predecessors, (26), 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-10-13 12:11:05,555 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:11:05,555 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 41 [2024-10-13 12:11:05,557 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:11:05,682 INFO L124 PetriNetUnfolderBase]: 49/141 cut-off events. [2024-10-13 12:11:05,682 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:11:05,683 INFO L83 FinitePrefix]: Finished finitePrefix Result has 257 conditions, 141 events. 49/141 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 349 event pairs, 40 based on Foata normal form. 0/135 useless extension candidates. Maximal degree in co-relation 244. Up to 112 conditions per place. [2024-10-13 12:11:05,688 INFO L140 encePairwiseOnDemand]: 39/41 looper letters, 26 selfloop transitions, 0 changer transitions 0/37 dead transitions. [2024-10-13 12:11:05,689 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 38 places, 37 transitions, 130 flow [2024-10-13 12:11:05,690 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-13 12:11:05,693 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-10-13 12:11:05,700 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 52 transitions. [2024-10-13 12:11:05,703 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6341463414634146 [2024-10-13 12:11:05,705 INFO L175 Difference]: Start difference. First operand has 40 places, 41 transitions, 86 flow. Second operand 2 states and 52 transitions. [2024-10-13 12:11:05,706 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 38 places, 37 transitions, 130 flow [2024-10-13 12:11:05,707 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 38 places, 37 transitions, 130 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-13 12:11:05,710 INFO L231 Difference]: Finished difference. Result has 38 places, 37 transitions, 78 flow [2024-10-13 12:11:05,711 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=41, PETRI_DIFFERENCE_MINUEND_FLOW=78, PETRI_DIFFERENCE_MINUEND_PLACES=37, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=37, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=37, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=78, PETRI_PLACES=38, PETRI_TRANSITIONS=37} [2024-10-13 12:11:05,716 INFO L277 CegarLoopForPetriNet]: 40 programPoint places, -2 predicate places. [2024-10-13 12:11:05,716 INFO L471 AbstractCegarLoop]: Abstraction has has 38 places, 37 transitions, 78 flow [2024-10-13 12:11:05,716 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 13.0) internal successors, (26), 2 states have internal predecessors, (26), 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-10-13 12:11:05,716 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:11:05,717 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2024-10-13 12:11:05,717 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-13 12:11:05,717 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:11:05,718 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:11:05,718 INFO L85 PathProgramCache]: Analyzing trace with hash -941198751, now seen corresponding path program 1 times [2024-10-13 12:11:05,718 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:11:05,718 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [329810271] [2024-10-13 12:11:05,718 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:11:05,719 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:11:05,753 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:11:05,753 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 12:11:05,772 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:11:05,805 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 12:11:05,806 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-13 12:11:05,808 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (7 of 8 remaining) [2024-10-13 12:11:05,809 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (6 of 8 remaining) [2024-10-13 12:11:05,810 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (5 of 8 remaining) [2024-10-13 12:11:05,810 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (4 of 8 remaining) [2024-10-13 12:11:05,810 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 8 remaining) [2024-10-13 12:11:05,811 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (2 of 8 remaining) [2024-10-13 12:11:05,811 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (1 of 8 remaining) [2024-10-13 12:11:05,811 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 8 remaining) [2024-10-13 12:11:05,811 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-10-13 12:11:05,812 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-10-13 12:11:05,818 WARN L239 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-13 12:11:05,818 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-10-13 12:11:05,895 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-10-13 12:11:05,899 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 72 places, 75 transitions, 160 flow [2024-10-13 12:11:05,928 INFO L124 PetriNetUnfolderBase]: 8/84 cut-off events. [2024-10-13 12:11:05,929 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-10-13 12:11:05,930 INFO L83 FinitePrefix]: Finished finitePrefix Result has 92 conditions, 84 events. 8/84 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 168 event pairs, 0 based on Foata normal form. 0/64 useless extension candidates. Maximal degree in co-relation 71. Up to 3 conditions per place. [2024-10-13 12:11:05,930 INFO L82 GeneralOperation]: Start removeDead. Operand has 72 places, 75 transitions, 160 flow [2024-10-13 12:11:05,934 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 72 places, 75 transitions, 160 flow [2024-10-13 12:11:05,936 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:11:05,939 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;@1b0b6b6d, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:11:05,940 INFO L334 AbstractCegarLoop]: Starting to check reachability of 11 error locations. [2024-10-13 12:11:05,942 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:11:05,943 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-13 12:11:05,944 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:11:05,944 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:11:05,944 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:11:05,945 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-10-13 12:11:05,947 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:11:05,948 INFO L85 PathProgramCache]: Analyzing trace with hash 475341, now seen corresponding path program 1 times [2024-10-13 12:11:05,948 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:11:05,948 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [710128405] [2024-10-13 12:11:05,948 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:11:05,948 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:11:05,975 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:11:05,993 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:11:05,993 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:11:05,994 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [710128405] [2024-10-13 12:11:05,994 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [710128405] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:11:05,994 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:11:05,994 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-13 12:11:05,994 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [934501230] [2024-10-13 12:11:05,995 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:11:05,995 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-10-13 12:11:05,995 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:11:05,996 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-10-13 12:11:05,996 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-13 12:11:05,997 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 22 out of 75 [2024-10-13 12:11:05,997 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 72 places, 75 transitions, 160 flow. Second operand has 2 states, 2 states have (on average 23.0) internal successors, (46), 2 states have internal predecessors, (46), 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-10-13 12:11:05,997 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:11:05,997 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 22 of 75 [2024-10-13 12:11:05,997 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:11:06,797 INFO L124 PetriNetUnfolderBase]: 2473/4399 cut-off events. [2024-10-13 12:11:06,798 INFO L125 PetriNetUnfolderBase]: For 63/63 co-relation queries the response was YES. [2024-10-13 12:11:06,815 INFO L83 FinitePrefix]: Finished finitePrefix Result has 8254 conditions, 4399 events. 2473/4399 cut-off events. For 63/63 co-relation queries the response was YES. Maximal size of possible extension queue 137. Compared 26008 event pairs, 2140 based on Foata normal form. 0/4203 useless extension candidates. Maximal degree in co-relation 7519. Up to 3787 conditions per place. [2024-10-13 12:11:06,849 INFO L140 encePairwiseOnDemand]: 72/75 looper letters, 49 selfloop transitions, 0 changer transitions 0/70 dead transitions. [2024-10-13 12:11:06,849 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 70 places, 70 transitions, 248 flow [2024-10-13 12:11:06,850 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-13 12:11:06,850 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-10-13 12:11:06,852 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 96 transitions. [2024-10-13 12:11:06,853 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.64 [2024-10-13 12:11:06,853 INFO L175 Difference]: Start difference. First operand has 72 places, 75 transitions, 160 flow. Second operand 2 states and 96 transitions. [2024-10-13 12:11:06,853 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 70 places, 70 transitions, 248 flow [2024-10-13 12:11:06,855 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 70 places, 70 transitions, 248 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-13 12:11:06,857 INFO L231 Difference]: Finished difference. Result has 70 places, 70 transitions, 150 flow [2024-10-13 12:11:06,858 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=75, PETRI_DIFFERENCE_MINUEND_FLOW=150, PETRI_DIFFERENCE_MINUEND_PLACES=69, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=70, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=70, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=150, PETRI_PLACES=70, PETRI_TRANSITIONS=70} [2024-10-13 12:11:06,859 INFO L277 CegarLoopForPetriNet]: 72 programPoint places, -2 predicate places. [2024-10-13 12:11:06,860 INFO L471 AbstractCegarLoop]: Abstraction has has 70 places, 70 transitions, 150 flow [2024-10-13 12:11:06,860 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 23.0) internal successors, (46), 2 states have internal predecessors, (46), 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-10-13 12:11:06,860 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:11:06,860 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1] [2024-10-13 12:11:06,860 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-10-13 12:11:06,861 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2024-10-13 12:11:06,861 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:11:06,861 INFO L85 PathProgramCache]: Analyzing trace with hash 1322465970, now seen corresponding path program 1 times [2024-10-13 12:11:06,861 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:11:06,862 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1880678929] [2024-10-13 12:11:06,862 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:11:06,862 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:11:06,902 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:11:06,906 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 12:11:06,927 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:11:06,942 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 12:11:06,942 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-13 12:11:06,943 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (10 of 11 remaining) [2024-10-13 12:11:06,943 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (9 of 11 remaining) [2024-10-13 12:11:06,944 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (8 of 11 remaining) [2024-10-13 12:11:06,944 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (7 of 11 remaining) [2024-10-13 12:11:06,944 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (6 of 11 remaining) [2024-10-13 12:11:06,945 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (5 of 11 remaining) [2024-10-13 12:11:06,945 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (4 of 11 remaining) [2024-10-13 12:11:06,945 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (3 of 11 remaining) [2024-10-13 12:11:06,945 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (2 of 11 remaining) [2024-10-13 12:11:06,946 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (1 of 11 remaining) [2024-10-13 12:11:06,946 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 11 remaining) [2024-10-13 12:11:06,946 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-10-13 12:11:06,946 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-10-13 12:11:06,947 WARN L239 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-13 12:11:06,947 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-10-13 12:11:07,033 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-10-13 12:11:07,040 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 104 places, 109 transitions, 236 flow [2024-10-13 12:11:07,058 INFO L124 PetriNetUnfolderBase]: 12/123 cut-off events. [2024-10-13 12:11:07,059 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2024-10-13 12:11:07,062 INFO L83 FinitePrefix]: Finished finitePrefix Result has 136 conditions, 123 events. 12/123 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 366 event pairs, 0 based on Foata normal form. 0/94 useless extension candidates. Maximal degree in co-relation 104. Up to 4 conditions per place. [2024-10-13 12:11:07,063 INFO L82 GeneralOperation]: Start removeDead. Operand has 104 places, 109 transitions, 236 flow [2024-10-13 12:11:07,064 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 104 places, 109 transitions, 236 flow [2024-10-13 12:11:07,066 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:11:07,068 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;@1b0b6b6d, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:11:07,068 INFO L334 AbstractCegarLoop]: Starting to check reachability of 14 error locations. [2024-10-13 12:11:07,070 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:11:07,070 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-13 12:11:07,070 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:11:07,070 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:11:07,070 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:11:07,070 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (and 10 more)] === [2024-10-13 12:11:07,071 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:11:07,071 INFO L85 PathProgramCache]: Analyzing trace with hash 583578, now seen corresponding path program 1 times [2024-10-13 12:11:07,073 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:11:07,073 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1421248712] [2024-10-13 12:11:07,073 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:11:07,073 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:11:07,094 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:11:07,116 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:11:07,117 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:11:07,117 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1421248712] [2024-10-13 12:11:07,118 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1421248712] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:11:07,118 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:11:07,118 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-13 12:11:07,118 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2092130630] [2024-10-13 12:11:07,118 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:11:07,119 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-10-13 12:11:07,119 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:11:07,119 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-10-13 12:11:07,120 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-13 12:11:07,120 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 32 out of 109 [2024-10-13 12:11:07,120 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 104 places, 109 transitions, 236 flow. Second operand has 2 states, 2 states have (on average 33.0) internal successors, (66), 2 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-10-13 12:11:07,121 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:11:07,121 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 32 of 109 [2024-10-13 12:11:07,121 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:11:19,497 INFO L124 PetriNetUnfolderBase]: 82297/122658 cut-off events. [2024-10-13 12:11:19,498 INFO L125 PetriNetUnfolderBase]: For 2753/2753 co-relation queries the response was YES. [2024-10-13 12:11:19,884 INFO L83 FinitePrefix]: Finished finitePrefix Result has 234559 conditions, 122658 events. 82297/122658 cut-off events. For 2753/2753 co-relation queries the response was YES. Maximal size of possible extension queue 2485. Compared 939225 event pairs, 72700 based on Foata normal form. 0/117247 useless extension candidates. Maximal degree in co-relation 172939. Up to 110068 conditions per place. [2024-10-13 12:11:20,914 INFO L140 encePairwiseOnDemand]: 105/109 looper letters, 72 selfloop transitions, 0 changer transitions 0/103 dead transitions. [2024-10-13 12:11:20,915 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 102 places, 103 transitions, 368 flow [2024-10-13 12:11:20,916 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-13 12:11:20,916 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-10-13 12:11:20,919 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 140 transitions. [2024-10-13 12:11:20,920 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6422018348623854 [2024-10-13 12:11:20,921 INFO L175 Difference]: Start difference. First operand has 104 places, 109 transitions, 236 flow. Second operand 2 states and 140 transitions. [2024-10-13 12:11:20,921 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 102 places, 103 transitions, 368 flow [2024-10-13 12:11:20,928 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 102 places, 103 transitions, 366 flow, removed 1 selfloop flow, removed 0 redundant places. [2024-10-13 12:11:20,931 INFO L231 Difference]: Finished difference. Result has 102 places, 103 transitions, 222 flow [2024-10-13 12:11:20,931 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=109, PETRI_DIFFERENCE_MINUEND_FLOW=222, PETRI_DIFFERENCE_MINUEND_PLACES=101, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=103, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=103, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=222, PETRI_PLACES=102, PETRI_TRANSITIONS=103} [2024-10-13 12:11:20,932 INFO L277 CegarLoopForPetriNet]: 104 programPoint places, -2 predicate places. [2024-10-13 12:11:20,933 INFO L471 AbstractCegarLoop]: Abstraction has has 102 places, 103 transitions, 222 flow [2024-10-13 12:11:20,933 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 33.0) internal successors, (66), 2 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-10-13 12:11:20,934 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:11:20,934 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 3, 1, 1, 1, 1, 1] [2024-10-13 12:11:20,934 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-10-13 12:11:20,934 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (and 10 more)] === [2024-10-13 12:11:20,935 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:11:20,935 INFO L85 PathProgramCache]: Analyzing trace with hash -1749118944, now seen corresponding path program 1 times [2024-10-13 12:11:20,935 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:11:20,935 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1831987539] [2024-10-13 12:11:20,936 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:11:20,936 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:11:20,960 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:11:20,960 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 12:11:20,972 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:11:20,979 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 12:11:20,980 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-13 12:11:20,980 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (13 of 14 remaining) [2024-10-13 12:11:20,980 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (12 of 14 remaining) [2024-10-13 12:11:20,980 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (11 of 14 remaining) [2024-10-13 12:11:20,981 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (10 of 14 remaining) [2024-10-13 12:11:20,981 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (9 of 14 remaining) [2024-10-13 12:11:20,981 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (8 of 14 remaining) [2024-10-13 12:11:20,981 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (7 of 14 remaining) [2024-10-13 12:11:20,981 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (6 of 14 remaining) [2024-10-13 12:11:20,982 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (5 of 14 remaining) [2024-10-13 12:11:20,982 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (4 of 14 remaining) [2024-10-13 12:11:20,982 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (3 of 14 remaining) [2024-10-13 12:11:20,982 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (2 of 14 remaining) [2024-10-13 12:11:20,982 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (1 of 14 remaining) [2024-10-13 12:11:20,983 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 14 remaining) [2024-10-13 12:11:20,983 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-10-13 12:11:20,983 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-10-13 12:11:20,984 WARN L239 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-13 12:11:20,984 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-10-13 12:11:21,093 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-10-13 12:11:21,097 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 136 places, 143 transitions, 314 flow [2024-10-13 12:11:21,145 INFO L124 PetriNetUnfolderBase]: 16/162 cut-off events. [2024-10-13 12:11:21,146 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2024-10-13 12:11:21,149 INFO L83 FinitePrefix]: Finished finitePrefix Result has 181 conditions, 162 events. 16/162 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 575 event pairs, 0 based on Foata normal form. 0/124 useless extension candidates. Maximal degree in co-relation 137. Up to 5 conditions per place. [2024-10-13 12:11:21,149 INFO L82 GeneralOperation]: Start removeDead. Operand has 136 places, 143 transitions, 314 flow [2024-10-13 12:11:21,153 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 136 places, 143 transitions, 314 flow [2024-10-13 12:11:21,156 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:11:21,158 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;@1b0b6b6d, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:11:21,160 INFO L334 AbstractCegarLoop]: Starting to check reachability of 17 error locations. [2024-10-13 12:11:21,161 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:11:21,161 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-13 12:11:21,162 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:11:21,162 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:11:21,162 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:11:21,162 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (and 13 more)] === [2024-10-13 12:11:21,162 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:11:21,163 INFO L85 PathProgramCache]: Analyzing trace with hash 725577, now seen corresponding path program 1 times [2024-10-13 12:11:21,163 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:11:21,163 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1127407496] [2024-10-13 12:11:21,163 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:11:21,163 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:11:21,183 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:11:21,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-10-13 12:11:21,199 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:11:21,199 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1127407496] [2024-10-13 12:11:21,199 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1127407496] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:11:21,199 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:11:21,199 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-13 12:11:21,200 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1029008540] [2024-10-13 12:11:21,200 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:11:21,200 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-10-13 12:11:21,201 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:11:21,201 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-10-13 12:11:21,202 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-13 12:11:21,202 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 143 [2024-10-13 12:11:21,203 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 136 places, 143 transitions, 314 flow. Second operand has 2 states, 2 states have (on average 43.0) internal successors, (86), 2 states have internal predecessors, (86), 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-10-13 12:11:21,206 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:11:21,206 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 143 [2024-10-13 12:11:21,206 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand