./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-1-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 84cfde4a Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/25_stack_longest-1-pthread.i -s /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-clean/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 3e10ed02255b37a861fcd919e1a26aad90b67620d926f632b070967147a10b69 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-84cfde4 [2024-10-11 19:28:10,760 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-11 19:28:10,852 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-10-11 19:28:10,858 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-11 19:28:10,860 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-11 19:28:10,892 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-11 19:28:10,893 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-11 19:28:10,894 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-11 19:28:10,894 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-11 19:28:10,895 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-11 19:28:10,895 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-11 19:28:10,896 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-11 19:28:10,896 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-11 19:28:10,898 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-11 19:28:10,898 INFO L153 SettingsManager]: * Use SBE=true [2024-10-11 19:28:10,899 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-11 19:28:10,900 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-11 19:28:10,900 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-11 19:28:10,900 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-11 19:28:10,904 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-11 19:28:10,904 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-10-11 19:28:10,904 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-10-11 19:28:10,905 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-10-11 19:28:10,905 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-11 19:28:10,905 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-11 19:28:10,905 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-11 19:28:10,906 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-11 19:28:10,906 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-11 19:28:10,906 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-11 19:28:10,907 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-11 19:28:10,907 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-11 19:28:10,907 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-11 19:28:10,907 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-11 19:28:10,907 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-11 19:28:10,908 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-11 19:28:10,908 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-11 19:28:10,908 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-11 19:28:10,908 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-11 19:28:10,909 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-11 19:28:10,909 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-11 19:28:10,909 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-11 19:28:10,911 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-11 19:28:10,911 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-clean/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-clean/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 -> 3e10ed02255b37a861fcd919e1a26aad90b67620d926f632b070967147a10b69 [2024-10-11 19:28:11,162 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-11 19:28:11,192 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-11 19:28:11,195 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-11 19:28:11,196 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-11 19:28:11,196 INFO L274 PluginConnector]: CDTParser initialized [2024-10-11 19:28:11,197 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/25_stack_longest-1-pthread.i [2024-10-11 19:28:12,732 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-11 19:28:12,966 INFO L384 CDTParser]: Found 1 translation units. [2024-10-11 19:28:12,967 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/25_stack_longest-1-pthread.i [2024-10-11 19:28:12,992 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/a3d767d10/84b8e074e831476da9b60abd9a178523/FLAGbed9c4e47 [2024-10-11 19:28:13,310 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/a3d767d10/84b8e074e831476da9b60abd9a178523 [2024-10-11 19:28:13,312 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-11 19:28:13,314 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-11 19:28:13,315 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-11 19:28:13,315 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-11 19:28:13,321 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-11 19:28:13,322 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:13,323 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4ed6ea8f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13, skipping insertion in model container [2024-10-11 19:28:13,323 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:13,370 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-11 19:28:13,731 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 19:28:13,748 INFO L200 MainTranslator]: Completed pre-run [2024-10-11 19:28:13,805 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-11 19:28:13,895 INFO L204 MainTranslator]: Completed translation [2024-10-11 19:28:13,896 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13 WrapperNode [2024-10-11 19:28:13,896 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-11 19:28:13,897 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-11 19:28:13,897 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-11 19:28:13,898 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-11 19:28:13,910 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:13,975 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,011 INFO L138 Inliner]: procedures = 171, calls = 36, calls flagged for inlining = 10, calls inlined = 9, statements flattened = 137 [2024-10-11 19:28:14,011 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-11 19:28:14,012 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-11 19:28:14,012 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-11 19:28:14,012 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-11 19:28:14,024 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,025 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,032 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,059 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-11 19:28:14,059 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,060 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,068 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,072 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,078 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,079 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,085 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-11 19:28:14,088 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-11 19:28:14,088 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-11 19:28:14,088 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-11 19:28:14,089 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (1/1) ... [2024-10-11 19:28:14,097 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-11 19:28:14,111 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-11 19:28:14,134 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-10-11 19:28:14,138 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-10-11 19:28:14,185 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-10-11 19:28:14,186 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-10-11 19:28:14,186 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-11 19:28:14,186 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-10-11 19:28:14,186 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-11 19:28:14,186 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-10-11 19:28:14,186 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-10-11 19:28:14,187 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-10-11 19:28:14,187 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-10-11 19:28:14,187 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-11 19:28:14,187 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-11 19:28:14,187 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-11 19:28:14,189 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-11 19:28:14,303 INFO L238 CfgBuilder]: Building ICFG [2024-10-11 19:28:14,305 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-11 19:28:14,578 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-11 19:28:14,578 INFO L287 CfgBuilder]: Performing block encoding [2024-10-11 19:28:14,780 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-11 19:28:14,781 INFO L314 CfgBuilder]: Removed 2 assume(true) statements. [2024-10-11 19:28:14,781 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.10 07:28:14 BoogieIcfgContainer [2024-10-11 19:28:14,781 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-11 19:28:14,785 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-11 19:28:14,786 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-11 19:28:14,789 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-11 19:28:14,789 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 11.10 07:28:13" (1/3) ... [2024-10-11 19:28:14,790 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@73687de0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 11.10 07:28:14, skipping insertion in model container [2024-10-11 19:28:14,790 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.10 07:28:13" (2/3) ... [2024-10-11 19:28:14,791 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@73687de0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 11.10 07:28:14, skipping insertion in model container [2024-10-11 19:28:14,791 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.10 07:28:14" (3/3) ... [2024-10-11 19:28:14,792 INFO L112 eAbstractionObserver]: Analyzing ICFG 25_stack_longest-1-pthread.i [2024-10-11 19:28:14,807 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-11 19:28:14,808 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2024-10-11 19:28:14,808 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-11 19:28:14,859 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-10-11 19:28:14,887 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 40 places, 41 transitions, 86 flow [2024-10-11 19:28:14,916 INFO L124 PetriNetUnfolderBase]: 4/45 cut-off events. [2024-10-11 19:28:14,917 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-11 19:28:14,920 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-11 19:28:14,920 INFO L82 GeneralOperation]: Start removeDead. Operand has 40 places, 41 transitions, 86 flow [2024-10-11 19:28:14,923 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 40 places, 41 transitions, 86 flow [2024-10-11 19:28:14,937 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-11 19:28:14,948 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;@660076bb, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-11 19:28:14,949 INFO L334 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2024-10-11 19:28:14,954 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-11 19:28:14,955 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-11 19:28:14,955 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-11 19:28:14,955 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-11 19:28:14,956 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-11 19:28:14,957 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-11 19:28:14,962 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-11 19:28:14,962 INFO L85 PathProgramCache]: Analyzing trace with hash 400866, now seen corresponding path program 1 times [2024-10-11 19:28:14,971 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-11 19:28:14,971 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1387866369] [2024-10-11 19:28:14,971 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-11 19:28:14,972 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-11 19:28:15,082 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-11 19:28:15,167 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-11 19:28:15,171 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-11 19:28:15,171 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1387866369] [2024-10-11 19:28:15,172 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1387866369] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-11 19:28:15,172 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-11 19:28:15,172 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-11 19:28:15,174 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1188801522] [2024-10-11 19:28:15,179 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-11 19:28:15,194 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-10-11 19:28:15,200 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-11 19:28:15,231 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-10-11 19:28:15,232 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-11 19:28:15,233 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 41 [2024-10-11 19:28:15,236 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-11 19:28:15,237 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-11 19:28:15,237 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 41 [2024-10-11 19:28:15,238 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-11 19:28:15,348 INFO L124 PetriNetUnfolderBase]: 49/141 cut-off events. [2024-10-11 19:28:15,349 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-11 19:28:15,349 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-11 19:28:15,354 INFO L140 encePairwiseOnDemand]: 39/41 looper letters, 26 selfloop transitions, 0 changer transitions 0/37 dead transitions. [2024-10-11 19:28:15,354 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 38 places, 37 transitions, 130 flow [2024-10-11 19:28:15,356 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-11 19:28:15,358 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-10-11 19:28:15,364 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 52 transitions. [2024-10-11 19:28:15,366 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6341463414634146 [2024-10-11 19:28:15,368 INFO L175 Difference]: Start difference. First operand has 40 places, 41 transitions, 86 flow. Second operand 2 states and 52 transitions. [2024-10-11 19:28:15,369 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 38 places, 37 transitions, 130 flow [2024-10-11 19:28:15,371 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 38 places, 37 transitions, 130 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-11 19:28:15,375 INFO L231 Difference]: Finished difference. Result has 38 places, 37 transitions, 78 flow [2024-10-11 19:28:15,378 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-11 19:28:15,384 INFO L277 CegarLoopForPetriNet]: 40 programPoint places, -2 predicate places. [2024-10-11 19:28:15,384 INFO L471 AbstractCegarLoop]: Abstraction has has 38 places, 37 transitions, 78 flow [2024-10-11 19:28:15,385 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-11 19:28:15,385 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-11 19:28:15,385 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2024-10-11 19:28:15,386 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-11 19:28:15,386 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-11 19:28:15,387 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-11 19:28:15,387 INFO L85 PathProgramCache]: Analyzing trace with hash -941198751, now seen corresponding path program 1 times [2024-10-11 19:28:15,388 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-11 19:28:15,388 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2140132965] [2024-10-11 19:28:15,388 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-11 19:28:15,388 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-11 19:28:15,441 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-11 19:28:15,442 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-11 19:28:15,463 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-11 19:28:15,526 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-11 19:28:15,526 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-11 19:28:15,529 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (7 of 8 remaining) [2024-10-11 19:28:15,530 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (6 of 8 remaining) [2024-10-11 19:28:15,531 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (5 of 8 remaining) [2024-10-11 19:28:15,531 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (4 of 8 remaining) [2024-10-11 19:28:15,531 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 8 remaining) [2024-10-11 19:28:15,531 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (2 of 8 remaining) [2024-10-11 19:28:15,532 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (1 of 8 remaining) [2024-10-11 19:28:15,532 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 8 remaining) [2024-10-11 19:28:15,533 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-10-11 19:28:15,533 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-10-11 19:28:15,536 WARN L239 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-11 19:28:15,539 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-10-11 19:28:15,593 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-10-11 19:28:15,597 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 72 places, 75 transitions, 160 flow [2024-10-11 19:28:15,617 INFO L124 PetriNetUnfolderBase]: 8/84 cut-off events. [2024-10-11 19:28:15,618 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-10-11 19:28:15,619 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-11 19:28:15,621 INFO L82 GeneralOperation]: Start removeDead. Operand has 72 places, 75 transitions, 160 flow [2024-10-11 19:28:15,622 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 72 places, 75 transitions, 160 flow [2024-10-11 19:28:15,624 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-11 19:28:15,626 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;@660076bb, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-11 19:28:15,627 INFO L334 AbstractCegarLoop]: Starting to check reachability of 11 error locations. [2024-10-11 19:28:15,629 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-11 19:28:15,630 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-11 19:28:15,630 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-11 19:28:15,630 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-11 19:28:15,631 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-11 19:28:15,631 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-11 19:28:15,632 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-11 19:28:15,632 INFO L85 PathProgramCache]: Analyzing trace with hash 475341, now seen corresponding path program 1 times [2024-10-11 19:28:15,632 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-11 19:28:15,632 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2038052928] [2024-10-11 19:28:15,633 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-11 19:28:15,633 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-11 19:28:15,650 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-11 19:28:15,673 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-11 19:28:15,677 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-11 19:28:15,677 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2038052928] [2024-10-11 19:28:15,677 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2038052928] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-11 19:28:15,678 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-11 19:28:15,678 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-11 19:28:15,678 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [490890629] [2024-10-11 19:28:15,679 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-11 19:28:15,679 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-10-11 19:28:15,680 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-11 19:28:15,680 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-10-11 19:28:15,681 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-11 19:28:15,682 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 22 out of 75 [2024-10-11 19:28:15,682 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-11 19:28:15,682 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-11 19:28:15,682 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 22 of 75 [2024-10-11 19:28:15,682 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-11 19:28:16,407 INFO L124 PetriNetUnfolderBase]: 2473/4399 cut-off events. [2024-10-11 19:28:16,408 INFO L125 PetriNetUnfolderBase]: For 63/63 co-relation queries the response was YES. [2024-10-11 19:28:16,426 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-11 19:28:16,454 INFO L140 encePairwiseOnDemand]: 72/75 looper letters, 49 selfloop transitions, 0 changer transitions 0/70 dead transitions. [2024-10-11 19:28:16,454 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 70 places, 70 transitions, 248 flow [2024-10-11 19:28:16,455 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-11 19:28:16,455 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-10-11 19:28:16,456 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 96 transitions. [2024-10-11 19:28:16,457 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.64 [2024-10-11 19:28:16,457 INFO L175 Difference]: Start difference. First operand has 72 places, 75 transitions, 160 flow. Second operand 2 states and 96 transitions. [2024-10-11 19:28:16,458 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 70 places, 70 transitions, 248 flow [2024-10-11 19:28:16,459 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 70 places, 70 transitions, 248 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-11 19:28:16,461 INFO L231 Difference]: Finished difference. Result has 70 places, 70 transitions, 150 flow [2024-10-11 19:28:16,461 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-11 19:28:16,462 INFO L277 CegarLoopForPetriNet]: 72 programPoint places, -2 predicate places. [2024-10-11 19:28:16,462 INFO L471 AbstractCegarLoop]: Abstraction has has 70 places, 70 transitions, 150 flow [2024-10-11 19:28:16,462 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-11 19:28:16,462 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-11 19:28:16,463 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1] [2024-10-11 19:28:16,463 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-10-11 19:28:16,464 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-11 19:28:16,464 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-11 19:28:16,464 INFO L85 PathProgramCache]: Analyzing trace with hash 1322465970, now seen corresponding path program 1 times [2024-10-11 19:28:16,464 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-11 19:28:16,465 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [404345154] [2024-10-11 19:28:16,465 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-11 19:28:16,465 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-11 19:28:16,496 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-11 19:28:16,496 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-11 19:28:16,518 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-11 19:28:16,529 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-11 19:28:16,533 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-11 19:28:16,534 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (10 of 11 remaining) [2024-10-11 19:28:16,534 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (9 of 11 remaining) [2024-10-11 19:28:16,534 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (8 of 11 remaining) [2024-10-11 19:28:16,535 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (7 of 11 remaining) [2024-10-11 19:28:16,535 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (6 of 11 remaining) [2024-10-11 19:28:16,535 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (5 of 11 remaining) [2024-10-11 19:28:16,535 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (4 of 11 remaining) [2024-10-11 19:28:16,536 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (3 of 11 remaining) [2024-10-11 19:28:16,536 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (2 of 11 remaining) [2024-10-11 19:28:16,537 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (1 of 11 remaining) [2024-10-11 19:28:16,537 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 11 remaining) [2024-10-11 19:28:16,537 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-10-11 19:28:16,538 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-10-11 19:28:16,539 WARN L239 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-11 19:28:16,539 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-10-11 19:28:16,626 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-10-11 19:28:16,631 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 104 places, 109 transitions, 236 flow [2024-10-11 19:28:16,649 INFO L124 PetriNetUnfolderBase]: 12/123 cut-off events. [2024-10-11 19:28:16,649 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2024-10-11 19:28:16,652 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-11 19:28:16,653 INFO L82 GeneralOperation]: Start removeDead. Operand has 104 places, 109 transitions, 236 flow [2024-10-11 19:28:16,655 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 104 places, 109 transitions, 236 flow [2024-10-11 19:28:16,657 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-11 19:28:16,658 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;@660076bb, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-11 19:28:16,659 INFO L334 AbstractCegarLoop]: Starting to check reachability of 14 error locations. [2024-10-11 19:28:16,661 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-11 19:28:16,661 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-11 19:28:16,661 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-11 19:28:16,662 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-11 19:28:16,662 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-11 19:28:16,662 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-11 19:28:16,662 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-11 19:28:16,662 INFO L85 PathProgramCache]: Analyzing trace with hash 583578, now seen corresponding path program 1 times [2024-10-11 19:28:16,663 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-11 19:28:16,663 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1169956973] [2024-10-11 19:28:16,663 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-11 19:28:16,663 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-11 19:28:16,679 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-11 19:28:16,691 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-11 19:28:16,692 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-11 19:28:16,692 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1169956973] [2024-10-11 19:28:16,692 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1169956973] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-11 19:28:16,692 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-11 19:28:16,693 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-11 19:28:16,693 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1596179548] [2024-10-11 19:28:16,693 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-11 19:28:16,693 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-10-11 19:28:16,693 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-11 19:28:16,694 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-10-11 19:28:16,694 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-11 19:28:16,695 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 32 out of 109 [2024-10-11 19:28:16,695 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-11 19:28:16,695 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-11 19:28:16,695 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 32 of 109 [2024-10-11 19:28:16,695 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-11 19:28:28,369 INFO L124 PetriNetUnfolderBase]: 82297/122658 cut-off events. [2024-10-11 19:28:28,369 INFO L125 PetriNetUnfolderBase]: For 2753/2753 co-relation queries the response was YES. [2024-10-11 19:28:28,650 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-11 19:28:29,546 INFO L140 encePairwiseOnDemand]: 105/109 looper letters, 72 selfloop transitions, 0 changer transitions 0/103 dead transitions. [2024-10-11 19:28:29,547 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 102 places, 103 transitions, 368 flow [2024-10-11 19:28:29,548 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-11 19:28:29,548 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-10-11 19:28:29,549 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 140 transitions. [2024-10-11 19:28:29,549 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6422018348623854 [2024-10-11 19:28:29,549 INFO L175 Difference]: Start difference. First operand has 104 places, 109 transitions, 236 flow. Second operand 2 states and 140 transitions. [2024-10-11 19:28:29,549 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 102 places, 103 transitions, 368 flow [2024-10-11 19:28:29,556 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 102 places, 103 transitions, 366 flow, removed 1 selfloop flow, removed 0 redundant places. [2024-10-11 19:28:29,560 INFO L231 Difference]: Finished difference. Result has 102 places, 103 transitions, 222 flow [2024-10-11 19:28:29,561 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-11 19:28:29,562 INFO L277 CegarLoopForPetriNet]: 104 programPoint places, -2 predicate places. [2024-10-11 19:28:29,563 INFO L471 AbstractCegarLoop]: Abstraction has has 102 places, 103 transitions, 222 flow [2024-10-11 19:28:29,563 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-11 19:28:29,563 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-11 19:28:29,564 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 3, 1, 1, 1, 1, 1] [2024-10-11 19:28:29,564 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-10-11 19:28:29,564 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-11 19:28:29,565 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-11 19:28:29,565 INFO L85 PathProgramCache]: Analyzing trace with hash -1749118944, now seen corresponding path program 1 times [2024-10-11 19:28:29,565 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-11 19:28:29,565 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [476176256] [2024-10-11 19:28:29,566 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-11 19:28:29,566 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-11 19:28:29,598 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-11 19:28:29,600 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-11 19:28:29,614 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-11 19:28:29,621 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-11 19:28:29,621 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-11 19:28:29,621 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (13 of 14 remaining) [2024-10-11 19:28:29,622 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (12 of 14 remaining) [2024-10-11 19:28:29,622 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (11 of 14 remaining) [2024-10-11 19:28:29,622 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (10 of 14 remaining) [2024-10-11 19:28:29,622 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (9 of 14 remaining) [2024-10-11 19:28:29,623 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (8 of 14 remaining) [2024-10-11 19:28:29,623 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (7 of 14 remaining) [2024-10-11 19:28:29,623 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (6 of 14 remaining) [2024-10-11 19:28:29,623 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (5 of 14 remaining) [2024-10-11 19:28:29,623 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (4 of 14 remaining) [2024-10-11 19:28:29,624 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (3 of 14 remaining) [2024-10-11 19:28:29,624 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (2 of 14 remaining) [2024-10-11 19:28:29,624 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (1 of 14 remaining) [2024-10-11 19:28:29,624 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 14 remaining) [2024-10-11 19:28:29,624 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-10-11 19:28:29,625 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-10-11 19:28:29,625 WARN L239 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-11 19:28:29,625 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-10-11 19:28:29,717 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-10-11 19:28:29,720 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 136 places, 143 transitions, 314 flow [2024-10-11 19:28:29,739 INFO L124 PetriNetUnfolderBase]: 16/162 cut-off events. [2024-10-11 19:28:29,739 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2024-10-11 19:28:29,741 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-11 19:28:29,741 INFO L82 GeneralOperation]: Start removeDead. Operand has 136 places, 143 transitions, 314 flow [2024-10-11 19:28:29,743 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 136 places, 143 transitions, 314 flow [2024-10-11 19:28:29,744 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-11 19:28:29,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;@660076bb, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-11 19:28:29,745 INFO L334 AbstractCegarLoop]: Starting to check reachability of 17 error locations. [2024-10-11 19:28:29,750 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-11 19:28:29,750 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-11 19:28:29,750 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-11 19:28:29,750 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-11 19:28:29,750 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-11 19:28:29,751 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-11 19:28:29,751 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-11 19:28:29,751 INFO L85 PathProgramCache]: Analyzing trace with hash 725577, now seen corresponding path program 1 times [2024-10-11 19:28:29,751 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-11 19:28:29,751 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [26299517] [2024-10-11 19:28:29,752 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-11 19:28:29,752 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-11 19:28:29,761 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-11 19:28:29,773 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-11 19:28:29,774 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-11 19:28:29,774 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [26299517] [2024-10-11 19:28:29,774 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [26299517] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-11 19:28:29,774 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-11 19:28:29,774 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-11 19:28:29,778 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1138830968] [2024-10-11 19:28:29,778 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-11 19:28:29,779 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-10-11 19:28:29,779 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-11 19:28:29,779 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-10-11 19:28:29,779 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-11 19:28:29,780 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 143 [2024-10-11 19:28:29,780 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-11 19:28:29,780 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-11 19:28:29,780 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 143 [2024-10-11 19:28:29,780 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand