./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/sync01.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version fca748b1 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/sync01.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 8f929a317f167560539ae4b4d441a695b43dc484839e0d977f902275d758b932 --- Real Ultimate output --- This is Ultimate 0.2.5-wip.dd.update-z3-fca748b-m [2024-11-20 17:15:52,158 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-20 17:15:52,228 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-20 17:15:52,232 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-20 17:15:52,232 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-20 17:15:52,262 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-20 17:15:52,263 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-20 17:15:52,263 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-20 17:15:52,264 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-20 17:15:52,264 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-20 17:15:52,265 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-20 17:15:52,266 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-20 17:15:52,266 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-20 17:15:52,268 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-20 17:15:52,269 INFO L153 SettingsManager]: * Use SBE=true [2024-11-20 17:15:52,269 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-20 17:15:52,269 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-20 17:15:52,270 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-20 17:15:52,270 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-20 17:15:52,270 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-20 17:15:52,274 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-20 17:15:52,275 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-20 17:15:52,275 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-20 17:15:52,275 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-20 17:15:52,275 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-20 17:15:52,276 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-20 17:15:52,276 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-20 17:15:52,276 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-20 17:15:52,276 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-20 17:15:52,277 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-20 17:15:52,277 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-20 17:15:52,277 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-20 17:15:52,277 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-20 17:15:52,278 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-20 17:15:52,278 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-20 17:15:52,280 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-20 17:15:52,280 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-20 17:15:52,281 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-20 17:15:52,281 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-20 17:15:52,281 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-20 17:15:52,282 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-20 17:15:52,282 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-20 17:15:52,282 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 -> 8f929a317f167560539ae4b4d441a695b43dc484839e0d977f902275d758b932 [2024-11-20 17:15:52,543 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-20 17:15:52,572 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-20 17:15:52,575 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-20 17:15:52,577 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-20 17:15:52,577 INFO L274 PluginConnector]: CDTParser initialized [2024-11-20 17:15:52,578 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/sync01.i [2024-11-20 17:15:54,069 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-20 17:15:54,334 INFO L384 CDTParser]: Found 1 translation units. [2024-11-20 17:15:54,338 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/sync01.i [2024-11-20 17:15:54,359 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d342fbd6a/ce2484d0c19f4033bd7d016631b02707/FLAGf1e432140 [2024-11-20 17:15:54,374 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d342fbd6a/ce2484d0c19f4033bd7d016631b02707 [2024-11-20 17:15:54,378 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-20 17:15:54,380 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-20 17:15:54,384 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-20 17:15:54,384 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-20 17:15:54,389 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-20 17:15:54,390 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.11 05:15:54" (1/1) ... [2024-11-20 17:15:54,390 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5aab90e5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:54, skipping insertion in model container [2024-11-20 17:15:54,391 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.11 05:15:54" (1/1) ... [2024-11-20 17:15:54,443 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-20 17:15:54,869 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-20 17:15:54,898 INFO L200 MainTranslator]: Completed pre-run [2024-11-20 17:15:54,964 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-20 17:15:55,114 INFO L204 MainTranslator]: Completed translation [2024-11-20 17:15:55,115 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55 WrapperNode [2024-11-20 17:15:55,115 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-20 17:15:55,116 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-20 17:15:55,116 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-20 17:15:55,116 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-20 17:15:55,124 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,154 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,182 INFO L138 Inliner]: procedures = 268, calls = 23, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 254 [2024-11-20 17:15:55,182 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-20 17:15:55,186 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-20 17:15:55,186 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-20 17:15:55,187 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-20 17:15:55,200 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,200 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,209 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,244 INFO L175 MemorySlicer]: Split 7 memory accesses to 2 slices as follows [2, 5]. 71 percent of accesses are in the largest equivalence class. The 7 initializations are split as follows [2, 5]. The 0 writes are split as follows [0, 0]. [2024-11-20 17:15:55,244 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,245 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,263 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,272 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,277 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,279 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,286 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-20 17:15:55,287 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-20 17:15:55,291 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-20 17:15:55,291 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-20 17:15:55,292 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (1/1) ... [2024-11-20 17:15:55,300 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-20 17:15:55,312 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-20 17:15:55,332 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-20 17:15:55,343 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-20 17:15:55,397 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-20 17:15:55,397 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-11-20 17:15:55,398 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-11-20 17:15:55,398 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-11-20 17:15:55,398 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-11-20 17:15:55,398 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-20 17:15:55,398 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-20 17:15:55,398 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-20 17:15:55,398 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-20 17:15:55,398 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-20 17:15:55,398 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-20 17:15:55,400 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-20 17:15:55,585 INFO L238 CfgBuilder]: Building ICFG [2024-11-20 17:15:55,587 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-20 17:15:55,946 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-20 17:15:55,946 INFO L287 CfgBuilder]: Performing block encoding [2024-11-20 17:15:57,497 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-20 17:15:57,498 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-20 17:15:57,499 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.11 05:15:57 BoogieIcfgContainer [2024-11-20 17:15:57,499 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-20 17:15:57,501 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-20 17:15:57,501 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-20 17:15:57,505 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-20 17:15:57,506 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 20.11 05:15:54" (1/3) ... [2024-11-20 17:15:57,506 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2ed66f91 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.11 05:15:57, skipping insertion in model container [2024-11-20 17:15:57,506 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.11 05:15:55" (2/3) ... [2024-11-20 17:15:57,507 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2ed66f91 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.11 05:15:57, skipping insertion in model container [2024-11-20 17:15:57,508 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.11 05:15:57" (3/3) ... [2024-11-20 17:15:57,510 INFO L112 eAbstractionObserver]: Analyzing ICFG sync01.i [2024-11-20 17:15:57,531 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-20 17:15:57,531 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-11-20 17:15:57,533 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-20 17:15:57,606 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-20 17:15:57,644 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 40 places, 37 transitions, 88 flow [2024-11-20 17:15:57,696 INFO L124 PetriNetUnfolderBase]: 4/35 cut-off events. [2024-11-20 17:15:57,697 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-20 17:15:57,701 INFO L83 FinitePrefix]: Finished finitePrefix Result has 44 conditions, 35 events. 4/35 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 50 event pairs, 0 based on Foata normal form. 0/29 useless extension candidates. Maximal degree in co-relation 23. Up to 2 conditions per place. [2024-11-20 17:15:57,701 INFO L82 GeneralOperation]: Start removeDead. Operand has 40 places, 37 transitions, 88 flow [2024-11-20 17:15:57,704 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 37 places, 34 transitions, 80 flow [2024-11-20 17:15:57,717 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-20 17:15:57,724 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;@6285212d, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-20 17:15:57,725 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-11-20 17:15:57,751 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-20 17:15:57,752 INFO L124 PetriNetUnfolderBase]: 4/32 cut-off events. [2024-11-20 17:15:57,752 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-20 17:15:57,753 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-20 17:15:57,754 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-20 17:15:57,754 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-20 17:15:57,759 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-20 17:15:57,759 INFO L85 PathProgramCache]: Analyzing trace with hash -1857671420, now seen corresponding path program 1 times [2024-11-20 17:15:57,766 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-20 17:15:57,767 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [896786823] [2024-11-20 17:15:57,767 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-20 17:15:57,768 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-20 17:15:58,566 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-20 17:15:58,808 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-20 17:15:58,809 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-20 17:15:58,809 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [896786823] [2024-11-20 17:15:58,810 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [896786823] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-20 17:15:58,810 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-20 17:15:58,810 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-20 17:15:58,812 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [675989500] [2024-11-20 17:15:58,812 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-20 17:15:58,820 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-20 17:15:58,826 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-20 17:15:58,855 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-20 17:15:58,856 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-20 17:15:58,868 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 11 out of 37 [2024-11-20 17:15:58,871 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 37 places, 34 transitions, 80 flow. Second operand has 3 states, 3 states have (on average 16.333333333333332) internal successors, (49), 3 states have internal predecessors, (49), 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-20 17:15:58,872 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-20 17:15:58,873 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 11 of 37 [2024-11-20 17:15:58,874 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-20 17:15:59,027 INFO L124 PetriNetUnfolderBase]: 89/179 cut-off events. [2024-11-20 17:15:59,028 INFO L125 PetriNetUnfolderBase]: For 5/5 co-relation queries the response was YES. [2024-11-20 17:15:59,030 INFO L83 FinitePrefix]: Finished finitePrefix Result has 358 conditions, 179 events. 89/179 cut-off events. For 5/5 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 578 event pairs, 32 based on Foata normal form. 12/184 useless extension candidates. Maximal degree in co-relation 324. Up to 113 conditions per place. [2024-11-20 17:15:59,033 INFO L140 encePairwiseOnDemand]: 30/37 looper letters, 20 selfloop transitions, 3 changer transitions 0/32 dead transitions. [2024-11-20 17:15:59,034 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 36 places, 32 transitions, 122 flow [2024-11-20 17:15:59,036 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-20 17:15:59,039 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-20 17:15:59,046 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 60 transitions. [2024-11-20 17:15:59,048 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5405405405405406 [2024-11-20 17:15:59,050 INFO L175 Difference]: Start difference. First operand has 37 places, 34 transitions, 80 flow. Second operand 3 states and 60 transitions. [2024-11-20 17:15:59,051 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 36 places, 32 transitions, 122 flow [2024-11-20 17:15:59,054 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 32 places, 32 transitions, 114 flow, removed 0 selfloop flow, removed 4 redundant places. [2024-11-20 17:15:59,057 INFO L231 Difference]: Finished difference. Result has 33 places, 28 transitions, 71 flow [2024-11-20 17:15:59,059 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=60, PETRI_DIFFERENCE_MINUEND_PLACES=30, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=28, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=25, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=71, PETRI_PLACES=33, PETRI_TRANSITIONS=28} [2024-11-20 17:15:59,065 INFO L277 CegarLoopForPetriNet]: 37 programPoint places, -4 predicate places. [2024-11-20 17:15:59,066 INFO L471 AbstractCegarLoop]: Abstraction has has 33 places, 28 transitions, 71 flow [2024-11-20 17:15:59,067 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 16.333333333333332) internal successors, (49), 3 states have internal predecessors, (49), 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-20 17:15:59,067 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-20 17:15:59,067 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-20 17:15:59,068 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-20 17:15:59,068 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-20 17:15:59,069 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-20 17:15:59,070 INFO L85 PathProgramCache]: Analyzing trace with hash 916180130, now seen corresponding path program 2 times [2024-11-20 17:15:59,070 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-20 17:15:59,070 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [928211107] [2024-11-20 17:15:59,070 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-20 17:15:59,071 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-20 17:15:59,400 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-20 17:15:59,608 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-20 17:15:59,609 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-20 17:15:59,609 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [928211107] [2024-11-20 17:15:59,609 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [928211107] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-20 17:15:59,610 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-20 17:15:59,610 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-11-20 17:15:59,610 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1581263234] [2024-11-20 17:15:59,611 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-20 17:15:59,612 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2024-11-20 17:15:59,613 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-20 17:15:59,613 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-11-20 17:15:59,614 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-11-20 17:15:59,618 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 10 out of 37 [2024-11-20 17:15:59,619 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 33 places, 28 transitions, 71 flow. Second operand has 5 states, 5 states have (on average 13.2) internal successors, (66), 5 states have internal predecessors, (66), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-20 17:15:59,620 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-20 17:15:59,620 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 10 of 37 [2024-11-20 17:15:59,620 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-20 17:15:59,868 INFO L124 PetriNetUnfolderBase]: 61/146 cut-off events. [2024-11-20 17:15:59,869 INFO L125 PetriNetUnfolderBase]: For 15/15 co-relation queries the response was YES. [2024-11-20 17:15:59,869 INFO L83 FinitePrefix]: Finished finitePrefix Result has 302 conditions, 146 events. 61/146 cut-off events. For 15/15 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 430 event pairs, 12 based on Foata normal form. 19/164 useless extension candidates. Maximal degree in co-relation 129. Up to 62 conditions per place. [2024-11-20 17:15:59,873 INFO L140 encePairwiseOnDemand]: 27/37 looper letters, 21 selfloop transitions, 11 changer transitions 0/38 dead transitions. [2024-11-20 17:15:59,874 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 35 places, 38 transitions, 158 flow [2024-11-20 17:15:59,874 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-11-20 17:15:59,874 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2024-11-20 17:15:59,875 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 98 transitions. [2024-11-20 17:15:59,877 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.44144144144144143 [2024-11-20 17:15:59,877 INFO L175 Difference]: Start difference. First operand has 33 places, 28 transitions, 71 flow. Second operand 6 states and 98 transitions. [2024-11-20 17:15:59,877 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 35 places, 38 transitions, 158 flow [2024-11-20 17:15:59,878 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 33 places, 38 transitions, 152 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-20 17:15:59,880 INFO L231 Difference]: Finished difference. Result has 35 places, 31 transitions, 114 flow [2024-11-20 17:15:59,881 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=59, PETRI_DIFFERENCE_MINUEND_PLACES=28, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=25, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=7, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=17, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=114, PETRI_PLACES=35, PETRI_TRANSITIONS=31} [2024-11-20 17:15:59,882 INFO L277 CegarLoopForPetriNet]: 37 programPoint places, -2 predicate places. [2024-11-20 17:15:59,883 INFO L471 AbstractCegarLoop]: Abstraction has has 35 places, 31 transitions, 114 flow [2024-11-20 17:15:59,883 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 13.2) internal successors, (66), 5 states have internal predecessors, (66), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-20 17:15:59,883 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-20 17:15:59,883 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-20 17:15:59,883 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-20 17:15:59,884 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-20 17:15:59,884 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-20 17:15:59,886 INFO L85 PathProgramCache]: Analyzing trace with hash 618001596, now seen corresponding path program 3 times [2024-11-20 17:15:59,886 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-20 17:15:59,887 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1935227782] [2024-11-20 17:15:59,887 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-20 17:15:59,887 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-20 17:16:00,139 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-20 17:16:00,268 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-20 17:16:00,268 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-20 17:16:00,268 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1935227782] [2024-11-20 17:16:00,269 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1935227782] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-20 17:16:00,269 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-20 17:16:00,269 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-11-20 17:16:00,269 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [583790476] [2024-11-20 17:16:00,269 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-20 17:16:00,270 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2024-11-20 17:16:00,270 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-20 17:16:00,271 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-11-20 17:16:00,271 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-11-20 17:16:00,278 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 10 out of 37 [2024-11-20 17:16:00,278 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 35 places, 31 transitions, 114 flow. Second operand has 5 states, 5 states have (on average 13.2) internal successors, (66), 5 states have internal predecessors, (66), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-20 17:16:00,279 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-20 17:16:00,279 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 10 of 37 [2024-11-20 17:16:00,279 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-20 17:16:00,418 INFO L124 PetriNetUnfolderBase]: 42/112 cut-off events. [2024-11-20 17:16:00,418 INFO L125 PetriNetUnfolderBase]: For 59/59 co-relation queries the response was YES. [2024-11-20 17:16:00,419 INFO L83 FinitePrefix]: Finished finitePrefix Result has 287 conditions, 112 events. 42/112 cut-off events. For 59/59 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 287 event pairs, 8 based on Foata normal form. 4/115 useless extension candidates. Maximal degree in co-relation 63. Up to 33 conditions per place. [2024-11-20 17:16:00,420 INFO L140 encePairwiseOnDemand]: 28/37 looper letters, 16 selfloop transitions, 11 changer transitions 0/33 dead transitions. [2024-11-20 17:16:00,420 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 33 transitions, 162 flow [2024-11-20 17:16:00,422 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-20 17:16:00,423 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-11-20 17:16:00,424 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 79 transitions. [2024-11-20 17:16:00,424 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.42702702702702705 [2024-11-20 17:16:00,424 INFO L175 Difference]: Start difference. First operand has 35 places, 31 transitions, 114 flow. Second operand 5 states and 79 transitions. [2024-11-20 17:16:00,425 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 33 transitions, 162 flow [2024-11-20 17:16:00,428 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 35 places, 33 transitions, 146 flow, removed 2 selfloop flow, removed 4 redundant places. [2024-11-20 17:16:00,429 INFO L231 Difference]: Finished difference. Result has 35 places, 27 transitions, 101 flow [2024-11-20 17:16:00,429 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=79, PETRI_DIFFERENCE_MINUEND_PLACES=31, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=27, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=11, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=16, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=101, PETRI_PLACES=35, PETRI_TRANSITIONS=27} [2024-11-20 17:16:00,430 INFO L277 CegarLoopForPetriNet]: 37 programPoint places, -2 predicate places. [2024-11-20 17:16:00,430 INFO L471 AbstractCegarLoop]: Abstraction has has 35 places, 27 transitions, 101 flow [2024-11-20 17:16:00,430 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 13.2) internal successors, (66), 5 states have internal predecessors, (66), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-20 17:16:00,431 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-20 17:16:00,431 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-20 17:16:00,431 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-20 17:16:00,431 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-20 17:16:00,432 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-20 17:16:00,432 INFO L85 PathProgramCache]: Analyzing trace with hash 1463575920, now seen corresponding path program 4 times [2024-11-20 17:16:00,432 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-20 17:16:00,432 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1221811225] [2024-11-20 17:16:00,433 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-20 17:16:00,433 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-20 17:16:00,658 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-20 17:16:00,699 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-20 17:16:00,699 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-20 17:16:00,700 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1221811225] [2024-11-20 17:16:00,700 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1221811225] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-20 17:16:00,700 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-20 17:16:00,700 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-20 17:16:00,700 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1113116722] [2024-11-20 17:16:00,700 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-20 17:16:00,701 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-20 17:16:00,701 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-20 17:16:00,701 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-20 17:16:00,701 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-20 17:16:00,703 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 37 [2024-11-20 17:16:00,703 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 35 places, 27 transitions, 101 flow. Second operand has 3 states, 3 states have (on average 17.333333333333332) internal successors, (52), 3 states have internal predecessors, (52), 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-20 17:16:00,704 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-20 17:16:00,704 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 37 [2024-11-20 17:16:00,704 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-20 17:16:00,764 INFO L124 PetriNetUnfolderBase]: 41/109 cut-off events. [2024-11-20 17:16:00,764 INFO L125 PetriNetUnfolderBase]: For 86/86 co-relation queries the response was YES. [2024-11-20 17:16:00,765 INFO L83 FinitePrefix]: Finished finitePrefix Result has 291 conditions, 109 events. 41/109 cut-off events. For 86/86 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 317 event pairs, 33 based on Foata normal form. 1/105 useless extension candidates. Maximal degree in co-relation 58. Up to 92 conditions per place. [2024-11-20 17:16:00,765 INFO L140 encePairwiseOnDemand]: 35/37 looper letters, 0 selfloop transitions, 0 changer transitions 26/26 dead transitions. [2024-11-20 17:16:00,765 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 36 places, 26 transitions, 137 flow [2024-11-20 17:16:00,766 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-20 17:16:00,766 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-20 17:16:00,766 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 54 transitions. [2024-11-20 17:16:00,766 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4864864864864865 [2024-11-20 17:16:00,767 INFO L175 Difference]: Start difference. First operand has 35 places, 27 transitions, 101 flow. Second operand 3 states and 54 transitions. [2024-11-20 17:16:00,767 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 36 places, 26 transitions, 137 flow [2024-11-20 17:16:00,768 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 32 places, 26 transitions, 115 flow, removed 0 selfloop flow, removed 4 redundant places. [2024-11-20 17:16:00,768 INFO L231 Difference]: Finished difference. Result has 32 places, 0 transitions, 0 flow [2024-11-20 17:16:00,768 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=77, PETRI_DIFFERENCE_MINUEND_PLACES=30, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=26, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=26, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=32, PETRI_TRANSITIONS=0} [2024-11-20 17:16:00,769 INFO L277 CegarLoopForPetriNet]: 37 programPoint places, -5 predicate places. [2024-11-20 17:16:00,769 INFO L471 AbstractCegarLoop]: Abstraction has has 32 places, 0 transitions, 0 flow [2024-11-20 17:16:00,769 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 17.333333333333332) internal successors, (52), 3 states have internal predecessors, (52), 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-20 17:16:00,771 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK (3 of 4 remaining) [2024-11-20 17:16:00,772 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-11-20 17:16:00,772 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-11-20 17:16:00,772 INFO L782 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2024-11-20 17:16:00,773 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-20 17:16:00,773 INFO L407 BasicCegarLoop]: Path program histogram: [4] [2024-11-20 17:16:00,776 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-20 17:16:00,776 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-20 17:16:00,781 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 20.11 05:16:00 BasicIcfg [2024-11-20 17:16:00,781 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-20 17:16:00,782 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-20 17:16:00,782 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-20 17:16:00,782 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-20 17:16:00,782 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.11 05:15:57" (3/4) ... [2024-11-20 17:16:00,785 INFO L142 WitnessPrinter]: Generating witness for correct program [2024-11-20 17:16:00,789 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure thread1 [2024-11-20 17:16:00,789 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure thread2 [2024-11-20 17:16:00,802 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 252 nodes and edges [2024-11-20 17:16:00,803 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 13 nodes and edges [2024-11-20 17:16:00,805 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2024-11-20 17:16:00,805 INFO L925 BoogieBacktranslator]: Reduced CFG by removing 3 nodes and edges [2024-11-20 17:16:00,908 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-11-20 17:16:00,908 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2024-11-20 17:16:00,908 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-20 17:16:00,909 INFO L158 Benchmark]: Toolchain (without parser) took 6528.46ms. Allocated memory was 167.8MB in the beginning and 476.1MB in the end (delta: 308.3MB). Free memory was 93.3MB in the beginning and 270.3MB in the end (delta: -177.0MB). Peak memory consumption was 132.5MB. Max. memory is 16.1GB. [2024-11-20 17:16:00,910 INFO L158 Benchmark]: CDTParser took 0.20ms. Allocated memory is still 167.8MB. Free memory is still 120.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-20 17:16:00,910 INFO L158 Benchmark]: CACSL2BoogieTranslator took 731.66ms. Allocated memory is still 167.8MB. Free memory was 93.1MB in the beginning and 129.9MB in the end (delta: -36.7MB). Peak memory consumption was 43.4MB. Max. memory is 16.1GB. [2024-11-20 17:16:00,910 INFO L158 Benchmark]: Boogie Procedure Inliner took 66.66ms. Allocated memory is still 167.8MB. Free memory was 129.9MB in the beginning and 126.8MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-20 17:16:00,910 INFO L158 Benchmark]: Boogie Preprocessor took 100.32ms. Allocated memory is still 167.8MB. Free memory was 126.8MB in the beginning and 123.6MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-20 17:16:00,911 INFO L158 Benchmark]: RCFGBuilder took 2211.87ms. Allocated memory was 167.8MB in the beginning and 274.7MB in the end (delta: 107.0MB). Free memory was 122.7MB in the beginning and 199.2MB in the end (delta: -76.5MB). Peak memory consumption was 177.0MB. Max. memory is 16.1GB. [2024-11-20 17:16:00,911 INFO L158 Benchmark]: TraceAbstraction took 3280.45ms. Allocated memory was 274.7MB in the beginning and 476.1MB in the end (delta: 201.3MB). Free memory was 199.2MB in the beginning and 277.6MB in the end (delta: -78.4MB). Peak memory consumption was 124.0MB. Max. memory is 16.1GB. [2024-11-20 17:16:00,911 INFO L158 Benchmark]: Witness Printer took 126.44ms. Allocated memory is still 476.1MB. Free memory was 277.6MB in the beginning and 270.3MB in the end (delta: 7.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2024-11-20 17:16:00,914 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.20ms. Allocated memory is still 167.8MB. Free memory is still 120.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 731.66ms. Allocated memory is still 167.8MB. Free memory was 93.1MB in the beginning and 129.9MB in the end (delta: -36.7MB). Peak memory consumption was 43.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 66.66ms. Allocated memory is still 167.8MB. Free memory was 129.9MB in the beginning and 126.8MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 100.32ms. Allocated memory is still 167.8MB. Free memory was 126.8MB in the beginning and 123.6MB in the end (delta: 3.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * RCFGBuilder took 2211.87ms. Allocated memory was 167.8MB in the beginning and 274.7MB in the end (delta: 107.0MB). Free memory was 122.7MB in the beginning and 199.2MB in the end (delta: -76.5MB). Peak memory consumption was 177.0MB. Max. memory is 16.1GB. * TraceAbstraction took 3280.45ms. Allocated memory was 274.7MB in the beginning and 476.1MB in the end (delta: 201.3MB). Free memory was 199.2MB in the beginning and 277.6MB in the end (delta: -78.4MB). Peak memory consumption was 124.0MB. Max. memory is 16.1GB. * Witness Printer took 126.44ms. Allocated memory is still 476.1MB. Free memory was 277.6MB in the beginning and 270.3MB in the end (delta: 7.3MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: 953]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: 20]: 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 5 procedures, 54 locations, 4 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: 3.1s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 4, EmptinessCheckTime: 0.0s, AutomataDifference: 0.7s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 61 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 55 mSDsluCounter, 3 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 27 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 207 IncrementalHoareTripleChecker+Invalid, 234 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 27 mSolverCounterUnsat, 3 mSDtfsCounter, 207 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 14 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 11 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=114occurred in iteration=2, InterpolantAutomatonStates: 17, 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.2s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 88 NumberOfCodeBlocks, 88 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 84 ConstructedInterpolants, 0 QuantifiedInterpolants, 218 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-20 17:16:00,932 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE