/usr/bin/java -Xmx16000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -s ../../../trunk/examples/settings/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-VariableLbe.epf --traceabstraction.order.of.the.error.locations.to.be.checked PROGRAM_FIRST -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml --cacsl2boogietranslator.check.unreachability.of.reach_error.function false --cacsl2boogietranslator.pointer.base.address.is.valid.at.dereference ASSERTandASSUME --cacsl2boogietranslator.pointer.to.allocated.memory.at.dereference ASSERTandASSUME --cacsl2boogietranslator.check.array.bounds.for.arrays.that.are.off.heap ASSERTandASSUME --cacsl2boogietranslator.check.if.freed.pointer.was.valid true --cacsl2boogietranslator.adapt.memory.model.on.pointer.casts.if.necessary true -i ../../../trunk/examples/svcomp/pthread-ext/29_conditionals_vs.i -------------------------------------------------------------------------------- This is Ultimate 0.2.3-dev-ac9dbd0-m [2023-08-26 17:54:35,509 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-08-26 17:54:35,555 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-VariableLbe.epf [2023-08-26 17:54:35,559 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-08-26 17:54:35,559 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.Checked method. Library mode if empty. [2023-08-26 17:54:35,579 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-26 17:54:35,579 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-26 17:54:35,580 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-26 17:54:35,580 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-26 17:54:35,581 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-08-26 17:54:35,581 INFO L153 SettingsManager]: * Use SBE=true [2023-08-26 17:54:35,581 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-26 17:54:35,582 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-08-26 17:54:35,582 INFO L153 SettingsManager]: * sizeof long=4 [2023-08-26 17:54:35,582 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-26 17:54:35,583 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-08-26 17:54:35,583 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-08-26 17:54:35,583 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-08-26 17:54:35,583 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-26 17:54:35,584 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-08-26 17:54:35,584 INFO L153 SettingsManager]: * sizeof long double=12 [2023-08-26 17:54:35,585 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-08-26 17:54:35,585 INFO L153 SettingsManager]: * Use constant arrays=true [2023-08-26 17:54:35,585 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-26 17:54:35,586 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-26 17:54:35,586 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-08-26 17:54:35,586 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-26 17:54:35,586 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-26 17:54:35,587 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-26 17:54:35,587 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-26 17:54:35,587 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-08-26 17:54:35,588 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-26 17:54:35,588 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-26 17:54:35,588 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-26 17:54:35,589 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-26 17:54:35,589 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC 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.traceabstraction: Order of the error locations to be checked -> PROGRAM_FIRST Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check unreachability of reach_error function -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Pointer base address is valid at dereference -> ASSERTandASSUME Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Pointer to allocated memory at dereference -> ASSERTandASSUME Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check array bounds for arrays that are off heap -> ASSERTandASSUME Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check if freed pointer was valid -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Adapt memory model on pointer casts if necessary -> true [2023-08-26 17:54:35,880 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-26 17:54:35,905 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-26 17:54:35,907 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-26 17:54:35,909 INFO L270 PluginConnector]: Initializing CDTParser... [2023-08-26 17:54:35,909 INFO L274 PluginConnector]: CDTParser initialized [2023-08-26 17:54:35,914 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/29_conditionals_vs.i [2023-08-26 17:54:37,339 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-08-26 17:54:37,586 INFO L384 CDTParser]: Found 1 translation units. [2023-08-26 17:54:37,587 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/29_conditionals_vs.i [2023-08-26 17:54:37,599 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/447a330d7/99c25809a255425b8d11c59665ae7297/FLAGf3ac05209 [2023-08-26 17:54:37,610 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/447a330d7/99c25809a255425b8d11c59665ae7297 [2023-08-26 17:54:37,612 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-26 17:54:37,614 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-08-26 17:54:37,615 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-26 17:54:37,615 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-26 17:54:37,617 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-26 17:54:37,618 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.08 05:54:37" (1/1) ... [2023-08-26 17:54:37,618 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@20aeda32 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:37, skipping insertion in model container [2023-08-26 17:54:37,618 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.08 05:54:37" (1/1) ... [2023-08-26 17:54:37,661 INFO L176 MainTranslator]: Built tables and reachable declarations [2023-08-26 17:54:38,007 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-26 17:54:38,020 INFO L201 MainTranslator]: Completed pre-run [2023-08-26 17:54:38,052 WARN L75 lationResultReporter]: Unsoundness Warning: unspecified type, defaulting to int C: short [254] [2023-08-26 17:54:38,054 WARN L75 lationResultReporter]: Unsoundness Warning: unspecified type, defaulting to int C: short [254] [2023-08-26 17:54:38,067 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-26 17:54:38,105 INFO L206 MainTranslator]: Completed translation [2023-08-26 17:54:38,107 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38 WrapperNode [2023-08-26 17:54:38,107 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-26 17:54:38,108 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-26 17:54:38,109 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-26 17:54:38,109 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-26 17:54:38,115 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,142 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,167 INFO L138 Inliner]: procedures = 170, calls = 15, calls flagged for inlining = 7, calls inlined = 7, statements flattened = 64 [2023-08-26 17:54:38,168 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-26 17:54:38,169 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-26 17:54:38,170 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-26 17:54:38,170 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-08-26 17:54:38,176 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,177 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,183 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,184 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,195 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,198 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,199 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,200 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,202 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-26 17:54:38,203 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-26 17:54:38,203 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-08-26 17:54:38,203 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-08-26 17:54:38,203 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (1/1) ... [2023-08-26 17:54:38,211 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-26 17:54:38,221 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-26 17:54:38,232 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-08-26 17:54:38,241 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-08-26 17:54:38,272 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-26 17:54:38,272 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-26 17:54:38,272 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-26 17:54:38,273 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-26 17:54:38,273 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-26 17:54:38,273 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-26 17:54:38,273 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-26 17:54:38,273 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-26 17:54:38,273 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-26 17:54:38,275 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-26 17:54:38,416 INFO L236 CfgBuilder]: Building ICFG [2023-08-26 17:54:38,417 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-26 17:54:38,533 INFO L277 CfgBuilder]: Performing block encoding [2023-08-26 17:54:38,559 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-26 17:54:38,559 INFO L302 CfgBuilder]: Removed 1 assume(true) statements. [2023-08-26 17:54:38,561 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.08 05:54:38 BoogieIcfgContainer [2023-08-26 17:54:38,561 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-26 17:54:38,566 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-26 17:54:38,566 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-08-26 17:54:38,568 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-08-26 17:54:38,568 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 26.08 05:54:37" (1/3) ... [2023-08-26 17:54:38,569 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@72383ae9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.08 05:54:38, skipping insertion in model container [2023-08-26 17:54:38,569 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.08 05:54:38" (2/3) ... [2023-08-26 17:54:38,569 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@72383ae9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.08 05:54:38, skipping insertion in model container [2023-08-26 17:54:38,569 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.08 05:54:38" (3/3) ... [2023-08-26 17:54:38,570 INFO L112 eAbstractionObserver]: Analyzing ICFG 29_conditionals_vs.i [2023-08-26 17:54:38,586 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-26 17:54:38,586 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 3 error locations. [2023-08-26 17:54:38,586 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-26 17:54:38,629 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-26 17:54:38,658 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:38,689 INFO L124 PetriNetUnfolderBase]: 7/72 cut-off events. [2023-08-26 17:54:38,690 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:38,694 INFO L83 FinitePrefix]: Finished finitePrefix Result has 77 conditions, 72 events. 7/72 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 89 event pairs, 0 based on Foata normal form. 0/58 useless extension candidates. Maximal degree in co-relation 47. Up to 4 conditions per place. [2023-08-26 17:54:38,694 INFO L82 GeneralOperation]: Start removeDead. Operand has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:38,708 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:38,711 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:54:38,727 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:38,733 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:38,733 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:38,766 INFO L124 PetriNetUnfolderBase]: 7/72 cut-off events. [2023-08-26 17:54:38,766 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:38,767 INFO L83 FinitePrefix]: Finished finitePrefix Result has 77 conditions, 72 events. 7/72 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 89 event pairs, 0 based on Foata normal form. 0/58 useless extension candidates. Maximal degree in co-relation 47. Up to 4 conditions per place. [2023-08-26 17:54:38,768 INFO L119 LiptonReduction]: Number of co-enabled transitions 990 [2023-08-26 17:54:40,786 INFO L134 LiptonReduction]: Checked pairs total: 859 [2023-08-26 17:54:40,787 INFO L136 LiptonReduction]: Total number of compositions: 65 [2023-08-26 17:54:40,808 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-26 17:54:40,815 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:54:40,815 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-08-26 17:54:40,817 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:54:40,817 INFO L124 PetriNetUnfolderBase]: 0/2 cut-off events. [2023-08-26 17:54:40,817 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:40,817 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:40,818 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:54:40,818 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2023-08-26 17:54:40,822 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:40,822 INFO L85 PathProgramCache]: Analyzing trace with hash 9841, now seen corresponding path program 1 times [2023-08-26 17:54:40,830 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:40,830 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1725474393] [2023-08-26 17:54:40,831 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:40,831 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:40,910 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:54:41,002 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:54:41,003 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:54:41,003 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1725474393] [2023-08-26 17:54:41,004 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1725474393] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:54:41,004 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:54:41,004 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:54:41,005 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1335477351] [2023-08-26 17:54:41,006 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:54:41,013 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:54:41,018 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:54:41,040 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:54:41,041 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:54:41,042 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 125 [2023-08-26 17:54:41,045 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 13 places, 10 transitions, 25 flow. Second operand has 3 states, 3 states have (on average 42.666666666666664) internal successors, (128), 3 states have internal predecessors, (128), 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-08-26 17:54:41,046 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:54:41,046 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 125 [2023-08-26 17:54:41,047 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:54:41,072 INFO L124 PetriNetUnfolderBase]: 3/15 cut-off events. [2023-08-26 17:54:41,072 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:41,072 INFO L83 FinitePrefix]: Finished finitePrefix Result has 35 conditions, 15 events. 3/15 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 20 event pairs, 3 based on Foata normal form. 0/12 useless extension candidates. Maximal degree in co-relation 20. Up to 14 conditions per place. [2023-08-26 17:54:41,073 INFO L140 encePairwiseOnDemand]: 121/125 looper letters, 5 selfloop transitions, 1 changer transitions 1/7 dead transitions. [2023-08-26 17:54:41,073 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 12 places, 7 transitions, 31 flow [2023-08-26 17:54:41,075 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:54:41,077 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:54:41,086 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 135 transitions. [2023-08-26 17:54:41,090 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.36 [2023-08-26 17:54:41,090 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 135 transitions. [2023-08-26 17:54:41,091 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 135 transitions. [2023-08-26 17:54:41,093 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:54:41,095 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 135 transitions. [2023-08-26 17:54:41,101 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 45.0) internal successors, (135), 3 states have internal predecessors, (135), 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-08-26 17:54:41,105 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 125.0) internal successors, (500), 4 states have internal predecessors, (500), 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-08-26 17:54:41,106 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 125.0) internal successors, (500), 4 states have internal predecessors, (500), 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-08-26 17:54:41,108 INFO L175 Difference]: Start difference. First operand has 13 places, 10 transitions, 25 flow. Second operand 3 states and 135 transitions. [2023-08-26 17:54:41,109 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 12 places, 7 transitions, 31 flow [2023-08-26 17:54:41,111 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 12 places, 7 transitions, 31 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-26 17:54:41,112 INFO L231 Difference]: Finished difference. Result has 12 places, 6 transitions, 17 flow [2023-08-26 17:54:41,114 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=125, PETRI_DIFFERENCE_MINUEND_FLOW=19, PETRI_DIFFERENCE_MINUEND_PLACES=10, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=7, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=6, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=17, PETRI_PLACES=12, PETRI_TRANSITIONS=6} [2023-08-26 17:54:41,117 INFO L281 CegarLoopForPetriNet]: 13 programPoint places, -1 predicate places. [2023-08-26 17:54:41,118 INFO L495 AbstractCegarLoop]: Abstraction has has 12 places, 6 transitions, 17 flow [2023-08-26 17:54:41,118 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 42.666666666666664) internal successors, (128), 3 states have internal predecessors, (128), 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-08-26 17:54:41,118 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:41,118 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:54:41,118 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-26 17:54:41,119 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2023-08-26 17:54:41,119 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:41,119 INFO L85 PathProgramCache]: Analyzing trace with hash 9840, now seen corresponding path program 1 times [2023-08-26 17:54:41,119 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:41,120 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [285302541] [2023-08-26 17:54:41,120 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:41,120 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:41,151 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:54:41,246 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:54:41,246 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:54:41,246 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [285302541] [2023-08-26 17:54:41,246 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [285302541] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:54:41,246 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:54:41,246 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:54:41,246 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1628687510] [2023-08-26 17:54:41,247 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:54:41,247 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:54:41,248 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:54:41,248 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:54:41,248 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:54:41,248 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 43 out of 125 [2023-08-26 17:54:41,249 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 12 places, 6 transitions, 17 flow. Second operand has 3 states, 3 states have (on average 43.666666666666664) internal successors, (131), 3 states have internal predecessors, (131), 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-08-26 17:54:41,249 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:54:41,249 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 43 of 125 [2023-08-26 17:54:41,249 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:54:41,258 INFO L124 PetriNetUnfolderBase]: 2/10 cut-off events. [2023-08-26 17:54:41,259 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:41,259 INFO L83 FinitePrefix]: Finished finitePrefix Result has 27 conditions, 10 events. 2/10 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 7 event pairs, 2 based on Foata normal form. 0/10 useless extension candidates. Maximal degree in co-relation 20. Up to 10 conditions per place. [2023-08-26 17:54:41,259 INFO L140 encePairwiseOnDemand]: 123/125 looper letters, 0 selfloop transitions, 0 changer transitions 5/5 dead transitions. [2023-08-26 17:54:41,259 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 12 places, 5 transitions, 25 flow [2023-08-26 17:54:41,260 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:54:41,260 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:54:41,260 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 135 transitions. [2023-08-26 17:54:41,261 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.36 [2023-08-26 17:54:41,261 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 135 transitions. [2023-08-26 17:54:41,261 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 135 transitions. [2023-08-26 17:54:41,261 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:54:41,261 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 135 transitions. [2023-08-26 17:54:41,262 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 45.0) internal successors, (135), 3 states have internal predecessors, (135), 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-08-26 17:54:41,263 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 125.0) internal successors, (500), 4 states have internal predecessors, (500), 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-08-26 17:54:41,263 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 125.0) internal successors, (500), 4 states have internal predecessors, (500), 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-08-26 17:54:41,264 INFO L175 Difference]: Start difference. First operand has 12 places, 6 transitions, 17 flow. Second operand 3 states and 135 transitions. [2023-08-26 17:54:41,264 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 12 places, 5 transitions, 25 flow [2023-08-26 17:54:41,264 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 11 places, 5 transitions, 24 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-26 17:54:41,264 INFO L231 Difference]: Finished difference. Result has 11 places, 0 transitions, 0 flow [2023-08-26 17:54:41,264 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=125, PETRI_DIFFERENCE_MINUEND_FLOW=14, PETRI_DIFFERENCE_MINUEND_PLACES=9, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=5, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=5, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=11, PETRI_TRANSITIONS=0} [2023-08-26 17:54:41,265 INFO L281 CegarLoopForPetriNet]: 13 programPoint places, -2 predicate places. [2023-08-26 17:54:41,265 INFO L495 AbstractCegarLoop]: Abstraction has has 11 places, 0 transitions, 0 flow [2023-08-26 17:54:41,265 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 43.666666666666664) internal successors, (131), 3 states have internal predecessors, (131), 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-08-26 17:54:41,268 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 4 remaining) [2023-08-26 17:54:41,268 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (2 of 4 remaining) [2023-08-26 17:54:41,268 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (1 of 4 remaining) [2023-08-26 17:54:41,268 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 4 remaining) [2023-08-26 17:54:41,269 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-26 17:54:41,269 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-26 17:54:41,271 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-26 17:54:41,285 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:41,296 INFO L124 PetriNetUnfolderBase]: 7/72 cut-off events. [2023-08-26 17:54:41,296 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:41,297 INFO L83 FinitePrefix]: Finished finitePrefix Result has 77 conditions, 72 events. 7/72 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 89 event pairs, 0 based on Foata normal form. 0/58 useless extension candidates. Maximal degree in co-relation 47. Up to 4 conditions per place. [2023-08-26 17:54:41,297 INFO L82 GeneralOperation]: Start removeDead. Operand has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:41,297 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:41,298 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:54:41,298 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:41,298 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:41,298 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 57 places, 60 transitions, 125 flow [2023-08-26 17:54:41,307 INFO L124 PetriNetUnfolderBase]: 7/72 cut-off events. [2023-08-26 17:54:41,307 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:41,308 INFO L83 FinitePrefix]: Finished finitePrefix Result has 77 conditions, 72 events. 7/72 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 89 event pairs, 0 based on Foata normal form. 0/58 useless extension candidates. Maximal degree in co-relation 47. Up to 4 conditions per place. [2023-08-26 17:54:41,309 INFO L119 LiptonReduction]: Number of co-enabled transitions 990 [2023-08-26 17:54:43,130 INFO L134 LiptonReduction]: Checked pairs total: 921 [2023-08-26 17:54:43,131 INFO L136 LiptonReduction]: Total number of compositions: 66 [2023-08-26 17:54:43,137 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-26 17:54:43,138 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:54:43,138 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-26 17:54:43,140 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:54:43,140 INFO L124 PetriNetUnfolderBase]: 0/13 cut-off events. [2023-08-26 17:54:43,140 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:43,140 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:43,141 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-26 17:54:43,141 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-26 17:54:43,141 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:43,141 INFO L85 PathProgramCache]: Analyzing trace with hash -1865982793, now seen corresponding path program 1 times [2023-08-26 17:54:43,141 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:43,141 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [4329448] [2023-08-26 17:54:43,142 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:43,142 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:43,158 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:54:43,159 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-26 17:54:43,166 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:54:43,181 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-26 17:54:43,182 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-26 17:54:43,182 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-26 17:54:43,182 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-08-26 17:54:43,182 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-26 17:54:43,183 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-26 17:54:43,183 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-26 17:54:43,184 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-26 17:54:43,202 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-26 17:54:43,204 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:43,221 INFO L124 PetriNetUnfolderBase]: 13/120 cut-off events. [2023-08-26 17:54:43,221 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-08-26 17:54:43,222 INFO L83 FinitePrefix]: Finished finitePrefix Result has 130 conditions, 120 events. 13/120 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 230 event pairs, 0 based on Foata normal form. 0/96 useless extension candidates. Maximal degree in co-relation 80. Up to 6 conditions per place. [2023-08-26 17:54:43,222 INFO L82 GeneralOperation]: Start removeDead. Operand has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:43,223 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:43,224 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:54:43,224 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:43,224 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:43,224 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:43,238 INFO L124 PetriNetUnfolderBase]: 13/120 cut-off events. [2023-08-26 17:54:43,238 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-08-26 17:54:43,239 INFO L83 FinitePrefix]: Finished finitePrefix Result has 130 conditions, 120 events. 13/120 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 230 event pairs, 0 based on Foata normal form. 0/96 useless extension candidates. Maximal degree in co-relation 80. Up to 6 conditions per place. [2023-08-26 17:54:43,259 INFO L119 LiptonReduction]: Number of co-enabled transitions 4224 [2023-08-26 17:54:45,439 INFO L134 LiptonReduction]: Checked pairs total: 4363 [2023-08-26 17:54:45,439 INFO L136 LiptonReduction]: Total number of compositions: 108 [2023-08-26 17:54:45,445 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-26 17:54:45,446 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:54:45,447 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-08-26 17:54:45,449 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:54:45,450 INFO L124 PetriNetUnfolderBase]: 0/1 cut-off events. [2023-08-26 17:54:45,450 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:45,450 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:45,450 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:54:45,450 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 1 more)] === [2023-08-26 17:54:45,450 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:45,451 INFO L85 PathProgramCache]: Analyzing trace with hash 19426, now seen corresponding path program 1 times [2023-08-26 17:54:45,451 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:45,451 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [807403297] [2023-08-26 17:54:45,451 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:45,451 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:45,469 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:54:45,488 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:54:45,488 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:54:45,489 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [807403297] [2023-08-26 17:54:45,489 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [807403297] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:54:45,489 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:54:45,489 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:54:45,489 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1612232356] [2023-08-26 17:54:45,489 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:54:45,489 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:54:45,490 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:54:45,490 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:54:45,490 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:54:45,491 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 70 out of 202 [2023-08-26 17:54:45,491 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 22 places, 18 transitions, 48 flow. Second operand has 3 states, 3 states have (on average 70.66666666666667) internal successors, (212), 3 states have internal predecessors, (212), 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-08-26 17:54:45,491 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:54:45,491 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 70 of 202 [2023-08-26 17:54:45,491 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:54:45,515 INFO L124 PetriNetUnfolderBase]: 34/84 cut-off events. [2023-08-26 17:54:45,515 INFO L125 PetriNetUnfolderBase]: For 10/10 co-relation queries the response was YES. [2023-08-26 17:54:45,515 INFO L83 FinitePrefix]: Finished finitePrefix Result has 178 conditions, 84 events. 34/84 cut-off events. For 10/10 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 291 event pairs, 34 based on Foata normal form. 0/66 useless extension candidates. Maximal degree in co-relation 44. Up to 73 conditions per place. [2023-08-26 17:54:45,516 INFO L140 encePairwiseOnDemand]: 196/202 looper letters, 8 selfloop transitions, 1 changer transitions 1/12 dead transitions. [2023-08-26 17:54:45,516 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 19 places, 12 transitions, 54 flow [2023-08-26 17:54:45,516 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:54:45,516 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:54:45,518 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 224 transitions. [2023-08-26 17:54:45,518 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.3696369636963696 [2023-08-26 17:54:45,518 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 224 transitions. [2023-08-26 17:54:45,518 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 224 transitions. [2023-08-26 17:54:45,519 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:54:45,519 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 224 transitions. [2023-08-26 17:54:45,519 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 74.66666666666667) internal successors, (224), 3 states have internal predecessors, (224), 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-08-26 17:54:45,521 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 202.0) internal successors, (808), 4 states have internal predecessors, (808), 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-08-26 17:54:45,521 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 202.0) internal successors, (808), 4 states have internal predecessors, (808), 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-08-26 17:54:45,521 INFO L175 Difference]: Start difference. First operand has 22 places, 18 transitions, 48 flow. Second operand 3 states and 224 transitions. [2023-08-26 17:54:45,522 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 19 places, 12 transitions, 54 flow [2023-08-26 17:54:45,522 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 19 places, 12 transitions, 52 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-08-26 17:54:45,522 INFO L231 Difference]: Finished difference. Result has 19 places, 11 transitions, 32 flow [2023-08-26 17:54:45,523 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=202, PETRI_DIFFERENCE_MINUEND_FLOW=34, PETRI_DIFFERENCE_MINUEND_PLACES=17, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=12, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=11, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=32, PETRI_PLACES=19, PETRI_TRANSITIONS=11} [2023-08-26 17:54:45,523 INFO L281 CegarLoopForPetriNet]: 22 programPoint places, -3 predicate places. [2023-08-26 17:54:45,523 INFO L495 AbstractCegarLoop]: Abstraction has has 19 places, 11 transitions, 32 flow [2023-08-26 17:54:45,524 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 70.66666666666667) internal successors, (212), 3 states have internal predecessors, (212), 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-08-26 17:54:45,524 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:45,524 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:54:45,524 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-26 17:54:45,524 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 1 more)] === [2023-08-26 17:54:45,525 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:45,525 INFO L85 PathProgramCache]: Analyzing trace with hash 19428, now seen corresponding path program 1 times [2023-08-26 17:54:45,525 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:45,525 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1650822420] [2023-08-26 17:54:45,525 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:45,525 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:45,532 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:54:45,589 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:54:45,589 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:54:45,589 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1650822420] [2023-08-26 17:54:45,590 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1650822420] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:54:45,590 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:54:45,590 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:54:45,590 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1378606128] [2023-08-26 17:54:45,590 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:54:45,590 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:54:45,592 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:54:45,593 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:54:45,593 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:54:45,593 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 71 out of 202 [2023-08-26 17:54:45,594 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 19 places, 11 transitions, 32 flow. Second operand has 3 states, 3 states have (on average 71.66666666666667) internal successors, (215), 3 states have internal predecessors, (215), 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-08-26 17:54:45,594 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:54:45,594 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 71 of 202 [2023-08-26 17:54:45,594 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:54:45,611 INFO L124 PetriNetUnfolderBase]: 20/54 cut-off events. [2023-08-26 17:54:45,612 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-08-26 17:54:45,612 INFO L83 FinitePrefix]: Finished finitePrefix Result has 117 conditions, 54 events. 20/54 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 138 event pairs, 20 based on Foata normal form. 0/49 useless extension candidates. Maximal degree in co-relation 109. Up to 46 conditions per place. [2023-08-26 17:54:45,612 INFO L140 encePairwiseOnDemand]: 200/202 looper letters, 0 selfloop transitions, 0 changer transitions 10/10 dead transitions. [2023-08-26 17:54:45,612 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 19 places, 10 transitions, 46 flow [2023-08-26 17:54:45,613 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:54:45,613 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:54:45,614 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 222 transitions. [2023-08-26 17:54:45,614 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.36633663366336633 [2023-08-26 17:54:45,614 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 222 transitions. [2023-08-26 17:54:45,614 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 222 transitions. [2023-08-26 17:54:45,615 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:54:45,615 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 222 transitions. [2023-08-26 17:54:45,615 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 74.0) internal successors, (222), 3 states have internal predecessors, (222), 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-08-26 17:54:45,617 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 202.0) internal successors, (808), 4 states have internal predecessors, (808), 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-08-26 17:54:45,617 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 202.0) internal successors, (808), 4 states have internal predecessors, (808), 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-08-26 17:54:45,618 INFO L175 Difference]: Start difference. First operand has 19 places, 11 transitions, 32 flow. Second operand 3 states and 222 transitions. [2023-08-26 17:54:45,618 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 19 places, 10 transitions, 46 flow [2023-08-26 17:54:45,618 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 18 places, 10 transitions, 45 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-26 17:54:45,618 INFO L231 Difference]: Finished difference. Result has 18 places, 0 transitions, 0 flow [2023-08-26 17:54:45,618 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=202, PETRI_DIFFERENCE_MINUEND_FLOW=29, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=10, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=10, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=18, PETRI_TRANSITIONS=0} [2023-08-26 17:54:45,619 INFO L281 CegarLoopForPetriNet]: 22 programPoint places, -4 predicate places. [2023-08-26 17:54:45,619 INFO L495 AbstractCegarLoop]: Abstraction has has 18 places, 0 transitions, 0 flow [2023-08-26 17:54:45,619 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 71.66666666666667) internal successors, (215), 3 states have internal predecessors, (215), 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-08-26 17:54:45,620 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (4 of 5 remaining) [2023-08-26 17:54:45,620 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 5 remaining) [2023-08-26 17:54:45,620 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (2 of 5 remaining) [2023-08-26 17:54:45,620 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (1 of 5 remaining) [2023-08-26 17:54:45,620 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 5 remaining) [2023-08-26 17:54:45,620 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-26 17:54:45,621 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-26 17:54:45,621 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-26 17:54:45,623 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:45,635 INFO L124 PetriNetUnfolderBase]: 13/120 cut-off events. [2023-08-26 17:54:45,635 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-08-26 17:54:45,636 INFO L83 FinitePrefix]: Finished finitePrefix Result has 130 conditions, 120 events. 13/120 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 230 event pairs, 0 based on Foata normal form. 0/96 useless extension candidates. Maximal degree in co-relation 80. Up to 6 conditions per place. [2023-08-26 17:54:45,636 INFO L82 GeneralOperation]: Start removeDead. Operand has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:45,637 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:45,637 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:54:45,637 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:45,638 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:45,638 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 88 places, 94 transitions, 200 flow [2023-08-26 17:54:45,649 INFO L124 PetriNetUnfolderBase]: 13/120 cut-off events. [2023-08-26 17:54:45,649 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-08-26 17:54:45,650 INFO L83 FinitePrefix]: Finished finitePrefix Result has 130 conditions, 120 events. 13/120 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 230 event pairs, 0 based on Foata normal form. 0/96 useless extension candidates. Maximal degree in co-relation 80. Up to 6 conditions per place. [2023-08-26 17:54:45,652 INFO L119 LiptonReduction]: Number of co-enabled transitions 4224 [2023-08-26 17:54:47,748 INFO L134 LiptonReduction]: Checked pairs total: 4324 [2023-08-26 17:54:47,749 INFO L136 LiptonReduction]: Total number of compositions: 111 [2023-08-26 17:54:47,750 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-26 17:54:47,751 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:54:47,751 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-26 17:54:47,754 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:54:47,754 INFO L124 PetriNetUnfolderBase]: 2/29 cut-off events. [2023-08-26 17:54:47,754 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-08-26 17:54:47,754 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:47,755 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-08-26 17:54:47,755 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-26 17:54:47,755 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:47,755 INFO L85 PathProgramCache]: Analyzing trace with hash -1387211093, now seen corresponding path program 1 times [2023-08-26 17:54:47,755 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:47,756 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [932037814] [2023-08-26 17:54:47,756 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:47,756 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:47,771 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:54:47,771 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-26 17:54:47,776 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:54:47,792 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-26 17:54:47,793 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-26 17:54:47,793 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-26 17:54:47,793 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-26 17:54:47,793 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-26 17:54:47,794 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-26 17:54:47,794 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-26 17:54:47,794 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-26 17:54:47,821 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-26 17:54:47,826 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:47,842 INFO L124 PetriNetUnfolderBase]: 19/168 cut-off events. [2023-08-26 17:54:47,842 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-08-26 17:54:47,843 INFO L83 FinitePrefix]: Finished finitePrefix Result has 184 conditions, 168 events. 19/168 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 423 event pairs, 0 based on Foata normal form. 0/134 useless extension candidates. Maximal degree in co-relation 124. Up to 8 conditions per place. [2023-08-26 17:54:47,844 INFO L82 GeneralOperation]: Start removeDead. Operand has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:47,845 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:47,845 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:54:47,846 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:47,846 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:47,847 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:47,862 INFO L124 PetriNetUnfolderBase]: 19/168 cut-off events. [2023-08-26 17:54:47,862 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-08-26 17:54:47,863 INFO L83 FinitePrefix]: Finished finitePrefix Result has 184 conditions, 168 events. 19/168 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 423 event pairs, 0 based on Foata normal form. 0/134 useless extension candidates. Maximal degree in co-relation 124. Up to 8 conditions per place. [2023-08-26 17:54:47,869 INFO L119 LiptonReduction]: Number of co-enabled transitions 9702 [2023-08-26 17:54:50,892 INFO L134 LiptonReduction]: Checked pairs total: 10419 [2023-08-26 17:54:50,892 INFO L136 LiptonReduction]: Total number of compositions: 154 [2023-08-26 17:54:50,895 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-26 17:54:50,895 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:54:50,895 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-26 17:54:50,896 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:54:50,896 INFO L124 PetriNetUnfolderBase]: 0/1 cut-off events. [2023-08-26 17:54:50,896 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:50,896 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:50,896 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:54:50,896 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 2 more)] === [2023-08-26 17:54:50,897 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:50,897 INFO L85 PathProgramCache]: Analyzing trace with hash 32757, now seen corresponding path program 1 times [2023-08-26 17:54:50,897 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:50,897 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [819227784] [2023-08-26 17:54:50,897 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:50,897 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:50,920 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:54:50,944 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:54:50,944 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:54:50,944 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [819227784] [2023-08-26 17:54:50,944 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [819227784] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:54:50,944 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:54:50,944 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:54:50,945 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [113897373] [2023-08-26 17:54:50,945 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:54:50,945 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:54:50,945 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:54:50,945 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:54:50,946 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:54:50,946 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 98 out of 282 [2023-08-26 17:54:50,947 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 30 places, 26 transitions, 73 flow. Second operand has 3 states, 3 states have (on average 98.66666666666667) internal successors, (296), 3 states have internal predecessors, (296), 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-08-26 17:54:50,947 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:54:50,947 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 98 of 282 [2023-08-26 17:54:50,947 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:54:51,025 INFO L124 PetriNetUnfolderBase]: 178/333 cut-off events. [2023-08-26 17:54:51,026 INFO L125 PetriNetUnfolderBase]: For 79/79 co-relation queries the response was YES. [2023-08-26 17:54:51,027 INFO L83 FinitePrefix]: Finished finitePrefix Result has 710 conditions, 333 events. 178/333 cut-off events. For 79/79 co-relation queries the response was YES. Maximal size of possible extension queue 38. Compared 1506 event pairs, 178 based on Foata normal form. 0/279 useless extension candidates. Maximal degree in co-relation 181. Up to 298 conditions per place. [2023-08-26 17:54:51,028 INFO L140 encePairwiseOnDemand]: 273/282 looper letters, 11 selfloop transitions, 1 changer transitions 1/15 dead transitions. [2023-08-26 17:54:51,028 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 24 places, 15 transitions, 75 flow [2023-08-26 17:54:51,029 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:54:51,029 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:54:51,031 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 314 transitions. [2023-08-26 17:54:51,032 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.37115839243498816 [2023-08-26 17:54:51,033 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 314 transitions. [2023-08-26 17:54:51,033 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 314 transitions. [2023-08-26 17:54:51,033 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:54:51,033 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 314 transitions. [2023-08-26 17:54:51,034 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 104.66666666666667) internal successors, (314), 3 states have internal predecessors, (314), 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-08-26 17:54:51,038 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 282.0) internal successors, (1128), 4 states have internal predecessors, (1128), 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-08-26 17:54:51,038 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 282.0) internal successors, (1128), 4 states have internal predecessors, (1128), 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-08-26 17:54:51,038 INFO L175 Difference]: Start difference. First operand has 30 places, 26 transitions, 73 flow. Second operand 3 states and 314 transitions. [2023-08-26 17:54:51,038 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 24 places, 15 transitions, 75 flow [2023-08-26 17:54:51,040 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 24 places, 15 transitions, 69 flow, removed 3 selfloop flow, removed 0 redundant places. [2023-08-26 17:54:51,040 INFO L231 Difference]: Finished difference. Result has 24 places, 14 transitions, 43 flow [2023-08-26 17:54:51,041 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=282, PETRI_DIFFERENCE_MINUEND_FLOW=45, PETRI_DIFFERENCE_MINUEND_PLACES=22, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=15, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=14, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=43, PETRI_PLACES=24, PETRI_TRANSITIONS=14} [2023-08-26 17:54:51,042 INFO L281 CegarLoopForPetriNet]: 30 programPoint places, -6 predicate places. [2023-08-26 17:54:51,042 INFO L495 AbstractCegarLoop]: Abstraction has has 24 places, 14 transitions, 43 flow [2023-08-26 17:54:51,043 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 98.66666666666667) internal successors, (296), 3 states have internal predecessors, (296), 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-08-26 17:54:51,043 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:51,043 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:54:51,043 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-08-26 17:54:51,043 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 2 more)] === [2023-08-26 17:54:51,044 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:51,044 INFO L85 PathProgramCache]: Analyzing trace with hash 32756, now seen corresponding path program 1 times [2023-08-26 17:54:51,044 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:51,044 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1352869379] [2023-08-26 17:54:51,044 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:51,044 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:51,053 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:54:51,106 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:54:51,106 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:54:51,106 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1352869379] [2023-08-26 17:54:51,106 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1352869379] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:54:51,106 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:54:51,106 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:54:51,107 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1173172560] [2023-08-26 17:54:51,107 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:54:51,107 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:54:51,107 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:54:51,107 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:54:51,108 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:54:51,108 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 99 out of 282 [2023-08-26 17:54:51,108 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 24 places, 14 transitions, 43 flow. Second operand has 3 states, 3 states have (on average 99.66666666666667) internal successors, (299), 3 states have internal predecessors, (299), 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-08-26 17:54:51,109 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:54:51,109 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 99 of 282 [2023-08-26 17:54:51,109 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:54:51,146 INFO L124 PetriNetUnfolderBase]: 110/216 cut-off events. [2023-08-26 17:54:51,146 INFO L125 PetriNetUnfolderBase]: For 28/28 co-relation queries the response was YES. [2023-08-26 17:54:51,146 INFO L83 FinitePrefix]: Finished finitePrefix Result has 451 conditions, 216 events. 110/216 cut-off events. For 28/28 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 820 event pairs, 110 based on Foata normal form. 0/202 useless extension candidates. Maximal degree in co-relation 442. Up to 190 conditions per place. [2023-08-26 17:54:51,147 INFO L140 encePairwiseOnDemand]: 280/282 looper letters, 0 selfloop transitions, 0 changer transitions 13/13 dead transitions. [2023-08-26 17:54:51,147 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 24 places, 13 transitions, 63 flow [2023-08-26 17:54:51,147 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:54:51,147 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:54:51,148 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 309 transitions. [2023-08-26 17:54:51,148 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.36524822695035464 [2023-08-26 17:54:51,149 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 309 transitions. [2023-08-26 17:54:51,149 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 309 transitions. [2023-08-26 17:54:51,149 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:54:51,149 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 309 transitions. [2023-08-26 17:54:51,150 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 103.0) internal successors, (309), 3 states have internal predecessors, (309), 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-08-26 17:54:51,151 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 282.0) internal successors, (1128), 4 states have internal predecessors, (1128), 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-08-26 17:54:51,152 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 282.0) internal successors, (1128), 4 states have internal predecessors, (1128), 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-08-26 17:54:51,152 INFO L175 Difference]: Start difference. First operand has 24 places, 14 transitions, 43 flow. Second operand 3 states and 309 transitions. [2023-08-26 17:54:51,152 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 24 places, 13 transitions, 63 flow [2023-08-26 17:54:51,153 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 23 places, 13 transitions, 62 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-26 17:54:51,153 INFO L231 Difference]: Finished difference. Result has 23 places, 0 transitions, 0 flow [2023-08-26 17:54:51,153 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=282, PETRI_DIFFERENCE_MINUEND_FLOW=40, PETRI_DIFFERENCE_MINUEND_PLACES=21, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=13, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=13, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=23, PETRI_TRANSITIONS=0} [2023-08-26 17:54:51,155 INFO L281 CegarLoopForPetriNet]: 30 programPoint places, -7 predicate places. [2023-08-26 17:54:51,155 INFO L495 AbstractCegarLoop]: Abstraction has has 23 places, 0 transitions, 0 flow [2023-08-26 17:54:51,156 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 99.66666666666667) internal successors, (299), 3 states have internal predecessors, (299), 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-08-26 17:54:51,156 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 6 remaining) [2023-08-26 17:54:51,156 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (4 of 6 remaining) [2023-08-26 17:54:51,156 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (3 of 6 remaining) [2023-08-26 17:54:51,156 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (2 of 6 remaining) [2023-08-26 17:54:51,156 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (1 of 6 remaining) [2023-08-26 17:54:51,157 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-26 17:54:51,157 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-08-26 17:54:51,157 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-26 17:54:51,158 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-26 17:54:51,162 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:51,178 INFO L124 PetriNetUnfolderBase]: 19/168 cut-off events. [2023-08-26 17:54:51,178 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-08-26 17:54:51,179 INFO L83 FinitePrefix]: Finished finitePrefix Result has 184 conditions, 168 events. 19/168 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 423 event pairs, 0 based on Foata normal form. 0/134 useless extension candidates. Maximal degree in co-relation 124. Up to 8 conditions per place. [2023-08-26 17:54:51,179 INFO L82 GeneralOperation]: Start removeDead. Operand has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:51,180 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:51,180 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:54:51,181 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:51,181 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:51,181 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 119 places, 128 transitions, 277 flow [2023-08-26 17:54:51,196 INFO L124 PetriNetUnfolderBase]: 19/168 cut-off events. [2023-08-26 17:54:51,196 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-08-26 17:54:51,197 INFO L83 FinitePrefix]: Finished finitePrefix Result has 184 conditions, 168 events. 19/168 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 423 event pairs, 0 based on Foata normal form. 0/134 useless extension candidates. Maximal degree in co-relation 124. Up to 8 conditions per place. [2023-08-26 17:54:51,202 INFO L119 LiptonReduction]: Number of co-enabled transitions 9702 [2023-08-26 17:54:54,320 INFO L134 LiptonReduction]: Checked pairs total: 10378 [2023-08-26 17:54:54,320 INFO L136 LiptonReduction]: Total number of compositions: 154 [2023-08-26 17:54:54,321 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-26 17:54:54,322 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:54:54,322 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-26 17:54:54,326 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:54:54,326 INFO L124 PetriNetUnfolderBase]: 2/39 cut-off events. [2023-08-26 17:54:54,326 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-08-26 17:54:54,326 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:54,326 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1] [2023-08-26 17:54:54,327 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-26 17:54:54,327 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:54,327 INFO L85 PathProgramCache]: Analyzing trace with hash 1161104162, now seen corresponding path program 1 times [2023-08-26 17:54:54,327 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:54,327 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [154806580] [2023-08-26 17:54:54,327 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:54,328 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:54,340 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:54:54,340 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-26 17:54:54,346 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:54:54,350 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-26 17:54:54,350 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-26 17:54:54,350 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-26 17:54:54,350 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-08-26 17:54:54,350 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-26 17:54:54,351 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-26 17:54:54,351 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-26 17:54:54,351 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-08-26 17:54:54,368 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-26 17:54:54,370 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:54,388 INFO L124 PetriNetUnfolderBase]: 25/216 cut-off events. [2023-08-26 17:54:54,389 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-08-26 17:54:54,390 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239 conditions, 216 events. 25/216 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 609 event pairs, 0 based on Foata normal form. 0/172 useless extension candidates. Maximal degree in co-relation 176. Up to 10 conditions per place. [2023-08-26 17:54:54,390 INFO L82 GeneralOperation]: Start removeDead. Operand has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:54,392 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:54,392 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:54:54,392 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:54,393 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:54,393 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:54,413 INFO L124 PetriNetUnfolderBase]: 25/216 cut-off events. [2023-08-26 17:54:54,413 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-08-26 17:54:54,415 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239 conditions, 216 events. 25/216 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 609 event pairs, 0 based on Foata normal form. 0/172 useless extension candidates. Maximal degree in co-relation 176. Up to 10 conditions per place. [2023-08-26 17:54:54,425 INFO L119 LiptonReduction]: Number of co-enabled transitions 17424 [2023-08-26 17:54:57,767 INFO L134 LiptonReduction]: Checked pairs total: 17452 [2023-08-26 17:54:57,768 INFO L136 LiptonReduction]: Total number of compositions: 198 [2023-08-26 17:54:57,769 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-26 17:54:57,769 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:54:57,770 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2023-08-26 17:54:57,770 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:54:57,770 INFO L124 PetriNetUnfolderBase]: 0/1 cut-off events. [2023-08-26 17:54:57,771 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:54:57,771 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:57,771 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:54:57,771 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 3 more)] === [2023-08-26 17:54:57,771 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:57,771 INFO L85 PathProgramCache]: Analyzing trace with hash 50157, now seen corresponding path program 1 times [2023-08-26 17:54:57,771 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:57,771 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1379214603] [2023-08-26 17:54:57,772 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:57,772 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:57,778 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:54:57,803 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:54:57,803 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:54:57,804 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1379214603] [2023-08-26 17:54:57,804 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1379214603] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:54:57,804 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:54:57,804 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:54:57,804 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [166357217] [2023-08-26 17:54:57,804 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:54:57,804 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:54:57,804 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:54:57,805 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:54:57,805 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:54:57,805 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 127 out of 360 [2023-08-26 17:54:57,806 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 33 places, 24 transitions, 80 flow. Second operand has 3 states, 3 states have (on average 127.66666666666667) internal successors, (383), 3 states have internal predecessors, (383), 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-08-26 17:54:57,806 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:54:57,806 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 127 of 360 [2023-08-26 17:54:57,806 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:54:57,933 INFO L124 PetriNetUnfolderBase]: 772/1242 cut-off events. [2023-08-26 17:54:57,933 INFO L125 PetriNetUnfolderBase]: For 448/448 co-relation queries the response was YES. [2023-08-26 17:54:57,935 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2673 conditions, 1242 events. 772/1242 cut-off events. For 448/448 co-relation queries the response was YES. Maximal size of possible extension queue 98. Compared 6094 event pairs, 772 based on Foata normal form. 0/1081 useless extension candidates. Maximal degree in co-relation 727. Up to 1135 conditions per place. [2023-08-26 17:54:57,939 INFO L140 encePairwiseOnDemand]: 353/360 looper letters, 14 selfloop transitions, 1 changer transitions 1/18 dead transitions. [2023-08-26 17:54:57,939 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 29 places, 18 transitions, 98 flow [2023-08-26 17:54:57,940 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:54:57,940 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:54:57,941 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 402 transitions. [2023-08-26 17:54:57,941 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.37222222222222223 [2023-08-26 17:54:57,941 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 402 transitions. [2023-08-26 17:54:57,941 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 402 transitions. [2023-08-26 17:54:57,942 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:54:57,942 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 402 transitions. [2023-08-26 17:54:57,943 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 134.0) internal successors, (402), 3 states have internal predecessors, (402), 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-08-26 17:54:57,945 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 360.0) internal successors, (1440), 4 states have internal predecessors, (1440), 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-08-26 17:54:57,946 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 360.0) internal successors, (1440), 4 states have internal predecessors, (1440), 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-08-26 17:54:57,947 INFO L175 Difference]: Start difference. First operand has 33 places, 24 transitions, 80 flow. Second operand 3 states and 402 transitions. [2023-08-26 17:54:57,947 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 29 places, 18 transitions, 98 flow [2023-08-26 17:54:57,949 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 29 places, 18 transitions, 86 flow, removed 6 selfloop flow, removed 0 redundant places. [2023-08-26 17:54:57,949 INFO L231 Difference]: Finished difference. Result has 29 places, 17 transitions, 54 flow [2023-08-26 17:54:57,949 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=360, PETRI_DIFFERENCE_MINUEND_FLOW=56, PETRI_DIFFERENCE_MINUEND_PLACES=27, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=18, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=17, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=54, PETRI_PLACES=29, PETRI_TRANSITIONS=17} [2023-08-26 17:54:57,950 INFO L281 CegarLoopForPetriNet]: 33 programPoint places, -4 predicate places. [2023-08-26 17:54:57,950 INFO L495 AbstractCegarLoop]: Abstraction has has 29 places, 17 transitions, 54 flow [2023-08-26 17:54:57,950 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 127.66666666666667) internal successors, (383), 3 states have internal predecessors, (383), 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-08-26 17:54:57,950 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:54:57,950 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:54:57,950 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-08-26 17:54:57,951 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 3 more)] === [2023-08-26 17:54:57,951 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:54:57,951 INFO L85 PathProgramCache]: Analyzing trace with hash 50159, now seen corresponding path program 1 times [2023-08-26 17:54:57,951 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:54:57,951 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2109884833] [2023-08-26 17:54:57,951 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:54:57,951 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:54:57,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:54:57,972 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:54:57,972 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:54:57,972 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2109884833] [2023-08-26 17:54:57,972 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2109884833] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:54:57,973 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:54:57,973 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:54:57,973 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1212776223] [2023-08-26 17:54:57,973 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:54:57,973 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:54:57,973 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:54:57,973 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:54:57,974 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:54:57,974 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 126 out of 360 [2023-08-26 17:54:57,974 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 29 places, 17 transitions, 54 flow. Second operand has 3 states, 3 states have (on average 126.66666666666667) internal successors, (380), 3 states have internal predecessors, (380), 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-08-26 17:54:57,975 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:54:57,975 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 126 of 360 [2023-08-26 17:54:57,975 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:54:58,061 INFO L124 PetriNetUnfolderBase]: 488/810 cut-off events. [2023-08-26 17:54:58,061 INFO L125 PetriNetUnfolderBase]: For 91/91 co-relation queries the response was YES. [2023-08-26 17:54:58,062 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1667 conditions, 810 events. 488/810 cut-off events. For 91/91 co-relation queries the response was YES. Maximal size of possible extension queue 57. Compared 3585 event pairs, 488 based on Foata normal form. 0/770 useless extension candidates. Maximal degree in co-relation 1657. Up to 730 conditions per place. [2023-08-26 17:54:58,063 INFO L140 encePairwiseOnDemand]: 358/360 looper letters, 0 selfloop transitions, 0 changer transitions 16/16 dead transitions. [2023-08-26 17:54:58,063 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 29 places, 16 transitions, 80 flow [2023-08-26 17:54:58,063 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:54:58,064 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:54:58,064 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 393 transitions. [2023-08-26 17:54:58,065 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.3638888888888889 [2023-08-26 17:54:58,065 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 393 transitions. [2023-08-26 17:54:58,065 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 393 transitions. [2023-08-26 17:54:58,065 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:54:58,065 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 393 transitions. [2023-08-26 17:54:58,066 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 131.0) internal successors, (393), 3 states have internal predecessors, (393), 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-08-26 17:54:58,067 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 360.0) internal successors, (1440), 4 states have internal predecessors, (1440), 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-08-26 17:54:58,068 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 360.0) internal successors, (1440), 4 states have internal predecessors, (1440), 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-08-26 17:54:58,068 INFO L175 Difference]: Start difference. First operand has 29 places, 17 transitions, 54 flow. Second operand 3 states and 393 transitions. [2023-08-26 17:54:58,068 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 29 places, 16 transitions, 80 flow [2023-08-26 17:54:58,069 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 28 places, 16 transitions, 79 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-26 17:54:58,074 INFO L231 Difference]: Finished difference. Result has 28 places, 0 transitions, 0 flow [2023-08-26 17:54:58,074 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=360, PETRI_DIFFERENCE_MINUEND_FLOW=51, PETRI_DIFFERENCE_MINUEND_PLACES=26, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=16, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=16, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=28, PETRI_TRANSITIONS=0} [2023-08-26 17:54:58,075 INFO L281 CegarLoopForPetriNet]: 33 programPoint places, -5 predicate places. [2023-08-26 17:54:58,075 INFO L495 AbstractCegarLoop]: Abstraction has has 28 places, 0 transitions, 0 flow [2023-08-26 17:54:58,076 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 126.66666666666667) internal successors, (380), 3 states have internal predecessors, (380), 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-08-26 17:54:58,076 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 7 remaining) [2023-08-26 17:54:58,076 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (5 of 7 remaining) [2023-08-26 17:54:58,076 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (4 of 7 remaining) [2023-08-26 17:54:58,076 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (3 of 7 remaining) [2023-08-26 17:54:58,076 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (2 of 7 remaining) [2023-08-26 17:54:58,076 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2023-08-26 17:54:58,076 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (0 of 7 remaining) [2023-08-26 17:54:58,077 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10 [2023-08-26 17:54:58,077 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-26 17:54:58,077 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-26 17:54:58,079 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:58,097 INFO L124 PetriNetUnfolderBase]: 25/216 cut-off events. [2023-08-26 17:54:58,097 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-08-26 17:54:58,099 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239 conditions, 216 events. 25/216 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 609 event pairs, 0 based on Foata normal form. 0/172 useless extension candidates. Maximal degree in co-relation 176. Up to 10 conditions per place. [2023-08-26 17:54:58,099 INFO L82 GeneralOperation]: Start removeDead. Operand has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:58,100 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:58,100 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:54:58,101 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:58,101 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:58,101 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 150 places, 162 transitions, 356 flow [2023-08-26 17:54:58,118 INFO L124 PetriNetUnfolderBase]: 25/216 cut-off events. [2023-08-26 17:54:58,118 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-08-26 17:54:58,119 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239 conditions, 216 events. 25/216 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 609 event pairs, 0 based on Foata normal form. 0/172 useless extension candidates. Maximal degree in co-relation 176. Up to 10 conditions per place. [2023-08-26 17:54:58,124 INFO L119 LiptonReduction]: Number of co-enabled transitions 17424 [2023-08-26 17:55:01,239 INFO L134 LiptonReduction]: Checked pairs total: 17563 [2023-08-26 17:55:01,239 INFO L136 LiptonReduction]: Total number of compositions: 197 [2023-08-26 17:55:01,241 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-26 17:55:01,241 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:55:01,241 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-26 17:55:01,245 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:55:01,246 INFO L124 PetriNetUnfolderBase]: 2/49 cut-off events. [2023-08-26 17:55:01,246 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-08-26 17:55:01,246 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:01,246 INFO L208 CegarLoopForPetriNet]: trace histogram [5, 4, 4, 1, 1, 1, 1, 1, 1] [2023-08-26 17:55:01,246 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-26 17:55:01,246 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:01,247 INFO L85 PathProgramCache]: Analyzing trace with hash -1068969803, now seen corresponding path program 1 times [2023-08-26 17:55:01,247 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:01,247 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [559604856] [2023-08-26 17:55:01,247 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:01,247 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:01,258 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:55:01,258 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-26 17:55:01,264 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:55:01,269 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-26 17:55:01,269 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-26 17:55:01,270 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-26 17:55:01,270 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-08-26 17:55:01,270 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-26 17:55:01,270 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-26 17:55:01,270 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-26 17:55:01,270 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2023-08-26 17:55:01,293 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-26 17:55:01,294 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:01,342 INFO L124 PetriNetUnfolderBase]: 31/264 cut-off events. [2023-08-26 17:55:01,342 INFO L125 PetriNetUnfolderBase]: For 30/30 co-relation queries the response was YES. [2023-08-26 17:55:01,344 INFO L83 FinitePrefix]: Finished finitePrefix Result has 295 conditions, 264 events. 31/264 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 798 event pairs, 0 based on Foata normal form. 0/210 useless extension candidates. Maximal degree in co-relation 230. Up to 12 conditions per place. [2023-08-26 17:55:01,344 INFO L82 GeneralOperation]: Start removeDead. Operand has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:01,346 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:01,347 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:55:01,347 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:01,347 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:01,347 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:01,373 INFO L124 PetriNetUnfolderBase]: 31/264 cut-off events. [2023-08-26 17:55:01,374 INFO L125 PetriNetUnfolderBase]: For 30/30 co-relation queries the response was YES. [2023-08-26 17:55:01,376 INFO L83 FinitePrefix]: Finished finitePrefix Result has 295 conditions, 264 events. 31/264 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 798 event pairs, 0 based on Foata normal form. 0/210 useless extension candidates. Maximal degree in co-relation 230. Up to 12 conditions per place. [2023-08-26 17:55:01,383 INFO L119 LiptonReduction]: Number of co-enabled transitions 27390 [2023-08-26 17:55:05,786 INFO L134 LiptonReduction]: Checked pairs total: 30099 [2023-08-26 17:55:05,786 INFO L136 LiptonReduction]: Total number of compositions: 247 [2023-08-26 17:55:05,787 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-26 17:55:05,787 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:55:05,788 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-08-26 17:55:05,788 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:55:05,788 INFO L124 PetriNetUnfolderBase]: 0/1 cut-off events. [2023-08-26 17:55:05,788 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:55:05,788 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:05,788 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:55:05,789 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 4 more)] === [2023-08-26 17:55:05,789 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:05,789 INFO L85 PathProgramCache]: Analyzing trace with hash 71455, now seen corresponding path program 1 times [2023-08-26 17:55:05,789 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:05,789 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [926267974] [2023-08-26 17:55:05,789 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:05,789 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:05,803 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:55:05,817 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:55:05,817 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:55:05,817 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [926267974] [2023-08-26 17:55:05,817 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [926267974] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:55:05,817 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:55:05,818 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:55:05,818 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [530474514] [2023-08-26 17:55:05,818 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:55:05,818 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:55:05,818 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:55:05,818 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:55:05,818 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:55:05,819 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 154 out of 443 [2023-08-26 17:55:05,819 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 43 places, 36 transitions, 117 flow. Second operand has 3 states, 3 states have (on average 154.66666666666666) internal successors, (464), 3 states have internal predecessors, (464), 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-08-26 17:55:05,819 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:55:05,820 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 154 of 443 [2023-08-26 17:55:05,820 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:55:06,322 INFO L124 PetriNetUnfolderBase]: 3040/4455 cut-off events. [2023-08-26 17:55:06,322 INFO L125 PetriNetUnfolderBase]: For 2176/2176 co-relation queries the response was YES. [2023-08-26 17:55:06,328 INFO L83 FinitePrefix]: Finished finitePrefix Result has 9667 conditions, 4455 events. 3040/4455 cut-off events. For 2176/2176 co-relation queries the response was YES. Maximal size of possible extension queue 274. Compared 23398 event pairs, 3040 based on Foata normal form. 0/3970 useless extension candidates. Maximal degree in co-relation 2734. Up to 4132 conditions per place. [2023-08-26 17:55:06,344 INFO L140 encePairwiseOnDemand]: 431/443 looper letters, 17 selfloop transitions, 1 changer transitions 1/21 dead transitions. [2023-08-26 17:55:06,345 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 34 places, 21 transitions, 123 flow [2023-08-26 17:55:06,345 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:55:06,345 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:55:06,347 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 491 transitions. [2023-08-26 17:55:06,347 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.3694507148231753 [2023-08-26 17:55:06,347 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 491 transitions. [2023-08-26 17:55:06,347 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 491 transitions. [2023-08-26 17:55:06,348 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:55:06,348 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 491 transitions. [2023-08-26 17:55:06,349 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 163.66666666666666) internal successors, (491), 3 states have internal predecessors, (491), 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-08-26 17:55:06,351 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 443.0) internal successors, (1772), 4 states have internal predecessors, (1772), 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-08-26 17:55:06,351 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 443.0) internal successors, (1772), 4 states have internal predecessors, (1772), 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-08-26 17:55:06,351 INFO L175 Difference]: Start difference. First operand has 43 places, 36 transitions, 117 flow. Second operand 3 states and 491 transitions. [2023-08-26 17:55:06,352 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 34 places, 21 transitions, 123 flow [2023-08-26 17:55:06,355 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 34 places, 21 transitions, 103 flow, removed 10 selfloop flow, removed 0 redundant places. [2023-08-26 17:55:06,355 INFO L231 Difference]: Finished difference. Result has 34 places, 20 transitions, 65 flow [2023-08-26 17:55:06,357 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=443, PETRI_DIFFERENCE_MINUEND_FLOW=67, PETRI_DIFFERENCE_MINUEND_PLACES=32, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=21, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=20, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=65, PETRI_PLACES=34, PETRI_TRANSITIONS=20} [2023-08-26 17:55:06,357 INFO L281 CegarLoopForPetriNet]: 43 programPoint places, -9 predicate places. [2023-08-26 17:55:06,358 INFO L495 AbstractCegarLoop]: Abstraction has has 34 places, 20 transitions, 65 flow [2023-08-26 17:55:06,358 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 154.66666666666666) internal successors, (464), 3 states have internal predecessors, (464), 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-08-26 17:55:06,358 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:06,358 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:55:06,358 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2023-08-26 17:55:06,358 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 4 more)] === [2023-08-26 17:55:06,359 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:06,359 INFO L85 PathProgramCache]: Analyzing trace with hash 71454, now seen corresponding path program 1 times [2023-08-26 17:55:06,359 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:06,359 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [484488982] [2023-08-26 17:55:06,359 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:06,359 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:06,364 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:55:06,410 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:55:06,411 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:55:06,411 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [484488982] [2023-08-26 17:55:06,411 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [484488982] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:55:06,411 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:55:06,411 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:55:06,411 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1740949707] [2023-08-26 17:55:06,411 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:55:06,412 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:55:06,412 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:55:06,412 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:55:06,412 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:55:06,413 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 155 out of 443 [2023-08-26 17:55:06,413 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 34 places, 20 transitions, 65 flow. Second operand has 3 states, 3 states have (on average 155.66666666666666) internal successors, (467), 3 states have internal predecessors, (467), 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-08-26 17:55:06,414 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:55:06,414 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 155 of 443 [2023-08-26 17:55:06,414 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:55:06,717 INFO L124 PetriNetUnfolderBase]: 1946/2916 cut-off events. [2023-08-26 17:55:06,717 INFO L125 PetriNetUnfolderBase]: For 280/280 co-relation queries the response was YES. [2023-08-26 17:55:06,722 INFO L83 FinitePrefix]: Finished finitePrefix Result has 5961 conditions, 2916 events. 1946/2916 cut-off events. For 280/280 co-relation queries the response was YES. Maximal size of possible extension queue 161. Compared 14214 event pairs, 1946 based on Foata normal form. 0/2795 useless extension candidates. Maximal degree in co-relation 5950. Up to 2674 conditions per place. [2023-08-26 17:55:06,724 INFO L140 encePairwiseOnDemand]: 441/443 looper letters, 0 selfloop transitions, 0 changer transitions 19/19 dead transitions. [2023-08-26 17:55:06,724 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 34 places, 19 transitions, 97 flow [2023-08-26 17:55:06,725 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:55:06,725 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:55:06,726 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 483 transitions. [2023-08-26 17:55:06,726 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.36343115124153497 [2023-08-26 17:55:06,726 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 483 transitions. [2023-08-26 17:55:06,726 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 483 transitions. [2023-08-26 17:55:06,727 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:55:06,727 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 483 transitions. [2023-08-26 17:55:06,728 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 161.0) internal successors, (483), 3 states have internal predecessors, (483), 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-08-26 17:55:06,729 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 443.0) internal successors, (1772), 4 states have internal predecessors, (1772), 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-08-26 17:55:06,730 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 443.0) internal successors, (1772), 4 states have internal predecessors, (1772), 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-08-26 17:55:06,730 INFO L175 Difference]: Start difference. First operand has 34 places, 20 transitions, 65 flow. Second operand 3 states and 483 transitions. [2023-08-26 17:55:06,730 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 34 places, 19 transitions, 97 flow [2023-08-26 17:55:06,731 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 33 places, 19 transitions, 96 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-26 17:55:06,731 INFO L231 Difference]: Finished difference. Result has 33 places, 0 transitions, 0 flow [2023-08-26 17:55:06,732 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=443, PETRI_DIFFERENCE_MINUEND_FLOW=62, PETRI_DIFFERENCE_MINUEND_PLACES=31, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=19, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=19, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=33, PETRI_TRANSITIONS=0} [2023-08-26 17:55:06,732 INFO L281 CegarLoopForPetriNet]: 43 programPoint places, -10 predicate places. [2023-08-26 17:55:06,733 INFO L495 AbstractCegarLoop]: Abstraction has has 33 places, 0 transitions, 0 flow [2023-08-26 17:55:06,733 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 155.66666666666666) internal successors, (467), 3 states have internal predecessors, (467), 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-08-26 17:55:06,733 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (7 of 8 remaining) [2023-08-26 17:55:06,733 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 8 remaining) [2023-08-26 17:55:06,733 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (5 of 8 remaining) [2023-08-26 17:55:06,733 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (4 of 8 remaining) [2023-08-26 17:55:06,733 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (3 of 8 remaining) [2023-08-26 17:55:06,734 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (2 of 8 remaining) [2023-08-26 17:55:06,734 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 8 remaining) [2023-08-26 17:55:06,734 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (0 of 8 remaining) [2023-08-26 17:55:06,734 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable13 [2023-08-26 17:55:06,734 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-26 17:55:06,735 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-26 17:55:06,737 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:06,760 INFO L124 PetriNetUnfolderBase]: 31/264 cut-off events. [2023-08-26 17:55:06,761 INFO L125 PetriNetUnfolderBase]: For 30/30 co-relation queries the response was YES. [2023-08-26 17:55:06,763 INFO L83 FinitePrefix]: Finished finitePrefix Result has 295 conditions, 264 events. 31/264 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 798 event pairs, 0 based on Foata normal form. 0/210 useless extension candidates. Maximal degree in co-relation 230. Up to 12 conditions per place. [2023-08-26 17:55:06,763 INFO L82 GeneralOperation]: Start removeDead. Operand has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:06,765 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:06,765 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:55:06,765 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:06,765 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:06,765 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 181 places, 196 transitions, 437 flow [2023-08-26 17:55:06,802 INFO L124 PetriNetUnfolderBase]: 31/264 cut-off events. [2023-08-26 17:55:06,802 INFO L125 PetriNetUnfolderBase]: For 30/30 co-relation queries the response was YES. [2023-08-26 17:55:06,804 INFO L83 FinitePrefix]: Finished finitePrefix Result has 295 conditions, 264 events. 31/264 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 798 event pairs, 0 based on Foata normal form. 0/210 useless extension candidates. Maximal degree in co-relation 230. Up to 12 conditions per place. [2023-08-26 17:55:06,810 INFO L119 LiptonReduction]: Number of co-enabled transitions 27390 [2023-08-26 17:55:11,150 INFO L134 LiptonReduction]: Checked pairs total: 29299 [2023-08-26 17:55:11,150 INFO L136 LiptonReduction]: Total number of compositions: 244 [2023-08-26 17:55:11,151 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-26 17:55:11,152 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:55:11,152 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-26 17:55:11,157 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:55:11,157 INFO L124 PetriNetUnfolderBase]: 3/61 cut-off events. [2023-08-26 17:55:11,157 INFO L125 PetriNetUnfolderBase]: For 30/30 co-relation queries the response was YES. [2023-08-26 17:55:11,157 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:11,157 INFO L208 CegarLoopForPetriNet]: trace histogram [6, 5, 5, 1, 1, 1, 1, 1, 1, 1] [2023-08-26 17:55:11,157 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-26 17:55:11,157 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:11,158 INFO L85 PathProgramCache]: Analyzing trace with hash 835630752, now seen corresponding path program 1 times [2023-08-26 17:55:11,158 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:11,158 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1015164724] [2023-08-26 17:55:11,158 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:11,158 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:11,169 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:55:11,169 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-26 17:55:11,175 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:55:11,179 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-26 17:55:11,180 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-26 17:55:11,180 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-26 17:55:11,180 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable14 [2023-08-26 17:55:11,180 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-26 17:55:11,180 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-26 17:55:11,181 WARN L233 ceAbstractionStarter]: 5 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-26 17:55:11,181 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 6 thread instances. [2023-08-26 17:55:11,202 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-26 17:55:11,204 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:11,236 INFO L124 PetriNetUnfolderBase]: 37/312 cut-off events. [2023-08-26 17:55:11,236 INFO L125 PetriNetUnfolderBase]: For 50/50 co-relation queries the response was YES. [2023-08-26 17:55:11,239 INFO L83 FinitePrefix]: Finished finitePrefix Result has 352 conditions, 312 events. 37/312 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 969 event pairs, 0 based on Foata normal form. 0/248 useless extension candidates. Maximal degree in co-relation 286. Up to 14 conditions per place. [2023-08-26 17:55:11,239 INFO L82 GeneralOperation]: Start removeDead. Operand has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:11,242 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:11,242 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:55:11,243 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:11,243 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:11,243 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:11,275 INFO L124 PetriNetUnfolderBase]: 37/312 cut-off events. [2023-08-26 17:55:11,275 INFO L125 PetriNetUnfolderBase]: For 50/50 co-relation queries the response was YES. [2023-08-26 17:55:11,278 INFO L83 FinitePrefix]: Finished finitePrefix Result has 352 conditions, 312 events. 37/312 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 969 event pairs, 0 based on Foata normal form. 0/248 useless extension candidates. Maximal degree in co-relation 286. Up to 14 conditions per place. [2023-08-26 17:55:11,288 INFO L119 LiptonReduction]: Number of co-enabled transitions 39600 [2023-08-26 17:55:15,759 INFO L134 LiptonReduction]: Checked pairs total: 41250 [2023-08-26 17:55:15,759 INFO L136 LiptonReduction]: Total number of compositions: 276 [2023-08-26 17:55:15,760 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-26 17:55:15,760 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:55:15,760 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2023-08-26 17:55:15,761 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:55:15,761 INFO L124 PetriNetUnfolderBase]: 0/1 cut-off events. [2023-08-26 17:55:15,761 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:55:15,761 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:15,761 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:55:15,762 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 5 more)] === [2023-08-26 17:55:15,762 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:15,762 INFO L85 PathProgramCache]: Analyzing trace with hash 96652, now seen corresponding path program 1 times [2023-08-26 17:55:15,762 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:15,762 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [508900680] [2023-08-26 17:55:15,762 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:15,762 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:15,772 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:55:15,787 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:55:15,787 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:55:15,787 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [508900680] [2023-08-26 17:55:15,787 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [508900680] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:55:15,787 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:55:15,787 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:55:15,789 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [361826718] [2023-08-26 17:55:15,789 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:55:15,789 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:55:15,789 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:55:15,790 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:55:15,790 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:55:15,790 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 182 out of 506 [2023-08-26 17:55:15,791 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 51 places, 44 transitions, 148 flow. Second operand has 3 states, 3 states have (on average 182.66666666666666) internal successors, (548), 3 states have internal predecessors, (548), 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-08-26 17:55:15,791 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:55:15,791 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 182 of 506 [2023-08-26 17:55:15,791 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:55:17,341 INFO L124 PetriNetUnfolderBase]: 11302/15552 cut-off events. [2023-08-26 17:55:17,342 INFO L125 PetriNetUnfolderBase]: For 9628/9628 co-relation queries the response was YES. [2023-08-26 17:55:17,361 INFO L83 FinitePrefix]: Finished finitePrefix Result has 33968 conditions, 15552 events. 11302/15552 cut-off events. For 9628/9628 co-relation queries the response was YES. Maximal size of possible extension queue 783. Compared 86095 event pairs, 11302 based on Foata normal form. 0/14094 useless extension candidates. Maximal degree in co-relation 9862. Up to 14581 conditions per place. [2023-08-26 17:55:17,404 INFO L140 encePairwiseOnDemand]: 491/506 looper letters, 20 selfloop transitions, 1 changer transitions 1/24 dead transitions. [2023-08-26 17:55:17,404 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 24 transitions, 150 flow [2023-08-26 17:55:17,404 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:55:17,405 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:55:17,406 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 581 transitions. [2023-08-26 17:55:17,406 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.38274044795783924 [2023-08-26 17:55:17,406 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 581 transitions. [2023-08-26 17:55:17,406 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 581 transitions. [2023-08-26 17:55:17,407 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:55:17,407 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 581 transitions. [2023-08-26 17:55:17,408 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 193.66666666666666) internal successors, (581), 3 states have internal predecessors, (581), 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-08-26 17:55:17,410 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 506.0) internal successors, (2024), 4 states have internal predecessors, (2024), 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-08-26 17:55:17,410 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 506.0) internal successors, (2024), 4 states have internal predecessors, (2024), 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-08-26 17:55:17,410 INFO L175 Difference]: Start difference. First operand has 51 places, 44 transitions, 148 flow. Second operand 3 states and 581 transitions. [2023-08-26 17:55:17,411 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 24 transitions, 150 flow [2023-08-26 17:55:17,422 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 24 transitions, 120 flow, removed 15 selfloop flow, removed 0 redundant places. [2023-08-26 17:55:17,423 INFO L231 Difference]: Finished difference. Result has 39 places, 23 transitions, 76 flow [2023-08-26 17:55:17,423 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=506, PETRI_DIFFERENCE_MINUEND_FLOW=78, PETRI_DIFFERENCE_MINUEND_PLACES=37, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=24, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=23, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=76, PETRI_PLACES=39, PETRI_TRANSITIONS=23} [2023-08-26 17:55:17,423 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -12 predicate places. [2023-08-26 17:55:17,423 INFO L495 AbstractCegarLoop]: Abstraction has has 39 places, 23 transitions, 76 flow [2023-08-26 17:55:17,424 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 182.66666666666666) internal successors, (548), 3 states have internal predecessors, (548), 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-08-26 17:55:17,424 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:17,424 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:55:17,424 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable15 [2023-08-26 17:55:17,424 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 5 more)] === [2023-08-26 17:55:17,424 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:17,424 INFO L85 PathProgramCache]: Analyzing trace with hash 96653, now seen corresponding path program 1 times [2023-08-26 17:55:17,424 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:17,424 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [661985646] [2023-08-26 17:55:17,425 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:17,425 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:17,429 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:55:17,447 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:55:17,447 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:55:17,447 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [661985646] [2023-08-26 17:55:17,447 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [661985646] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:55:17,448 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:55:17,448 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:55:17,448 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [832458995] [2023-08-26 17:55:17,448 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:55:17,448 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:55:17,448 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:55:17,449 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:55:17,449 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:55:17,449 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 183 out of 506 [2023-08-26 17:55:17,450 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 39 places, 23 transitions, 76 flow. Second operand has 3 states, 3 states have (on average 183.66666666666666) internal successors, (551), 3 states have internal predecessors, (551), 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-08-26 17:55:17,450 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:55:17,450 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 183 of 506 [2023-08-26 17:55:17,450 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:55:18,256 INFO L124 PetriNetUnfolderBase]: 7292/10206 cut-off events. [2023-08-26 17:55:18,256 INFO L125 PetriNetUnfolderBase]: For 847/847 co-relation queries the response was YES. [2023-08-26 17:55:18,264 INFO L83 FinitePrefix]: Finished finitePrefix Result has 20785 conditions, 10206 events. 7292/10206 cut-off events. For 847/847 co-relation queries the response was YES. Maximal size of possible extension queue 459. Compared 53183 event pairs, 7292 based on Foata normal form. 0/9841 useless extension candidates. Maximal degree in co-relation 20773. Up to 9478 conditions per place. [2023-08-26 17:55:18,268 INFO L140 encePairwiseOnDemand]: 504/506 looper letters, 0 selfloop transitions, 0 changer transitions 22/22 dead transitions. [2023-08-26 17:55:18,268 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 22 transitions, 114 flow [2023-08-26 17:55:18,269 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:55:18,269 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:55:18,270 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 570 transitions. [2023-08-26 17:55:18,270 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.37549407114624506 [2023-08-26 17:55:18,271 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 570 transitions. [2023-08-26 17:55:18,271 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 570 transitions. [2023-08-26 17:55:18,271 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:55:18,271 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 570 transitions. [2023-08-26 17:55:18,272 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 190.0) internal successors, (570), 3 states have internal predecessors, (570), 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-08-26 17:55:18,274 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 506.0) internal successors, (2024), 4 states have internal predecessors, (2024), 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-08-26 17:55:18,275 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 506.0) internal successors, (2024), 4 states have internal predecessors, (2024), 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-08-26 17:55:18,275 INFO L175 Difference]: Start difference. First operand has 39 places, 23 transitions, 76 flow. Second operand 3 states and 570 transitions. [2023-08-26 17:55:18,275 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 22 transitions, 114 flow [2023-08-26 17:55:18,276 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 38 places, 22 transitions, 113 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-26 17:55:18,276 INFO L231 Difference]: Finished difference. Result has 38 places, 0 transitions, 0 flow [2023-08-26 17:55:18,276 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=506, PETRI_DIFFERENCE_MINUEND_FLOW=73, PETRI_DIFFERENCE_MINUEND_PLACES=36, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=22, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=22, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=38, PETRI_TRANSITIONS=0} [2023-08-26 17:55:18,276 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -13 predicate places. [2023-08-26 17:55:18,276 INFO L495 AbstractCegarLoop]: Abstraction has has 38 places, 0 transitions, 0 flow [2023-08-26 17:55:18,277 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 183.66666666666666) internal successors, (551), 3 states have internal predecessors, (551), 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-08-26 17:55:18,277 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 9 remaining) [2023-08-26 17:55:18,277 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (7 of 9 remaining) [2023-08-26 17:55:18,277 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (6 of 9 remaining) [2023-08-26 17:55:18,277 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (5 of 9 remaining) [2023-08-26 17:55:18,277 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (4 of 9 remaining) [2023-08-26 17:55:18,277 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (3 of 9 remaining) [2023-08-26 17:55:18,278 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (2 of 9 remaining) [2023-08-26 17:55:18,278 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (1 of 9 remaining) [2023-08-26 17:55:18,278 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 9 remaining) [2023-08-26 17:55:18,278 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable16 [2023-08-26 17:55:18,278 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-26 17:55:18,278 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-26 17:55:18,280 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:18,304 INFO L124 PetriNetUnfolderBase]: 37/312 cut-off events. [2023-08-26 17:55:18,305 INFO L125 PetriNetUnfolderBase]: For 50/50 co-relation queries the response was YES. [2023-08-26 17:55:18,306 INFO L83 FinitePrefix]: Finished finitePrefix Result has 352 conditions, 312 events. 37/312 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 969 event pairs, 0 based on Foata normal form. 0/248 useless extension candidates. Maximal degree in co-relation 286. Up to 14 conditions per place. [2023-08-26 17:55:18,307 INFO L82 GeneralOperation]: Start removeDead. Operand has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:18,309 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:18,309 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:55:18,309 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:18,310 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:18,310 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 212 places, 230 transitions, 520 flow [2023-08-26 17:55:18,343 INFO L124 PetriNetUnfolderBase]: 37/312 cut-off events. [2023-08-26 17:55:18,343 INFO L125 PetriNetUnfolderBase]: For 50/50 co-relation queries the response was YES. [2023-08-26 17:55:18,346 INFO L83 FinitePrefix]: Finished finitePrefix Result has 352 conditions, 312 events. 37/312 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 969 event pairs, 0 based on Foata normal form. 0/248 useless extension candidates. Maximal degree in co-relation 286. Up to 14 conditions per place. [2023-08-26 17:55:18,356 INFO L119 LiptonReduction]: Number of co-enabled transitions 39600 [2023-08-26 17:55:22,978 INFO L134 LiptonReduction]: Checked pairs total: 41079 [2023-08-26 17:55:22,979 INFO L136 LiptonReduction]: Total number of compositions: 279 [2023-08-26 17:55:22,980 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-26 17:55:22,980 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:55:22,980 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-26 17:55:22,988 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:55:22,988 INFO L124 PetriNetUnfolderBase]: 6/77 cut-off events. [2023-08-26 17:55:22,988 INFO L125 PetriNetUnfolderBase]: For 50/50 co-relation queries the response was YES. [2023-08-26 17:55:22,988 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:22,988 INFO L208 CegarLoopForPetriNet]: trace histogram [7, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-26 17:55:22,989 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-26 17:55:22,989 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:22,989 INFO L85 PathProgramCache]: Analyzing trace with hash 312423534, now seen corresponding path program 1 times [2023-08-26 17:55:22,989 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:22,989 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [946508112] [2023-08-26 17:55:22,989 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:22,989 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:23,007 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:55:23,007 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-26 17:55:23,027 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:55:23,039 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-26 17:55:23,039 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-26 17:55:23,039 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-26 17:55:23,040 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable17 [2023-08-26 17:55:23,040 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-26 17:55:23,040 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-26 17:55:23,040 WARN L233 ceAbstractionStarter]: 6 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-26 17:55:23,040 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 7 thread instances. [2023-08-26 17:55:23,072 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-26 17:55:23,075 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:23,113 INFO L124 PetriNetUnfolderBase]: 43/360 cut-off events. [2023-08-26 17:55:23,114 INFO L125 PetriNetUnfolderBase]: For 77/77 co-relation queries the response was YES. [2023-08-26 17:55:23,118 INFO L83 FinitePrefix]: Finished finitePrefix Result has 410 conditions, 360 events. 43/360 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1166 event pairs, 0 based on Foata normal form. 0/286 useless extension candidates. Maximal degree in co-relation 343. Up to 16 conditions per place. [2023-08-26 17:55:23,118 INFO L82 GeneralOperation]: Start removeDead. Operand has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:23,121 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:23,121 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:55:23,121 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:23,121 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:23,122 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:23,175 INFO L124 PetriNetUnfolderBase]: 43/360 cut-off events. [2023-08-26 17:55:23,175 INFO L125 PetriNetUnfolderBase]: For 77/77 co-relation queries the response was YES. [2023-08-26 17:55:23,179 INFO L83 FinitePrefix]: Finished finitePrefix Result has 410 conditions, 360 events. 43/360 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1166 event pairs, 0 based on Foata normal form. 0/286 useless extension candidates. Maximal degree in co-relation 343. Up to 16 conditions per place. [2023-08-26 17:55:23,197 INFO L119 LiptonReduction]: Number of co-enabled transitions 54054 [2023-08-26 17:55:28,771 INFO L134 LiptonReduction]: Checked pairs total: 54757 [2023-08-26 17:55:28,771 INFO L136 LiptonReduction]: Total number of compositions: 328 [2023-08-26 17:55:28,772 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-26 17:55:28,773 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:55:28,773 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-08-26 17:55:28,773 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:55:28,773 INFO L124 PetriNetUnfolderBase]: 0/1 cut-off events. [2023-08-26 17:55:28,774 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:55:28,774 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:28,774 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:55:28,774 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 6 more)] === [2023-08-26 17:55:28,774 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:28,774 INFO L85 PathProgramCache]: Analyzing trace with hash 125212, now seen corresponding path program 1 times [2023-08-26 17:55:28,774 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:28,774 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2134236118] [2023-08-26 17:55:28,774 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:28,775 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:28,787 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:55:28,809 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:55:28,809 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:55:28,809 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2134236118] [2023-08-26 17:55:28,810 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2134236118] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:55:28,810 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:55:28,810 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:55:28,810 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1197044967] [2023-08-26 17:55:28,810 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:55:28,811 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:55:28,811 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:55:28,811 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:55:28,812 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:55:28,812 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 211 out of 592 [2023-08-26 17:55:28,813 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 53 places, 40 transitions, 157 flow. Second operand has 3 states, 3 states have (on average 211.66666666666666) internal successors, (635), 3 states have internal predecessors, (635), 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-08-26 17:55:28,813 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:55:28,813 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 211 of 592 [2023-08-26 17:55:28,813 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:55:33,304 INFO L124 PetriNetUnfolderBase]: 40462/53217 cut-off events. [2023-08-26 17:55:33,304 INFO L125 PetriNetUnfolderBase]: For 40003/40003 co-relation queries the response was YES. [2023-08-26 17:55:33,395 INFO L83 FinitePrefix]: Finished finitePrefix Result has 116832 conditions, 53217 events. 40462/53217 cut-off events. For 40003/40003 co-relation queries the response was YES. Maximal size of possible extension queue 2241. Compared 303689 event pairs, 40462 based on Foata normal form. 0/48844 useless extension candidates. Maximal degree in co-relation 34567. Up to 50302 conditions per place. [2023-08-26 17:55:33,666 INFO L140 encePairwiseOnDemand]: 580/592 looper letters, 23 selfloop transitions, 1 changer transitions 1/27 dead transitions. [2023-08-26 17:55:33,666 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 27 transitions, 179 flow [2023-08-26 17:55:33,666 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:55:33,666 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:55:33,668 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 668 transitions. [2023-08-26 17:55:33,669 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.3761261261261261 [2023-08-26 17:55:33,669 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 668 transitions. [2023-08-26 17:55:33,669 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 668 transitions. [2023-08-26 17:55:33,669 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:55:33,669 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 668 transitions. [2023-08-26 17:55:33,670 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 222.66666666666666) internal successors, (668), 3 states have internal predecessors, (668), 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-08-26 17:55:33,673 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 592.0) internal successors, (2368), 4 states have internal predecessors, (2368), 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-08-26 17:55:33,674 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 592.0) internal successors, (2368), 4 states have internal predecessors, (2368), 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-08-26 17:55:33,674 INFO L175 Difference]: Start difference. First operand has 53 places, 40 transitions, 157 flow. Second operand 3 states and 668 transitions. [2023-08-26 17:55:33,674 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 27 transitions, 179 flow [2023-08-26 17:55:33,739 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 44 places, 27 transitions, 137 flow, removed 21 selfloop flow, removed 0 redundant places. [2023-08-26 17:55:33,739 INFO L231 Difference]: Finished difference. Result has 44 places, 26 transitions, 87 flow [2023-08-26 17:55:33,739 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=592, PETRI_DIFFERENCE_MINUEND_FLOW=89, PETRI_DIFFERENCE_MINUEND_PLACES=42, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=27, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=26, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=87, PETRI_PLACES=44, PETRI_TRANSITIONS=26} [2023-08-26 17:55:33,740 INFO L281 CegarLoopForPetriNet]: 53 programPoint places, -9 predicate places. [2023-08-26 17:55:33,740 INFO L495 AbstractCegarLoop]: Abstraction has has 44 places, 26 transitions, 87 flow [2023-08-26 17:55:33,741 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 211.66666666666666) internal successors, (635), 3 states have internal predecessors, (635), 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-08-26 17:55:33,741 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:33,741 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:55:33,741 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable18 [2023-08-26 17:55:33,741 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 6 more)] === [2023-08-26 17:55:33,741 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:33,741 INFO L85 PathProgramCache]: Analyzing trace with hash 125211, now seen corresponding path program 1 times [2023-08-26 17:55:33,742 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:33,742 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [627870265] [2023-08-26 17:55:33,742 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:33,742 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:33,747 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:55:33,773 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:55:33,773 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:55:33,773 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [627870265] [2023-08-26 17:55:33,773 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [627870265] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:55:33,773 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:55:33,773 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:55:33,773 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1930064557] [2023-08-26 17:55:33,774 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:55:33,774 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:55:33,774 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:55:33,774 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:55:33,774 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:55:33,775 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 210 out of 592 [2023-08-26 17:55:33,775 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 44 places, 26 transitions, 87 flow. Second operand has 3 states, 3 states have (on average 210.66666666666666) internal successors, (632), 3 states have internal predecessors, (632), 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-08-26 17:55:33,776 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:55:33,776 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 210 of 592 [2023-08-26 17:55:33,776 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:55:36,739 INFO L124 PetriNetUnfolderBase]: 26246/34992 cut-off events. [2023-08-26 17:55:36,740 INFO L125 PetriNetUnfolderBase]: For 2548/2548 co-relation queries the response was YES. [2023-08-26 17:55:36,816 INFO L83 FinitePrefix]: Finished finitePrefix Result has 71087 conditions, 34992 events. 26246/34992 cut-off events. For 2548/2548 co-relation queries the response was YES. Maximal size of possible extension queue 1320. Compared 190549 event pairs, 26246 based on Foata normal form. 0/33899 useless extension candidates. Maximal degree in co-relation 71074. Up to 32806 conditions per place. [2023-08-26 17:55:36,835 INFO L140 encePairwiseOnDemand]: 590/592 looper letters, 0 selfloop transitions, 0 changer transitions 25/25 dead transitions. [2023-08-26 17:55:36,835 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 25 transitions, 131 flow [2023-08-26 17:55:36,836 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:55:36,836 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:55:36,837 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 654 transitions. [2023-08-26 17:55:36,838 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.36824324324324326 [2023-08-26 17:55:36,838 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 654 transitions. [2023-08-26 17:55:36,838 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 654 transitions. [2023-08-26 17:55:36,838 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:55:36,838 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 654 transitions. [2023-08-26 17:55:36,840 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 218.0) internal successors, (654), 3 states have internal predecessors, (654), 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-08-26 17:55:36,843 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 592.0) internal successors, (2368), 4 states have internal predecessors, (2368), 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-08-26 17:55:36,843 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 592.0) internal successors, (2368), 4 states have internal predecessors, (2368), 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-08-26 17:55:36,843 INFO L175 Difference]: Start difference. First operand has 44 places, 26 transitions, 87 flow. Second operand 3 states and 654 transitions. [2023-08-26 17:55:36,843 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 25 transitions, 131 flow [2023-08-26 17:55:36,869 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 43 places, 25 transitions, 130 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-26 17:55:36,870 INFO L231 Difference]: Finished difference. Result has 43 places, 0 transitions, 0 flow [2023-08-26 17:55:36,870 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=592, PETRI_DIFFERENCE_MINUEND_FLOW=84, PETRI_DIFFERENCE_MINUEND_PLACES=41, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=25, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=25, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=43, PETRI_TRANSITIONS=0} [2023-08-26 17:55:36,870 INFO L281 CegarLoopForPetriNet]: 53 programPoint places, -10 predicate places. [2023-08-26 17:55:36,870 INFO L495 AbstractCegarLoop]: Abstraction has has 43 places, 0 transitions, 0 flow [2023-08-26 17:55:36,872 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 210.66666666666666) internal successors, (632), 3 states have internal predecessors, (632), 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-08-26 17:55:36,872 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (9 of 10 remaining) [2023-08-26 17:55:36,872 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 10 remaining) [2023-08-26 17:55:36,872 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (7 of 10 remaining) [2023-08-26 17:55:36,872 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (6 of 10 remaining) [2023-08-26 17:55:36,873 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (5 of 10 remaining) [2023-08-26 17:55:36,873 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (4 of 10 remaining) [2023-08-26 17:55:36,873 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (3 of 10 remaining) [2023-08-26 17:55:36,873 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (2 of 10 remaining) [2023-08-26 17:55:36,873 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (1 of 10 remaining) [2023-08-26 17:55:36,873 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 10 remaining) [2023-08-26 17:55:36,873 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable19 [2023-08-26 17:55:36,873 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-26 17:55:36,874 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-26 17:55:36,876 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:36,932 INFO L124 PetriNetUnfolderBase]: 43/360 cut-off events. [2023-08-26 17:55:36,933 INFO L125 PetriNetUnfolderBase]: For 77/77 co-relation queries the response was YES. [2023-08-26 17:55:36,938 INFO L83 FinitePrefix]: Finished finitePrefix Result has 410 conditions, 360 events. 43/360 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1166 event pairs, 0 based on Foata normal form. 0/286 useless extension candidates. Maximal degree in co-relation 343. Up to 16 conditions per place. [2023-08-26 17:55:36,938 INFO L82 GeneralOperation]: Start removeDead. Operand has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:36,941 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:36,941 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:55:36,941 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:36,941 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:36,941 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 243 places, 264 transitions, 605 flow [2023-08-26 17:55:36,986 INFO L124 PetriNetUnfolderBase]: 43/360 cut-off events. [2023-08-26 17:55:36,986 INFO L125 PetriNetUnfolderBase]: For 77/77 co-relation queries the response was YES. [2023-08-26 17:55:36,989 INFO L83 FinitePrefix]: Finished finitePrefix Result has 410 conditions, 360 events. 43/360 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1166 event pairs, 0 based on Foata normal form. 0/286 useless extension candidates. Maximal degree in co-relation 343. Up to 16 conditions per place. [2023-08-26 17:55:37,007 INFO L119 LiptonReduction]: Number of co-enabled transitions 54054 [2023-08-26 17:55:42,891 INFO L134 LiptonReduction]: Checked pairs total: 57307 [2023-08-26 17:55:42,891 INFO L136 LiptonReduction]: Total number of compositions: 324 [2023-08-26 17:55:42,892 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-26 17:55:42,893 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:55:42,893 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-26 17:55:42,899 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:55:42,900 INFO L124 PetriNetUnfolderBase]: 5/85 cut-off events. [2023-08-26 17:55:42,900 INFO L125 PetriNetUnfolderBase]: For 77/77 co-relation queries the response was YES. [2023-08-26 17:55:42,900 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:42,900 INFO L208 CegarLoopForPetriNet]: trace histogram [8, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-26 17:55:42,900 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-26 17:55:42,900 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:42,900 INFO L85 PathProgramCache]: Analyzing trace with hash -176288418, now seen corresponding path program 1 times [2023-08-26 17:55:42,900 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:42,900 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1094755216] [2023-08-26 17:55:42,901 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:42,901 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:42,914 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:55:42,914 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-26 17:55:42,920 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:55:42,926 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-26 17:55:42,926 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-26 17:55:42,926 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-26 17:55:42,926 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable20 [2023-08-26 17:55:42,926 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-26 17:55:42,926 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-26 17:55:42,927 WARN L233 ceAbstractionStarter]: 7 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-26 17:55:42,927 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 8 thread instances. [2023-08-26 17:55:42,952 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-26 17:55:42,954 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 274 places, 298 transitions, 692 flow [2023-08-26 17:55:43,004 INFO L124 PetriNetUnfolderBase]: 49/408 cut-off events. [2023-08-26 17:55:43,005 INFO L125 PetriNetUnfolderBase]: For 112/112 co-relation queries the response was YES. [2023-08-26 17:55:43,009 INFO L83 FinitePrefix]: Finished finitePrefix Result has 469 conditions, 408 events. 49/408 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1341 event pairs, 0 based on Foata normal form. 0/324 useless extension candidates. Maximal degree in co-relation 401. Up to 18 conditions per place. [2023-08-26 17:55:43,009 INFO L82 GeneralOperation]: Start removeDead. Operand has 274 places, 298 transitions, 692 flow [2023-08-26 17:55:43,011 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 274 places, 298 transitions, 692 flow [2023-08-26 17:55:43,011 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:55:43,012 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 274 places, 298 transitions, 692 flow [2023-08-26 17:55:43,012 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 274 places, 298 transitions, 692 flow [2023-08-26 17:55:43,012 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 274 places, 298 transitions, 692 flow [2023-08-26 17:55:43,049 INFO L124 PetriNetUnfolderBase]: 49/408 cut-off events. [2023-08-26 17:55:43,049 INFO L125 PetriNetUnfolderBase]: For 112/112 co-relation queries the response was YES. [2023-08-26 17:55:43,053 INFO L83 FinitePrefix]: Finished finitePrefix Result has 469 conditions, 408 events. 49/408 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1341 event pairs, 0 based on Foata normal form. 0/324 useless extension candidates. Maximal degree in co-relation 401. Up to 18 conditions per place. [2023-08-26 17:55:43,066 INFO L119 LiptonReduction]: Number of co-enabled transitions 70752 [2023-08-26 17:55:49,246 INFO L134 LiptonReduction]: Checked pairs total: 71754 [2023-08-26 17:55:49,246 INFO L136 LiptonReduction]: Total number of compositions: 361 [2023-08-26 17:55:49,247 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-26 17:55:49,247 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:55:49,247 INFO L358 AbstractCegarLoop]: Starting to check reachability of 11 error locations. [2023-08-26 17:55:49,248 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:55:49,248 INFO L124 PetriNetUnfolderBase]: 0/2 cut-off events. [2023-08-26 17:55:49,248 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:55:49,248 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:55:49,248 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:55:49,248 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 7 more)] === [2023-08-26 17:55:49,249 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:55:49,249 INFO L85 PathProgramCache]: Analyzing trace with hash 157519, now seen corresponding path program 1 times [2023-08-26 17:55:49,249 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:55:49,249 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1912356810] [2023-08-26 17:55:49,249 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:55:49,249 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:55:49,258 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:55:49,288 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:55:49,288 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:55:49,288 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1912356810] [2023-08-26 17:55:49,288 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1912356810] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:55:49,289 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:55:49,289 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:55:49,289 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [120175464] [2023-08-26 17:55:49,289 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:55:49,289 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:55:49,289 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:55:49,289 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:55:49,290 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:55:49,291 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 239 out of 659 [2023-08-26 17:55:49,291 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 61 places, 48 transitions, 192 flow. Second operand has 3 states, 3 states have (on average 239.66666666666666) internal successors, (719), 3 states have internal predecessors, (719), 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-08-26 17:55:49,291 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:55:49,291 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 239 of 659 [2023-08-26 17:55:49,291 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:56:05,811 INFO L124 PetriNetUnfolderBase]: 141064/179334 cut-off events. [2023-08-26 17:56:05,811 INFO L125 PetriNetUnfolderBase]: For 158830/158830 co-relation queries the response was YES. [2023-08-26 17:56:06,133 INFO L83 FinitePrefix]: Finished finitePrefix Result has 395311 conditions, 179334 events. 141064/179334 cut-off events. For 158830/158830 co-relation queries the response was YES. Maximal size of possible extension queue 6447. Compared 1050262 event pairs, 141064 based on Foata normal form. 0/166212 useless extension candidates. Maximal degree in co-relation 118645. Up to 170587 conditions per place. [2023-08-26 17:56:06,513 INFO L140 encePairwiseOnDemand]: 644/659 looper letters, 26 selfloop transitions, 1 changer transitions 1/30 dead transitions. [2023-08-26 17:56:06,513 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 49 places, 30 transitions, 210 flow [2023-08-26 17:56:06,513 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:56:06,514 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:56:06,515 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 758 transitions. [2023-08-26 17:56:06,515 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.38340920586747596 [2023-08-26 17:56:06,515 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 758 transitions. [2023-08-26 17:56:06,515 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 758 transitions. [2023-08-26 17:56:06,516 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:56:06,516 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 758 transitions. [2023-08-26 17:56:06,518 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 252.66666666666666) internal successors, (758), 3 states have internal predecessors, (758), 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-08-26 17:56:06,520 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 659.0) internal successors, (2636), 4 states have internal predecessors, (2636), 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-08-26 17:56:06,521 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 659.0) internal successors, (2636), 4 states have internal predecessors, (2636), 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-08-26 17:56:06,521 INFO L175 Difference]: Start difference. First operand has 61 places, 48 transitions, 192 flow. Second operand 3 states and 758 transitions. [2023-08-26 17:56:06,521 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 49 places, 30 transitions, 210 flow [2023-08-26 17:56:06,708 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 49 places, 30 transitions, 154 flow, removed 28 selfloop flow, removed 0 redundant places. [2023-08-26 17:56:06,709 INFO L231 Difference]: Finished difference. Result has 49 places, 29 transitions, 98 flow [2023-08-26 17:56:06,709 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=659, PETRI_DIFFERENCE_MINUEND_FLOW=100, PETRI_DIFFERENCE_MINUEND_PLACES=47, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=30, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=98, PETRI_PLACES=49, PETRI_TRANSITIONS=29} [2023-08-26 17:56:06,709 INFO L281 CegarLoopForPetriNet]: 61 programPoint places, -12 predicate places. [2023-08-26 17:56:06,709 INFO L495 AbstractCegarLoop]: Abstraction has has 49 places, 29 transitions, 98 flow [2023-08-26 17:56:06,710 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 239.66666666666666) internal successors, (719), 3 states have internal predecessors, (719), 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-08-26 17:56:06,710 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:56:06,710 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:56:06,710 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable21 [2023-08-26 17:56:06,710 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT (and 7 more)] === [2023-08-26 17:56:06,710 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:56:06,710 INFO L85 PathProgramCache]: Analyzing trace with hash 157518, now seen corresponding path program 1 times [2023-08-26 17:56:06,710 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:56:06,711 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1094620255] [2023-08-26 17:56:06,711 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:56:06,711 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:56:06,715 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:56:06,724 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:56:06,725 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:56:06,725 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1094620255] [2023-08-26 17:56:06,725 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1094620255] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:56:06,725 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:56:06,725 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:56:06,725 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1097890089] [2023-08-26 17:56:06,725 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:56:06,726 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:56:06,726 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:56:06,726 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:56:06,726 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:56:06,727 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 238 out of 659 [2023-08-26 17:56:06,728 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 49 places, 29 transitions, 98 flow. Second operand has 3 states, 3 states have (on average 238.66666666666666) internal successors, (716), 3 states have internal predecessors, (716), 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-08-26 17:56:06,728 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:56:06,728 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 238 of 659 [2023-08-26 17:56:06,728 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:56:17,197 INFO L124 PetriNetUnfolderBase]: 91856/118098 cut-off events. [2023-08-26 17:56:17,197 INFO L125 PetriNetUnfolderBase]: For 7651/7651 co-relation queries the response was YES. [2023-08-26 17:56:17,459 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239487 conditions, 118098 events. 91856/118098 cut-off events. For 7651/7651 co-relation queries the response was YES. Maximal size of possible extension queue 3817. Compared 665737 event pairs, 91856 based on Foata normal form. 0/114817 useless extension candidates. Maximal degree in co-relation 239473. Up to 111538 conditions per place. [2023-08-26 17:56:17,517 INFO L140 encePairwiseOnDemand]: 657/659 looper letters, 0 selfloop transitions, 0 changer transitions 28/28 dead transitions. [2023-08-26 17:56:17,517 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 49 places, 28 transitions, 148 flow [2023-08-26 17:56:17,518 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:56:17,518 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:56:17,519 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 741 transitions. [2023-08-26 17:56:17,520 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.37481031866464337 [2023-08-26 17:56:17,520 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 741 transitions. [2023-08-26 17:56:17,520 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 741 transitions. [2023-08-26 17:56:17,520 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:56:17,520 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 741 transitions. [2023-08-26 17:56:17,522 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 247.0) internal successors, (741), 3 states have internal predecessors, (741), 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-08-26 17:56:17,524 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 659.0) internal successors, (2636), 4 states have internal predecessors, (2636), 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-08-26 17:56:17,525 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 659.0) internal successors, (2636), 4 states have internal predecessors, (2636), 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-08-26 17:56:17,525 INFO L175 Difference]: Start difference. First operand has 49 places, 29 transitions, 98 flow. Second operand 3 states and 741 transitions. [2023-08-26 17:56:17,525 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 49 places, 28 transitions, 148 flow [2023-08-26 17:56:17,539 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 48 places, 28 transitions, 147 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-26 17:56:17,539 INFO L231 Difference]: Finished difference. Result has 48 places, 0 transitions, 0 flow [2023-08-26 17:56:17,540 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=659, PETRI_DIFFERENCE_MINUEND_FLOW=95, PETRI_DIFFERENCE_MINUEND_PLACES=46, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=28, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=28, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=48, PETRI_TRANSITIONS=0} [2023-08-26 17:56:17,540 INFO L281 CegarLoopForPetriNet]: 61 programPoint places, -13 predicate places. [2023-08-26 17:56:17,540 INFO L495 AbstractCegarLoop]: Abstraction has has 48 places, 0 transitions, 0 flow [2023-08-26 17:56:17,540 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 238.66666666666666) internal successors, (716), 3 states have internal predecessors, (716), 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-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (10 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (9 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (8 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (7 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (5 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (4 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (3 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (2 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONASSERT (1 of 11 remaining) [2023-08-26 17:56:17,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 11 remaining) [2023-08-26 17:56:17,542 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable22 [2023-08-26 17:56:17,542 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-26 17:56:17,542 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-26 17:56:17,544 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 274 places, 298 transitions, 692 flow [2023-08-26 17:56:17,593 INFO L124 PetriNetUnfolderBase]: 49/408 cut-off events. [2023-08-26 17:56:17,593 INFO L125 PetriNetUnfolderBase]: For 112/112 co-relation queries the response was YES. [2023-08-26 17:56:17,597 INFO L83 FinitePrefix]: Finished finitePrefix Result has 469 conditions, 408 events. 49/408 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1341 event pairs, 0 based on Foata normal form. 0/324 useless extension candidates. Maximal degree in co-relation 401. Up to 18 conditions per place. [2023-08-26 17:56:17,597 INFO L82 GeneralOperation]: Start removeDead. Operand has 274 places, 298 transitions, 692 flow [2023-08-26 17:56:17,600 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 274 places, 298 transitions, 692 flow [2023-08-26 17:56:17,600 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:56:17,600 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 274 places, 298 transitions, 692 flow [2023-08-26 17:56:17,600 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 274 places, 298 transitions, 692 flow [2023-08-26 17:56:17,600 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 274 places, 298 transitions, 692 flow [2023-08-26 17:56:17,649 INFO L124 PetriNetUnfolderBase]: 49/408 cut-off events. [2023-08-26 17:56:17,649 INFO L125 PetriNetUnfolderBase]: For 112/112 co-relation queries the response was YES. [2023-08-26 17:56:17,653 INFO L83 FinitePrefix]: Finished finitePrefix Result has 469 conditions, 408 events. 49/408 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1341 event pairs, 0 based on Foata normal form. 0/324 useless extension candidates. Maximal degree in co-relation 401. Up to 18 conditions per place. [2023-08-26 17:56:17,670 INFO L119 LiptonReduction]: Number of co-enabled transitions 70752 [2023-08-26 17:56:23,727 INFO L134 LiptonReduction]: Checked pairs total: 74746 [2023-08-26 17:56:23,727 INFO L136 LiptonReduction]: Total number of compositions: 363 [2023-08-26 17:56:23,728 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-26 17:56:23,729 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:56:23,729 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-26 17:56:23,736 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:56:23,736 INFO L124 PetriNetUnfolderBase]: 5/95 cut-off events. [2023-08-26 17:56:23,737 INFO L125 PetriNetUnfolderBase]: For 112/112 co-relation queries the response was YES. [2023-08-26 17:56:23,737 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:56:23,737 INFO L208 CegarLoopForPetriNet]: trace histogram [9, 8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-26 17:56:23,737 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-26 17:56:23,737 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:56:23,737 INFO L85 PathProgramCache]: Analyzing trace with hash 1747714379, now seen corresponding path program 1 times [2023-08-26 17:56:23,737 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:56:23,737 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1527759525] [2023-08-26 17:56:23,738 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:56:23,738 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:56:23,752 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:56:23,752 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-26 17:56:23,757 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-26 17:56:23,762 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-26 17:56:23,762 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-26 17:56:23,762 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-26 17:56:23,763 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable23 [2023-08-26 17:56:23,763 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-26 17:56:23,763 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-26 17:56:23,763 WARN L233 ceAbstractionStarter]: 8 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-26 17:56:23,763 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 9 thread instances. [2023-08-26 17:56:23,801 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-26 17:56:23,803 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 305 places, 332 transitions, 781 flow [2023-08-26 17:56:23,864 INFO L124 PetriNetUnfolderBase]: 55/456 cut-off events. [2023-08-26 17:56:23,864 INFO L125 PetriNetUnfolderBase]: For 156/156 co-relation queries the response was YES. [2023-08-26 17:56:23,869 INFO L83 FinitePrefix]: Finished finitePrefix Result has 529 conditions, 456 events. 55/456 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1536 event pairs, 0 based on Foata normal form. 0/362 useless extension candidates. Maximal degree in co-relation 460. Up to 20 conditions per place. [2023-08-26 17:56:23,869 INFO L82 GeneralOperation]: Start removeDead. Operand has 305 places, 332 transitions, 781 flow [2023-08-26 17:56:23,871 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 305 places, 332 transitions, 781 flow [2023-08-26 17:56:23,872 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-26 17:56:23,872 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 305 places, 332 transitions, 781 flow [2023-08-26 17:56:23,872 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 305 places, 332 transitions, 781 flow [2023-08-26 17:56:23,872 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 305 places, 332 transitions, 781 flow [2023-08-26 17:56:23,916 INFO L124 PetriNetUnfolderBase]: 55/456 cut-off events. [2023-08-26 17:56:23,916 INFO L125 PetriNetUnfolderBase]: For 156/156 co-relation queries the response was YES. [2023-08-26 17:56:23,919 INFO L83 FinitePrefix]: Finished finitePrefix Result has 529 conditions, 456 events. 55/456 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1536 event pairs, 0 based on Foata normal form. 0/362 useless extension candidates. Maximal degree in co-relation 460. Up to 20 conditions per place. [2023-08-26 17:56:23,933 INFO L119 LiptonReduction]: Number of co-enabled transitions 89694 [2023-08-26 17:56:30,772 INFO L134 LiptonReduction]: Checked pairs total: 95706 [2023-08-26 17:56:30,772 INFO L136 LiptonReduction]: Total number of compositions: 411 [2023-08-26 17:56:30,773 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-26 17:56:30,773 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=LoopsAndPotentialCycles, 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;@527f74ae, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-26 17:56:30,773 INFO L358 AbstractCegarLoop]: Starting to check reachability of 12 error locations. [2023-08-26 17:56:30,774 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-08-26 17:56:30,774 INFO L124 PetriNetUnfolderBase]: 0/1 cut-off events. [2023-08-26 17:56:30,774 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-08-26 17:56:30,774 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:56:30,774 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:56:30,774 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT (and 8 more)] === [2023-08-26 17:56:30,774 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:56:30,774 INFO L85 PathProgramCache]: Analyzing trace with hash 194100, now seen corresponding path program 1 times [2023-08-26 17:56:30,774 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:56:30,774 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1178937155] [2023-08-26 17:56:30,774 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:56:30,774 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:56:30,787 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:56:30,804 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:56:30,804 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:56:30,804 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1178937155] [2023-08-26 17:56:30,804 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1178937155] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:56:30,804 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:56:30,804 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:56:30,805 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [315150175] [2023-08-26 17:56:30,805 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:56:30,805 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:56:30,805 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:56:30,805 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:56:30,805 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:56:30,806 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 266 out of 743 [2023-08-26 17:56:30,807 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 69 places, 56 transitions, 229 flow. Second operand has 3 states, 3 states have (on average 266.6666666666667) internal successors, (800), 3 states have internal predecessors, (800), 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-08-26 17:56:30,807 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:56:30,807 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 266 of 743 [2023-08-26 17:56:30,807 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-26 17:57:36,226 INFO L124 PetriNetUnfolderBase]: 482236/597051 cut-off events. [2023-08-26 17:57:36,227 INFO L125 PetriNetUnfolderBase]: For 609352/609352 co-relation queries the response was YES. [2023-08-26 17:57:37,484 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1320413 conditions, 597051 events. 482236/597051 cut-off events. For 609352/609352 co-relation queries the response was YES. Maximal size of possible extension queue 18628. Compared 3558489 event pairs, 482236 based on Foata normal form. 0/557686 useless extension candidates. Maximal degree in co-relation 400768. Up to 570808 conditions per place. [2023-08-26 17:57:38,858 INFO L140 encePairwiseOnDemand]: 725/743 looper letters, 29 selfloop transitions, 1 changer transitions 1/33 dead transitions. [2023-08-26 17:57:38,858 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 54 places, 33 transitions, 243 flow [2023-08-26 17:57:38,859 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-26 17:57:38,859 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-26 17:57:38,860 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 845 transitions. [2023-08-26 17:57:38,861 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.3790937640197398 [2023-08-26 17:57:38,861 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 845 transitions. [2023-08-26 17:57:38,861 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 845 transitions. [2023-08-26 17:57:38,861 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-26 17:57:38,861 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 845 transitions. [2023-08-26 17:57:38,863 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 281.6666666666667) internal successors, (845), 3 states have internal predecessors, (845), 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-08-26 17:57:38,865 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 743.0) internal successors, (2972), 4 states have internal predecessors, (2972), 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-08-26 17:57:38,866 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 743.0) internal successors, (2972), 4 states have internal predecessors, (2972), 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-08-26 17:57:38,866 INFO L175 Difference]: Start difference. First operand has 69 places, 56 transitions, 229 flow. Second operand 3 states and 845 transitions. [2023-08-26 17:57:38,866 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 54 places, 33 transitions, 243 flow [2023-08-26 17:57:39,702 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 33 transitions, 171 flow, removed 36 selfloop flow, removed 0 redundant places. [2023-08-26 17:57:39,703 INFO L231 Difference]: Finished difference. Result has 54 places, 32 transitions, 109 flow [2023-08-26 17:57:39,703 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=743, PETRI_DIFFERENCE_MINUEND_FLOW=111, PETRI_DIFFERENCE_MINUEND_PLACES=52, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=33, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=32, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=109, PETRI_PLACES=54, PETRI_TRANSITIONS=32} [2023-08-26 17:57:39,704 INFO L281 CegarLoopForPetriNet]: 69 programPoint places, -15 predicate places. [2023-08-26 17:57:39,704 INFO L495 AbstractCegarLoop]: Abstraction has has 54 places, 32 transitions, 109 flow [2023-08-26 17:57:39,704 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 266.6666666666667) internal successors, (800), 3 states have internal predecessors, (800), 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-08-26 17:57:39,704 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-26 17:57:39,704 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-26 17:57:39,704 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable24 [2023-08-26 17:57:39,704 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONASSERT, thr1Err0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONASSERT (and 8 more)] === [2023-08-26 17:57:39,704 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-26 17:57:39,704 INFO L85 PathProgramCache]: Analyzing trace with hash 194101, now seen corresponding path program 1 times [2023-08-26 17:57:39,705 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-26 17:57:39,705 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [488206062] [2023-08-26 17:57:39,705 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-26 17:57:39,705 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-26 17:57:39,710 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-26 17:57:39,734 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-26 17:57:39,734 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-26 17:57:39,734 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [488206062] [2023-08-26 17:57:39,734 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [488206062] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-26 17:57:39,734 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-26 17:57:39,734 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-26 17:57:39,734 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1778919594] [2023-08-26 17:57:39,734 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-26 17:57:39,735 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-26 17:57:39,735 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-26 17:57:39,735 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-26 17:57:39,735 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-26 17:57:39,736 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 267 out of 743 [2023-08-26 17:57:39,737 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 54 places, 32 transitions, 109 flow. Second operand has 3 states, 3 states have (on average 267.6666666666667) internal successors, (803), 3 states have internal predecessors, (803), 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-08-26 17:57:39,737 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-26 17:57:39,737 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 267 of 743 [2023-08-26 17:57:39,737 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand