./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/pthread-complex/bounded_buffer.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_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/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_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread-complex/bounded_buffer.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/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_75646780-d8fe-4900-b91d-b3d90014d209/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 6780d9b269575eab8bb01b5a192a21fa771f6fcc4c495cab5abe1df10d7681d5 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-29 01:58:18,879 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-29 01:58:18,960 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-Reach-32bit-Automizer_Default.epf [2023-11-29 01:58:18,964 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-29 01:58:18,965 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-29 01:58:18,989 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-29 01:58:18,990 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-29 01:58:18,990 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-29 01:58:18,991 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-29 01:58:18,991 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-29 01:58:18,992 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-29 01:58:18,992 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-29 01:58:18,993 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-29 01:58:18,994 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-29 01:58:18,994 INFO L153 SettingsManager]: * Use SBE=true [2023-11-29 01:58:18,995 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-29 01:58:18,995 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-29 01:58:18,996 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-29 01:58:18,996 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-29 01:58:18,997 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-29 01:58:18,997 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-29 01:58:18,998 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-29 01:58:18,998 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-29 01:58:18,999 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-29 01:58:18,999 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-29 01:58:18,999 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-29 01:58:19,000 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-29 01:58:19,000 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-29 01:58:19,001 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-29 01:58:19,001 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-29 01:58:19,002 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-29 01:58:19,002 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 01:58:19,002 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-29 01:58:19,003 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-29 01:58:19,003 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-29 01:58:19,004 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-29 01:58:19,004 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-29 01:58:19,005 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-29 01:58:19,005 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-29 01:58:19,005 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-29 01:58:19,006 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-29 01:58:19,007 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-29 01:58:19,007 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_75646780-d8fe-4900-b91d-b3d90014d209/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_75646780-d8fe-4900-b91d-b3d90014d209/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 -> 6780d9b269575eab8bb01b5a192a21fa771f6fcc4c495cab5abe1df10d7681d5 [2023-11-29 01:58:19,233 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-29 01:58:19,254 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-29 01:58:19,257 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-29 01:58:19,258 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-29 01:58:19,259 INFO L274 PluginConnector]: CDTParser initialized [2023-11-29 01:58:19,260 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/../../sv-benchmarks/c/pthread-complex/bounded_buffer.i [2023-11-29 01:58:21,934 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-29 01:58:22,216 INFO L384 CDTParser]: Found 1 translation units. [2023-11-29 01:58:22,217 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/sv-benchmarks/c/pthread-complex/bounded_buffer.i [2023-11-29 01:58:22,237 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/data/9d7e645c9/3d918ecee3cc41c684babc10b66a5448/FLAG2e7a88d5b [2023-11-29 01:58:22,250 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/data/9d7e645c9/3d918ecee3cc41c684babc10b66a5448 [2023-11-29 01:58:22,252 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-29 01:58:22,254 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-29 01:58:22,255 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-29 01:58:22,255 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-29 01:58:22,260 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-29 01:58:22,260 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 01:58:22" (1/1) ... [2023-11-29 01:58:22,261 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7acd9625 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:22, skipping insertion in model container [2023-11-29 01:58:22,261 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 01:58:22" (1/1) ... [2023-11-29 01:58:22,317 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-29 01:58:22,969 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_75646780-d8fe-4900-b91d-b3d90014d209/sv-benchmarks/c/pthread-complex/bounded_buffer.i[70002,70015] [2023-11-29 01:58:22,995 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 01:58:23,008 INFO L202 MainTranslator]: Completed pre-run [2023-11-29 01:58:23,072 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_75646780-d8fe-4900-b91d-b3d90014d209/sv-benchmarks/c/pthread-complex/bounded_buffer.i[70002,70015] [2023-11-29 01:58:23,090 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 01:58:23,171 WARN L675 CHandler]: The function fflush is called, but not defined or handled by StandardFunctionHandler. [2023-11-29 01:58:23,177 INFO L206 MainTranslator]: Completed translation [2023-11-29 01:58:23,178 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23 WrapperNode [2023-11-29 01:58:23,178 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-29 01:58:23,179 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-29 01:58:23,179 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-29 01:58:23,179 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-29 01:58:23,185 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,212 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,252 INFO L138 Inliner]: procedures = 429, calls = 136, calls flagged for inlining = 7, calls inlined = 7, statements flattened = 476 [2023-11-29 01:58:23,252 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-29 01:58:23,253 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-29 01:58:23,253 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-29 01:58:23,253 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-29 01:58:23,264 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,264 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,271 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,297 INFO L175 MemorySlicer]: Split 78 memory accesses to 6 slices as follows [2, 58, 5, 6, 5, 2]. 74 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0, 0, 0, 0]. The 26 writes are split as follows [0, 17, 3, 2, 3, 1]. [2023-11-29 01:58:23,297 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,298 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,320 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,326 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,331 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,335 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,342 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-29 01:58:23,343 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-29 01:58:23,343 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-29 01:58:23,343 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-29 01:58:23,344 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (1/1) ... [2023-11-29 01:58:23,350 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 01:58:23,363 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/z3 [2023-11-29 01:58:23,386 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-29 01:58:23,396 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-29 01:58:23,418 INFO L130 BoogieDeclarations]: Found specification of procedure producer_routine [2023-11-29 01:58:23,419 INFO L138 BoogieDeclarations]: Found implementation of procedure producer_routine [2023-11-29 01:58:23,419 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-29 01:58:23,419 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-29 01:58:23,419 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-29 01:58:23,419 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-29 01:58:23,419 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-29 01:58:23,420 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2023-11-29 01:58:23,420 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2023-11-29 01:58:23,420 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-29 01:58:23,420 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-29 01:58:23,420 INFO L130 BoogieDeclarations]: Found specification of procedure fflush [2023-11-29 01:58:23,420 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-29 01:58:23,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2023-11-29 01:58:23,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2023-11-29 01:58:23,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2023-11-29 01:58:23,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#3 [2023-11-29 01:58:23,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#4 [2023-11-29 01:58:23,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#5 [2023-11-29 01:58:23,422 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-29 01:58:23,422 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-29 01:58:23,422 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-29 01:58:23,422 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2023-11-29 01:58:23,422 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2023-11-29 01:58:23,422 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#2 [2023-11-29 01:58:23,423 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#3 [2023-11-29 01:58:23,423 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#4 [2023-11-29 01:58:23,423 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#5 [2023-11-29 01:58:23,423 INFO L130 BoogieDeclarations]: Found specification of procedure consumer_routine [2023-11-29 01:58:23,423 INFO L138 BoogieDeclarations]: Found implementation of procedure consumer_routine [2023-11-29 01:58:23,423 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-29 01:58:23,423 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-29 01:58:23,423 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-29 01:58:23,424 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-29 01:58:23,424 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-29 01:58:23,424 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2023-11-29 01:58:23,424 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2023-11-29 01:58:23,424 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-29 01:58:23,424 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-29 01:58:23,424 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-29 01:58:23,424 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-29 01:58:23,425 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2023-11-29 01:58:23,425 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2023-11-29 01:58:23,427 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 01:58:23,628 INFO L241 CfgBuilder]: Building ICFG [2023-11-29 01:58:23,630 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-29 01:58:24,237 INFO L282 CfgBuilder]: Performing block encoding [2023-11-29 01:58:24,636 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-29 01:58:24,636 INFO L309 CfgBuilder]: Removed 11 assume(true) statements. [2023-11-29 01:58:24,636 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 01:58:24 BoogieIcfgContainer [2023-11-29 01:58:24,636 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-29 01:58:24,638 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-29 01:58:24,638 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-29 01:58:24,641 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-29 01:58:24,641 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.11 01:58:22" (1/3) ... [2023-11-29 01:58:24,641 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5be495d0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 01:58:24, skipping insertion in model container [2023-11-29 01:58:24,641 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 01:58:23" (2/3) ... [2023-11-29 01:58:24,642 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5be495d0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 01:58:24, skipping insertion in model container [2023-11-29 01:58:24,642 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 01:58:24" (3/3) ... [2023-11-29 01:58:24,643 INFO L112 eAbstractionObserver]: Analyzing ICFG bounded_buffer.i [2023-11-29 01:58:24,651 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-11-29 01:58:24,658 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-29 01:58:24,659 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-29 01:58:24,659 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-29 01:58:24,786 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-29 01:58:24,816 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 83 places, 108 transitions, 236 flow [2023-11-29 01:58:24,903 INFO L124 PetriNetUnfolderBase]: 73/255 cut-off events. [2023-11-29 01:58:24,904 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-29 01:58:24,909 INFO L83 FinitePrefix]: Finished finitePrefix Result has 272 conditions, 255 events. 73/255 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 1126 event pairs, 0 based on Foata normal form. 0/174 useless extension candidates. Maximal degree in co-relation 140. Up to 16 conditions per place. [2023-11-29 01:58:24,910 INFO L82 GeneralOperation]: Start removeDead. Operand has 83 places, 108 transitions, 236 flow [2023-11-29 01:58:24,916 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 83 places, 108 transitions, 236 flow [2023-11-29 01:58:24,925 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 01:58:24,930 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;@592315ab, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 01:58:24,930 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-29 01:58:24,943 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 01:58:24,943 INFO L124 PetriNetUnfolderBase]: 0/19 cut-off events. [2023-11-29 01:58:24,943 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 01:58:24,943 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 01:58:24,944 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-11-29 01:58:24,944 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2023-11-29 01:58:24,948 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 01:58:24,948 INFO L85 PathProgramCache]: Analyzing trace with hash 425542105, now seen corresponding path program 1 times [2023-11-29 01:58:24,955 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 01:58:24,955 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1482490396] [2023-11-29 01:58:24,956 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 01:58:24,956 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 01:58:25,178 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 01:58:25,178 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-29 01:58:25,227 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 01:58:25,256 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-29 01:58:25,258 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-29 01:58:25,259 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2023-11-29 01:58:25,260 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 4 remaining) [2023-11-29 01:58:25,261 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2023-11-29 01:58:25,261 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-11-29 01:58:25,261 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-29 01:58:25,262 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-29 01:58:25,265 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-29 01:58:25,265 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-29 01:58:25,420 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-11-29 01:58:25,425 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 133 places, 174 transitions, 392 flow [2023-11-29 01:58:25,595 INFO L124 PetriNetUnfolderBase]: 285/895 cut-off events. [2023-11-29 01:58:25,595 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-29 01:58:25,609 INFO L83 FinitePrefix]: Finished finitePrefix Result has 984 conditions, 895 events. 285/895 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 45. Compared 5312 event pairs, 1 based on Foata normal form. 0/617 useless extension candidates. Maximal degree in co-relation 518. Up to 64 conditions per place. [2023-11-29 01:58:25,609 INFO L82 GeneralOperation]: Start removeDead. Operand has 133 places, 174 transitions, 392 flow [2023-11-29 01:58:25,624 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 133 places, 174 transitions, 392 flow [2023-11-29 01:58:25,626 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 01:58:25,627 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;@592315ab, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 01:58:25,627 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-29 01:58:25,644 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 01:58:25,644 INFO L124 PetriNetUnfolderBase]: 6/65 cut-off events. [2023-11-29 01:58:25,644 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-29 01:58:25,644 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 01:58:25,644 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1] [2023-11-29 01:58:25,645 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2023-11-29 01:58:25,645 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 01:58:25,645 INFO L85 PathProgramCache]: Analyzing trace with hash 886262493, now seen corresponding path program 1 times [2023-11-29 01:58:25,645 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 01:58:25,646 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2056785361] [2023-11-29 01:58:25,646 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 01:58:25,646 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 01:58:25,760 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 01:58:25,913 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 3 proven. 4 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-29 01:58:25,914 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 01:58:25,914 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2056785361] [2023-11-29 01:58:25,915 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2056785361] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-29 01:58:25,915 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1665112673] [2023-11-29 01:58:25,915 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 01:58:25,915 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-29 01:58:25,916 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/z3 [2023-11-29 01:58:25,919 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-29 01:58:25,929 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_75646780-d8fe-4900-b91d-b3d90014d209/bin/uautomizer-verify-BQ2R08f2Ya/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-11-29 01:58:26,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 01:58:26,263 INFO L262 TraceCheckSpWp]: Trace formula consists of 265 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-29 01:58:26,265 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-29 01:58:26,308 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 7 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-29 01:58:26,308 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-29 01:58:26,308 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1665112673] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 01:58:26,309 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2023-11-29 01:58:26,309 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [4] total 5 [2023-11-29 01:58:26,309 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1389601111] [2023-11-29 01:58:26,310 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 01:58:26,316 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-11-29 01:58:26,320 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 01:58:26,341 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-11-29 01:58:26,341 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=17, Unknown=0, NotChecked=0, Total=30 [2023-11-29 01:58:26,343 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 174 [2023-11-29 01:58:26,345 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 133 places, 174 transitions, 392 flow. Second operand has 5 states, 5 states have (on average 19.6) internal successors, (98), 5 states have internal predecessors, (98), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-29 01:58:26,345 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 01:58:26,345 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 174 [2023-11-29 01:58:26,346 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand