./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/pthread-ext/03_incdec-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 6ae2ee47 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 ../../../trunk/examples/svcomp/pthread-ext/03_incdec-pthread.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 7f19dc7b6c5c71a67d9914faaf2a1157355ecf0e14b05edf8c2541b2f25a5ffb --- Real Ultimate output --- This is Ultimate 0.2.3-dev-6ae2ee4-m [2023-11-22 16:41:47,642 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-22 16:41:47,688 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-22 16:41:47,694 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-22 16:41:47,695 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-22 16:41:47,721 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-22 16:41:47,721 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-22 16:41:47,721 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-22 16:41:47,722 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-22 16:41:47,722 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-22 16:41:47,722 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-22 16:41:47,723 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-22 16:41:47,723 INFO L153 SettingsManager]: * Use SBE=true [2023-11-22 16:41:47,723 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-22 16:41:47,723 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-22 16:41:47,723 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-22 16:41:47,724 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-22 16:41:47,724 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-22 16:41:47,724 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-22 16:41:47,724 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-22 16:41:47,728 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-22 16:41:47,728 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-22 16:41:47,729 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-22 16:41:47,729 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-22 16:41:47,729 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-22 16:41:47,729 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-22 16:41:47,729 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-22 16:41:47,730 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-22 16:41:47,730 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-22 16:41:47,730 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-22 16:41:47,731 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 16:41:47,731 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-22 16:41:47,731 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-22 16:41:47,732 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-22 16:41:47,732 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-22 16:41:47,732 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-22 16:41:47,732 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-22 16:41:47,732 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-22 16:41:47,733 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-22 16:41:47,733 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 -> 7f19dc7b6c5c71a67d9914faaf2a1157355ecf0e14b05edf8c2541b2f25a5ffb [2023-11-22 16:41:47,981 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-22 16:41:48,005 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-22 16:41:48,007 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-22 16:41:48,008 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-22 16:41:48,009 INFO L274 PluginConnector]: CDTParser initialized [2023-11-22 16:41:48,010 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/03_incdec-pthread.i [2023-11-22 16:41:49,037 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-22 16:41:49,225 INFO L384 CDTParser]: Found 1 translation units. [2023-11-22 16:41:49,226 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/03_incdec-pthread.i [2023-11-22 16:41:49,235 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ebe6dffad/4324d80331c04e929d5168e0b664720e/FLAGe4f8d1d8f [2023-11-22 16:41:49,248 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ebe6dffad/4324d80331c04e929d5168e0b664720e [2023-11-22 16:41:49,251 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-22 16:41:49,252 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-22 16:41:49,255 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-22 16:41:49,255 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-22 16:41:49,258 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-22 16:41:49,259 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,260 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@400abcab and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49, skipping insertion in model container [2023-11-22 16:41:49,260 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,304 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-22 16:41:49,567 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 16:41:49,579 INFO L202 MainTranslator]: Completed pre-run [2023-11-22 16:41:49,620 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 16:41:49,656 INFO L206 MainTranslator]: Completed translation [2023-11-22 16:41:49,656 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49 WrapperNode [2023-11-22 16:41:49,657 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-22 16:41:49,658 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-22 16:41:49,658 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-22 16:41:49,658 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-22 16:41:49,662 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,673 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,690 INFO L138 Inliner]: procedures = 165, calls = 30, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 105 [2023-11-22 16:41:49,690 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-22 16:41:49,691 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-22 16:41:49,691 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-22 16:41:49,691 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-22 16:41:49,698 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,698 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,705 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,705 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,713 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,715 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,716 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,717 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,718 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-22 16:41:49,720 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-22 16:41:49,720 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-22 16:41:49,721 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-22 16:41:49,721 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (1/1) ... [2023-11-22 16:41:49,738 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 16:41:49,746 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 16:41:49,767 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-22 16:41:49,768 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-22 16:41:49,802 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-22 16:41:49,802 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-22 16:41:49,803 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-22 16:41:49,803 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-22 16:41:49,803 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-22 16:41:49,803 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-22 16:41:49,803 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-22 16:41:49,803 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-22 16:41:49,803 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-22 16:41:49,804 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-22 16:41:49,804 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-22 16:41:49,806 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-22 16:41:49,976 INFO L241 CfgBuilder]: Building ICFG [2023-11-22 16:41:49,978 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-22 16:41:50,161 INFO L282 CfgBuilder]: Performing block encoding [2023-11-22 16:41:50,260 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-22 16:41:50,261 INFO L309 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-22 16:41:50,261 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 04:41:50 BoogieIcfgContainer [2023-11-22 16:41:50,261 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-22 16:41:50,262 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-22 16:41:50,262 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-22 16:41:50,265 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-22 16:41:50,265 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 22.11 04:41:49" (1/3) ... [2023-11-22 16:41:50,265 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7a902eb1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 04:41:50, skipping insertion in model container [2023-11-22 16:41:50,265 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:49" (2/3) ... [2023-11-22 16:41:50,266 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7a902eb1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 04:41:50, skipping insertion in model container [2023-11-22 16:41:50,266 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 04:41:50" (3/3) ... [2023-11-22 16:41:50,266 INFO L112 eAbstractionObserver]: Analyzing ICFG 03_incdec-pthread.i [2023-11-22 16:41:50,286 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-22 16:41:50,287 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 5 error locations. [2023-11-22 16:41:50,287 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-22 16:41:50,339 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-22 16:41:50,365 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 51 places, 55 transitions, 114 flow [2023-11-22 16:41:50,393 INFO L124 PetriNetUnfolderBase]: 7/62 cut-off events. [2023-11-22 16:41:50,393 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:50,397 INFO L83 FinitePrefix]: Finished finitePrefix Result has 66 conditions, 62 events. 7/62 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 154 event pairs, 0 based on Foata normal form. 0/45 useless extension candidates. Maximal degree in co-relation 52. Up to 2 conditions per place. [2023-11-22 16:41:50,398 INFO L82 GeneralOperation]: Start removeDead. Operand has 51 places, 55 transitions, 114 flow [2023-11-22 16:41:50,403 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 51 places, 55 transitions, 114 flow [2023-11-22 16:41:50,420 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 16:41:50,425 INFO L357 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, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@607a0fe0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 16:41:50,426 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-11-22 16:41:50,432 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 16:41:50,432 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-22 16:41:50,432 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:50,432 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:50,433 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:50,434 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-22 16:41:50,438 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:50,438 INFO L85 PathProgramCache]: Analyzing trace with hash 329220, now seen corresponding path program 1 times [2023-11-22 16:41:50,444 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:50,445 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [315097172] [2023-11-22 16:41:50,445 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:50,445 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:50,532 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:50,635 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:50,636 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:50,636 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [315097172] [2023-11-22 16:41:50,637 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [315097172] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:50,637 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:50,637 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:50,638 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [905065437] [2023-11-22 16:41:50,640 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:50,647 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:50,650 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:50,672 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:50,673 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:50,686 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 17 out of 55 [2023-11-22 16:41:50,688 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 51 places, 55 transitions, 114 flow. Second operand has 3 states, 3 states have (on average 18.0) internal successors, (54), 3 states have internal predecessors, (54), 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) [2023-11-22 16:41:50,688 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:50,688 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 17 of 55 [2023-11-22 16:41:50,689 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:50,782 INFO L124 PetriNetUnfolderBase]: 75/225 cut-off events. [2023-11-22 16:41:50,782 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:50,784 INFO L83 FinitePrefix]: Finished finitePrefix Result has 396 conditions, 225 events. 75/225 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 949 event pairs, 63 based on Foata normal form. 16/237 useless extension candidates. Maximal degree in co-relation 381. Up to 166 conditions per place. [2023-11-22 16:41:50,786 INFO L140 encePairwiseOnDemand]: 48/55 looper letters, 28 selfloop transitions, 1 changer transitions 0/45 dead transitions. [2023-11-22 16:41:50,787 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 47 places, 45 transitions, 152 flow [2023-11-22 16:41:50,788 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:50,789 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:50,794 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 86 transitions. [2023-11-22 16:41:50,796 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5212121212121212 [2023-11-22 16:41:50,796 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 86 transitions. [2023-11-22 16:41:50,796 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 86 transitions. [2023-11-22 16:41:50,797 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:50,799 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 86 transitions. [2023-11-22 16:41:50,800 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 28.666666666666668) internal successors, (86), 3 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:50,803 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 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) [2023-11-22 16:41:50,803 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 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) [2023-11-22 16:41:50,804 INFO L175 Difference]: Start difference. First operand has 51 places, 55 transitions, 114 flow. Second operand 3 states and 86 transitions. [2023-11-22 16:41:50,805 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 47 places, 45 transitions, 152 flow [2023-11-22 16:41:50,806 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 45 transitions, 152 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-22 16:41:50,811 INFO L231 Difference]: Finished difference. Result has 47 places, 45 transitions, 96 flow [2023-11-22 16:41:50,813 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=55, PETRI_DIFFERENCE_MINUEND_FLOW=94, PETRI_DIFFERENCE_MINUEND_PLACES=45, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=45, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=44, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=96, PETRI_PLACES=47, PETRI_TRANSITIONS=45} [2023-11-22 16:41:50,816 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -4 predicate places. [2023-11-22 16:41:50,816 INFO L495 AbstractCegarLoop]: Abstraction has has 47 places, 45 transitions, 96 flow [2023-11-22 16:41:50,817 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 18.0) internal successors, (54), 3 states have internal predecessors, (54), 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) [2023-11-22 16:41:50,817 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:50,817 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:50,817 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-22 16:41:50,817 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-22 16:41:50,818 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:50,818 INFO L85 PathProgramCache]: Analyzing trace with hash 329221, now seen corresponding path program 1 times [2023-11-22 16:41:50,818 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:50,818 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1346309587] [2023-11-22 16:41:50,819 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:50,819 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:50,847 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:50,904 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:50,904 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:50,904 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1346309587] [2023-11-22 16:41:50,904 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1346309587] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:50,905 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:50,905 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:50,905 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1467589322] [2023-11-22 16:41:50,905 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:50,906 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:50,906 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:50,907 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:50,907 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:50,912 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 55 [2023-11-22 16:41:50,912 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 47 places, 45 transitions, 96 flow. Second operand has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:50,912 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:50,913 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 55 [2023-11-22 16:41:50,913 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:51,016 INFO L124 PetriNetUnfolderBase]: 51/164 cut-off events. [2023-11-22 16:41:51,018 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-22 16:41:51,018 INFO L83 FinitePrefix]: Finished finitePrefix Result has 290 conditions, 164 events. 51/164 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 634 event pairs, 42 based on Foata normal form. 23/184 useless extension candidates. Maximal degree in co-relation 283. Up to 119 conditions per place. [2023-11-22 16:41:51,019 INFO L140 encePairwiseOnDemand]: 53/55 looper letters, 27 selfloop transitions, 1 changer transitions 0/44 dead transitions. [2023-11-22 16:41:51,019 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 48 places, 44 transitions, 150 flow [2023-11-22 16:41:51,020 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:51,020 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:51,022 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 83 transitions. [2023-11-22 16:41:51,023 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.503030303030303 [2023-11-22 16:41:51,023 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 83 transitions. [2023-11-22 16:41:51,023 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 83 transitions. [2023-11-22 16:41:51,025 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:51,025 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 83 transitions. [2023-11-22 16:41:51,026 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 27.666666666666668) internal successors, (83), 3 states have internal predecessors, (83), 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) [2023-11-22 16:41:51,027 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 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) [2023-11-22 16:41:51,027 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 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) [2023-11-22 16:41:51,028 INFO L175 Difference]: Start difference. First operand has 47 places, 45 transitions, 96 flow. Second operand 3 states and 83 transitions. [2023-11-22 16:41:51,028 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 48 places, 44 transitions, 150 flow [2023-11-22 16:41:51,028 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 44 transitions, 149 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-22 16:41:51,030 INFO L231 Difference]: Finished difference. Result has 47 places, 44 transitions, 95 flow [2023-11-22 16:41:51,030 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=55, PETRI_DIFFERENCE_MINUEND_FLOW=93, PETRI_DIFFERENCE_MINUEND_PLACES=45, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=44, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=43, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=95, PETRI_PLACES=47, PETRI_TRANSITIONS=44} [2023-11-22 16:41:51,031 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -4 predicate places. [2023-11-22 16:41:51,031 INFO L495 AbstractCegarLoop]: Abstraction has has 47 places, 44 transitions, 95 flow [2023-11-22 16:41:51,031 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:51,031 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:51,032 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2023-11-22 16:41:51,032 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-22 16:41:51,032 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-22 16:41:51,033 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:51,034 INFO L85 PathProgramCache]: Analyzing trace with hash -1856602178, now seen corresponding path program 1 times [2023-11-22 16:41:51,034 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:51,035 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1540202970] [2023-11-22 16:41:51,036 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:51,037 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:51,068 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:51,072 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 16:41:51,080 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:51,099 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 16:41:51,099 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 16:41:51,100 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (7 of 8 remaining) [2023-11-22 16:41:51,102 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (6 of 8 remaining) [2023-11-22 16:41:51,105 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 8 remaining) [2023-11-22 16:41:51,106 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 8 remaining) [2023-11-22 16:41:51,106 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 8 remaining) [2023-11-22 16:41:51,107 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 8 remaining) [2023-11-22 16:41:51,107 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (1 of 8 remaining) [2023-11-22 16:41:51,107 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 8 remaining) [2023-11-22 16:41:51,107 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-22 16:41:51,116 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-22 16:41:51,118 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 16:41:51,118 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-22 16:41:51,146 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-22 16:41:51,156 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 91 places, 100 transitions, 210 flow [2023-11-22 16:41:51,173 INFO L124 PetriNetUnfolderBase]: 14/115 cut-off events. [2023-11-22 16:41:51,173 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-22 16:41:51,176 INFO L83 FinitePrefix]: Finished finitePrefix Result has 123 conditions, 115 events. 14/115 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 419 event pairs, 0 based on Foata normal form. 0/85 useless extension candidates. Maximal degree in co-relation 96. Up to 3 conditions per place. [2023-11-22 16:41:51,176 INFO L82 GeneralOperation]: Start removeDead. Operand has 91 places, 100 transitions, 210 flow [2023-11-22 16:41:51,177 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 91 places, 100 transitions, 210 flow [2023-11-22 16:41:51,178 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 16:41:51,182 INFO L357 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, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@607a0fe0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 16:41:51,182 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-11-22 16:41:51,184 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 16:41:51,184 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-22 16:41:51,184 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:51,184 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:51,184 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:51,185 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 7 more)] === [2023-11-22 16:41:51,186 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:51,186 INFO L85 PathProgramCache]: Analyzing trace with hash 428520, now seen corresponding path program 1 times [2023-11-22 16:41:51,186 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:51,186 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [276589683] [2023-11-22 16:41:51,186 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:51,186 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:51,202 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:51,231 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:51,231 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:51,231 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [276589683] [2023-11-22 16:41:51,232 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [276589683] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:51,232 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:51,232 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:51,232 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1363531914] [2023-11-22 16:41:51,232 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:51,232 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:51,232 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:51,233 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:51,233 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:51,237 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 31 out of 100 [2023-11-22 16:41:51,237 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 91 places, 100 transitions, 210 flow. Second operand has 3 states, 3 states have (on average 32.0) internal successors, (96), 3 states have internal predecessors, (96), 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) [2023-11-22 16:41:51,237 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:51,238 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 31 of 100 [2023-11-22 16:41:51,238 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:51,765 INFO L124 PetriNetUnfolderBase]: 3837/7271 cut-off events. [2023-11-22 16:41:51,766 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-22 16:41:51,775 INFO L83 FinitePrefix]: Finished finitePrefix Result has 13207 conditions, 7271 events. 3837/7271 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 393. Compared 56422 event pairs, 3297 based on Foata normal form. 704/7699 useless extension candidates. Maximal degree in co-relation 2861. Up to 5864 conditions per place. [2023-11-22 16:41:51,803 INFO L140 encePairwiseOnDemand]: 89/100 looper letters, 53 selfloop transitions, 1 changer transitions 0/84 dead transitions. [2023-11-22 16:41:51,803 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 85 places, 84 transitions, 286 flow [2023-11-22 16:41:51,804 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:51,804 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:51,806 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 157 transitions. [2023-11-22 16:41:51,807 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5233333333333333 [2023-11-22 16:41:51,807 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 157 transitions. [2023-11-22 16:41:51,807 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 157 transitions. [2023-11-22 16:41:51,807 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:51,807 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 157 transitions. [2023-11-22 16:41:51,809 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 52.333333333333336) internal successors, (157), 3 states have internal predecessors, (157), 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) [2023-11-22 16:41:51,809 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 100.0) internal successors, (400), 4 states have internal predecessors, (400), 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) [2023-11-22 16:41:51,810 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 100.0) internal successors, (400), 4 states have internal predecessors, (400), 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) [2023-11-22 16:41:51,810 INFO L175 Difference]: Start difference. First operand has 91 places, 100 transitions, 210 flow. Second operand 3 states and 157 transitions. [2023-11-22 16:41:51,810 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 85 places, 84 transitions, 286 flow [2023-11-22 16:41:51,811 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 85 places, 84 transitions, 286 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-22 16:41:51,813 INFO L231 Difference]: Finished difference. Result has 85 places, 84 transitions, 180 flow [2023-11-22 16:41:51,813 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=100, PETRI_DIFFERENCE_MINUEND_FLOW=178, PETRI_DIFFERENCE_MINUEND_PLACES=83, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=84, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=83, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=180, PETRI_PLACES=85, PETRI_TRANSITIONS=84} [2023-11-22 16:41:51,815 INFO L281 CegarLoopForPetriNet]: 91 programPoint places, -6 predicate places. [2023-11-22 16:41:51,815 INFO L495 AbstractCegarLoop]: Abstraction has has 85 places, 84 transitions, 180 flow [2023-11-22 16:41:51,815 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 32.0) internal successors, (96), 3 states have internal predecessors, (96), 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) [2023-11-22 16:41:51,815 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:51,815 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:51,815 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-22 16:41:51,815 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 7 more)] === [2023-11-22 16:41:51,815 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:51,816 INFO L85 PathProgramCache]: Analyzing trace with hash 428521, now seen corresponding path program 1 times [2023-11-22 16:41:51,816 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:51,816 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [896517951] [2023-11-22 16:41:51,816 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:51,816 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:51,824 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:51,875 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:51,875 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:51,875 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [896517951] [2023-11-22 16:41:51,875 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [896517951] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:51,875 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:51,875 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:51,875 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [966411294] [2023-11-22 16:41:51,875 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:51,876 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:51,876 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:51,876 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:51,876 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:51,884 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 32 out of 100 [2023-11-22 16:41:51,884 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 85 places, 84 transitions, 180 flow. Second operand has 3 states, 3 states have (on average 33.0) internal successors, (99), 3 states have internal predecessors, (99), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:51,885 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:51,885 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 32 of 100 [2023-11-22 16:41:51,885 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:52,287 INFO L124 PetriNetUnfolderBase]: 2757/5334 cut-off events. [2023-11-22 16:41:52,287 INFO L125 PetriNetUnfolderBase]: For 69/69 co-relation queries the response was YES. [2023-11-22 16:41:52,294 INFO L83 FinitePrefix]: Finished finitePrefix Result has 9685 conditions, 5334 events. 2757/5334 cut-off events. For 69/69 co-relation queries the response was YES. Maximal size of possible extension queue 305. Compared 40038 event pairs, 2352 based on Foata normal form. 507/5634 useless extension candidates. Maximal degree in co-relation 9677. Up to 4277 conditions per place. [2023-11-22 16:41:52,311 INFO L140 encePairwiseOnDemand]: 98/100 looper letters, 52 selfloop transitions, 1 changer transitions 0/83 dead transitions. [2023-11-22 16:41:52,311 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 86 places, 83 transitions, 284 flow [2023-11-22 16:41:52,312 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:52,312 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:52,313 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 150 transitions. [2023-11-22 16:41:52,313 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5 [2023-11-22 16:41:52,313 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 150 transitions. [2023-11-22 16:41:52,313 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 150 transitions. [2023-11-22 16:41:52,314 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:52,314 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 150 transitions. [2023-11-22 16:41:52,314 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 50.0) internal successors, (150), 3 states have internal predecessors, (150), 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) [2023-11-22 16:41:52,316 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 100.0) internal successors, (400), 4 states have internal predecessors, (400), 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) [2023-11-22 16:41:52,317 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 100.0) internal successors, (400), 4 states have internal predecessors, (400), 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) [2023-11-22 16:41:52,319 INFO L175 Difference]: Start difference. First operand has 85 places, 84 transitions, 180 flow. Second operand 3 states and 150 transitions. [2023-11-22 16:41:52,319 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 86 places, 83 transitions, 284 flow [2023-11-22 16:41:52,321 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 85 places, 83 transitions, 283 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-22 16:41:52,322 INFO L231 Difference]: Finished difference. Result has 85 places, 83 transitions, 179 flow [2023-11-22 16:41:52,322 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=100, PETRI_DIFFERENCE_MINUEND_FLOW=177, PETRI_DIFFERENCE_MINUEND_PLACES=83, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=83, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=82, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=179, PETRI_PLACES=85, PETRI_TRANSITIONS=83} [2023-11-22 16:41:52,323 INFO L281 CegarLoopForPetriNet]: 91 programPoint places, -6 predicate places. [2023-11-22 16:41:52,324 INFO L495 AbstractCegarLoop]: Abstraction has has 85 places, 83 transitions, 179 flow [2023-11-22 16:41:52,324 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 33.0) internal successors, (99), 3 states have internal predecessors, (99), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:52,324 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:52,324 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2023-11-22 16:41:52,325 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-22 16:41:52,325 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 7 more)] === [2023-11-22 16:41:52,326 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:52,326 INFO L85 PathProgramCache]: Analyzing trace with hash -307501885, now seen corresponding path program 1 times [2023-11-22 16:41:52,326 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:52,326 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [119471306] [2023-11-22 16:41:52,326 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:52,326 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:52,344 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:52,344 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 16:41:52,352 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:52,358 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 16:41:52,358 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 16:41:52,359 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 10 remaining) [2023-11-22 16:41:52,359 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (8 of 10 remaining) [2023-11-22 16:41:52,359 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (7 of 10 remaining) [2023-11-22 16:41:52,359 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 10 remaining) [2023-11-22 16:41:52,359 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 10 remaining) [2023-11-22 16:41:52,359 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (4 of 10 remaining) [2023-11-22 16:41:52,360 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (3 of 10 remaining) [2023-11-22 16:41:52,360 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 10 remaining) [2023-11-22 16:41:52,360 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (1 of 10 remaining) [2023-11-22 16:41:52,360 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 10 remaining) [2023-11-22 16:41:52,360 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-22 16:41:52,360 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-22 16:41:52,361 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 16:41:52,361 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-22 16:41:52,412 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-22 16:41:52,417 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 131 places, 145 transitions, 308 flow [2023-11-22 16:41:52,428 INFO L124 PetriNetUnfolderBase]: 21/168 cut-off events. [2023-11-22 16:41:52,428 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-22 16:41:52,429 INFO L83 FinitePrefix]: Finished finitePrefix Result has 181 conditions, 168 events. 21/168 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 725 event pairs, 0 based on Foata normal form. 0/125 useless extension candidates. Maximal degree in co-relation 140. Up to 4 conditions per place. [2023-11-22 16:41:52,429 INFO L82 GeneralOperation]: Start removeDead. Operand has 131 places, 145 transitions, 308 flow [2023-11-22 16:41:52,432 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 131 places, 145 transitions, 308 flow [2023-11-22 16:41:52,433 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 16:41:52,434 INFO L357 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, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@607a0fe0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 16:41:52,434 INFO L358 AbstractCegarLoop]: Starting to check reachability of 12 error locations. [2023-11-22 16:41:52,435 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 16:41:52,435 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-22 16:41:52,435 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:52,436 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:52,436 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:52,436 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-11-22 16:41:52,436 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:52,436 INFO L85 PathProgramCache]: Analyzing trace with hash 572505, now seen corresponding path program 1 times [2023-11-22 16:41:52,436 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:52,439 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1547193194] [2023-11-22 16:41:52,440 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:52,440 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:52,446 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:52,472 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:52,472 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:52,472 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1547193194] [2023-11-22 16:41:52,473 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1547193194] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:52,473 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:52,473 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:52,473 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [731120373] [2023-11-22 16:41:52,473 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:52,473 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:52,474 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:52,474 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:52,475 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:52,481 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 45 out of 145 [2023-11-22 16:41:52,482 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 131 places, 145 transitions, 308 flow. Second operand has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 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) [2023-11-22 16:41:52,482 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:52,482 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 45 of 145 [2023-11-22 16:41:52,482 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:42:04,783 INFO L124 PetriNetUnfolderBase]: 133065/208696 cut-off events. [2023-11-22 16:42:04,784 INFO L125 PetriNetUnfolderBase]: For 3538/3538 co-relation queries the response was YES. [2023-11-22 16:42:05,194 INFO L83 FinitePrefix]: Finished finitePrefix Result has 388389 conditions, 208696 events. 133065/208696 cut-off events. For 3538/3538 co-relation queries the response was YES. Maximal size of possible extension queue 8336. Compared 2001110 event pairs, 115101 based on Foata normal form. 23576/224068 useless extension candidates. Maximal degree in co-relation 13225. Up to 177684 conditions per place. [2023-11-22 16:42:06,157 INFO L140 encePairwiseOnDemand]: 130/145 looper letters, 78 selfloop transitions, 1 changer transitions 0/123 dead transitions. [2023-11-22 16:42:06,157 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 123 places, 123 transitions, 422 flow [2023-11-22 16:42:06,158 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:42:06,158 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:42:06,158 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 228 transitions. [2023-11-22 16:42:06,159 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5241379310344828 [2023-11-22 16:42:06,159 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 228 transitions. [2023-11-22 16:42:06,159 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 228 transitions. [2023-11-22 16:42:06,159 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:42:06,159 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 228 transitions. [2023-11-22 16:42:06,160 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 76.0) internal successors, (228), 3 states have internal predecessors, (228), 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) [2023-11-22 16:42:06,161 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 145.0) internal successors, (580), 4 states have internal predecessors, (580), 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) [2023-11-22 16:42:06,162 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 145.0) internal successors, (580), 4 states have internal predecessors, (580), 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) [2023-11-22 16:42:06,162 INFO L175 Difference]: Start difference. First operand has 131 places, 145 transitions, 308 flow. Second operand 3 states and 228 transitions. [2023-11-22 16:42:06,162 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 123 places, 123 transitions, 422 flow [2023-11-22 16:42:06,168 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 123 places, 123 transitions, 420 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-11-22 16:42:06,170 INFO L231 Difference]: Finished difference. Result has 123 places, 123 transitions, 264 flow [2023-11-22 16:42:06,170 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=145, PETRI_DIFFERENCE_MINUEND_FLOW=262, PETRI_DIFFERENCE_MINUEND_PLACES=121, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=123, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=122, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=264, PETRI_PLACES=123, PETRI_TRANSITIONS=123} [2023-11-22 16:42:06,172 INFO L281 CegarLoopForPetriNet]: 131 programPoint places, -8 predicate places. [2023-11-22 16:42:06,172 INFO L495 AbstractCegarLoop]: Abstraction has has 123 places, 123 transitions, 264 flow [2023-11-22 16:42:06,172 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 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) [2023-11-22 16:42:06,172 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:42:06,173 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:42:06,173 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-11-22 16:42:06,173 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-11-22 16:42:06,173 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:42:06,173 INFO L85 PathProgramCache]: Analyzing trace with hash 572506, now seen corresponding path program 1 times [2023-11-22 16:42:06,174 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:42:06,175 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1415578124] [2023-11-22 16:42:06,175 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:42:06,175 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:42:06,184 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:42:06,208 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:42:06,209 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:42:06,209 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1415578124] [2023-11-22 16:42:06,209 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1415578124] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:42:06,209 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:42:06,209 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:42:06,209 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1480734550] [2023-11-22 16:42:06,210 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:42:06,210 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:42:06,210 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:42:06,210 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:42:06,211 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:42:06,214 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 46 out of 145 [2023-11-22 16:42:06,214 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 123 places, 123 transitions, 264 flow. Second operand has 3 states, 3 states have (on average 47.0) internal successors, (141), 3 states have internal predecessors, (141), 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) [2023-11-22 16:42:06,214 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:42:06,214 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 46 of 145 [2023-11-22 16:42:06,214 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:42:14,220 INFO L124 PetriNetUnfolderBase]: 97137/153916 cut-off events. [2023-11-22 16:42:14,220 INFO L125 PetriNetUnfolderBase]: For 1522/1522 co-relation queries the response was YES. [2023-11-22 16:42:14,520 INFO L83 FinitePrefix]: Finished finitePrefix Result has 286044 conditions, 153916 events. 97137/153916 cut-off events. For 1522/1522 co-relation queries the response was YES. Maximal size of possible extension queue 6274. Compared 1454805 event pairs, 83664 based on Foata normal form. 11155/158750 useless extension candidates. Maximal degree in co-relation 286035. Up to 130601 conditions per place. [2023-11-22 16:42:15,333 INFO L140 encePairwiseOnDemand]: 143/145 looper letters, 77 selfloop transitions, 1 changer transitions 0/122 dead transitions. [2023-11-22 16:42:15,333 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 124 places, 122 transitions, 418 flow [2023-11-22 16:42:15,334 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:42:15,334 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:42:15,335 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 217 transitions. [2023-11-22 16:42:15,335 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.49885057471264366 [2023-11-22 16:42:15,336 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 217 transitions. [2023-11-22 16:42:15,336 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 217 transitions. [2023-11-22 16:42:15,337 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:42:15,337 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 217 transitions. [2023-11-22 16:42:15,337 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 72.33333333333333) internal successors, (217), 3 states have internal predecessors, (217), 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) [2023-11-22 16:42:15,338 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 145.0) internal successors, (580), 4 states have internal predecessors, (580), 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) [2023-11-22 16:42:15,338 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 145.0) internal successors, (580), 4 states have internal predecessors, (580), 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) [2023-11-22 16:42:15,339 INFO L175 Difference]: Start difference. First operand has 123 places, 123 transitions, 264 flow. Second operand 3 states and 217 transitions. [2023-11-22 16:42:15,339 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 124 places, 122 transitions, 418 flow [2023-11-22 16:42:15,340 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 123 places, 122 transitions, 417 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-22 16:42:15,343 INFO L231 Difference]: Finished difference. Result has 123 places, 122 transitions, 263 flow [2023-11-22 16:42:15,344 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=145, PETRI_DIFFERENCE_MINUEND_FLOW=261, PETRI_DIFFERENCE_MINUEND_PLACES=121, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=122, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=121, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=263, PETRI_PLACES=123, PETRI_TRANSITIONS=122} [2023-11-22 16:42:15,345 INFO L281 CegarLoopForPetriNet]: 131 programPoint places, -8 predicate places. [2023-11-22 16:42:15,345 INFO L495 AbstractCegarLoop]: Abstraction has has 123 places, 122 transitions, 263 flow [2023-11-22 16:42:15,345 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 47.0) internal successors, (141), 3 states have internal predecessors, (141), 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) [2023-11-22 16:42:15,345 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:42:15,345 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2023-11-22 16:42:15,346 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-11-22 16:42:15,346 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-11-22 16:42:15,346 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:42:15,346 INFO L85 PathProgramCache]: Analyzing trace with hash -1152404447, now seen corresponding path program 1 times [2023-11-22 16:42:15,346 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:42:15,346 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [214939041] [2023-11-22 16:42:15,346 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:42:15,347 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:42:15,362 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:42:15,362 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 16:42:15,371 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:42:15,383 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 16:42:15,383 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 16:42:15,383 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (11 of 12 remaining) [2023-11-22 16:42:15,384 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (10 of 12 remaining) [2023-11-22 16:42:15,384 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (9 of 12 remaining) [2023-11-22 16:42:15,384 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 12 remaining) [2023-11-22 16:42:15,384 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 12 remaining) [2023-11-22 16:42:15,384 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (6 of 12 remaining) [2023-11-22 16:42:15,384 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (5 of 12 remaining) [2023-11-22 16:42:15,385 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 12 remaining) [2023-11-22 16:42:15,385 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (3 of 12 remaining) [2023-11-22 16:42:15,385 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 12 remaining) [2023-11-22 16:42:15,385 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (1 of 12 remaining) [2023-11-22 16:42:15,385 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 12 remaining) [2023-11-22 16:42:15,385 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-11-22 16:42:15,386 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-22 16:42:15,386 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 16:42:15,386 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-11-22 16:42:15,426 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-22 16:42:15,430 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 171 places, 190 transitions, 408 flow [2023-11-22 16:42:15,445 INFO L124 PetriNetUnfolderBase]: 28/221 cut-off events. [2023-11-22 16:42:15,445 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-11-22 16:42:15,447 INFO L83 FinitePrefix]: Finished finitePrefix Result has 240 conditions, 221 events. 28/221 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 1007 event pairs, 0 based on Foata normal form. 0/165 useless extension candidates. Maximal degree in co-relation 184. Up to 5 conditions per place. [2023-11-22 16:42:15,447 INFO L82 GeneralOperation]: Start removeDead. Operand has 171 places, 190 transitions, 408 flow [2023-11-22 16:42:15,453 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 171 places, 190 transitions, 408 flow [2023-11-22 16:42:15,454 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 16:42:15,454 INFO L357 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, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@607a0fe0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 16:42:15,455 INFO L358 AbstractCegarLoop]: Starting to check reachability of 14 error locations. [2023-11-22 16:42:15,456 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 16:42:15,456 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-22 16:42:15,456 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:42:15,456 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:42:15,456 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:42:15,456 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 11 more)] === [2023-11-22 16:42:15,457 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:42:15,457 INFO L85 PathProgramCache]: Analyzing trace with hash 761175, now seen corresponding path program 1 times [2023-11-22 16:42:15,457 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:42:15,457 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1554634369] [2023-11-22 16:42:15,457 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:42:15,457 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:42:15,462 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:42:15,490 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:42:15,491 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:42:15,491 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1554634369] [2023-11-22 16:42:15,491 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1554634369] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:42:15,491 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:42:15,491 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:42:15,491 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1170539990] [2023-11-22 16:42:15,491 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:42:15,491 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:42:15,492 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:42:15,492 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:42:15,492 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:42:15,496 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 59 out of 190 [2023-11-22 16:42:15,497 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 171 places, 190 transitions, 408 flow. Second operand has 3 states, 3 states have (on average 60.0) internal successors, (180), 3 states have internal predecessors, (180), 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) [2023-11-22 16:42:15,497 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:42:15,497 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 59 of 190 [2023-11-22 16:42:15,497 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand