./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/pthread-ext/01b_inc-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 6ae2ee47 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../../../trunk/examples/svcomp/pthread-ext/01b_inc-pthread.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 5fad6244fcf6eaf8307cc493ab8f193eacc838ad9166f53316e6259a46f1eed1 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-6ae2ee4-m [2023-11-22 16:41:05,662 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-22 16:41:05,733 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-22 16:41:05,736 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-22 16:41:05,736 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-22 16:41:05,763 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-22 16:41:05,764 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-22 16:41:05,764 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-22 16:41:05,765 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-22 16:41:05,768 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-22 16:41:05,768 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-22 16:41:05,768 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-22 16:41:05,769 INFO L153 SettingsManager]: * Use SBE=true [2023-11-22 16:41:05,770 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-22 16:41:05,770 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-22 16:41:05,770 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-22 16:41:05,770 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-22 16:41:05,771 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-22 16:41:05,771 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-22 16:41:05,771 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-22 16:41:05,771 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-22 16:41:05,771 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-22 16:41:05,772 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-22 16:41:05,772 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-22 16:41:05,772 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-22 16:41:05,772 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-22 16:41:05,773 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-22 16:41:05,773 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-22 16:41:05,773 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-22 16:41:05,773 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-22 16:41:05,774 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 16:41:05,774 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-22 16:41:05,775 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-22 16:41:05,775 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-22 16:41:05,775 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-22 16:41:05,775 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-22 16:41:05,775 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-22 16:41:05,775 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-22 16:41:05,775 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-22 16:41:05,776 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 5fad6244fcf6eaf8307cc493ab8f193eacc838ad9166f53316e6259a46f1eed1 [2023-11-22 16:41:05,956 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-22 16:41:05,970 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-22 16:41:05,972 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-22 16:41:05,973 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-22 16:41:05,973 INFO L274 PluginConnector]: CDTParser initialized [2023-11-22 16:41:05,974 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/01b_inc-pthread.i [2023-11-22 16:41:06,907 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-22 16:41:07,121 INFO L384 CDTParser]: Found 1 translation units. [2023-11-22 16:41:07,121 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/01b_inc-pthread.i [2023-11-22 16:41:07,137 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ba806e105/b213684687aa46868a76171596cd7f1d/FLAGb13311090 [2023-11-22 16:41:07,156 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ba806e105/b213684687aa46868a76171596cd7f1d [2023-11-22 16:41:07,158 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-22 16:41:07,159 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-22 16:41:07,160 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-22 16:41:07,160 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-22 16:41:07,167 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-22 16:41:07,167 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,170 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2a4ec736 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07, skipping insertion in model container [2023-11-22 16:41:07,170 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,208 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-22 16:41:07,393 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 16:41:07,406 INFO L202 MainTranslator]: Completed pre-run [2023-11-22 16:41:07,460 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 16:41:07,489 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-22 16:41:07,489 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-22 16:41:07,495 INFO L206 MainTranslator]: Completed translation [2023-11-22 16:41:07,495 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07 WrapperNode [2023-11-22 16:41:07,495 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-22 16:41:07,496 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-22 16:41:07,496 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-22 16:41:07,496 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-22 16:41:07,501 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,525 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,540 INFO L138 Inliner]: procedures = 164, calls = 24, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 58 [2023-11-22 16:41:07,541 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-22 16:41:07,541 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-22 16:41:07,541 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-22 16:41:07,541 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-22 16:41:07,547 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,547 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,556 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,557 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,563 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,569 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,572 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,573 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,574 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-22 16:41:07,579 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-22 16:41:07,579 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-22 16:41:07,579 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-22 16:41:07,580 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (1/1) ... [2023-11-22 16:41:07,584 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 16:41:07,592 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 16:41:07,604 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-22 16:41:07,628 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-22 16:41:07,647 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-22 16:41:07,647 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-22 16:41:07,648 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-22 16:41:07,648 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-22 16:41:07,648 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-22 16:41:07,648 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-22 16:41:07,648 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-22 16:41:07,648 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-22 16:41:07,648 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-22 16:41:07,649 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-22 16:41:07,649 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-22 16:41:07,649 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-22 16:41:07,649 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-22 16:41:07,651 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-22 16:41:07,739 INFO L241 CfgBuilder]: Building ICFG [2023-11-22 16:41:07,740 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-22 16:41:07,845 INFO L282 CfgBuilder]: Performing block encoding [2023-11-22 16:41:07,925 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-22 16:41:07,929 INFO L309 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-22 16:41:07,930 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 04:41:07 BoogieIcfgContainer [2023-11-22 16:41:07,930 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-22 16:41:07,932 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-22 16:41:07,935 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-22 16:41:07,937 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-22 16:41:07,938 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 22.11 04:41:07" (1/3) ... [2023-11-22 16:41:07,938 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@72091d28 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 04:41:07, skipping insertion in model container [2023-11-22 16:41:07,938 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:41:07" (2/3) ... [2023-11-22 16:41:07,938 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@72091d28 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 04:41:07, skipping insertion in model container [2023-11-22 16:41:07,939 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 04:41:07" (3/3) ... [2023-11-22 16:41:07,939 INFO L112 eAbstractionObserver]: Analyzing ICFG 01b_inc-pthread.i [2023-11-22 16:41:07,952 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-22 16:41:07,953 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2023-11-22 16:41:07,953 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-22 16:41:07,997 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-22 16:41:08,022 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 27 places, 25 transitions, 54 flow [2023-11-22 16:41:08,050 INFO L124 PetriNetUnfolderBase]: 1/32 cut-off events. [2023-11-22 16:41:08,052 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:08,055 INFO L83 FinitePrefix]: Finished finitePrefix Result has 36 conditions, 32 events. 1/32 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 60 event pairs, 0 based on Foata normal form. 0/22 useless extension candidates. Maximal degree in co-relation 22. Up to 2 conditions per place. [2023-11-22 16:41:08,055 INFO L82 GeneralOperation]: Start removeDead. Operand has 27 places, 25 transitions, 54 flow [2023-11-22 16:41:08,058 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 27 places, 25 transitions, 54 flow [2023-11-22 16:41:08,064 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 16:41:08,070 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@4c8fcb8f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 16:41:08,070 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-11-22 16:41:08,072 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 16:41:08,073 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-22 16:41:08,073 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:08,074 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:08,074 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:08,074 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 3 more)] === [2023-11-22 16:41:08,080 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:08,080 INFO L85 PathProgramCache]: Analyzing trace with hash 186152, now seen corresponding path program 1 times [2023-11-22 16:41:08,099 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:08,099 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [902843200] [2023-11-22 16:41:08,100 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:08,100 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:08,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:08,316 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:08,317 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:08,317 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [902843200] [2023-11-22 16:41:08,317 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [902843200] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:08,318 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:08,318 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:08,319 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [475317687] [2023-11-22 16:41:08,320 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:08,327 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:08,331 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:08,380 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:08,381 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:08,388 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 25 [2023-11-22 16:41:08,390 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 27 places, 25 transitions, 54 flow. Second operand has 3 states, 3 states have (on average 10.0) internal successors, (30), 3 states have internal predecessors, (30), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,390 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:08,390 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 25 [2023-11-22 16:41:08,391 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:08,431 INFO L124 PetriNetUnfolderBase]: 28/92 cut-off events. [2023-11-22 16:41:08,431 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:08,431 INFO L83 FinitePrefix]: Finished finitePrefix Result has 160 conditions, 92 events. 28/92 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 275 event pairs, 24 based on Foata normal form. 0/88 useless extension candidates. Maximal degree in co-relation 144. Up to 63 conditions per place. [2023-11-22 16:41:08,433 INFO L140 encePairwiseOnDemand]: 22/25 looper letters, 12 selfloop transitions, 1 changer transitions 0/21 dead transitions. [2023-11-22 16:41:08,433 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 25 places, 21 transitions, 72 flow [2023-11-22 16:41:08,435 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:08,437 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:08,441 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 42 transitions. [2023-11-22 16:41:08,443 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.56 [2023-11-22 16:41:08,443 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 42 transitions. [2023-11-22 16:41:08,444 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 42 transitions. [2023-11-22 16:41:08,444 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:08,446 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 42 transitions. [2023-11-22 16:41:08,447 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 14.0) internal successors, (42), 3 states have internal predecessors, (42), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,450 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 25.0) internal successors, (100), 4 states have internal predecessors, (100), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,450 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 25.0) internal successors, (100), 4 states have internal predecessors, (100), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,451 INFO L175 Difference]: Start difference. First operand has 27 places, 25 transitions, 54 flow. Second operand 3 states and 42 transitions. [2023-11-22 16:41:08,452 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 25 places, 21 transitions, 72 flow [2023-11-22 16:41:08,454 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 25 places, 21 transitions, 72 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-22 16:41:08,456 INFO L231 Difference]: Finished difference. Result has 25 places, 21 transitions, 48 flow [2023-11-22 16:41:08,458 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=25, PETRI_DIFFERENCE_MINUEND_FLOW=46, PETRI_DIFFERENCE_MINUEND_PLACES=23, 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=48, PETRI_PLACES=25, PETRI_TRANSITIONS=21} [2023-11-22 16:41:08,461 INFO L281 CegarLoopForPetriNet]: 27 programPoint places, -2 predicate places. [2023-11-22 16:41:08,461 INFO L495 AbstractCegarLoop]: Abstraction has has 25 places, 21 transitions, 48 flow [2023-11-22 16:41:08,461 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 10.0) internal successors, (30), 3 states have internal predecessors, (30), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,461 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:08,462 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:08,462 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-22 16:41:08,462 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 3 more)] === [2023-11-22 16:41:08,462 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:08,463 INFO L85 PathProgramCache]: Analyzing trace with hash 186153, now seen corresponding path program 1 times [2023-11-22 16:41:08,463 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:08,463 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1849686836] [2023-11-22 16:41:08,463 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:08,463 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:08,487 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:08,597 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:08,598 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:08,598 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1849686836] [2023-11-22 16:41:08,598 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1849686836] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:08,598 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:08,599 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:08,599 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1503784863] [2023-11-22 16:41:08,599 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:08,600 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:08,600 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:08,600 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:08,602 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:08,607 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 10 out of 25 [2023-11-22 16:41:08,607 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 25 places, 21 transitions, 48 flow. Second operand has 3 states, 3 states have (on average 11.0) internal successors, (33), 3 states have internal predecessors, (33), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,607 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:08,608 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 10 of 25 [2023-11-22 16:41:08,608 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:08,639 INFO L124 PetriNetUnfolderBase]: 19/68 cut-off events. [2023-11-22 16:41:08,639 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-22 16:41:08,640 INFO L83 FinitePrefix]: Finished finitePrefix Result has 120 conditions, 68 events. 19/68 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 186 event pairs, 16 based on Foata normal form. 10/75 useless extension candidates. Maximal degree in co-relation 113. Up to 45 conditions per place. [2023-11-22 16:41:08,640 INFO L140 encePairwiseOnDemand]: 23/25 looper letters, 11 selfloop transitions, 1 changer transitions 0/20 dead transitions. [2023-11-22 16:41:08,640 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 26 places, 20 transitions, 70 flow [2023-11-22 16:41:08,641 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:08,641 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:08,642 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 43 transitions. [2023-11-22 16:41:08,643 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5733333333333334 [2023-11-22 16:41:08,643 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 43 transitions. [2023-11-22 16:41:08,643 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 43 transitions. [2023-11-22 16:41:08,643 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:08,644 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 43 transitions. [2023-11-22 16:41:08,645 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 14.333333333333334) internal successors, (43), 3 states have internal predecessors, (43), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,646 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 25.0) internal successors, (100), 4 states have internal predecessors, (100), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,647 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 25.0) internal successors, (100), 4 states have internal predecessors, (100), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,647 INFO L175 Difference]: Start difference. First operand has 25 places, 21 transitions, 48 flow. Second operand 3 states and 43 transitions. [2023-11-22 16:41:08,648 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 26 places, 20 transitions, 70 flow [2023-11-22 16:41:08,648 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 25 places, 20 transitions, 69 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-22 16:41:08,649 INFO L231 Difference]: Finished difference. Result has 25 places, 20 transitions, 47 flow [2023-11-22 16:41:08,649 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=25, PETRI_DIFFERENCE_MINUEND_FLOW=45, PETRI_DIFFERENCE_MINUEND_PLACES=23, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=20, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=19, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=47, PETRI_PLACES=25, PETRI_TRANSITIONS=20} [2023-11-22 16:41:08,650 INFO L281 CegarLoopForPetriNet]: 27 programPoint places, -2 predicate places. [2023-11-22 16:41:08,650 INFO L495 AbstractCegarLoop]: Abstraction has has 25 places, 20 transitions, 47 flow [2023-11-22 16:41:08,650 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 11.0) internal successors, (33), 3 states have internal predecessors, (33), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,650 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:08,650 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2023-11-22 16:41:08,651 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-22 16:41:08,652 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 3 more)] === [2023-11-22 16:41:08,654 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:08,655 INFO L85 PathProgramCache]: Analyzing trace with hash -538096461, now seen corresponding path program 1 times [2023-11-22 16:41:08,655 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:08,655 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1112027028] [2023-11-22 16:41:08,655 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:08,655 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:08,678 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:08,678 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 16:41:08,686 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:08,705 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 16:41:08,705 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 16:41:08,706 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (5 of 6 remaining) [2023-11-22 16:41:08,708 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 6 remaining) [2023-11-22 16:41:08,709 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 6 remaining) [2023-11-22 16:41:08,709 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-11-22 16:41:08,709 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (1 of 6 remaining) [2023-11-22 16:41:08,709 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 6 remaining) [2023-11-22 16:41:08,711 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-22 16:41:08,711 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-22 16:41:08,713 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 16:41:08,713 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-22 16:41:08,727 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-22 16:41:08,728 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 43 places, 40 transitions, 90 flow [2023-11-22 16:41:08,734 INFO L124 PetriNetUnfolderBase]: 2/55 cut-off events. [2023-11-22 16:41:08,734 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-22 16:41:08,735 INFO L83 FinitePrefix]: Finished finitePrefix Result has 63 conditions, 55 events. 2/55 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 150 event pairs, 0 based on Foata normal form. 0/39 useless extension candidates. Maximal degree in co-relation 36. Up to 3 conditions per place. [2023-11-22 16:41:08,735 INFO L82 GeneralOperation]: Start removeDead. Operand has 43 places, 40 transitions, 90 flow [2023-11-22 16:41:08,735 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 43 places, 40 transitions, 90 flow [2023-11-22 16:41:08,736 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 16:41:08,737 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@4c8fcb8f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 16:41:08,737 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2023-11-22 16:41:08,738 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 16:41:08,738 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-22 16:41:08,738 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:08,739 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:08,739 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:08,739 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2023-11-22 16:41:08,739 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:08,739 INFO L85 PathProgramCache]: Analyzing trace with hash 225872, now seen corresponding path program 1 times [2023-11-22 16:41:08,739 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:08,740 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1574481120] [2023-11-22 16:41:08,740 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:08,740 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:08,756 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:08,792 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:08,792 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:08,792 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1574481120] [2023-11-22 16:41:08,792 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1574481120] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:08,793 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:08,793 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:08,793 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [274902141] [2023-11-22 16:41:08,793 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:08,793 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:08,793 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:08,794 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:08,794 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:08,799 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 15 out of 40 [2023-11-22 16:41:08,799 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 43 places, 40 transitions, 90 flow. Second operand has 3 states, 3 states have (on average 16.0) internal successors, (48), 3 states have internal predecessors, (48), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,799 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:08,799 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 15 of 40 [2023-11-22 16:41:08,799 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:08,972 INFO L124 PetriNetUnfolderBase]: 564/1161 cut-off events. [2023-11-22 16:41:08,973 INFO L125 PetriNetUnfolderBase]: For 33/33 co-relation queries the response was YES. [2023-11-22 16:41:08,976 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2085 conditions, 1161 events. 564/1161 cut-off events. For 33/33 co-relation queries the response was YES. Maximal size of possible extension queue 80. Compared 7105 event pairs, 528 based on Foata normal form. 0/1065 useless extension candidates. Maximal degree in co-relation 369. Up to 891 conditions per place. [2023-11-22 16:41:08,981 INFO L140 encePairwiseOnDemand]: 37/40 looper letters, 21 selfloop transitions, 1 changer transitions 0/36 dead transitions. [2023-11-22 16:41:08,981 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 41 places, 36 transitions, 126 flow [2023-11-22 16:41:08,982 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:08,982 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:08,984 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 69 transitions. [2023-11-22 16:41:08,984 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.575 [2023-11-22 16:41:08,985 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 69 transitions. [2023-11-22 16:41:08,985 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 69 transitions. [2023-11-22 16:41:08,985 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:08,986 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 69 transitions. [2023-11-22 16:41:08,987 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 23.0) internal successors, (69), 3 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,988 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 40.0) internal successors, (160), 4 states have internal predecessors, (160), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,989 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 40.0) internal successors, (160), 4 states have internal predecessors, (160), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,989 INFO L175 Difference]: Start difference. First operand has 43 places, 40 transitions, 90 flow. Second operand 3 states and 69 transitions. [2023-11-22 16:41:08,989 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 41 places, 36 transitions, 126 flow [2023-11-22 16:41:08,991 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 36 transitions, 126 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-22 16:41:08,993 INFO L231 Difference]: Finished difference. Result has 41 places, 36 transitions, 84 flow [2023-11-22 16:41:08,993 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=40, PETRI_DIFFERENCE_MINUEND_FLOW=82, PETRI_DIFFERENCE_MINUEND_PLACES=39, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=36, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=35, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=84, PETRI_PLACES=41, PETRI_TRANSITIONS=36} [2023-11-22 16:41:08,996 INFO L281 CegarLoopForPetriNet]: 43 programPoint places, -2 predicate places. [2023-11-22 16:41:08,996 INFO L495 AbstractCegarLoop]: Abstraction has has 41 places, 36 transitions, 84 flow [2023-11-22 16:41:08,996 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 16.0) internal successors, (48), 3 states have internal predecessors, (48), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:08,996 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:08,996 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:08,996 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-22 16:41:08,997 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2023-11-22 16:41:08,997 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:08,997 INFO L85 PathProgramCache]: Analyzing trace with hash 225873, now seen corresponding path program 1 times [2023-11-22 16:41:08,997 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:08,997 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [920126946] [2023-11-22 16:41:08,997 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:08,998 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:09,011 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:09,051 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:09,052 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:09,052 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [920126946] [2023-11-22 16:41:09,052 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [920126946] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:09,052 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:09,052 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:09,052 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [189709332] [2023-11-22 16:41:09,052 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:09,053 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:09,053 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:09,053 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:09,053 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:09,060 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 16 out of 40 [2023-11-22 16:41:09,060 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 41 places, 36 transitions, 84 flow. Second operand has 3 states, 3 states have (on average 17.0) internal successors, (51), 3 states have internal predecessors, (51), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:09,060 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:09,060 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 16 of 40 [2023-11-22 16:41:09,061 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:09,133 INFO L124 PetriNetUnfolderBase]: 406/856 cut-off events. [2023-11-22 16:41:09,134 INFO L125 PetriNetUnfolderBase]: For 29/29 co-relation queries the response was YES. [2023-11-22 16:41:09,135 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1539 conditions, 856 events. 406/856 cut-off events. For 29/29 co-relation queries the response was YES. Maximal size of possible extension queue 63. Compared 4904 event pairs, 376 based on Foata normal form. 91/869 useless extension candidates. Maximal degree in co-relation 1531. Up to 648 conditions per place. [2023-11-22 16:41:09,138 INFO L140 encePairwiseOnDemand]: 38/40 looper letters, 20 selfloop transitions, 1 changer transitions 0/35 dead transitions. [2023-11-22 16:41:09,138 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 42 places, 35 transitions, 124 flow [2023-11-22 16:41:09,138 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:09,138 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:09,139 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 70 transitions. [2023-11-22 16:41:09,140 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5833333333333334 [2023-11-22 16:41:09,140 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 70 transitions. [2023-11-22 16:41:09,140 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 70 transitions. [2023-11-22 16:41:09,140 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:09,140 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 70 transitions. [2023-11-22 16:41:09,141 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 23.333333333333332) internal successors, (70), 3 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:09,144 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 40.0) internal successors, (160), 4 states have internal predecessors, (160), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:09,144 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 40.0) internal successors, (160), 4 states have internal predecessors, (160), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:09,144 INFO L175 Difference]: Start difference. First operand has 41 places, 36 transitions, 84 flow. Second operand 3 states and 70 transitions. [2023-11-22 16:41:09,145 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 42 places, 35 transitions, 124 flow [2023-11-22 16:41:09,145 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 35 transitions, 123 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-22 16:41:09,146 INFO L231 Difference]: Finished difference. Result has 41 places, 35 transitions, 83 flow [2023-11-22 16:41:09,146 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=40, PETRI_DIFFERENCE_MINUEND_FLOW=81, PETRI_DIFFERENCE_MINUEND_PLACES=39, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=35, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=34, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=83, PETRI_PLACES=41, PETRI_TRANSITIONS=35} [2023-11-22 16:41:09,147 INFO L281 CegarLoopForPetriNet]: 43 programPoint places, -2 predicate places. [2023-11-22 16:41:09,147 INFO L495 AbstractCegarLoop]: Abstraction has has 41 places, 35 transitions, 83 flow [2023-11-22 16:41:09,148 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 17.0) internal successors, (51), 3 states have internal predecessors, (51), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:09,152 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:09,152 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2023-11-22 16:41:09,153 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-22 16:41:09,153 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2023-11-22 16:41:09,153 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:09,156 INFO L85 PathProgramCache]: Analyzing trace with hash 176611365, now seen corresponding path program 1 times [2023-11-22 16:41:09,156 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:09,156 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [389402037] [2023-11-22 16:41:09,156 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:09,156 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:09,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:09,179 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 16:41:09,192 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:09,201 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 16:41:09,202 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 16:41:09,202 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2023-11-22 16:41:09,202 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 7 remaining) [2023-11-22 16:41:09,202 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2023-11-22 16:41:09,202 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 7 remaining) [2023-11-22 16:41:09,203 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 7 remaining) [2023-11-22 16:41:09,204 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2023-11-22 16:41:09,204 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2023-11-22 16:41:09,204 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-22 16:41:09,204 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-22 16:41:09,205 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 16:41:09,205 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-22 16:41:09,237 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-22 16:41:09,241 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 59 places, 55 transitions, 128 flow [2023-11-22 16:41:09,249 INFO L124 PetriNetUnfolderBase]: 3/78 cut-off events. [2023-11-22 16:41:09,249 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-22 16:41:09,250 INFO L83 FinitePrefix]: Finished finitePrefix Result has 91 conditions, 78 events. 3/78 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 247 event pairs, 0 based on Foata normal form. 0/56 useless extension candidates. Maximal degree in co-relation 62. Up to 4 conditions per place. [2023-11-22 16:41:09,250 INFO L82 GeneralOperation]: Start removeDead. Operand has 59 places, 55 transitions, 128 flow [2023-11-22 16:41:09,251 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 59 places, 55 transitions, 128 flow [2023-11-22 16:41:09,253 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 16:41:09,255 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@4c8fcb8f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 16:41:09,255 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-11-22 16:41:09,256 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 16:41:09,256 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-22 16:41:09,256 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:09,256 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:09,257 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:09,257 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-22 16:41:09,257 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:09,258 INFO L85 PathProgramCache]: Analyzing trace with hash 280487, now seen corresponding path program 1 times [2023-11-22 16:41:09,258 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:09,258 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [980499032] [2023-11-22 16:41:09,258 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:09,258 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:09,267 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:09,301 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:09,301 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:09,301 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [980499032] [2023-11-22 16:41:09,302 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [980499032] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:09,302 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:09,302 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:09,304 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1795902272] [2023-11-22 16:41:09,305 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:09,305 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:09,305 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:09,306 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:09,306 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:09,311 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 55 [2023-11-22 16:41:09,311 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 59 places, 55 transitions, 128 flow. Second operand has 3 states, 3 states have (on average 22.0) internal successors, (66), 3 states have internal predecessors, (66), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:09,312 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:09,312 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 55 [2023-11-22 16:41:09,312 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:10,395 INFO L124 PetriNetUnfolderBase]: 7980/13393 cut-off events. [2023-11-22 16:41:10,395 INFO L125 PetriNetUnfolderBase]: For 703/703 co-relation queries the response was YES. [2023-11-22 16:41:10,420 INFO L83 FinitePrefix]: Finished finitePrefix Result has 24686 conditions, 13393 events. 7980/13393 cut-off events. For 703/703 co-relation queries the response was YES. Maximal size of possible extension queue 685. Compared 104057 event pairs, 7656 based on Foata normal form. 0/12148 useless extension candidates. Maximal degree in co-relation 2091. Up to 10935 conditions per place. [2023-11-22 16:41:10,482 INFO L140 encePairwiseOnDemand]: 52/55 looper letters, 30 selfloop transitions, 1 changer transitions 0/51 dead transitions. [2023-11-22 16:41:10,482 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 57 places, 51 transitions, 182 flow [2023-11-22 16:41:10,483 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:10,483 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:10,485 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 96 transitions. [2023-11-22 16:41:10,485 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5818181818181818 [2023-11-22 16:41:10,486 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 96 transitions. [2023-11-22 16:41:10,486 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 96 transitions. [2023-11-22 16:41:10,486 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:10,486 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 96 transitions. [2023-11-22 16:41:10,487 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 32.0) internal successors, (96), 3 states have internal predecessors, (96), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:10,488 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:10,488 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:10,488 INFO L175 Difference]: Start difference. First operand has 59 places, 55 transitions, 128 flow. Second operand 3 states and 96 transitions. [2023-11-22 16:41:10,488 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 57 places, 51 transitions, 182 flow [2023-11-22 16:41:10,491 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 57 places, 51 transitions, 180 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-11-22 16:41:10,492 INFO L231 Difference]: Finished difference. Result has 57 places, 51 transitions, 120 flow [2023-11-22 16:41:10,493 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=55, PETRI_DIFFERENCE_MINUEND_FLOW=118, PETRI_DIFFERENCE_MINUEND_PLACES=55, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=51, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=50, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=120, PETRI_PLACES=57, PETRI_TRANSITIONS=51} [2023-11-22 16:41:10,494 INFO L281 CegarLoopForPetriNet]: 59 programPoint places, -2 predicate places. [2023-11-22 16:41:10,494 INFO L495 AbstractCegarLoop]: Abstraction has has 57 places, 51 transitions, 120 flow [2023-11-22 16:41:10,495 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 22.0) internal successors, (66), 3 states have internal predecessors, (66), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:10,495 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:10,495 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:10,495 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-11-22 16:41:10,495 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-22 16:41:10,496 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:10,496 INFO L85 PathProgramCache]: Analyzing trace with hash 280488, now seen corresponding path program 1 times [2023-11-22 16:41:10,496 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:10,496 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [416368996] [2023-11-22 16:41:10,496 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:10,497 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:10,505 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:10,530 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:10,531 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:10,533 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [416368996] [2023-11-22 16:41:10,533 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [416368996] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:10,533 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:10,533 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:10,533 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1169445771] [2023-11-22 16:41:10,534 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:10,534 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:10,534 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:10,535 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:10,535 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:10,540 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 22 out of 55 [2023-11-22 16:41:10,540 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 57 places, 51 transitions, 120 flow. Second operand has 3 states, 3 states have (on average 23.0) internal successors, (69), 3 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:10,540 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:10,540 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 22 of 55 [2023-11-22 16:41:10,540 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:11,129 INFO L124 PetriNetUnfolderBase]: 5833/9926 cut-off events. [2023-11-22 16:41:11,130 INFO L125 PetriNetUnfolderBase]: For 274/274 co-relation queries the response was YES. [2023-11-22 16:41:11,146 INFO L83 FinitePrefix]: Finished finitePrefix Result has 18224 conditions, 9926 events. 5833/9926 cut-off events. For 274/274 co-relation queries the response was YES. Maximal size of possible extension queue 522. Compared 74334 event pairs, 5560 based on Foata normal form. 820/9732 useless extension candidates. Maximal degree in co-relation 18215. Up to 8019 conditions per place. [2023-11-22 16:41:11,178 INFO L140 encePairwiseOnDemand]: 53/55 looper letters, 29 selfloop transitions, 1 changer transitions 0/50 dead transitions. [2023-11-22 16:41:11,178 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 58 places, 50 transitions, 178 flow [2023-11-22 16:41:11,179 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:11,179 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:11,180 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 97 transitions. [2023-11-22 16:41:11,180 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5878787878787879 [2023-11-22 16:41:11,180 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 97 transitions. [2023-11-22 16:41:11,181 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 97 transitions. [2023-11-22 16:41:11,182 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:11,182 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 97 transitions. [2023-11-22 16:41:11,182 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 32.333333333333336) internal successors, (97), 3 states have internal predecessors, (97), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:11,183 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:11,183 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:11,184 INFO L175 Difference]: Start difference. First operand has 57 places, 51 transitions, 120 flow. Second operand 3 states and 97 transitions. [2023-11-22 16:41:11,184 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 58 places, 50 transitions, 178 flow [2023-11-22 16:41:11,184 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 57 places, 50 transitions, 177 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-22 16:41:11,185 INFO L231 Difference]: Finished difference. Result has 57 places, 50 transitions, 119 flow [2023-11-22 16:41:11,185 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=55, PETRI_DIFFERENCE_MINUEND_FLOW=117, PETRI_DIFFERENCE_MINUEND_PLACES=55, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=50, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=49, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=119, PETRI_PLACES=57, PETRI_TRANSITIONS=50} [2023-11-22 16:41:11,186 INFO L281 CegarLoopForPetriNet]: 59 programPoint places, -2 predicate places. [2023-11-22 16:41:11,186 INFO L495 AbstractCegarLoop]: Abstraction has has 57 places, 50 transitions, 119 flow [2023-11-22 16:41:11,187 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 23.0) internal successors, (69), 3 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:11,187 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:11,187 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 16:41:11,187 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-11-22 16:41:11,187 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-22 16:41:11,187 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:11,187 INFO L85 PathProgramCache]: Analyzing trace with hash -258432433, now seen corresponding path program 1 times [2023-11-22 16:41:11,188 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:11,188 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1508713893] [2023-11-22 16:41:11,188 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:11,188 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:11,210 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:11,365 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:11,365 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:11,365 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1508713893] [2023-11-22 16:41:11,365 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1508713893] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:11,366 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:11,366 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-22 16:41:11,366 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1858585632] [2023-11-22 16:41:11,366 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:11,366 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-11-22 16:41:11,366 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:11,367 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-11-22 16:41:11,367 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2023-11-22 16:41:11,372 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 17 out of 55 [2023-11-22 16:41:11,372 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 57 places, 50 transitions, 119 flow. Second operand has 5 states, 5 states have (on average 18.8) internal successors, (94), 5 states have internal predecessors, (94), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:11,372 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:11,372 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 17 of 55 [2023-11-22 16:41:11,372 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:12,622 INFO L124 PetriNetUnfolderBase]: 11367/19165 cut-off events. [2023-11-22 16:41:12,622 INFO L125 PetriNetUnfolderBase]: For 364/364 co-relation queries the response was YES. [2023-11-22 16:41:12,671 INFO L83 FinitePrefix]: Finished finitePrefix Result has 35800 conditions, 19165 events. 11367/19165 cut-off events. For 364/364 co-relation queries the response was YES. Maximal size of possible extension queue 1103. Compared 155322 event pairs, 3321 based on Foata normal form. 0/16567 useless extension candidates. Maximal degree in co-relation 35790. Up to 7422 conditions per place. [2023-11-22 16:41:12,741 INFO L140 encePairwiseOnDemand]: 45/55 looper letters, 104 selfloop transitions, 12 changer transitions 0/130 dead transitions. [2023-11-22 16:41:12,741 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 62 places, 130 transitions, 541 flow [2023-11-22 16:41:12,741 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-11-22 16:41:12,742 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-11-22 16:41:12,742 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 224 transitions. [2023-11-22 16:41:12,743 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6787878787878788 [2023-11-22 16:41:12,743 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 224 transitions. [2023-11-22 16:41:12,743 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 224 transitions. [2023-11-22 16:41:12,743 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:12,743 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 224 transitions. [2023-11-22 16:41:12,744 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 37.333333333333336) internal successors, (224), 6 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-11-22 16:41:12,745 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 55.0) internal successors, (385), 7 states have internal predecessors, (385), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:12,745 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 55.0) internal successors, (385), 7 states have internal predecessors, (385), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:12,745 INFO L175 Difference]: Start difference. First operand has 57 places, 50 transitions, 119 flow. Second operand 6 states and 224 transitions. [2023-11-22 16:41:12,746 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 62 places, 130 transitions, 541 flow [2023-11-22 16:41:12,748 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 61 places, 130 transitions, 540 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-22 16:41:12,750 INFO L231 Difference]: Finished difference. Result has 65 places, 62 transitions, 209 flow [2023-11-22 16:41:12,750 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=55, PETRI_DIFFERENCE_MINUEND_FLOW=118, PETRI_DIFFERENCE_MINUEND_PLACES=56, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=50, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=5, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=44, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=209, PETRI_PLACES=65, PETRI_TRANSITIONS=62} [2023-11-22 16:41:12,751 INFO L281 CegarLoopForPetriNet]: 59 programPoint places, 6 predicate places. [2023-11-22 16:41:12,751 INFO L495 AbstractCegarLoop]: Abstraction has has 65 places, 62 transitions, 209 flow [2023-11-22 16:41:12,751 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 18.8) internal successors, (94), 5 states have internal predecessors, (94), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:12,751 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:12,751 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2023-11-22 16:41:12,751 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-11-22 16:41:12,751 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-22 16:41:12,752 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:12,752 INFO L85 PathProgramCache]: Analyzing trace with hash 1782145076, now seen corresponding path program 1 times [2023-11-22 16:41:12,752 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:12,752 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1434822704] [2023-11-22 16:41:12,752 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:12,752 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:12,767 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:12,768 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 16:41:12,777 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:41:12,782 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 16:41:12,782 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 16:41:12,782 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (7 of 8 remaining) [2023-11-22 16:41:12,782 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (6 of 8 remaining) [2023-11-22 16:41:12,786 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 8 remaining) [2023-11-22 16:41:12,786 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 8 remaining) [2023-11-22 16:41:12,786 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 8 remaining) [2023-11-22 16:41:12,786 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 8 remaining) [2023-11-22 16:41:12,786 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 8 remaining) [2023-11-22 16:41:12,786 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 8 remaining) [2023-11-22 16:41:12,787 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-11-22 16:41:12,787 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-11-22 16:41:12,787 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 16:41:12,787 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-11-22 16:41:12,815 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-22 16:41:12,818 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 75 places, 70 transitions, 168 flow [2023-11-22 16:41:12,823 INFO L124 PetriNetUnfolderBase]: 4/101 cut-off events. [2023-11-22 16:41:12,824 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-11-22 16:41:12,824 INFO L83 FinitePrefix]: Finished finitePrefix Result has 120 conditions, 101 events. 4/101 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 330 event pairs, 0 based on Foata normal form. 0/73 useless extension candidates. Maximal degree in co-relation 90. Up to 5 conditions per place. [2023-11-22 16:41:12,824 INFO L82 GeneralOperation]: Start removeDead. Operand has 75 places, 70 transitions, 168 flow [2023-11-22 16:41:12,825 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 75 places, 70 transitions, 168 flow [2023-11-22 16:41:12,826 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 16:41:12,826 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@4c8fcb8f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 16:41:12,826 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2023-11-22 16:41:12,827 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 16:41:12,827 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-22 16:41:12,827 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:41:12,827 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:12,827 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:12,828 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-22 16:41:12,828 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:12,828 INFO L85 PathProgramCache]: Analyzing trace with hash 349997, now seen corresponding path program 1 times [2023-11-22 16:41:12,828 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:12,828 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [836169674] [2023-11-22 16:41:12,828 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:12,829 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:12,834 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:12,910 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:12,910 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:12,910 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [836169674] [2023-11-22 16:41:12,910 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [836169674] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:12,910 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:12,910 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:12,911 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [846252302] [2023-11-22 16:41:12,911 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:12,911 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:12,911 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:12,911 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:12,912 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:12,916 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 70 [2023-11-22 16:41:12,916 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 70 transitions, 168 flow. Second operand has 3 states, 3 states have (on average 28.0) internal successors, (84), 3 states have internal predecessors, (84), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:12,916 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:12,916 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 70 [2023-11-22 16:41:12,916 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:21,954 INFO L124 PetriNetUnfolderBase]: 98052/146809 cut-off events. [2023-11-22 16:41:21,954 INFO L125 PetriNetUnfolderBase]: For 11377/11377 co-relation queries the response was YES. [2023-11-22 16:41:22,333 INFO L83 FinitePrefix]: Finished finitePrefix Result has 275472 conditions, 146809 events. 98052/146809 cut-off events. For 11377/11377 co-relation queries the response was YES. Maximal size of possible extension queue 5683. Compared 1281817 event pairs, 95136 based on Foata normal form. 0/132307 useless extension candidates. Maximal degree in co-relation 24772. Up to 124659 conditions per place. [2023-11-22 16:41:23,024 INFO L140 encePairwiseOnDemand]: 67/70 looper letters, 39 selfloop transitions, 1 changer transitions 0/66 dead transitions. [2023-11-22 16:41:23,025 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 73 places, 66 transitions, 240 flow [2023-11-22 16:41:23,025 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:23,025 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:23,026 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 123 transitions. [2023-11-22 16:41:23,026 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5857142857142857 [2023-11-22 16:41:23,026 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 123 transitions. [2023-11-22 16:41:23,026 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 123 transitions. [2023-11-22 16:41:23,027 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:23,027 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 123 transitions. [2023-11-22 16:41:23,027 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 41.0) internal successors, (123), 3 states have internal predecessors, (123), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:23,028 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 70.0) internal successors, (280), 4 states have internal predecessors, (280), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:23,028 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 70.0) internal successors, (280), 4 states have internal predecessors, (280), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:23,028 INFO L175 Difference]: Start difference. First operand has 75 places, 70 transitions, 168 flow. Second operand 3 states and 123 transitions. [2023-11-22 16:41:23,028 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 73 places, 66 transitions, 240 flow [2023-11-22 16:41:23,037 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 66 transitions, 234 flow, removed 3 selfloop flow, removed 0 redundant places. [2023-11-22 16:41:23,039 INFO L231 Difference]: Finished difference. Result has 73 places, 66 transitions, 156 flow [2023-11-22 16:41:23,039 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=70, PETRI_DIFFERENCE_MINUEND_FLOW=154, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=66, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=65, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=156, PETRI_PLACES=73, PETRI_TRANSITIONS=66} [2023-11-22 16:41:23,041 INFO L281 CegarLoopForPetriNet]: 75 programPoint places, -2 predicate places. [2023-11-22 16:41:23,041 INFO L495 AbstractCegarLoop]: Abstraction has has 73 places, 66 transitions, 156 flow [2023-11-22 16:41:23,041 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 28.0) internal successors, (84), 3 states have internal predecessors, (84), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:23,041 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:23,041 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:41:23,041 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10 [2023-11-22 16:41:23,042 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-22 16:41:23,042 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:23,042 INFO L85 PathProgramCache]: Analyzing trace with hash 349998, now seen corresponding path program 1 times [2023-11-22 16:41:23,042 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:23,042 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [285496092] [2023-11-22 16:41:23,042 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:23,042 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:23,049 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:23,079 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:23,088 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:23,088 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [285496092] [2023-11-22 16:41:23,088 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [285496092] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:23,088 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:23,088 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:41:23,088 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [527001392] [2023-11-22 16:41:23,088 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:23,089 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:41:23,089 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:23,089 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:41:23,089 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:41:23,093 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 28 out of 70 [2023-11-22 16:41:23,094 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 73 places, 66 transitions, 156 flow. Second operand has 3 states, 3 states have (on average 29.0) internal successors, (87), 3 states have internal predecessors, (87), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:23,094 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:23,094 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 28 of 70 [2023-11-22 16:41:23,094 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:41:29,070 INFO L124 PetriNetUnfolderBase]: 72172/109068 cut-off events. [2023-11-22 16:41:29,070 INFO L125 PetriNetUnfolderBase]: For 2464/2464 co-relation queries the response was YES. [2023-11-22 16:41:29,442 INFO L83 FinitePrefix]: Finished finitePrefix Result has 203389 conditions, 109068 events. 72172/109068 cut-off events. For 2464/2464 co-relation queries the response was YES. Maximal size of possible extension queue 4272. Compared 930106 event pairs, 69712 based on Foata normal form. 7381/104803 useless extension candidates. Maximal degree in co-relation 203379. Up to 91854 conditions per place. [2023-11-22 16:41:29,862 INFO L140 encePairwiseOnDemand]: 68/70 looper letters, 38 selfloop transitions, 1 changer transitions 0/65 dead transitions. [2023-11-22 16:41:29,862 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 65 transitions, 232 flow [2023-11-22 16:41:29,862 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:41:29,862 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:41:29,863 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 124 transitions. [2023-11-22 16:41:29,863 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5904761904761905 [2023-11-22 16:41:29,863 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 124 transitions. [2023-11-22 16:41:29,863 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 124 transitions. [2023-11-22 16:41:29,863 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:41:29,863 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 124 transitions. [2023-11-22 16:41:29,864 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 41.333333333333336) internal successors, (124), 3 states have internal predecessors, (124), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:29,864 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 70.0) internal successors, (280), 4 states have internal predecessors, (280), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:29,864 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 70.0) internal successors, (280), 4 states have internal predecessors, (280), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:29,864 INFO L175 Difference]: Start difference. First operand has 73 places, 66 transitions, 156 flow. Second operand 3 states and 124 transitions. [2023-11-22 16:41:29,864 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 65 transitions, 232 flow [2023-11-22 16:41:29,865 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 65 transitions, 231 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-22 16:41:29,866 INFO L231 Difference]: Finished difference. Result has 73 places, 65 transitions, 155 flow [2023-11-22 16:41:29,866 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=70, PETRI_DIFFERENCE_MINUEND_FLOW=153, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=65, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=64, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=155, PETRI_PLACES=73, PETRI_TRANSITIONS=65} [2023-11-22 16:41:29,867 INFO L281 CegarLoopForPetriNet]: 75 programPoint places, -2 predicate places. [2023-11-22 16:41:29,867 INFO L495 AbstractCegarLoop]: Abstraction has has 73 places, 65 transitions, 155 flow [2023-11-22 16:41:29,867 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 29.0) internal successors, (87), 3 states have internal predecessors, (87), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:29,867 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:41:29,867 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 16:41:29,867 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-11-22 16:41:29,867 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-22 16:41:29,868 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:41:29,868 INFO L85 PathProgramCache]: Analyzing trace with hash 969572317, now seen corresponding path program 1 times [2023-11-22 16:41:29,868 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 16:41:29,868 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [871089784] [2023-11-22 16:41:29,868 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:41:29,868 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 16:41:29,877 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:41:29,938 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:41:29,939 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 16:41:29,939 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [871089784] [2023-11-22 16:41:29,939 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [871089784] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:41:29,939 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:41:29,939 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-22 16:41:29,939 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1114953223] [2023-11-22 16:41:29,940 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:41:29,940 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-11-22 16:41:29,940 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 16:41:29,940 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-11-22 16:41:29,940 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2023-11-22 16:41:29,948 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 70 [2023-11-22 16:41:29,949 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 73 places, 65 transitions, 155 flow. Second operand has 5 states, 5 states have (on average 22.8) internal successors, (114), 5 states have internal predecessors, (114), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:41:29,949 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:41:29,949 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 70 [2023-11-22 16:41:29,949 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand