./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-complex/safestack_relacy.i --full-output --preprocessor.use.memory.slicer true --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability 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/AutomizerReach.xml -i ../../../trunk/examples/svcomp/pthread-complex/safestack_relacy.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-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 ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1d61eb304445c3cb39dfadfa4748d680ea5f0f4958f8bc176e8bc3c77c47e674 --preprocessor.use.memory.slicer true --- Real Ultimate output --- This is Ultimate 0.2.3-dev-6ae2ee4-m [2023-11-22 21:52:54,534 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-22 21:52:54,597 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2023-11-22 21:52:54,602 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-22 21:52:54,602 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-22 21:52:54,626 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-22 21:52:54,627 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-22 21:52:54,627 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-22 21:52:54,628 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-22 21:52:54,631 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-22 21:52:54,631 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-22 21:52:54,631 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-22 21:52:54,632 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-22 21:52:54,633 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-22 21:52:54,633 INFO L153 SettingsManager]: * Use SBE=true [2023-11-22 21:52:54,634 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-22 21:52:54,634 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-22 21:52:54,634 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-22 21:52:54,634 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-22 21:52:54,634 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-22 21:52:54,635 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-22 21:52:54,636 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-22 21:52:54,636 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-22 21:52:54,636 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-22 21:52:54,637 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-22 21:52:54,637 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-22 21:52:54,637 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-22 21:52:54,638 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-22 21:52:54,638 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-22 21:52:54,638 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-22 21:52:54,639 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-22 21:52:54,639 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 21:52:54,639 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-22 21:52:54,639 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-22 21:52:54,639 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-22 21:52:54,640 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-22 21:52:54,640 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-22 21:52:54,640 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-22 21:52:54,640 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-22 21:52:54,640 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-22 21:52:54,641 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-22 21:52:54,641 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-22 21:52:54,641 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 ! call(reach_error())) ) 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 -> 1d61eb304445c3cb39dfadfa4748d680ea5f0f4958f8bc176e8bc3c77c47e674 Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> true [2023-11-22 21:52:54,914 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-22 21:52:54,930 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-22 21:52:54,933 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-22 21:52:54,934 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-22 21:52:54,934 INFO L274 PluginConnector]: CDTParser initialized [2023-11-22 21:52:54,935 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-complex/safestack_relacy.i [2023-11-22 21:52:56,024 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-22 21:52:56,311 INFO L384 CDTParser]: Found 1 translation units. [2023-11-22 21:52:56,312 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/safestack_relacy.i [2023-11-22 21:52:56,333 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b227b3666/8e7930ca4d174439b5a4576f8dc9b5c3/FLAG575f6eaf6 [2023-11-22 21:52:56,349 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b227b3666/8e7930ca4d174439b5a4576f8dc9b5c3 [2023-11-22 21:52:56,351 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-22 21:52:56,352 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-22 21:52:56,354 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-22 21:52:56,354 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-22 21:52:56,358 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-22 21:52:56,359 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 09:52:56" (1/1) ... [2023-11-22 21:52:56,359 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7ff5778d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:56, skipping insertion in model container [2023-11-22 21:52:56,360 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 09:52:56" (1/1) ... [2023-11-22 21:52:56,419 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-22 21:52:56,901 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/safestack_relacy.i[78860,78873] [2023-11-22 21:52:56,911 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 21:52:56,940 INFO L202 MainTranslator]: Completed pre-run [2023-11-22 21:52:57,017 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/safestack_relacy.i[78860,78873] [2023-11-22 21:52:57,020 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 21:52:57,090 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-22 21:52:57,090 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-22 21:52:57,096 INFO L206 MainTranslator]: Completed translation [2023-11-22 21:52:57,097 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57 WrapperNode [2023-11-22 21:52:57,097 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-22 21:52:57,098 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-22 21:52:57,098 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-22 21:52:57,098 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-22 21:52:57,110 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,128 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,151 INFO L138 Inliner]: procedures = 481, calls = 74, calls flagged for inlining = 19, calls inlined = 19, statements flattened = 285 [2023-11-22 21:52:57,151 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-22 21:52:57,152 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-22 21:52:57,152 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-22 21:52:57,152 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-22 21:52:57,160 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,160 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,164 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,182 INFO L189 HeapSplitter]: Split 48 memory accesses to 4 slices as follows [2, 5, 34, 7] [2023-11-22 21:52:57,182 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,182 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,209 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,212 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,215 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,217 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,250 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-22 21:52:57,251 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-22 21:52:57,251 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-22 21:52:57,251 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-22 21:52:57,252 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (1/1) ... [2023-11-22 21:52:57,256 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 21:52:57,265 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 21:52:57,277 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 21:52:57,302 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 21:52:57,332 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-22 21:52:57,332 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-22 21:52:57,332 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-22 21:52:57,332 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-22 21:52:57,333 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-22 21:52:57,334 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-22 21:52:57,334 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-22 21:52:57,334 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-22 21:52:57,334 INFO L130 BoogieDeclarations]: Found specification of procedure thread [2023-11-22 21:52:57,334 INFO L138 BoogieDeclarations]: Found implementation of procedure thread [2023-11-22 21:52:57,335 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-22 21:52:57,335 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-22 21:52:57,335 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-22 21:52:57,335 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-22 21:52:57,335 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-22 21:52:57,335 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-22 21:52:57,336 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-22 21:52:57,336 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-22 21:52:57,337 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-22 21:52:57,337 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-22 21:52:57,337 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-22 21:52:57,338 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 21:52:57,665 INFO L241 CfgBuilder]: Building ICFG [2023-11-22 21:52:57,667 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-22 21:52:57,925 INFO L282 CfgBuilder]: Performing block encoding [2023-11-22 21:52:58,064 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-22 21:52:58,064 INFO L309 CfgBuilder]: Removed 7 assume(true) statements. [2023-11-22 21:52:58,065 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 09:52:58 BoogieIcfgContainer [2023-11-22 21:52:58,066 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-22 21:52:58,067 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-22 21:52:58,067 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-22 21:52:58,070 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-22 21:52:58,070 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 22.11 09:52:56" (1/3) ... [2023-11-22 21:52:58,071 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6733c829 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 09:52:58, skipping insertion in model container [2023-11-22 21:52:58,071 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 09:52:57" (2/3) ... [2023-11-22 21:52:58,072 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6733c829 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 09:52:58, skipping insertion in model container [2023-11-22 21:52:58,072 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 09:52:58" (3/3) ... [2023-11-22 21:52:58,073 INFO L112 eAbstractionObserver]: Analyzing ICFG safestack_relacy.i [2023-11-22 21:52:58,079 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-11-22 21:52:58,086 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-22 21:52:58,086 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-22 21:52:58,086 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-22 21:52:58,138 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-11-22 21:52:58,166 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 54 places, 63 transitions, 133 flow [2023-11-22 21:52:58,215 INFO L124 PetriNetUnfolderBase]: 12/67 cut-off events. [2023-11-22 21:52:58,215 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-22 21:52:58,219 INFO L83 FinitePrefix]: Finished finitePrefix Result has 72 conditions, 67 events. 12/67 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 128 event pairs, 0 based on Foata normal form. 0/51 useless extension candidates. Maximal degree in co-relation 48. Up to 3 conditions per place. [2023-11-22 21:52:58,219 INFO L82 GeneralOperation]: Start removeDead. Operand has 54 places, 63 transitions, 133 flow [2023-11-22 21:52:58,223 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 53 places, 61 transitions, 126 flow [2023-11-22 21:52:58,234 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 21:52:58,241 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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;@77aed8b8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 21:52:58,241 INFO L358 AbstractCegarLoop]: Starting to check reachability of 3 error locations. [2023-11-22 21:52:58,249 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 21:52:58,249 INFO L124 PetriNetUnfolderBase]: 1/24 cut-off events. [2023-11-22 21:52:58,250 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 21:52:58,250 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 21:52:58,250 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 21:52:58,251 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, threadErr0ASSERT_VIOLATIONERROR_FUNCTION, threadErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-11-22 21:52:58,255 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 21:52:58,256 INFO L85 PathProgramCache]: Analyzing trace with hash -1663881588, now seen corresponding path program 1 times [2023-11-22 21:52:58,262 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 21:52:58,262 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2093339539] [2023-11-22 21:52:58,263 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 21:52:58,263 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 21:52:58,410 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 21:52:58,674 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-22 21:52:58,674 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 21:52:58,674 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2093339539] [2023-11-22 21:52:58,675 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2093339539] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 21:52:58,675 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 21:52:58,675 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-22 21:52:58,677 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [447855445] [2023-11-22 21:52:58,678 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 21:52:58,684 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-22 21:52:58,688 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 21:52:58,707 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-22 21:52:58,707 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-11-22 21:52:58,708 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 7 out of 63 [2023-11-22 21:52:58,710 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 53 places, 61 transitions, 126 flow. Second operand has 4 states, 4 states have (on average 9.75) internal successors, (39), 4 states have internal predecessors, (39), 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 21:52:58,710 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 21:52:58,710 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 7 of 63 [2023-11-22 21:52:58,711 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 21:52:58,904 INFO L124 PetriNetUnfolderBase]: 182/404 cut-off events. [2023-11-22 21:52:58,904 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 21:52:58,906 INFO L83 FinitePrefix]: Finished finitePrefix Result has 776 conditions, 404 events. 182/404 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1409 event pairs, 145 based on Foata normal form. 6/311 useless extension candidates. Maximal degree in co-relation 732. Up to 355 conditions per place. [2023-11-22 21:52:58,910 INFO L140 encePairwiseOnDemand]: 54/63 looper letters, 49 selfloop transitions, 4 changer transitions 0/60 dead transitions. [2023-11-22 21:52:58,910 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 56 places, 60 transitions, 230 flow [2023-11-22 21:52:58,911 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-22 21:52:58,913 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-11-22 21:52:58,919 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 86 transitions. [2023-11-22 21:52:58,921 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.3412698412698413 [2023-11-22 21:52:58,921 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 86 transitions. [2023-11-22 21:52:58,922 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 86 transitions. [2023-11-22 21:52:58,922 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 21:52:58,924 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 86 transitions. [2023-11-22 21:52:58,926 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 21.5) internal successors, (86), 4 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 21:52:58,930 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 63.0) internal successors, (315), 5 states have internal predecessors, (315), 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 21:52:58,930 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 63.0) internal successors, (315), 5 states have internal predecessors, (315), 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 21:52:58,931 INFO L175 Difference]: Start difference. First operand has 53 places, 61 transitions, 126 flow. Second operand 4 states and 86 transitions. [2023-11-22 21:52:58,932 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 56 places, 60 transitions, 230 flow [2023-11-22 21:52:58,934 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 56 places, 60 transitions, 230 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-22 21:52:58,940 INFO L231 Difference]: Finished difference. Result has 57 places, 58 transitions, 134 flow [2023-11-22 21:52:58,941 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=63, PETRI_DIFFERENCE_MINUEND_FLOW=118, PETRI_DIFFERENCE_MINUEND_PLACES=53, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=57, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=53, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=134, PETRI_PLACES=57, PETRI_TRANSITIONS=58} [2023-11-22 21:52:58,944 INFO L281 CegarLoopForPetriNet]: 53 programPoint places, 4 predicate places. [2023-11-22 21:52:58,944 INFO L495 AbstractCegarLoop]: Abstraction has has 57 places, 58 transitions, 134 flow [2023-11-22 21:52:58,944 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 9.75) internal successors, (39), 4 states have internal predecessors, (39), 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 21:52:58,944 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 21:52:58,944 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 21:52:58,945 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-22 21:52:58,945 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, threadErr0ASSERT_VIOLATIONERROR_FUNCTION, threadErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-11-22 21:52:58,945 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 21:52:58,945 INFO L85 PathProgramCache]: Analyzing trace with hash -247466052, now seen corresponding path program 1 times [2023-11-22 21:52:58,946 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 21:52:58,946 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [67368660] [2023-11-22 21:52:58,946 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 21:52:58,946 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 21:52:58,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 21:52:59,116 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-22 21:52:59,117 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 21:52:59,117 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [67368660] [2023-11-22 21:52:59,117 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [67368660] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-22 21:52:59,118 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [2094257875] [2023-11-22 21:52:59,118 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 21:52:59,118 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-22 21:52:59,118 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 21:52:59,119 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-22 21:52:59,150 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-11-22 21:52:59,240 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 21:52:59,242 INFO L262 TraceCheckSpWp]: Trace formula consists of 158 conjuncts, 5 conjunts are in the unsatisfiable core [2023-11-22 21:52:59,246 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 21:52:59,313 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-22 21:52:59,314 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-22 21:52:59,345 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-11-22 21:52:59,345 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [2094257875] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-22 21:52:59,345 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-22 21:52:59,346 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4, 4] total 9 [2023-11-22 21:52:59,347 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1761255617] [2023-11-22 21:52:59,347 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-22 21:52:59,348 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 10 states [2023-11-22 21:52:59,349 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 21:52:59,349 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2023-11-22 21:52:59,350 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=36, Invalid=54, Unknown=0, NotChecked=0, Total=90 [2023-11-22 21:52:59,350 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 7 out of 63 [2023-11-22 21:52:59,351 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 57 places, 58 transitions, 134 flow. Second operand has 10 states, 10 states have (on average 9.8) internal successors, (98), 10 states have internal predecessors, (98), 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 21:52:59,351 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 21:52:59,353 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 7 of 63 [2023-11-22 21:52:59,353 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 21:52:59,501 INFO L124 PetriNetUnfolderBase]: 182/405 cut-off events. [2023-11-22 21:52:59,502 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-22 21:52:59,503 INFO L83 FinitePrefix]: Finished finitePrefix Result has 787 conditions, 405 events. 182/405 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1405 event pairs, 145 based on Foata normal form. 1/308 useless extension candidates. Maximal degree in co-relation 750. Up to 355 conditions per place. [2023-11-22 21:52:59,504 INFO L140 encePairwiseOnDemand]: 57/63 looper letters, 48 selfloop transitions, 6 changer transitions 0/61 dead transitions. [2023-11-22 21:52:59,504 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 61 places, 61 transitions, 248 flow [2023-11-22 21:52:59,504 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-11-22 21:52:59,504 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2023-11-22 21:52:59,505 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 90 transitions. [2023-11-22 21:52:59,505 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.2857142857142857 [2023-11-22 21:52:59,505 INFO L72 ComplementDD]: Start complementDD. Operand 5 states and 90 transitions. [2023-11-22 21:52:59,506 INFO L73 IsDeterministic]: Start isDeterministic. Operand 5 states and 90 transitions. [2023-11-22 21:52:59,506 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 21:52:59,506 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 5 states and 90 transitions. [2023-11-22 21:52:59,507 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 6 states, 5 states have (on average 18.0) internal successors, (90), 5 states have internal predecessors, (90), 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 21:52:59,507 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 6 states, 6 states have (on average 63.0) internal successors, (378), 6 states have internal predecessors, (378), 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 21:52:59,508 INFO L81 ComplementDD]: Finished complementDD. Result has 6 states, 6 states have (on average 63.0) internal successors, (378), 6 states have internal predecessors, (378), 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 21:52:59,508 INFO L175 Difference]: Start difference. First operand has 57 places, 58 transitions, 134 flow. Second operand 5 states and 90 transitions. [2023-11-22 21:52:59,508 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 61 places, 61 transitions, 248 flow [2023-11-22 21:52:59,509 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 59 places, 61 transitions, 242 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-22 21:52:59,510 INFO L231 Difference]: Finished difference. Result has 61 places, 59 transitions, 154 flow [2023-11-22 21:52:59,510 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=63, PETRI_DIFFERENCE_MINUEND_FLOW=128, PETRI_DIFFERENCE_MINUEND_PLACES=55, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=58, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=5, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=52, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=154, PETRI_PLACES=61, PETRI_TRANSITIONS=59} [2023-11-22 21:52:59,511 INFO L281 CegarLoopForPetriNet]: 53 programPoint places, 8 predicate places. [2023-11-22 21:52:59,511 INFO L495 AbstractCegarLoop]: Abstraction has has 61 places, 59 transitions, 154 flow [2023-11-22 21:52:59,511 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 10 states, 10 states have (on average 9.8) internal successors, (98), 10 states have internal predecessors, (98), 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 21:52:59,511 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 21:52:59,511 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 21:52:59,541 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2023-11-22 21:52:59,723 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-22 21:52:59,724 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, threadErr0ASSERT_VIOLATIONERROR_FUNCTION, threadErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-11-22 21:52:59,724 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 21:52:59,724 INFO L85 PathProgramCache]: Analyzing trace with hash -1865916276, now seen corresponding path program 2 times [2023-11-22 21:52:59,725 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 21:52:59,725 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [693376420] [2023-11-22 21:52:59,725 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 21:52:59,725 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 21:52:59,757 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 21:52:59,757 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 21:52:59,774 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 21:52:59,797 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 21:52:59,798 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 21:52:59,799 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 3 remaining) [2023-11-22 21:52:59,800 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location threadErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 3 remaining) [2023-11-22 21:52:59,800 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location threadErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 3 remaining) [2023-11-22 21:52:59,800 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-22 21:52:59,800 INFO L445 BasicCegarLoop]: Path program histogram: [2, 1] [2023-11-22 21:52:59,803 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 21:52:59,803 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-22 21:52:59,867 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-11-22 21:52:59,871 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 90 places, 108 transitions, 232 flow [2023-11-22 21:52:59,897 INFO L124 PetriNetUnfolderBase]: 24/123 cut-off events. [2023-11-22 21:52:59,897 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2023-11-22 21:52:59,900 INFO L83 FinitePrefix]: Finished finitePrefix Result has 135 conditions, 123 events. 24/123 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 414 event pairs, 0 based on Foata normal form. 0/93 useless extension candidates. Maximal degree in co-relation 96. Up to 6 conditions per place. [2023-11-22 21:52:59,900 INFO L82 GeneralOperation]: Start removeDead. Operand has 90 places, 108 transitions, 232 flow [2023-11-22 21:52:59,901 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 90 places, 108 transitions, 232 flow [2023-11-22 21:52:59,902 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 21:52:59,906 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=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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;@77aed8b8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 21:52:59,906 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-22 21:52:59,910 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 21:52:59,910 INFO L124 PetriNetUnfolderBase]: 4/44 cut-off events. [2023-11-22 21:52:59,910 INFO L125 PetriNetUnfolderBase]: For 3/3 co-relation queries the response was YES. [2023-11-22 21:52:59,910 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 21:52:59,911 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 21:52:59,911 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, threadErr0ASSERT_VIOLATIONERROR_FUNCTION, threadErr0ASSERT_VIOLATIONERROR_FUNCTION (and 1 more)] === [2023-11-22 21:52:59,911 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 21:52:59,911 INFO L85 PathProgramCache]: Analyzing trace with hash 1326147582, now seen corresponding path program 1 times [2023-11-22 21:52:59,912 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 21:52:59,912 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1584140517] [2023-11-22 21:52:59,912 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 21:52:59,912 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 21:52:59,928 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 21:52:59,998 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2023-11-22 21:52:59,999 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 21:52:59,999 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1584140517] [2023-11-22 21:52:59,999 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1584140517] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 21:52:59,999 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 21:52:59,999 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-22 21:53:00,000 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2117319720] [2023-11-22 21:53:00,000 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 21:53:00,001 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-22 21:53:00,001 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 21:53:00,001 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-22 21:53:00,001 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-11-22 21:53:00,002 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 13 out of 108 [2023-11-22 21:53:00,002 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 90 places, 108 transitions, 232 flow. Second operand has 4 states, 4 states have (on average 16.0) internal successors, (64), 4 states have internal predecessors, (64), 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 21:53:00,002 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 21:53:00,002 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 13 of 108 [2023-11-22 21:53:00,002 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 21:53:01,588 INFO L124 PetriNetUnfolderBase]: 12511/19356 cut-off events. [2023-11-22 21:53:01,588 INFO L125 PetriNetUnfolderBase]: For 260/260 co-relation queries the response was YES. [2023-11-22 21:53:01,621 INFO L83 FinitePrefix]: Finished finitePrefix Result has 37916 conditions, 19356 events. 12511/19356 cut-off events. For 260/260 co-relation queries the response was YES. Maximal size of possible extension queue 390. Compared 115965 event pairs, 10774 based on Foata normal form. 395/15619 useless extension candidates. Maximal degree in co-relation 33123. Up to 18390 conditions per place. [2023-11-22 21:53:01,705 INFO L140 encePairwiseOnDemand]: 95/108 looper letters, 86 selfloop transitions, 4 changer transitions 0/103 dead transitions. [2023-11-22 21:53:01,705 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 93 places, 103 transitions, 402 flow [2023-11-22 21:53:01,706 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-22 21:53:01,706 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-11-22 21:53:01,708 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 151 transitions. [2023-11-22 21:53:01,709 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.34953703703703703 [2023-11-22 21:53:01,709 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 151 transitions. [2023-11-22 21:53:01,709 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 151 transitions. [2023-11-22 21:53:01,710 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 21:53:01,710 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 151 transitions. [2023-11-22 21:53:01,712 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 37.75) internal successors, (151), 4 states have internal predecessors, (151), 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 21:53:01,713 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 108.0) internal successors, (540), 5 states have internal predecessors, (540), 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 21:53:01,714 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 108.0) internal successors, (540), 5 states have internal predecessors, (540), 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 21:53:01,714 INFO L175 Difference]: Start difference. First operand has 90 places, 108 transitions, 232 flow. Second operand 4 states and 151 transitions. [2023-11-22 21:53:01,714 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 93 places, 103 transitions, 402 flow [2023-11-22 21:53:01,715 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 93 places, 103 transitions, 402 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-22 21:53:01,717 INFO L231 Difference]: Finished difference. Result has 94 places, 101 transitions, 232 flow [2023-11-22 21:53:01,717 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=108, PETRI_DIFFERENCE_MINUEND_FLOW=216, PETRI_DIFFERENCE_MINUEND_PLACES=90, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=100, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=96, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=232, PETRI_PLACES=94, PETRI_TRANSITIONS=101} [2023-11-22 21:53:01,720 INFO L281 CegarLoopForPetriNet]: 90 programPoint places, 4 predicate places. [2023-11-22 21:53:01,720 INFO L495 AbstractCegarLoop]: Abstraction has has 94 places, 101 transitions, 232 flow [2023-11-22 21:53:01,720 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 16.0) internal successors, (64), 4 states have internal predecessors, (64), 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 21:53:01,720 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 21:53:01,720 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 21:53:01,721 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-22 21:53:01,721 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, threadErr0ASSERT_VIOLATIONERROR_FUNCTION, threadErr0ASSERT_VIOLATIONERROR_FUNCTION (and 1 more)] === [2023-11-22 21:53:01,721 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 21:53:01,721 INFO L85 PathProgramCache]: Analyzing trace with hash -1482024006, now seen corresponding path program 1 times [2023-11-22 21:53:01,721 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 21:53:01,722 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1952335592] [2023-11-22 21:53:01,722 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 21:53:01,722 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 21:53:01,741 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 21:53:01,819 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2023-11-22 21:53:01,819 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 21:53:01,820 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1952335592] [2023-11-22 21:53:01,823 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1952335592] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-22 21:53:01,824 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [709363620] [2023-11-22 21:53:01,824 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 21:53:01,824 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-22 21:53:01,824 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 21:53:01,825 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-22 21:53:01,856 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-11-22 21:53:01,966 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 21:53:01,968 INFO L262 TraceCheckSpWp]: Trace formula consists of 175 conjuncts, 5 conjunts are in the unsatisfiable core [2023-11-22 21:53:01,969 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 21:53:02,011 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2023-11-22 21:53:02,012 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-22 21:53:02,036 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2023-11-22 21:53:02,036 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [709363620] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-22 21:53:02,037 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-22 21:53:02,037 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4, 4] total 9 [2023-11-22 21:53:02,037 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1290934759] [2023-11-22 21:53:02,037 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-22 21:53:02,037 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 10 states [2023-11-22 21:53:02,038 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 21:53:02,038 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2023-11-22 21:53:02,038 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=36, Invalid=54, Unknown=0, NotChecked=0, Total=90 [2023-11-22 21:53:02,039 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 13 out of 108 [2023-11-22 21:53:02,039 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 94 places, 101 transitions, 232 flow. Second operand has 10 states, 10 states have (on average 15.9) internal successors, (159), 10 states have internal predecessors, (159), 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 21:53:02,039 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 21:53:02,039 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 13 of 108 [2023-11-22 21:53:02,039 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 21:53:03,691 INFO L124 PetriNetUnfolderBase]: 12511/19357 cut-off events. [2023-11-22 21:53:03,691 INFO L125 PetriNetUnfolderBase]: For 261/261 co-relation queries the response was YES. [2023-11-22 21:53:03,734 INFO L83 FinitePrefix]: Finished finitePrefix Result has 37927 conditions, 19357 events. 12511/19357 cut-off events. For 261/261 co-relation queries the response was YES. Maximal size of possible extension queue 392. Compared 115962 event pairs, 10774 based on Foata normal form. 1/15227 useless extension candidates. Maximal degree in co-relation 37889. Up to 18390 conditions per place. [2023-11-22 21:53:03,805 INFO L140 encePairwiseOnDemand]: 102/108 looper letters, 85 selfloop transitions, 6 changer transitions 0/104 dead transitions. [2023-11-22 21:53:03,805 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 98 places, 104 transitions, 420 flow [2023-11-22 21:53:03,806 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-11-22 21:53:03,806 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2023-11-22 21:53:03,807 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 157 transitions. [2023-11-22 21:53:03,807 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.29074074074074074 [2023-11-22 21:53:03,807 INFO L72 ComplementDD]: Start complementDD. Operand 5 states and 157 transitions. [2023-11-22 21:53:03,807 INFO L73 IsDeterministic]: Start isDeterministic. Operand 5 states and 157 transitions. [2023-11-22 21:53:03,807 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 21:53:03,808 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 5 states and 157 transitions. [2023-11-22 21:53:03,808 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 6 states, 5 states have (on average 31.4) internal successors, (157), 5 states have internal predecessors, (157), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 21:53:03,809 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 6 states, 6 states have (on average 108.0) internal successors, (648), 6 states have internal predecessors, (648), 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 21:53:03,809 INFO L81 ComplementDD]: Finished complementDD. Result has 6 states, 6 states have (on average 108.0) internal successors, (648), 6 states have internal predecessors, (648), 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 21:53:03,809 INFO L175 Difference]: Start difference. First operand has 94 places, 101 transitions, 232 flow. Second operand 5 states and 157 transitions. [2023-11-22 21:53:03,810 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 98 places, 104 transitions, 420 flow [2023-11-22 21:53:03,811 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 96 places, 104 transitions, 414 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-22 21:53:03,812 INFO L231 Difference]: Finished difference. Result has 98 places, 102 transitions, 252 flow [2023-11-22 21:53:03,813 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=108, PETRI_DIFFERENCE_MINUEND_FLOW=226, PETRI_DIFFERENCE_MINUEND_PLACES=92, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=101, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=5, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=95, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=252, PETRI_PLACES=98, PETRI_TRANSITIONS=102} [2023-11-22 21:53:03,813 INFO L281 CegarLoopForPetriNet]: 90 programPoint places, 8 predicate places. [2023-11-22 21:53:03,813 INFO L495 AbstractCegarLoop]: Abstraction has has 98 places, 102 transitions, 252 flow [2023-11-22 21:53:03,814 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 10 states, 10 states have (on average 15.9) internal successors, (159), 10 states have internal predecessors, (159), 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 21:53:03,814 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 21:53:03,814 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 21:53:03,844 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2023-11-22 21:53:04,027 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4,3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-22 21:53:04,027 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, threadErr0ASSERT_VIOLATIONERROR_FUNCTION, threadErr0ASSERT_VIOLATIONERROR_FUNCTION (and 1 more)] === [2023-11-22 21:53:04,028 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 21:53:04,028 INFO L85 PathProgramCache]: Analyzing trace with hash 1946156670, now seen corresponding path program 2 times [2023-11-22 21:53:04,028 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 21:53:04,028 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1838087639] [2023-11-22 21:53:04,029 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 21:53:04,029 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 21:53:04,052 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 21:53:04,052 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 21:53:04,064 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 21:53:04,090 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 21:53:04,091 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 21:53:04,091 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2023-11-22 21:53:04,091 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location threadErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 4 remaining) [2023-11-22 21:53:04,091 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location threadErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 4 remaining) [2023-11-22 21:53:04,091 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location threadErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-11-22 21:53:04,092 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-22 21:53:04,092 INFO L445 BasicCegarLoop]: Path program histogram: [2, 1] [2023-11-22 21:53:04,092 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 21:53:04,092 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-22 21:53:04,172 INFO L144 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2023-11-22 21:53:04,174 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 126 places, 153 transitions, 333 flow [2023-11-22 21:53:04,192 INFO L124 PetriNetUnfolderBase]: 39/190 cut-off events. [2023-11-22 21:53:04,193 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2023-11-22 21:53:04,194 INFO L83 FinitePrefix]: Finished finitePrefix Result has 215 conditions, 190 events. 39/190 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 777 event pairs, 1 based on Foata normal form. 0/144 useless extension candidates. Maximal degree in co-relation 151. Up to 12 conditions per place. [2023-11-22 21:53:04,195 INFO L82 GeneralOperation]: Start removeDead. Operand has 126 places, 153 transitions, 333 flow [2023-11-22 21:53:04,196 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 126 places, 153 transitions, 333 flow [2023-11-22 21:53:04,197 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 21:53:04,198 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=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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;@77aed8b8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 21:53:04,198 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-22 21:53:04,202 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 21:53:04,202 INFO L124 PetriNetUnfolderBase]: 6/48 cut-off events. [2023-11-22 21:53:04,202 INFO L125 PetriNetUnfolderBase]: For 5/5 co-relation queries the response was YES. [2023-11-22 21:53:04,202 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 21:53:04,202 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 21:53:04,203 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting threadErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, threadErr0ASSERT_VIOLATIONERROR_FUNCTION, threadErr0ASSERT_VIOLATIONERROR_FUNCTION (and 2 more)] === [2023-11-22 21:53:04,203 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 21:53:04,203 INFO L85 PathProgramCache]: Analyzing trace with hash 236556307, now seen corresponding path program 1 times [2023-11-22 21:53:04,203 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 21:53:04,203 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1753989644] [2023-11-22 21:53:04,203 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 21:53:04,204 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 21:53:04,217 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 21:53:04,294 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 21:53:04,294 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 21:53:04,294 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1753989644] [2023-11-22 21:53:04,296 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1753989644] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 21:53:04,296 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 21:53:04,296 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-22 21:53:04,296 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1862469203] [2023-11-22 21:53:04,297 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 21:53:04,297 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-22 21:53:04,298 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 21:53:04,298 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-22 21:53:04,298 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-11-22 21:53:04,299 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 19 out of 153 [2023-11-22 21:53:04,299 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 126 places, 153 transitions, 333 flow. Second operand has 4 states, 4 states have (on average 22.75) internal successors, (91), 4 states have internal predecessors, (91), 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 21:53:04,299 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 21:53:04,299 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 19 of 153 [2023-11-22 21:53:04,299 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand