./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-ext/35_double_lock_p3_vs-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version a340643f 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-ext/35_double_lock_p3_vs-pthread.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 8f8226cdfe97f42edd1b15fbab303246bf7577cc25c46c21444e4109afadd604 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-a340643-m [2024-01-27 15:09:00,861 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-01-27 15:09:00,963 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-01-27 15:09:00,967 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-01-27 15:09:00,968 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-01-27 15:09:00,994 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-01-27 15:09:00,996 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-01-27 15:09:00,996 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-01-27 15:09:00,997 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-01-27 15:09:01,000 INFO L153 SettingsManager]: * Use memory slicer=true [2024-01-27 15:09:01,000 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-01-27 15:09:01,000 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-01-27 15:09:01,001 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-01-27 15:09:01,002 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-01-27 15:09:01,002 INFO L153 SettingsManager]: * Use SBE=true [2024-01-27 15:09:01,002 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-01-27 15:09:01,002 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-01-27 15:09:01,003 INFO L153 SettingsManager]: * sizeof long=4 [2024-01-27 15:09:01,003 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-01-27 15:09:01,003 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-01-27 15:09:01,003 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-01-27 15:09:01,004 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-01-27 15:09:01,004 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-01-27 15:09:01,004 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-01-27 15:09:01,004 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-01-27 15:09:01,004 INFO L153 SettingsManager]: * sizeof long double=12 [2024-01-27 15:09:01,005 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-01-27 15:09:01,005 INFO L153 SettingsManager]: * Use constant arrays=true [2024-01-27 15:09:01,005 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-01-27 15:09:01,006 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-01-27 15:09:01,006 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-01-27 15:09:01,007 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-01-27 15:09:01,007 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-27 15:09:01,007 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-01-27 15:09:01,007 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-01-27 15:09:01,007 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-01-27 15:09:01,007 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-01-27 15:09:01,008 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-01-27 15:09:01,008 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-01-27 15:09:01,008 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-01-27 15:09:01,008 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-01-27 15:09:01,009 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-01-27 15:09:01,009 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-01-27 15:09:01,009 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 -> 8f8226cdfe97f42edd1b15fbab303246bf7577cc25c46c21444e4109afadd604 [2024-01-27 15:09:01,207 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-01-27 15:09:01,230 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-01-27 15:09:01,232 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-01-27 15:09:01,233 INFO L270 PluginConnector]: Initializing CDTParser... [2024-01-27 15:09:01,233 INFO L274 PluginConnector]: CDTParser initialized [2024-01-27 15:09:01,234 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/35_double_lock_p3_vs-pthread.i [2024-01-27 15:09:02,313 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-01-27 15:09:02,519 INFO L384 CDTParser]: Found 1 translation units. [2024-01-27 15:09:02,519 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/35_double_lock_p3_vs-pthread.i [2024-01-27 15:09:02,529 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/53e69cb1f/d15fd15f6b674ae78d942a0e6c4b1ddc/FLAG129d495b8 [2024-01-27 15:09:02,540 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/53e69cb1f/d15fd15f6b674ae78d942a0e6c4b1ddc [2024-01-27 15:09:02,543 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-01-27 15:09:02,544 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-01-27 15:09:02,546 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-01-27 15:09:02,546 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-01-27 15:09:02,549 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-01-27 15:09:02,550 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,551 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@74f74165 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02, skipping insertion in model container [2024-01-27 15:09:02,551 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,578 INFO L177 MainTranslator]: Built tables and reachable declarations [2024-01-27 15:09:02,789 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/35_double_lock_p3_vs-pthread.i[30711,30724] [2024-01-27 15:09:02,799 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-27 15:09:02,816 INFO L202 MainTranslator]: Completed pre-run [2024-01-27 15:09:02,853 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/35_double_lock_p3_vs-pthread.i[30711,30724] [2024-01-27 15:09:02,863 INFO L209 PostProcessor]: Analyzing one entry point: main [2024-01-27 15:09:02,895 INFO L206 MainTranslator]: Completed translation [2024-01-27 15:09:02,896 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02 WrapperNode [2024-01-27 15:09:02,896 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-01-27 15:09:02,897 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-01-27 15:09:02,897 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-01-27 15:09:02,897 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-01-27 15:09:02,902 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,921 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,940 INFO L138 Inliner]: procedures = 165, calls = 25, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 69 [2024-01-27 15:09:02,941 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-01-27 15:09:02,941 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-01-27 15:09:02,941 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-01-27 15:09:02,942 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-01-27 15:09:02,950 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,951 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,963 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,973 INFO L175 MemorySlicer]: Split 9 memory accesses to 3 slices as follows [2, 5, 2]. 56 percent of accesses are in the largest equivalence class. The 7 initializations are split as follows [2, 5, 0]. The 2 writes are split as follows [0, 0, 2]. [2024-01-27 15:09:02,980 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,980 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,983 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,991 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,993 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:02,995 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:03,003 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-01-27 15:09:03,003 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-01-27 15:09:03,003 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-01-27 15:09:03,004 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-01-27 15:09:03,004 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (1/1) ... [2024-01-27 15:09:03,013 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-01-27 15:09:03,023 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-01-27 15:09:03,045 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-01-27 15:09:03,050 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-01-27 15:09:03,105 INFO L130 BoogieDeclarations]: Found specification of procedure thr2 [2024-01-27 15:09:03,105 INFO L138 BoogieDeclarations]: Found implementation of procedure thr2 [2024-01-27 15:09:03,105 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-01-27 15:09:03,105 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-01-27 15:09:03,106 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-01-27 15:09:03,106 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-01-27 15:09:03,107 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-01-27 15:09:03,107 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-01-27 15:09:03,108 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-01-27 15:09:03,108 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-01-27 15:09:03,108 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-01-27 15:09:03,108 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-01-27 15:09:03,108 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-01-27 15:09:03,122 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-01-27 15:09:03,123 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-01-27 15:09:03,126 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-01-27 15:09:03,126 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-01-27 15:09:03,128 WARN L214 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2024-01-27 15:09:03,221 INFO L244 CfgBuilder]: Building ICFG [2024-01-27 15:09:03,224 INFO L270 CfgBuilder]: Building CFG for each procedure with an implementation [2024-01-27 15:09:03,332 INFO L289 CfgBuilder]: Ommited future-live optimization because the input is a concurrent program. [2024-01-27 15:09:03,332 INFO L293 CfgBuilder]: Performing block encoding [2024-01-27 15:09:03,424 INFO L315 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-01-27 15:09:03,424 INFO L320 CfgBuilder]: Removed 2 assume(true) statements. [2024-01-27 15:09:03,424 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.01 03:09:03 BoogieIcfgContainer [2024-01-27 15:09:03,424 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-01-27 15:09:03,426 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-01-27 15:09:03,426 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-01-27 15:09:03,432 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-01-27 15:09:03,433 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 27.01 03:09:02" (1/3) ... [2024-01-27 15:09:03,433 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2534fbc6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 27.01 03:09:03, skipping insertion in model container [2024-01-27 15:09:03,433 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.01 03:09:02" (2/3) ... [2024-01-27 15:09:03,434 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2534fbc6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 27.01 03:09:03, skipping insertion in model container [2024-01-27 15:09:03,434 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.01 03:09:03" (3/3) ... [2024-01-27 15:09:03,435 INFO L112 eAbstractionObserver]: Analyzing ICFG 35_double_lock_p3_vs-pthread.i [2024-01-27 15:09:03,441 WARN L146 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2024-01-27 15:09:03,448 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-01-27 15:09:03,448 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-01-27 15:09:03,449 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-01-27 15:09:03,476 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-27 15:09:03,518 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 35 places, 32 transitions, 72 flow [2024-01-27 15:09:03,548 INFO L124 PetriNetUnfolderBase]: 3/33 cut-off events. [2024-01-27 15:09:03,553 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-01-27 15:09:03,557 INFO L83 FinitePrefix]: Finished finitePrefix Result has 40 conditions, 33 events. 3/33 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 67 event pairs, 0 based on Foata normal form. 0/27 useless extension candidates. Maximal degree in co-relation 33. Up to 2 conditions per place. [2024-01-27 15:09:03,557 INFO L82 GeneralOperation]: Start removeDead. Operand has 35 places, 32 transitions, 72 flow [2024-01-27 15:09:03,564 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 34 places, 31 transitions, 69 flow [2024-01-27 15:09:03,575 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-27 15:09:03,587 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;@20ca4af0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-27 15:09:03,587 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-01-27 15:09:03,601 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-27 15:09:03,603 INFO L124 PetriNetUnfolderBase]: 1/22 cut-off events. [2024-01-27 15:09:03,603 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-01-27 15:09:03,603 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-27 15:09:03,604 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1] [2024-01-27 15:09:03,605 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-01-27 15:09:03,609 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-27 15:09:03,610 INFO L85 PathProgramCache]: Analyzing trace with hash 1825786478, now seen corresponding path program 1 times [2024-01-27 15:09:03,616 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-27 15:09:03,617 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [126497625] [2024-01-27 15:09:03,617 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-27 15:09:03,617 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-27 15:09:03,731 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-27 15:09:03,731 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-01-27 15:09:03,762 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-27 15:09:03,792 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-01-27 15:09:03,793 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-01-27 15:09:03,794 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2024-01-27 15:09:03,796 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 4 remaining) [2024-01-27 15:09:03,796 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-01-27 15:09:03,796 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2024-01-27 15:09:03,797 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-01-27 15:09:03,797 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2024-01-27 15:09:03,799 WARN L234 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-01-27 15:09:03,799 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-01-27 15:09:03,822 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-27 15:09:03,824 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 61 places, 57 transitions, 134 flow [2024-01-27 15:09:03,833 INFO L124 PetriNetUnfolderBase]: 4/49 cut-off events. [2024-01-27 15:09:03,833 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-01-27 15:09:03,833 INFO L83 FinitePrefix]: Finished finitePrefix Result has 61 conditions, 49 events. 4/49 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 107 event pairs, 0 based on Foata normal form. 0/41 useless extension candidates. Maximal degree in co-relation 56. Up to 3 conditions per place. [2024-01-27 15:09:03,833 INFO L82 GeneralOperation]: Start removeDead. Operand has 61 places, 57 transitions, 134 flow [2024-01-27 15:09:03,834 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 48 places, 44 transitions, 101 flow [2024-01-27 15:09:03,835 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-27 15:09:03,836 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;@20ca4af0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-27 15:09:03,836 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2024-01-27 15:09:03,840 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-27 15:09:03,840 INFO L124 PetriNetUnfolderBase]: 1/20 cut-off events. [2024-01-27 15:09:03,840 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-01-27 15:09:03,840 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-27 15:09:03,840 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-01-27 15:09:03,840 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2024-01-27 15:09:03,841 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-27 15:09:03,841 INFO L85 PathProgramCache]: Analyzing trace with hash 4994555, now seen corresponding path program 1 times [2024-01-27 15:09:03,841 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-27 15:09:03,841 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [85714654] [2024-01-27 15:09:03,841 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-27 15:09:03,842 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-27 15:09:03,869 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-01-27 15:09:03,952 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-01-27 15:09:03,952 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-01-27 15:09:03,952 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [85714654] [2024-01-27 15:09:03,953 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [85714654] provided 1 perfect and 0 imperfect interpolant sequences [2024-01-27 15:09:03,953 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-01-27 15:09:03,953 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-01-27 15:09:03,953 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [405650603] [2024-01-27 15:09:03,954 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-01-27 15:09:03,959 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-01-27 15:09:03,963 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-01-27 15:09:03,981 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-01-27 15:09:03,982 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-01-27 15:09:03,990 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 16 out of 57 [2024-01-27 15:09:03,992 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 48 places, 44 transitions, 101 flow. Second operand has 3 states, 3 states have (on average 17.333333333333332) internal successors, (52), 3 states have internal predecessors, (52), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-01-27 15:09:03,992 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-01-27 15:09:03,992 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 16 of 57 [2024-01-27 15:09:03,993 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-01-27 15:09:04,397 INFO L124 PetriNetUnfolderBase]: 2714/4054 cut-off events. [2024-01-27 15:09:04,398 INFO L125 PetriNetUnfolderBase]: For 105/105 co-relation queries the response was YES. [2024-01-27 15:09:04,407 INFO L83 FinitePrefix]: Finished finitePrefix Result has 8077 conditions, 4054 events. 2714/4054 cut-off events. For 105/105 co-relation queries the response was YES. Maximal size of possible extension queue 240. Compared 23128 event pairs, 2506 based on Foata normal form. 797/4614 useless extension candidates. Maximal degree in co-relation 8066. Up to 3911 conditions per place. [2024-01-27 15:09:04,424 INFO L140 encePairwiseOnDemand]: 53/57 looper letters, 30 selfloop transitions, 1 changer transitions 0/39 dead transitions. [2024-01-27 15:09:04,424 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 46 places, 39 transitions, 153 flow [2024-01-27 15:09:04,426 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-01-27 15:09:04,427 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-01-27 15:09:04,432 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 82 transitions. [2024-01-27 15:09:04,434 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.47953216374269003 [2024-01-27 15:09:04,435 INFO L175 Difference]: Start difference. First operand has 48 places, 44 transitions, 101 flow. Second operand 3 states and 82 transitions. [2024-01-27 15:09:04,436 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 46 places, 39 transitions, 153 flow [2024-01-27 15:09:04,440 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 45 places, 39 transitions, 152 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-01-27 15:09:04,443 INFO L231 Difference]: Finished difference. Result has 45 places, 39 transitions, 92 flow [2024-01-27 15:09:04,445 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=57, PETRI_DIFFERENCE_MINUEND_FLOW=90, PETRI_DIFFERENCE_MINUEND_PLACES=43, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=39, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=38, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=92, PETRI_PLACES=45, PETRI_TRANSITIONS=39} [2024-01-27 15:09:04,448 INFO L281 CegarLoopForPetriNet]: 48 programPoint places, -3 predicate places. [2024-01-27 15:09:04,449 INFO L495 AbstractCegarLoop]: Abstraction has has 45 places, 39 transitions, 92 flow [2024-01-27 15:09:04,449 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 17.333333333333332) internal successors, (52), 3 states have internal predecessors, (52), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-01-27 15:09:04,449 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-27 15:09:04,449 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1, 1, 1] [2024-01-27 15:09:04,450 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-01-27 15:09:04,450 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2024-01-27 15:09:04,451 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-27 15:09:04,451 INFO L85 PathProgramCache]: Analyzing trace with hash -1557258487, now seen corresponding path program 1 times [2024-01-27 15:09:04,452 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-27 15:09:04,455 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [916727053] [2024-01-27 15:09:04,455 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-27 15:09:04,456 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-27 15:09:04,497 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-27 15:09:04,502 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-01-27 15:09:04,510 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-27 15:09:04,517 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-01-27 15:09:04,517 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-01-27 15:09:04,517 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 5 remaining) [2024-01-27 15:09:04,517 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 5 remaining) [2024-01-27 15:09:04,517 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 5 remaining) [2024-01-27 15:09:04,518 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 5 remaining) [2024-01-27 15:09:04,518 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 5 remaining) [2024-01-27 15:09:04,518 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-01-27 15:09:04,518 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2024-01-27 15:09:04,518 WARN L234 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-01-27 15:09:04,518 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-01-27 15:09:04,565 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-27 15:09:04,570 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 87 places, 82 transitions, 200 flow [2024-01-27 15:09:04,576 INFO L124 PetriNetUnfolderBase]: 5/65 cut-off events. [2024-01-27 15:09:04,576 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2024-01-27 15:09:04,577 INFO L83 FinitePrefix]: Finished finitePrefix Result has 83 conditions, 65 events. 5/65 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 173 event pairs, 0 based on Foata normal form. 0/55 useless extension candidates. Maximal degree in co-relation 76. Up to 4 conditions per place. [2024-01-27 15:09:04,577 INFO L82 GeneralOperation]: Start removeDead. Operand has 87 places, 82 transitions, 200 flow [2024-01-27 15:09:04,578 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 62 places, 57 transitions, 135 flow [2024-01-27 15:09:04,579 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-27 15:09:04,581 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;@20ca4af0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-27 15:09:04,582 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2024-01-27 15:09:04,584 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-27 15:09:04,585 INFO L124 PetriNetUnfolderBase]: 1/23 cut-off events. [2024-01-27 15:09:04,585 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-01-27 15:09:04,585 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-27 15:09:04,585 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-01-27 15:09:04,585 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2024-01-27 15:09:04,586 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-27 15:09:04,586 INFO L85 PathProgramCache]: Analyzing trace with hash -421073485, now seen corresponding path program 1 times [2024-01-27 15:09:04,586 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-27 15:09:04,587 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1335384997] [2024-01-27 15:09:04,587 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-27 15:09:04,587 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-27 15:09:04,611 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-01-27 15:09:04,647 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-01-27 15:09:04,647 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-01-27 15:09:04,647 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1335384997] [2024-01-27 15:09:04,648 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1335384997] provided 1 perfect and 0 imperfect interpolant sequences [2024-01-27 15:09:04,648 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-01-27 15:09:04,648 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-01-27 15:09:04,648 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [594543503] [2024-01-27 15:09:04,648 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-01-27 15:09:04,649 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-01-27 15:09:04,649 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-01-27 15:09:04,650 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-01-27 15:09:04,653 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-01-27 15:09:04,667 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 23 out of 82 [2024-01-27 15:09:04,667 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 62 places, 57 transitions, 135 flow. Second operand has 3 states, 3 states have (on average 24.333333333333332) internal successors, (73), 3 states have internal predecessors, (73), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-01-27 15:09:04,667 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-01-27 15:09:04,668 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 23 of 82 [2024-01-27 15:09:04,668 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-01-27 15:09:08,750 INFO L124 PetriNetUnfolderBase]: 43007/57637 cut-off events. [2024-01-27 15:09:08,750 INFO L125 PetriNetUnfolderBase]: For 2553/2553 co-relation queries the response was YES. [2024-01-27 15:09:08,861 INFO L83 FinitePrefix]: Finished finitePrefix Result has 115385 conditions, 57637 events. 43007/57637 cut-off events. For 2553/2553 co-relation queries the response was YES. Maximal size of possible extension queue 2287. Compared 365911 event pairs, 39532 based on Foata normal form. 8782/62605 useless extension candidates. Maximal degree in co-relation 115373. Up to 56183 conditions per place. [2024-01-27 15:09:09,088 INFO L140 encePairwiseOnDemand]: 78/82 looper letters, 42 selfloop transitions, 1 changer transitions 0/52 dead transitions. [2024-01-27 15:09:09,088 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 60 places, 52 transitions, 211 flow [2024-01-27 15:09:09,089 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-01-27 15:09:09,089 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-01-27 15:09:09,091 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 115 transitions. [2024-01-27 15:09:09,091 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46747967479674796 [2024-01-27 15:09:09,092 INFO L175 Difference]: Start difference. First operand has 62 places, 57 transitions, 135 flow. Second operand 3 states and 115 transitions. [2024-01-27 15:09:09,092 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 60 places, 52 transitions, 211 flow [2024-01-27 15:09:09,097 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 59 places, 52 transitions, 208 flow, removed 1 selfloop flow, removed 1 redundant places. [2024-01-27 15:09:09,098 INFO L231 Difference]: Finished difference. Result has 59 places, 52 transitions, 124 flow [2024-01-27 15:09:09,099 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=82, PETRI_DIFFERENCE_MINUEND_FLOW=122, PETRI_DIFFERENCE_MINUEND_PLACES=57, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=52, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=51, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=124, PETRI_PLACES=59, PETRI_TRANSITIONS=52} [2024-01-27 15:09:09,101 INFO L281 CegarLoopForPetriNet]: 62 programPoint places, -3 predicate places. [2024-01-27 15:09:09,101 INFO L495 AbstractCegarLoop]: Abstraction has has 59 places, 52 transitions, 124 flow [2024-01-27 15:09:09,101 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 24.333333333333332) internal successors, (73), 3 states have internal predecessors, (73), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-01-27 15:09:09,102 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-27 15:09:09,102 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 1, 1, 1, 1, 1, 1, 1] [2024-01-27 15:09:09,102 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-01-27 15:09:09,102 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2024-01-27 15:09:09,104 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-27 15:09:09,104 INFO L85 PathProgramCache]: Analyzing trace with hash -253619139, now seen corresponding path program 1 times [2024-01-27 15:09:09,104 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-27 15:09:09,104 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1603788306] [2024-01-27 15:09:09,104 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-27 15:09:09,105 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-27 15:09:09,142 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-27 15:09:09,142 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-01-27 15:09:09,154 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-01-27 15:09:09,169 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-01-27 15:09:09,170 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-01-27 15:09:09,171 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (5 of 6 remaining) [2024-01-27 15:09:09,171 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (4 of 6 remaining) [2024-01-27 15:09:09,171 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 6 remaining) [2024-01-27 15:09:09,171 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 6 remaining) [2024-01-27 15:09:09,171 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 6 remaining) [2024-01-27 15:09:09,172 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 6 remaining) [2024-01-27 15:09:09,172 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-01-27 15:09:09,172 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2024-01-27 15:09:09,173 WARN L234 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-01-27 15:09:09,173 INFO L518 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-01-27 15:09:09,223 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-01-27 15:09:09,229 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 113 places, 107 transitions, 270 flow [2024-01-27 15:09:09,246 INFO L124 PetriNetUnfolderBase]: 6/81 cut-off events. [2024-01-27 15:09:09,246 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2024-01-27 15:09:09,247 INFO L83 FinitePrefix]: Finished finitePrefix Result has 106 conditions, 81 events. 6/81 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 230 event pairs, 0 based on Foata normal form. 0/69 useless extension candidates. Maximal degree in co-relation 97. Up to 5 conditions per place. [2024-01-27 15:09:09,247 INFO L82 GeneralOperation]: Start removeDead. Operand has 113 places, 107 transitions, 270 flow [2024-01-27 15:09:09,249 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 76 places, 70 transitions, 171 flow [2024-01-27 15:09:09,250 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-01-27 15:09:09,252 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;@20ca4af0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-01-27 15:09:09,252 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-01-27 15:09:09,258 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-01-27 15:09:09,258 INFO L124 PetriNetUnfolderBase]: 1/23 cut-off events. [2024-01-27 15:09:09,258 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-01-27 15:09:09,258 INFO L200 CegarLoopForPetriNet]: Found error trace [2024-01-27 15:09:09,259 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-01-27 15:09:09,259 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2024-01-27 15:09:09,259 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-01-27 15:09:09,259 INFO L85 PathProgramCache]: Analyzing trace with hash 1551203851, now seen corresponding path program 1 times [2024-01-27 15:09:09,260 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-01-27 15:09:09,260 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1579490644] [2024-01-27 15:09:09,260 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-01-27 15:09:09,260 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-01-27 15:09:09,276 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-01-27 15:09:09,327 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-01-27 15:09:09,327 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-01-27 15:09:09,328 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1579490644] [2024-01-27 15:09:09,328 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1579490644] provided 1 perfect and 0 imperfect interpolant sequences [2024-01-27 15:09:09,328 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-01-27 15:09:09,328 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-01-27 15:09:09,329 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1868063465] [2024-01-27 15:09:09,329 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-01-27 15:09:09,329 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-01-27 15:09:09,330 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-01-27 15:09:09,330 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-01-27 15:09:09,331 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-01-27 15:09:09,344 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 30 out of 107 [2024-01-27 15:09:09,347 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 76 places, 70 transitions, 171 flow. Second operand has 3 states, 3 states have (on average 31.333333333333332) internal successors, (94), 3 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) [2024-01-27 15:09:09,347 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-01-27 15:09:09,350 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 30 of 107 [2024-01-27 15:09:09,350 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand