./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs-pthread.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya --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-0e0057c [2023-11-29 04:08:15,878 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-29 04:08:15,942 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-Reach-32bit-Automizer_Default.epf [2023-11-29 04:08:15,947 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-29 04:08:15,947 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-29 04:08:15,971 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-29 04:08:15,972 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-29 04:08:15,972 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-29 04:08:15,973 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-29 04:08:15,973 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-29 04:08:15,974 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-29 04:08:15,974 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-29 04:08:15,975 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-29 04:08:15,976 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-29 04:08:15,976 INFO L153 SettingsManager]: * Use SBE=true [2023-11-29 04:08:15,977 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-29 04:08:15,978 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-29 04:08:15,978 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-29 04:08:15,979 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-29 04:08:15,979 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-29 04:08:15,979 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-29 04:08:15,980 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-29 04:08:15,981 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-29 04:08:15,981 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-29 04:08:15,981 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-29 04:08:15,982 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-29 04:08:15,982 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-29 04:08:15,983 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-29 04:08:15,983 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-29 04:08:15,984 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-29 04:08:15,984 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-29 04:08:15,984 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 04:08:15,992 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-29 04:08:15,992 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-29 04:08:15,993 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-29 04:08:15,993 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-29 04:08:15,994 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-29 04:08:15,994 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-29 04:08:15,994 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-29 04:08:15,995 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-29 04:08:15,995 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-29 04:08:15,995 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-29 04:08:15,995 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:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya 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 [2023-11-29 04:08:16,224 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-29 04:08:16,247 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-29 04:08:16,249 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-29 04:08:16,250 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-29 04:08:16,251 INFO L274 PluginConnector]: CDTParser initialized [2023-11-29 04:08:16,252 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/../../sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs-pthread.i [2023-11-29 04:08:18,968 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-29 04:08:19,213 INFO L384 CDTParser]: Found 1 translation units. [2023-11-29 04:08:19,214 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs-pthread.i [2023-11-29 04:08:19,228 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/data/7673d278e/cac2f54cafda4b87bb7b03cd2cc21c1a/FLAGae6679c22 [2023-11-29 04:08:19,240 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/data/7673d278e/cac2f54cafda4b87bb7b03cd2cc21c1a [2023-11-29 04:08:19,242 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-29 04:08:19,243 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-29 04:08:19,245 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-29 04:08:19,245 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-29 04:08:19,250 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-29 04:08:19,251 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,252 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@53a2eb33 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19, skipping insertion in model container [2023-11-29 04:08:19,252 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,308 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-29 04:08:19,596 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs-pthread.i[30711,30724] [2023-11-29 04:08:19,606 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 04:08:19,619 INFO L202 MainTranslator]: Completed pre-run [2023-11-29 04:08:19,653 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs-pthread.i[30711,30724] [2023-11-29 04:08:19,656 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 04:08:19,694 INFO L206 MainTranslator]: Completed translation [2023-11-29 04:08:19,695 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19 WrapperNode [2023-11-29 04:08:19,695 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-29 04:08:19,696 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-29 04:08:19,696 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-29 04:08:19,696 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-29 04:08:19,703 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,717 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,740 INFO L138 Inliner]: procedures = 165, calls = 25, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 69 [2023-11-29 04:08:19,740 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-29 04:08:19,741 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-29 04:08:19,741 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-29 04:08:19,741 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-29 04:08:19,752 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,753 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,756 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,770 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]. [2023-11-29 04:08:19,770 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,771 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,775 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,779 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,781 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,782 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,785 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-29 04:08:19,786 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-29 04:08:19,786 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-29 04:08:19,786 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-29 04:08:19,787 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (1/1) ... [2023-11-29 04:08:19,794 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 04:08:19,804 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/z3 [2023-11-29 04:08:19,818 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-29 04:08:19,824 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d17351f9-153b-423d-83bd-2302baa15282/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-29 04:08:19,856 INFO L130 BoogieDeclarations]: Found specification of procedure thr2 [2023-11-29 04:08:19,856 INFO L138 BoogieDeclarations]: Found implementation of procedure thr2 [2023-11-29 04:08:19,857 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-29 04:08:19,857 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-29 04:08:19,857 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-29 04:08:19,857 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-29 04:08:19,857 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-29 04:08:19,857 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-29 04:08:19,857 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-29 04:08:19,858 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-29 04:08:19,858 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-29 04:08:19,858 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-29 04:08:19,858 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-29 04:08:19,858 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-29 04:08:19,859 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-29 04:08:19,859 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-29 04:08:19,859 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-29 04:08:19,860 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-29 04:08:19,992 INFO L241 CfgBuilder]: Building ICFG [2023-11-29 04:08:19,994 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-29 04:08:20,131 INFO L282 CfgBuilder]: Performing block encoding [2023-11-29 04:08:20,247 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-29 04:08:20,247 INFO L309 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-29 04:08:20,247 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 04:08:20 BoogieIcfgContainer [2023-11-29 04:08:20,248 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-29 04:08:20,250 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-29 04:08:20,251 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-29 04:08:20,253 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-29 04:08:20,253 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.11 04:08:19" (1/3) ... [2023-11-29 04:08:20,254 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3a742d58 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 04:08:20, skipping insertion in model container [2023-11-29 04:08:20,254 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:08:19" (2/3) ... [2023-11-29 04:08:20,254 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3a742d58 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 04:08:20, skipping insertion in model container [2023-11-29 04:08:20,255 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 04:08:20" (3/3) ... [2023-11-29 04:08:20,256 INFO L112 eAbstractionObserver]: Analyzing ICFG 35_double_lock_p3_vs-pthread.i [2023-11-29 04:08:20,263 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-11-29 04:08:20,271 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-29 04:08:20,271 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-29 04:08:20,271 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-29 04:08:20,307 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 04:08:20,334 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 35 places, 32 transitions, 72 flow [2023-11-29 04:08:20,359 INFO L124 PetriNetUnfolderBase]: 3/33 cut-off events. [2023-11-29 04:08:20,359 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 04:08:20,362 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. [2023-11-29 04:08:20,362 INFO L82 GeneralOperation]: Start removeDead. Operand has 35 places, 32 transitions, 72 flow [2023-11-29 04:08:20,366 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 34 places, 31 transitions, 69 flow [2023-11-29 04:08:20,387 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 04:08:20,395 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;@42696007, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 04:08:20,395 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-29 04:08:20,404 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 04:08:20,404 INFO L124 PetriNetUnfolderBase]: 1/22 cut-off events. [2023-11-29 04:08:20,404 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 04:08:20,404 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:08:20,405 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1] [2023-11-29 04:08:20,405 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)] === [2023-11-29 04:08:20,420 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:08:20,420 INFO L85 PathProgramCache]: Analyzing trace with hash 1825786478, now seen corresponding path program 1 times [2023-11-29 04:08:20,430 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:08:20,431 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [538677478] [2023-11-29 04:08:20,431 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:08:20,432 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:08:20,557 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 04:08:20,557 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-29 04:08:20,582 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 04:08:20,605 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-29 04:08:20,606 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-29 04:08:20,607 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2023-11-29 04:08:20,610 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 4 remaining) [2023-11-29 04:08:20,610 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2023-11-29 04:08:20,610 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-11-29 04:08:20,611 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-29 04:08:20,611 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-29 04:08:20,615 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-29 04:08:20,615 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-29 04:08:20,646 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 04:08:20,649 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 61 places, 57 transitions, 134 flow [2023-11-29 04:08:20,665 INFO L124 PetriNetUnfolderBase]: 4/49 cut-off events. [2023-11-29 04:08:20,666 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-29 04:08:20,667 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. [2023-11-29 04:08:20,667 INFO L82 GeneralOperation]: Start removeDead. Operand has 61 places, 57 transitions, 134 flow [2023-11-29 04:08:20,668 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 48 places, 44 transitions, 101 flow [2023-11-29 04:08:20,670 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 04:08:20,671 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;@42696007, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 04:08:20,672 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-29 04:08:20,679 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 04:08:20,679 INFO L124 PetriNetUnfolderBase]: 1/20 cut-off events. [2023-11-29 04:08:20,680 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-29 04:08:20,680 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:08:20,680 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-29 04:08:20,680 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)] === [2023-11-29 04:08:20,681 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:08:20,681 INFO L85 PathProgramCache]: Analyzing trace with hash 4994555, now seen corresponding path program 1 times [2023-11-29 04:08:20,681 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:08:20,682 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [217096429] [2023-11-29 04:08:20,682 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:08:20,682 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:08:20,709 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 04:08:20,821 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-29 04:08:20,821 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 04:08:20,821 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [217096429] [2023-11-29 04:08:20,822 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [217096429] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 04:08:20,822 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 04:08:20,822 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-29 04:08:20,823 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [849845102] [2023-11-29 04:08:20,824 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 04:08:20,830 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 04:08:20,834 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 04:08:20,855 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 04:08:20,856 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 04:08:20,867 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 16 out of 57 [2023-11-29 04:08:20,870 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) [2023-11-29 04:08:20,870 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 04:08:20,870 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 16 of 57 [2023-11-29 04:08:20,871 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 04:08:21,462 INFO L124 PetriNetUnfolderBase]: 2714/4054 cut-off events. [2023-11-29 04:08:21,462 INFO L125 PetriNetUnfolderBase]: For 105/105 co-relation queries the response was YES. [2023-11-29 04:08:21,473 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. [2023-11-29 04:08:21,497 INFO L140 encePairwiseOnDemand]: 53/57 looper letters, 30 selfloop transitions, 1 changer transitions 0/39 dead transitions. [2023-11-29 04:08:21,497 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 46 places, 39 transitions, 153 flow [2023-11-29 04:08:21,498 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 04:08:21,500 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 04:08:21,505 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 82 transitions. [2023-11-29 04:08:21,507 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.47953216374269003 [2023-11-29 04:08:21,507 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 82 transitions. [2023-11-29 04:08:21,508 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 82 transitions. [2023-11-29 04:08:21,509 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 04:08:21,511 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 82 transitions. [2023-11-29 04:08:21,512 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 27.333333333333332) internal successors, (82), 3 states have internal predecessors, (82), 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-29 04:08:21,516 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 57.0) internal successors, (228), 4 states have internal predecessors, (228), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-29 04:08:21,516 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 57.0) internal successors, (228), 4 states have internal predecessors, (228), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-29 04:08:21,518 INFO L175 Difference]: Start difference. First operand has 48 places, 44 transitions, 101 flow. Second operand 3 states and 82 transitions. [2023-11-29 04:08:21,518 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 46 places, 39 transitions, 153 flow [2023-11-29 04:08:21,521 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 45 places, 39 transitions, 152 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-29 04:08:21,524 INFO L231 Difference]: Finished difference. Result has 45 places, 39 transitions, 92 flow [2023-11-29 04:08:21,525 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} [2023-11-29 04:08:21,528 INFO L281 CegarLoopForPetriNet]: 48 programPoint places, -3 predicate places. [2023-11-29 04:08:21,528 INFO L495 AbstractCegarLoop]: Abstraction has has 45 places, 39 transitions, 92 flow [2023-11-29 04:08:21,529 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) [2023-11-29 04:08:21,529 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:08:21,529 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1, 1, 1] [2023-11-29 04:08:21,529 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-29 04:08:21,529 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)] === [2023-11-29 04:08:21,530 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:08:21,530 INFO L85 PathProgramCache]: Analyzing trace with hash -1557258487, now seen corresponding path program 1 times [2023-11-29 04:08:21,530 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:08:21,531 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [864529241] [2023-11-29 04:08:21,531 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:08:21,531 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:08:21,556 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 04:08:21,556 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-29 04:08:21,571 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 04:08:21,579 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-29 04:08:21,579 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-29 04:08:21,579 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 5 remaining) [2023-11-29 04:08:21,580 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 5 remaining) [2023-11-29 04:08:21,580 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 5 remaining) [2023-11-29 04:08:21,580 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 5 remaining) [2023-11-29 04:08:21,580 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 5 remaining) [2023-11-29 04:08:21,581 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-29 04:08:21,581 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-11-29 04:08:21,582 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-29 04:08:21,582 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-29 04:08:21,616 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 04:08:21,620 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 87 places, 82 transitions, 200 flow [2023-11-29 04:08:21,627 INFO L124 PetriNetUnfolderBase]: 5/65 cut-off events. [2023-11-29 04:08:21,627 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-29 04:08:21,628 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. [2023-11-29 04:08:21,628 INFO L82 GeneralOperation]: Start removeDead. Operand has 87 places, 82 transitions, 200 flow [2023-11-29 04:08:21,629 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 62 places, 57 transitions, 135 flow [2023-11-29 04:08:21,630 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 04:08:21,632 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;@42696007, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 04:08:21,632 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-11-29 04:08:21,635 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 04:08:21,635 INFO L124 PetriNetUnfolderBase]: 1/23 cut-off events. [2023-11-29 04:08:21,635 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-29 04:08:21,635 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:08:21,635 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-29 04:08:21,635 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)] === [2023-11-29 04:08:21,636 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:08:21,636 INFO L85 PathProgramCache]: Analyzing trace with hash -421073485, now seen corresponding path program 1 times [2023-11-29 04:08:21,636 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:08:21,636 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [569107436] [2023-11-29 04:08:21,636 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:08:21,637 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:08:21,651 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 04:08:21,689 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-29 04:08:21,689 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 04:08:21,689 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [569107436] [2023-11-29 04:08:21,689 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [569107436] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 04:08:21,689 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 04:08:21,690 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-29 04:08:21,690 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [352919025] [2023-11-29 04:08:21,690 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 04:08:21,690 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 04:08:21,690 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 04:08:21,691 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 04:08:21,691 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 04:08:21,703 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 23 out of 82 [2023-11-29 04:08:21,704 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) [2023-11-29 04:08:21,704 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 04:08:21,704 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 23 of 82 [2023-11-29 04:08:21,704 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 04:08:26,619 INFO L124 PetriNetUnfolderBase]: 43007/57637 cut-off events. [2023-11-29 04:08:26,619 INFO L125 PetriNetUnfolderBase]: For 2553/2553 co-relation queries the response was YES. [2023-11-29 04:08:26,751 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. [2023-11-29 04:08:27,068 INFO L140 encePairwiseOnDemand]: 78/82 looper letters, 42 selfloop transitions, 1 changer transitions 0/52 dead transitions. [2023-11-29 04:08:27,069 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 60 places, 52 transitions, 211 flow [2023-11-29 04:08:27,069 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 04:08:27,070 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 04:08:27,071 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 115 transitions. [2023-11-29 04:08:27,071 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46747967479674796 [2023-11-29 04:08:27,072 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 115 transitions. [2023-11-29 04:08:27,072 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 115 transitions. [2023-11-29 04:08:27,072 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 04:08:27,072 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 115 transitions. [2023-11-29 04:08:27,074 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 38.333333333333336) internal successors, (115), 3 states have internal predecessors, (115), 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-29 04:08:27,075 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 82.0) internal successors, (328), 4 states have internal predecessors, (328), 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-29 04:08:27,076 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 82.0) internal successors, (328), 4 states have internal predecessors, (328), 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-29 04:08:27,076 INFO L175 Difference]: Start difference. First operand has 62 places, 57 transitions, 135 flow. Second operand 3 states and 115 transitions. [2023-11-29 04:08:27,076 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 60 places, 52 transitions, 211 flow [2023-11-29 04:08:27,081 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 59 places, 52 transitions, 208 flow, removed 1 selfloop flow, removed 1 redundant places. [2023-11-29 04:08:27,083 INFO L231 Difference]: Finished difference. Result has 59 places, 52 transitions, 124 flow [2023-11-29 04:08:27,083 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} [2023-11-29 04:08:27,084 INFO L281 CegarLoopForPetriNet]: 62 programPoint places, -3 predicate places. [2023-11-29 04:08:27,084 INFO L495 AbstractCegarLoop]: Abstraction has has 59 places, 52 transitions, 124 flow [2023-11-29 04:08:27,085 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) [2023-11-29 04:08:27,085 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:08:27,085 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 1, 1, 1, 1, 1, 1, 1] [2023-11-29 04:08:27,085 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-29 04:08:27,085 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)] === [2023-11-29 04:08:27,086 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:08:27,086 INFO L85 PathProgramCache]: Analyzing trace with hash -253619139, now seen corresponding path program 1 times [2023-11-29 04:08:27,086 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:08:27,087 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [585632299] [2023-11-29 04:08:27,087 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:08:27,087 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:08:27,225 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 04:08:27,225 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-29 04:08:27,237 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 04:08:27,245 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-29 04:08:27,245 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-29 04:08:27,245 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (5 of 6 remaining) [2023-11-29 04:08:27,245 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (4 of 6 remaining) [2023-11-29 04:08:27,246 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 6 remaining) [2023-11-29 04:08:27,246 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 6 remaining) [2023-11-29 04:08:27,246 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 6 remaining) [2023-11-29 04:08:27,246 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 6 remaining) [2023-11-29 04:08:27,246 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-29 04:08:27,247 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-11-29 04:08:27,247 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-29 04:08:27,248 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-11-29 04:08:27,290 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 04:08:27,293 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 113 places, 107 transitions, 270 flow [2023-11-29 04:08:27,303 INFO L124 PetriNetUnfolderBase]: 6/81 cut-off events. [2023-11-29 04:08:27,303 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-11-29 04:08:27,303 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. [2023-11-29 04:08:27,304 INFO L82 GeneralOperation]: Start removeDead. Operand has 113 places, 107 transitions, 270 flow [2023-11-29 04:08:27,305 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 76 places, 70 transitions, 171 flow [2023-11-29 04:08:27,306 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 04:08:27,307 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;@42696007, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 04:08:27,308 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2023-11-29 04:08:27,310 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 04:08:27,310 INFO L124 PetriNetUnfolderBase]: 1/23 cut-off events. [2023-11-29 04:08:27,311 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-29 04:08:27,311 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:08:27,311 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-29 04:08:27,311 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)] === [2023-11-29 04:08:27,311 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:08:27,312 INFO L85 PathProgramCache]: Analyzing trace with hash 1551203851, now seen corresponding path program 1 times [2023-11-29 04:08:27,312 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:08:27,312 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1239929215] [2023-11-29 04:08:27,312 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:08:27,312 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:08:27,324 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 04:08:27,356 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-29 04:08:27,356 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 04:08:27,356 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1239929215] [2023-11-29 04:08:27,356 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1239929215] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 04:08:27,357 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 04:08:27,357 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-29 04:08:27,357 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1086858929] [2023-11-29 04:08:27,357 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 04:08:27,357 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 04:08:27,358 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 04:08:27,358 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 04:08:27,358 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 04:08:27,373 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 30 out of 107 [2023-11-29 04:08:27,373 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) [2023-11-29 04:08:27,374 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 04:08:27,374 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 30 of 107 [2023-11-29 04:08:27,374 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 04:09:22,993 INFO L124 PetriNetUnfolderBase]: 617999/778735 cut-off events. [2023-11-29 04:09:22,994 INFO L125 PetriNetUnfolderBase]: For 48213/48213 co-relation queries the response was YES. [2023-11-29 04:09:24,853 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1563210 conditions, 778735 events. 617999/778735 cut-off events. For 48213/48213 co-relation queries the response was YES. Maximal size of possible extension queue 22873. Compared 5288811 event pairs, 566608 based on Foata normal form. 96629/820260 useless extension candidates. Maximal degree in co-relation 1563197. Up to 762944 conditions per place. [2023-11-29 04:09:27,758 INFO L140 encePairwiseOnDemand]: 103/107 looper letters, 54 selfloop transitions, 1 changer transitions 0/65 dead transitions. [2023-11-29 04:09:27,758 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 65 transitions, 271 flow [2023-11-29 04:09:27,759 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 04:09:27,759 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 04:09:27,760 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 148 transitions. [2023-11-29 04:09:27,761 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46105919003115264 [2023-11-29 04:09:27,761 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 148 transitions. [2023-11-29 04:09:27,761 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 148 transitions. [2023-11-29 04:09:27,761 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 04:09:27,762 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 148 transitions. [2023-11-29 04:09:27,763 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 49.333333333333336) internal successors, (148), 3 states have internal predecessors, (148), 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-29 04:09:27,765 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 107.0) internal successors, (428), 4 states have internal predecessors, (428), 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-29 04:09:27,765 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 107.0) internal successors, (428), 4 states have internal predecessors, (428), 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-29 04:09:27,765 INFO L175 Difference]: Start difference. First operand has 76 places, 70 transitions, 171 flow. Second operand 3 states and 148 transitions. [2023-11-29 04:09:27,765 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 65 transitions, 271 flow [2023-11-29 04:09:27,817 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 65 transitions, 264 flow, removed 3 selfloop flow, removed 1 redundant places. [2023-11-29 04:09:27,818 INFO L231 Difference]: Finished difference. Result has 73 places, 65 transitions, 156 flow [2023-11-29 04:09:27,819 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=107, PETRI_DIFFERENCE_MINUEND_FLOW=154, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=65, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=64, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=156, PETRI_PLACES=73, PETRI_TRANSITIONS=65} [2023-11-29 04:09:27,820 INFO L281 CegarLoopForPetriNet]: 76 programPoint places, -3 predicate places. [2023-11-29 04:09:27,820 INFO L495 AbstractCegarLoop]: Abstraction has has 73 places, 65 transitions, 156 flow [2023-11-29 04:09:27,820 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has 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) [2023-11-29 04:09:27,820 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:09:27,820 INFO L208 CegarLoopForPetriNet]: trace histogram [5, 4, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-29 04:09:27,821 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-29 04:09:27,821 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2023-11-29 04:09:27,821 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:09:27,821 INFO L85 PathProgramCache]: Analyzing trace with hash -1943389917, now seen corresponding path program 1 times [2023-11-29 04:09:27,822 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:09:27,822 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1452848669] [2023-11-29 04:09:27,822 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:09:27,822 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:09:27,842 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 04:09:27,842 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-29 04:09:27,852 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 04:09:27,861 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-29 04:09:27,862 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-29 04:09:27,862 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2023-11-29 04:09:27,862 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (5 of 7 remaining) [2023-11-29 04:09:27,862 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 7 remaining) [2023-11-29 04:09:27,863 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 7 remaining) [2023-11-29 04:09:27,863 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 7 remaining) [2023-11-29 04:09:27,863 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 7 remaining) [2023-11-29 04:09:27,863 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 7 remaining) [2023-11-29 04:09:27,864 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-11-29 04:09:27,864 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-11-29 04:09:27,864 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-29 04:09:27,864 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2023-11-29 04:09:27,910 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 04:09:27,912 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 139 places, 132 transitions, 344 flow [2023-11-29 04:09:27,919 INFO L124 PetriNetUnfolderBase]: 7/97 cut-off events. [2023-11-29 04:09:27,919 INFO L125 PetriNetUnfolderBase]: For 30/30 co-relation queries the response was YES. [2023-11-29 04:09:27,920 INFO L83 FinitePrefix]: Finished finitePrefix Result has 130 conditions, 97 events. 7/97 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 295 event pairs, 0 based on Foata normal form. 0/83 useless extension candidates. Maximal degree in co-relation 119. Up to 6 conditions per place. [2023-11-29 04:09:27,920 INFO L82 GeneralOperation]: Start removeDead. Operand has 139 places, 132 transitions, 344 flow [2023-11-29 04:09:27,921 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 90 places, 83 transitions, 209 flow [2023-11-29 04:09:27,922 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 04:09:27,923 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;@42696007, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 04:09:27,923 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-11-29 04:09:27,926 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 04:09:27,926 INFO L124 PetriNetUnfolderBase]: 1/23 cut-off events. [2023-11-29 04:09:27,926 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-29 04:09:27,926 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:09:27,926 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-29 04:09:27,927 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 5 more)] === [2023-11-29 04:09:27,927 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:09:27,927 INFO L85 PathProgramCache]: Analyzing trace with hash 325187203, now seen corresponding path program 1 times [2023-11-29 04:09:27,927 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:09:27,927 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1047635971] [2023-11-29 04:09:27,928 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:09:27,928 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:09:27,937 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 04:09:27,961 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-29 04:09:27,961 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 04:09:27,962 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1047635971] [2023-11-29 04:09:27,962 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1047635971] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 04:09:27,962 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 04:09:27,962 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-29 04:09:27,962 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1412862666] [2023-11-29 04:09:27,962 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 04:09:27,963 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 04:09:27,963 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 04:09:27,963 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 04:09:27,963 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 04:09:27,977 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 37 out of 132 [2023-11-29 04:09:27,978 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 90 places, 83 transitions, 209 flow. Second operand has 3 states, 3 states have (on average 38.333333333333336) internal successors, (115), 3 states have internal predecessors, (115), 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-29 04:09:27,978 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 04:09:27,978 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 37 of 132 [2023-11-29 04:09:27,978 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand