./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/pthread-atomic/read_write_lock-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 023d838f Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread-atomic/read_write_lock-1.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 ab88d5d149a161a7149bad4a02dfeb168f970e6264d498d3725e0f24ecb8e5e3 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.fs.icfgbuilder-eval-023d838-m [2024-11-10 17:47:26,959 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-10 17:47:27,041 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-10 17:47:27,044 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-10 17:47:27,044 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-10 17:47:27,059 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-10 17:47:27,059 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-10 17:47:27,059 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-10 17:47:27,060 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-10 17:47:27,060 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-10 17:47:27,060 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-10 17:47:27,060 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-10 17:47:27,061 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-10 17:47:27,061 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-10 17:47:27,061 INFO L153 SettingsManager]: * Use SBE=true [2024-11-10 17:47:27,062 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-10 17:47:27,062 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-10 17:47:27,065 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-10 17:47:27,066 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-10 17:47:27,066 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-10 17:47:27,066 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-10 17:47:27,066 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-10 17:47:27,066 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-10 17:47:27,067 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-10 17:47:27,067 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-10 17:47:27,067 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-10 17:47:27,067 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-10 17:47:27,067 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-10 17:47:27,067 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-10 17:47:27,067 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-10 17:47:27,067 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-10 17:47:27,068 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-10 17:47:27,068 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-10 17:47:27,068 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 17:47:27,068 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-10 17:47:27,068 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-10 17:47:27,068 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-10 17:47:27,068 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-10 17:47:27,069 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-10 17:47:27,069 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-10 17:47:27,069 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-10 17:47:27,070 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-10 17:47:27,071 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 -> ab88d5d149a161a7149bad4a02dfeb168f970e6264d498d3725e0f24ecb8e5e3 [2024-11-10 17:47:27,276 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-10 17:47:27,301 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-10 17:47:27,304 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-10 17:47:27,305 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-10 17:47:27,305 INFO L274 PluginConnector]: CDTParser initialized [2024-11-10 17:47:27,306 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-atomic/read_write_lock-1.i [2024-11-10 17:47:28,601 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-10 17:47:28,827 INFO L384 CDTParser]: Found 1 translation units. [2024-11-10 17:47:28,828 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-atomic/read_write_lock-1.i [2024-11-10 17:47:28,846 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f37fadbd1/d9ddbb48b551480ead5e3564b4aae5c3/FLAGfe7c8af42 [2024-11-10 17:47:28,862 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f37fadbd1/d9ddbb48b551480ead5e3564b4aae5c3 [2024-11-10 17:47:28,865 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-10 17:47:28,867 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-10 17:47:28,868 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-10 17:47:28,868 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-10 17:47:28,872 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-10 17:47:28,873 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:47:28" (1/1) ... [2024-11-10 17:47:28,873 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2c0faecc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:28, skipping insertion in model container [2024-11-10 17:47:28,874 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:47:28" (1/1) ... [2024-11-10 17:47:28,912 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-10 17:47:29,257 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:47:29,277 INFO L200 MainTranslator]: Completed pre-run [2024-11-10 17:47:29,318 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:47:29,357 INFO L204 MainTranslator]: Completed translation [2024-11-10 17:47:29,358 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29 WrapperNode [2024-11-10 17:47:29,358 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-10 17:47:29,359 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-10 17:47:29,359 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-10 17:47:29,359 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-10 17:47:29,365 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,380 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,401 INFO L138 Inliner]: procedures = 163, calls = 27, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 71 [2024-11-10 17:47:29,402 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-10 17:47:29,403 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-10 17:47:29,404 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-10 17:47:29,404 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-10 17:47:29,412 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,412 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,417 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,430 INFO L175 MemorySlicer]: Split 13 memory accesses to 2 slices as follows [2, 11]. 85 percent of accesses are in the largest equivalence class. The 13 initializations are split as follows [2, 11]. The 0 writes are split as follows [0, 0]. [2024-11-10 17:47:29,430 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,430 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,437 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,437 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,438 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,439 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,444 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-10 17:47:29,445 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-10 17:47:29,445 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-10 17:47:29,446 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-10 17:47:29,446 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (1/1) ... [2024-11-10 17:47:29,452 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 17:47:29,462 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-10 17:47:29,480 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-10 17:47:29,481 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-10 17:47:29,514 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockUnlock [2024-11-10 17:47:29,515 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockReadLock [2024-11-10 17:47:29,515 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-10 17:47:29,515 INFO L130 BoogieDeclarations]: Found specification of procedure reader [2024-11-10 17:47:29,515 INFO L138 BoogieDeclarations]: Found implementation of procedure reader [2024-11-10 17:47:29,515 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockWriteLock [2024-11-10 17:47:29,515 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-10 17:47:29,515 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-10 17:47:29,515 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-10 17:47:29,515 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-10 17:47:29,515 INFO L130 BoogieDeclarations]: Found specification of procedure writer [2024-11-10 17:47:29,515 INFO L138 BoogieDeclarations]: Found implementation of procedure writer [2024-11-10 17:47:29,517 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-10 17:47:29,619 INFO L256 CfgBuilder]: Building ICFG [2024-11-10 17:47:29,621 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-10 17:47:29,744 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-10 17:47:29,745 INFO L307 CfgBuilder]: Performing block encoding [2024-11-10 17:47:29,842 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-10 17:47:29,842 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-10 17:47:29,842 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:47:29 BoogieIcfgContainer [2024-11-10 17:47:29,842 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-10 17:47:29,844 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-10 17:47:29,844 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-10 17:47:29,848 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-10 17:47:29,848 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 10.11 05:47:28" (1/3) ... [2024-11-10 17:47:29,849 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@25790ee2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:47:29, skipping insertion in model container [2024-11-10 17:47:29,849 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:29" (2/3) ... [2024-11-10 17:47:29,849 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@25790ee2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:47:29, skipping insertion in model container [2024-11-10 17:47:29,849 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:47:29" (3/3) ... [2024-11-10 17:47:29,850 INFO L112 eAbstractionObserver]: Analyzing ICFG read_write_lock-1.i [2024-11-10 17:47:29,863 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-10 17:47:29,863 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-11-10 17:47:29,863 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-10 17:47:29,918 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-10 17:47:29,954 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 63 places, 54 transitions, 136 flow [2024-11-10 17:47:29,994 INFO L124 PetriNetUnfolderBase]: 4/50 cut-off events. [2024-11-10 17:47:29,995 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2024-11-10 17:47:29,999 INFO L83 FinitePrefix]: Finished finitePrefix Result has 67 conditions, 50 events. 4/50 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 102 event pairs, 0 based on Foata normal form. 0/43 useless extension candidates. Maximal degree in co-relation 47. Up to 2 conditions per place. [2024-11-10 17:47:29,999 INFO L82 GeneralOperation]: Start removeDead. Operand has 63 places, 54 transitions, 136 flow [2024-11-10 17:47:30,003 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 58 places, 49 transitions, 122 flow [2024-11-10 17:47:30,016 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 17:47:30,022 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;@76881287, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 17:47:30,025 INFO L334 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2024-11-10 17:47:30,035 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 17:47:30,037 INFO L124 PetriNetUnfolderBase]: 2/29 cut-off events. [2024-11-10 17:47:30,037 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-10 17:47:30,037 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:30,038 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-10 17:47:30,039 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting readerErr0ASSERT_VIOLATIONMEMORY_LEAK === [readerErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 5 more)] === [2024-11-10 17:47:30,042 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:30,044 INFO L85 PathProgramCache]: Analyzing trace with hash -78389619, now seen corresponding path program 1 times [2024-11-10 17:47:30,053 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:47:30,053 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [190760176] [2024-11-10 17:47:30,054 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:30,054 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:47:30,162 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:30,264 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:30,265 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 17:47:30,265 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [190760176] [2024-11-10 17:47:30,266 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [190760176] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:30,266 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:30,266 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-11-10 17:47:30,267 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [392726723] [2024-11-10 17:47:30,268 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:30,275 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 17:47:30,280 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 17:47:30,303 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 17:47:30,303 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 17:47:30,310 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 16 out of 54 [2024-11-10 17:47:30,313 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 58 places, 49 transitions, 122 flow. Second operand has 3 states, 3 states have (on average 18.333333333333332) internal successors, (55), 3 states have internal predecessors, (55), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:47:30,313 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:30,313 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 16 of 54 [2024-11-10 17:47:30,314 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:31,502 INFO L124 PetriNetUnfolderBase]: 10614/15832 cut-off events. [2024-11-10 17:47:31,502 INFO L125 PetriNetUnfolderBase]: For 1277/1277 co-relation queries the response was YES. [2024-11-10 17:47:31,541 INFO L83 FinitePrefix]: Finished finitePrefix Result has 31545 conditions, 15832 events. 10614/15832 cut-off events. For 1277/1277 co-relation queries the response was YES. Maximal size of possible extension queue 725. Compared 104084 event pairs, 5308 based on Foata normal form. 1752/17107 useless extension candidates. Maximal degree in co-relation 28481. Up to 8880 conditions per place. [2024-11-10 17:47:31,618 INFO L140 encePairwiseOnDemand]: 45/54 looper letters, 55 selfloop transitions, 4 changer transitions 0/69 dead transitions. [2024-11-10 17:47:31,619 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 58 places, 69 transitions, 298 flow [2024-11-10 17:47:31,620 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 17:47:31,623 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 17:47:31,628 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 114 transitions. [2024-11-10 17:47:31,630 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7037037037037037 [2024-11-10 17:47:31,632 INFO L175 Difference]: Start difference. First operand has 58 places, 49 transitions, 122 flow. Second operand 3 states and 114 transitions. [2024-11-10 17:47:31,633 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 58 places, 69 transitions, 298 flow [2024-11-10 17:47:31,649 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 50 places, 69 transitions, 270 flow, removed 0 selfloop flow, removed 8 redundant places. [2024-11-10 17:47:31,653 INFO L231 Difference]: Finished difference. Result has 52 places, 46 transitions, 124 flow [2024-11-10 17:47:31,655 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=54, PETRI_DIFFERENCE_MINUEND_FLOW=94, PETRI_DIFFERENCE_MINUEND_PLACES=48, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=43, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=39, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=124, PETRI_PLACES=52, PETRI_TRANSITIONS=46} [2024-11-10 17:47:31,663 INFO L277 CegarLoopForPetriNet]: 58 programPoint places, -6 predicate places. [2024-11-10 17:47:31,664 INFO L471 AbstractCegarLoop]: Abstraction has has 52 places, 46 transitions, 124 flow [2024-11-10 17:47:31,664 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 18.333333333333332) internal successors, (55), 3 states have internal predecessors, (55), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:47:31,664 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:31,664 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-10 17:47:31,664 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-10 17:47:31,664 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting readerErr0ASSERT_VIOLATIONMEMORY_LEAK === [readerErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 5 more)] === [2024-11-10 17:47:31,665 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:31,665 INFO L85 PathProgramCache]: Analyzing trace with hash -1602621030, now seen corresponding path program 1 times [2024-11-10 17:47:31,665 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:47:31,665 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [912929799] [2024-11-10 17:47:31,665 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:31,667 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:47:31,695 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:31,823 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:31,823 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 17:47:31,823 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [912929799] [2024-11-10 17:47:31,824 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [912929799] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:31,824 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:31,824 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-11-10 17:47:31,824 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [737456543] [2024-11-10 17:47:31,824 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:31,825 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 17:47:31,825 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 17:47:31,826 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 17:47:31,826 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 17:47:31,826 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 17 out of 54 [2024-11-10 17:47:31,827 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 52 places, 46 transitions, 124 flow. Second operand has 3 states, 3 states have (on average 20.0) internal successors, (60), 3 states have internal predecessors, (60), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:47:31,827 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:31,827 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 17 of 54 [2024-11-10 17:47:31,827 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:32,004 INFO L124 PetriNetUnfolderBase]: 599/1208 cut-off events. [2024-11-10 17:47:32,004 INFO L125 PetriNetUnfolderBase]: For 286/286 co-relation queries the response was YES. [2024-11-10 17:47:32,006 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2889 conditions, 1208 events. 599/1208 cut-off events. For 286/286 co-relation queries the response was YES. Maximal size of possible extension queue 80. Compared 7057 event pairs, 85 based on Foata normal form. 860/2030 useless extension candidates. Maximal degree in co-relation 1553. Up to 878 conditions per place. [2024-11-10 17:47:32,010 INFO L140 encePairwiseOnDemand]: 46/54 looper letters, 33 selfloop transitions, 2 changer transitions 2/48 dead transitions. [2024-11-10 17:47:32,010 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 48 transitions, 205 flow [2024-11-10 17:47:32,011 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 17:47:32,011 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 17:47:32,012 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 94 transitions. [2024-11-10 17:47:32,013 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5802469135802469 [2024-11-10 17:47:32,014 INFO L175 Difference]: Start difference. First operand has 52 places, 46 transitions, 124 flow. Second operand 3 states and 94 transitions. [2024-11-10 17:47:32,014 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 48 transitions, 205 flow [2024-11-10 17:47:32,018 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 42 places, 48 transitions, 195 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-10 17:47:32,020 INFO L231 Difference]: Finished difference. Result has 43 places, 36 transitions, 106 flow [2024-11-10 17:47:32,020 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=54, PETRI_DIFFERENCE_MINUEND_FLOW=92, PETRI_DIFFERENCE_MINUEND_PLACES=40, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=36, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=34, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=106, PETRI_PLACES=43, PETRI_TRANSITIONS=36} [2024-11-10 17:47:32,021 INFO L277 CegarLoopForPetriNet]: 58 programPoint places, -15 predicate places. [2024-11-10 17:47:32,021 INFO L471 AbstractCegarLoop]: Abstraction has has 43 places, 36 transitions, 106 flow [2024-11-10 17:47:32,021 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 20.0) internal successors, (60), 3 states have internal predecessors, (60), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:47:32,021 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:32,022 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-10 17:47:32,022 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-10 17:47:32,022 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting readerErr0ASSERT_VIOLATIONMEMORY_LEAK === [readerErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 5 more)] === [2024-11-10 17:47:32,023 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:32,023 INFO L85 PathProgramCache]: Analyzing trace with hash 1539851068, now seen corresponding path program 2 times [2024-11-10 17:47:32,023 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:47:32,023 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [316298333] [2024-11-10 17:47:32,023 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:32,023 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:47:32,042 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:32,107 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:32,108 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 17:47:32,108 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [316298333] [2024-11-10 17:47:32,108 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [316298333] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:32,108 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:32,109 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-11-10 17:47:32,109 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [127417593] [2024-11-10 17:47:32,109 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:32,109 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 17:47:32,110 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 17:47:32,111 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 17:47:32,112 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 17:47:32,112 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 17 out of 54 [2024-11-10 17:47:32,112 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 43 places, 36 transitions, 106 flow. Second operand has 3 states, 3 states have (on average 20.0) internal successors, (60), 3 states have internal predecessors, (60), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:47:32,113 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:32,113 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 17 of 54 [2024-11-10 17:47:32,113 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:32,184 INFO L124 PetriNetUnfolderBase]: 51/142 cut-off events. [2024-11-10 17:47:32,184 INFO L125 PetriNetUnfolderBase]: For 196/196 co-relation queries the response was YES. [2024-11-10 17:47:32,185 INFO L83 FinitePrefix]: Finished finitePrefix Result has 337 conditions, 142 events. 51/142 cut-off events. For 196/196 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 510 event pairs, 6 based on Foata normal form. 74/213 useless extension candidates. Maximal degree in co-relation 244. Up to 105 conditions per place. [2024-11-10 17:47:32,186 INFO L140 encePairwiseOnDemand]: 48/54 looper letters, 19 selfloop transitions, 2 changer transitions 6/35 dead transitions. [2024-11-10 17:47:32,186 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 38 places, 35 transitions, 153 flow [2024-11-10 17:47:32,186 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 17:47:32,186 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 17:47:32,189 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 82 transitions. [2024-11-10 17:47:32,190 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5061728395061729 [2024-11-10 17:47:32,190 INFO L175 Difference]: Start difference. First operand has 43 places, 36 transitions, 106 flow. Second operand 3 states and 82 transitions. [2024-11-10 17:47:32,190 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 38 places, 35 transitions, 153 flow [2024-11-10 17:47:32,191 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 35 places, 35 transitions, 143 flow, removed 3 selfloop flow, removed 3 redundant places. [2024-11-10 17:47:32,192 INFO L231 Difference]: Finished difference. Result has 36 places, 24 transitions, 70 flow [2024-11-10 17:47:32,192 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=54, PETRI_DIFFERENCE_MINUEND_FLOW=64, PETRI_DIFFERENCE_MINUEND_PLACES=33, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=26, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=24, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=70, PETRI_PLACES=36, PETRI_TRANSITIONS=24} [2024-11-10 17:47:32,193 INFO L277 CegarLoopForPetriNet]: 58 programPoint places, -22 predicate places. [2024-11-10 17:47:32,194 INFO L471 AbstractCegarLoop]: Abstraction has has 36 places, 24 transitions, 70 flow [2024-11-10 17:47:32,194 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 20.0) internal successors, (60), 3 states have internal predecessors, (60), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:47:32,194 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:32,194 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-10 17:47:32,194 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-10 17:47:32,194 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting readerErr0ASSERT_VIOLATIONMEMORY_LEAK === [readerErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 5 more)] === [2024-11-10 17:47:32,195 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:32,195 INFO L85 PathProgramCache]: Analyzing trace with hash 1786832244, now seen corresponding path program 1 times [2024-11-10 17:47:32,195 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:47:32,195 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1111829771] [2024-11-10 17:47:32,196 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:32,196 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:47:32,211 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:32,239 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:32,240 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 17:47:32,240 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1111829771] [2024-11-10 17:47:32,240 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1111829771] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:32,241 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:32,241 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-11-10 17:47:32,241 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [23412029] [2024-11-10 17:47:32,241 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:32,242 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 17:47:32,243 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 17:47:32,243 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 17:47:32,243 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 17:47:32,248 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 16 out of 54 [2024-11-10 17:47:32,248 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 36 places, 24 transitions, 70 flow. Second operand has 3 states, 3 states have (on average 19.666666666666668) internal successors, (59), 3 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:47:32,249 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:32,249 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 16 of 54 [2024-11-10 17:47:32,249 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:32,285 INFO L124 PetriNetUnfolderBase]: 31/81 cut-off events. [2024-11-10 17:47:32,286 INFO L125 PetriNetUnfolderBase]: For 51/51 co-relation queries the response was YES. [2024-11-10 17:47:32,286 INFO L83 FinitePrefix]: Finished finitePrefix Result has 207 conditions, 81 events. 31/81 cut-off events. For 51/51 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 229 event pairs, 15 based on Foata normal form. 0/77 useless extension candidates. Maximal degree in co-relation 197. Up to 45 conditions per place. [2024-11-10 17:47:32,286 INFO L140 encePairwiseOnDemand]: 52/54 looper letters, 0 selfloop transitions, 0 changer transitions 24/24 dead transitions. [2024-11-10 17:47:32,286 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 30 places, 24 transitions, 112 flow [2024-11-10 17:47:32,287 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 17:47:32,287 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 17:47:32,287 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 66 transitions. [2024-11-10 17:47:32,288 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4074074074074074 [2024-11-10 17:47:32,288 INFO L175 Difference]: Start difference. First operand has 36 places, 24 transitions, 70 flow. Second operand 3 states and 66 transitions. [2024-11-10 17:47:32,288 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 30 places, 24 transitions, 112 flow [2024-11-10 17:47:32,289 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 29 places, 24 transitions, 102 flow, removed 5 selfloop flow, removed 1 redundant places. [2024-11-10 17:47:32,289 INFO L231 Difference]: Finished difference. Result has 29 places, 0 transitions, 0 flow [2024-11-10 17:47:32,289 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=54, PETRI_DIFFERENCE_MINUEND_FLOW=56, PETRI_DIFFERENCE_MINUEND_PLACES=27, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=21, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=21, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=29, PETRI_TRANSITIONS=0} [2024-11-10 17:47:32,290 INFO L277 CegarLoopForPetriNet]: 58 programPoint places, -29 predicate places. [2024-11-10 17:47:32,290 INFO L471 AbstractCegarLoop]: Abstraction has has 29 places, 0 transitions, 0 flow [2024-11-10 17:47:32,290 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 19.666666666666668) internal successors, (59), 3 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:47:32,297 INFO L782 garLoopResultBuilder]: Registering result SAFE for location readerErr0ASSERT_VIOLATIONMEMORY_LEAK (7 of 8 remaining) [2024-11-10 17:47:32,297 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (6 of 8 remaining) [2024-11-10 17:47:32,299 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (5 of 8 remaining) [2024-11-10 17:47:32,299 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 8 remaining) [2024-11-10 17:47:32,299 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 8 remaining) [2024-11-10 17:47:32,300 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 8 remaining) [2024-11-10 17:47:32,300 INFO L782 garLoopResultBuilder]: Registering result SAFE for location readerErr0ASSERT_VIOLATIONMEMORY_LEAK (1 of 8 remaining) [2024-11-10 17:47:32,300 INFO L782 garLoopResultBuilder]: Registering result SAFE for location readerErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 8 remaining) [2024-11-10 17:47:32,300 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-10 17:47:32,301 INFO L407 BasicCegarLoop]: Path program histogram: [2, 1, 1] [2024-11-10 17:47:32,306 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-10 17:47:32,306 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-10 17:47:32,314 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 10.11 05:47:32 BasicIcfg [2024-11-10 17:47:32,315 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-10 17:47:32,315 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-10 17:47:32,315 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-10 17:47:32,316 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-10 17:47:32,316 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:47:29" (3/4) ... [2024-11-10 17:47:32,318 INFO L143 WitnessPrinter]: Generating witness for correct program [2024-11-10 17:47:32,320 INFO L393 IcfgBacktranslator]: Ignoring RootEdge to procedure reader [2024-11-10 17:47:32,321 INFO L393 IcfgBacktranslator]: Ignoring RootEdge to procedure writer [2024-11-10 17:47:32,324 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 42 nodes and edges [2024-11-10 17:47:32,325 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 18 nodes and edges [2024-11-10 17:47:32,325 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 12 nodes and edges [2024-11-10 17:47:32,325 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 4 nodes and edges [2024-11-10 17:47:32,325 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2024-11-10 17:47:32,414 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-11-10 17:47:32,415 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2024-11-10 17:47:32,415 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-10 17:47:32,415 INFO L158 Benchmark]: Toolchain (without parser) took 3548.84ms. Allocated memory was 176.2MB in the beginning and 438.3MB in the end (delta: 262.1MB). Free memory was 104.7MB in the beginning and 253.8MB in the end (delta: -149.0MB). Peak memory consumption was 114.6MB. Max. memory is 16.1GB. [2024-11-10 17:47:32,416 INFO L158 Benchmark]: CDTParser took 0.10ms. Allocated memory is still 113.2MB. Free memory is still 76.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:47:32,416 INFO L158 Benchmark]: CACSL2BoogieTranslator took 490.51ms. Allocated memory is still 176.2MB. Free memory was 104.7MB in the beginning and 137.9MB in the end (delta: -33.2MB). Peak memory consumption was 15.6MB. Max. memory is 16.1GB. [2024-11-10 17:47:32,416 INFO L158 Benchmark]: Boogie Procedure Inliner took 44.08ms. Allocated memory is still 176.2MB. Free memory was 137.9MB in the beginning and 135.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-10 17:47:32,416 INFO L158 Benchmark]: Boogie Preprocessor took 41.52ms. Allocated memory is still 176.2MB. Free memory was 135.8MB in the beginning and 133.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-10 17:47:32,417 INFO L158 Benchmark]: IcfgBuilder took 397.09ms. Allocated memory is still 176.2MB. Free memory was 133.7MB in the beginning and 108.6MB in the end (delta: 25.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-10 17:47:32,417 INFO L158 Benchmark]: TraceAbstraction took 2470.52ms. Allocated memory was 176.2MB in the beginning and 438.3MB in the end (delta: 262.1MB). Free memory was 107.7MB in the beginning and 257.9MB in the end (delta: -150.3MB). Peak memory consumption was 113.7MB. Max. memory is 16.1GB. [2024-11-10 17:47:32,417 INFO L158 Benchmark]: Witness Printer took 99.68ms. Allocated memory is still 438.3MB. Free memory was 257.9MB in the beginning and 253.8MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-10 17:47:32,418 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.10ms. Allocated memory is still 113.2MB. Free memory is still 76.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 490.51ms. Allocated memory is still 176.2MB. Free memory was 104.7MB in the beginning and 137.9MB in the end (delta: -33.2MB). Peak memory consumption was 15.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 44.08ms. Allocated memory is still 176.2MB. Free memory was 137.9MB in the beginning and 135.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 41.52ms. Allocated memory is still 176.2MB. Free memory was 135.8MB in the beginning and 133.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * IcfgBuilder took 397.09ms. Allocated memory is still 176.2MB. Free memory was 133.7MB in the beginning and 108.6MB in the end (delta: 25.2MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * TraceAbstraction took 2470.52ms. Allocated memory was 176.2MB in the beginning and 438.3MB in the end (delta: 262.1MB). Free memory was 107.7MB in the beginning and 257.9MB in the end (delta: -150.3MB). Peak memory consumption was 113.7MB. Max. memory is 16.1GB. * Witness Printer took 99.68ms. Allocated memory is still 438.3MB. Free memory was 257.9MB in the beginning and 253.8MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: 12]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: 689]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 7 procedures, 72 locations, 8 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 2.3s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 2, EmptinessCheckTime: 0.0s, AutomataDifference: 1.7s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 59 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 52 mSDsluCounter, 4 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 16 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 207 IncrementalHoareTripleChecker+Invalid, 223 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 16 mSolverCounterUnsat, 4 mSDtfsCounter, 207 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 12 GetRequests, 8 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=124occurred in iteration=1, InterpolantAutomatonStates: 12, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 50 NumberOfCodeBlocks, 50 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 46 ConstructedInterpolants, 0 QuantifiedInterpolants, 103 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available - AllSpecificationsHoldResult: All specifications hold 2 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2024-11-10 17:47:32,442 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE