./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 6ae2ee47 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 6780d9b269575eab8bb01b5a192a21fa771f6fcc4c495cab5abe1df10d7681d5 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-6ae2ee4-m [2023-11-22 18:47:32,334 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-22 18:47:32,390 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2023-11-22 18:47:32,393 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-22 18:47:32,394 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-22 18:47:32,412 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-22 18:47:32,417 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-22 18:47:32,418 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-22 18:47:32,419 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-22 18:47:32,420 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-22 18:47:32,420 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-22 18:47:32,421 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-22 18:47:32,421 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-22 18:47:32,424 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-22 18:47:32,425 INFO L153 SettingsManager]: * Use SBE=true [2023-11-22 18:47:32,425 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-22 18:47:32,425 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-22 18:47:32,425 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-22 18:47:32,426 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-22 18:47:32,426 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-22 18:47:32,426 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-22 18:47:32,426 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-22 18:47:32,427 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-22 18:47:32,427 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-22 18:47:32,427 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-22 18:47:32,427 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-22 18:47:32,427 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-22 18:47:32,428 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-22 18:47:32,428 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-22 18:47:32,428 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-22 18:47:32,429 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-22 18:47:32,429 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 18:47:32,430 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-22 18:47:32,430 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-22 18:47:32,430 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-22 18:47:32,430 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-22 18:47:32,430 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-22 18:47:32,431 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-22 18:47:32,431 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-22 18:47:32,431 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-22 18:47:32,431 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-22 18:47:32,431 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-22 18:47:32,432 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 6780d9b269575eab8bb01b5a192a21fa771f6fcc4c495cab5abe1df10d7681d5 [2023-11-22 18:47:32,643 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-22 18:47:32,669 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-22 18:47:32,671 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-22 18:47:32,672 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-22 18:47:32,672 INFO L274 PluginConnector]: CDTParser initialized [2023-11-22 18:47:32,673 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i [2023-11-22 18:47:33,728 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-22 18:47:33,934 INFO L384 CDTParser]: Found 1 translation units. [2023-11-22 18:47:33,934 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/bounded_buffer.i [2023-11-22 18:47:33,949 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/af2db3d6d/07ce103d57ed4bb09731162c3f49ead1/FLAG7d66b8a76 [2023-11-22 18:47:33,961 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/af2db3d6d/07ce103d57ed4bb09731162c3f49ead1 [2023-11-22 18:47:33,963 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-22 18:47:33,965 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-22 18:47:33,965 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-22 18:47:33,966 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-22 18:47:33,969 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-22 18:47:33,970 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 06:47:33" (1/1) ... [2023-11-22 18:47:33,971 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@39df391d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:33, skipping insertion in model container [2023-11-22 18:47:33,971 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 06:47:33" (1/1) ... [2023-11-22 18:47:34,011 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-22 18:47:34,482 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/bounded_buffer.i[70002,70015] [2023-11-22 18:47:34,523 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 18:47:34,536 INFO L202 MainTranslator]: Completed pre-run [2023-11-22 18:47:34,602 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/bounded_buffer.i[70002,70015] [2023-11-22 18:47:34,628 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 18:47:34,735 WARN L675 CHandler]: The function fflush is called, but not defined or handled by StandardFunctionHandler. [2023-11-22 18:47:34,752 INFO L206 MainTranslator]: Completed translation [2023-11-22 18:47:34,753 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34 WrapperNode [2023-11-22 18:47:34,753 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-22 18:47:34,754 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-22 18:47:34,755 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-22 18:47:34,755 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-22 18:47:34,761 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,796 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,832 INFO L138 Inliner]: procedures = 429, calls = 136, calls flagged for inlining = 7, calls inlined = 7, statements flattened = 476 [2023-11-22 18:47:34,833 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-22 18:47:34,837 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-22 18:47:34,837 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-22 18:47:34,837 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-22 18:47:34,846 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,846 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,850 INFO L184 PluginConnector]: Executing the observer HeapSplitter from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,864 INFO L189 HeapSplitter]: Split 77 memory accesses to 12 slices as follows [2, 1, 4, 1, 1, 4, 17, 24, 3, 1, 2, 17] [2023-11-22 18:47:34,864 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,864 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,881 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,899 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,903 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,905 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,910 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-22 18:47:34,911 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-22 18:47:34,918 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-22 18:47:34,918 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-22 18:47:34,919 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (1/1) ... [2023-11-22 18:47:34,925 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 18:47:34,936 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 18:47:34,966 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-22 18:47:35,015 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-22 18:47:35,035 INFO L130 BoogieDeclarations]: Found specification of procedure producer_routine [2023-11-22 18:47:35,035 INFO L138 BoogieDeclarations]: Found implementation of procedure producer_routine [2023-11-22 18:47:35,035 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-22 18:47:35,035 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-22 18:47:35,035 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-22 18:47:35,036 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-22 18:47:35,036 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-22 18:47:35,036 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2023-11-22 18:47:35,036 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2023-11-22 18:47:35,036 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#6 [2023-11-22 18:47:35,036 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#7 [2023-11-22 18:47:35,036 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#8 [2023-11-22 18:47:35,036 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#9 [2023-11-22 18:47:35,037 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#10 [2023-11-22 18:47:35,037 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#11 [2023-11-22 18:47:35,037 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-22 18:47:35,037 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-22 18:47:35,037 INFO L130 BoogieDeclarations]: Found specification of procedure fflush [2023-11-22 18:47:35,037 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-22 18:47:35,037 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2023-11-22 18:47:35,037 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2023-11-22 18:47:35,038 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2023-11-22 18:47:35,038 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#3 [2023-11-22 18:47:35,038 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#4 [2023-11-22 18:47:35,038 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#5 [2023-11-22 18:47:35,038 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#6 [2023-11-22 18:47:35,038 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#7 [2023-11-22 18:47:35,038 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#8 [2023-11-22 18:47:35,038 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#9 [2023-11-22 18:47:35,039 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#10 [2023-11-22 18:47:35,039 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#11 [2023-11-22 18:47:35,039 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-22 18:47:35,039 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-22 18:47:35,039 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-22 18:47:35,039 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2023-11-22 18:47:35,039 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2023-11-22 18:47:35,039 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#2 [2023-11-22 18:47:35,039 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#3 [2023-11-22 18:47:35,040 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#4 [2023-11-22 18:47:35,040 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#5 [2023-11-22 18:47:35,040 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#6 [2023-11-22 18:47:35,040 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#7 [2023-11-22 18:47:35,040 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#8 [2023-11-22 18:47:35,040 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#9 [2023-11-22 18:47:35,040 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#10 [2023-11-22 18:47:35,040 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#11 [2023-11-22 18:47:35,040 INFO L130 BoogieDeclarations]: Found specification of procedure consumer_routine [2023-11-22 18:47:35,041 INFO L138 BoogieDeclarations]: Found implementation of procedure consumer_routine [2023-11-22 18:47:35,041 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-22 18:47:35,041 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-22 18:47:35,041 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-22 18:47:35,041 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-22 18:47:35,041 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-22 18:47:35,041 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2023-11-22 18:47:35,041 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2023-11-22 18:47:35,041 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#6 [2023-11-22 18:47:35,042 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#7 [2023-11-22 18:47:35,042 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#8 [2023-11-22 18:47:35,042 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#9 [2023-11-22 18:47:35,042 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#10 [2023-11-22 18:47:35,042 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#11 [2023-11-22 18:47:35,042 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-22 18:47:35,042 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-22 18:47:35,042 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-22 18:47:35,043 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-22 18:47:35,043 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2023-11-22 18:47:35,043 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2023-11-22 18:47:35,043 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#6 [2023-11-22 18:47:35,043 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#7 [2023-11-22 18:47:35,043 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#8 [2023-11-22 18:47:35,043 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#9 [2023-11-22 18:47:35,043 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#10 [2023-11-22 18:47:35,043 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#11 [2023-11-22 18:47:35,045 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-22 18:47:35,255 INFO L241 CfgBuilder]: Building ICFG [2023-11-22 18:47:35,257 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-22 18:47:35,769 INFO L282 CfgBuilder]: Performing block encoding [2023-11-22 18:47:36,173 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-22 18:47:36,174 INFO L309 CfgBuilder]: Removed 11 assume(true) statements. [2023-11-22 18:47:36,174 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 06:47:36 BoogieIcfgContainer [2023-11-22 18:47:36,175 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-22 18:47:36,177 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-22 18:47:36,178 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-22 18:47:36,181 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-22 18:47:36,181 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 22.11 06:47:33" (1/3) ... [2023-11-22 18:47:36,182 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6f3d4ddf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 06:47:36, skipping insertion in model container [2023-11-22 18:47:36,182 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 06:47:34" (2/3) ... [2023-11-22 18:47:36,183 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6f3d4ddf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 06:47:36, skipping insertion in model container [2023-11-22 18:47:36,184 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 06:47:36" (3/3) ... [2023-11-22 18:47:36,185 INFO L112 eAbstractionObserver]: Analyzing ICFG bounded_buffer.i [2023-11-22 18:47:36,194 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-11-22 18:47:36,202 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-22 18:47:36,203 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-22 18:47:36,203 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-22 18:47:36,314 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-22 18:47:36,353 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 83 places, 108 transitions, 236 flow [2023-11-22 18:47:36,439 INFO L124 PetriNetUnfolderBase]: 73/255 cut-off events. [2023-11-22 18:47:36,439 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-22 18:47:36,449 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-22 18:47:36,450 INFO L82 GeneralOperation]: Start removeDead. Operand has 83 places, 108 transitions, 236 flow [2023-11-22 18:47:36,455 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 83 places, 108 transitions, 236 flow [2023-11-22 18:47:36,470 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 18:47:36,478 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;@57950c66, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 18:47:36,479 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-22 18:47:36,493 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 18:47:36,493 INFO L124 PetriNetUnfolderBase]: 0/19 cut-off events. [2023-11-22 18:47:36,493 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 18:47:36,493 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 18:47:36,494 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-11-22 18:47:36,495 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-22 18:47:36,498 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 18:47:36,499 INFO L85 PathProgramCache]: Analyzing trace with hash 425542105, now seen corresponding path program 1 times [2023-11-22 18:47:36,507 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 18:47:36,507 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1850246100] [2023-11-22 18:47:36,507 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 18:47:36,508 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 18:47:36,727 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 18:47:36,728 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 18:47:36,792 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 18:47:36,828 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 18:47:36,830 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 18:47:36,830 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2023-11-22 18:47:36,832 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 4 remaining) [2023-11-22 18:47:36,832 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2023-11-22 18:47:36,832 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-11-22 18:47:36,833 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-22 18:47:36,833 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-22 18:47:36,835 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 18:47:36,835 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-22 18:47:36,933 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-11-22 18:47:36,940 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 133 places, 174 transitions, 392 flow [2023-11-22 18:47:37,104 INFO L124 PetriNetUnfolderBase]: 285/895 cut-off events. [2023-11-22 18:47:37,105 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-22 18:47:37,115 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-22 18:47:37,116 INFO L82 GeneralOperation]: Start removeDead. Operand has 133 places, 174 transitions, 392 flow [2023-11-22 18:47:37,126 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 133 places, 174 transitions, 392 flow [2023-11-22 18:47:37,127 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 18:47:37,129 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;@57950c66, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 18:47:37,130 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-22 18:47:37,141 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 18:47:37,141 INFO L124 PetriNetUnfolderBase]: 6/65 cut-off events. [2023-11-22 18:47:37,141 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-22 18:47:37,141 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 18:47:37,141 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1] [2023-11-22 18:47:37,142 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-22 18:47:37,142 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 18:47:37,142 INFO L85 PathProgramCache]: Analyzing trace with hash 886262493, now seen corresponding path program 1 times [2023-11-22 18:47:37,142 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 18:47:37,143 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [815752913] [2023-11-22 18:47:37,143 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 18:47:37,143 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 18:47:37,191 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 18:47:37,330 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-22 18:47:37,331 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 18:47:37,331 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [815752913] [2023-11-22 18:47:37,332 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [815752913] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-22 18:47:37,335 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1457178915] [2023-11-22 18:47:37,335 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 18:47:37,335 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-22 18:47:37,335 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 18:47:37,336 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-22 18:47:37,347 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-11-22 18:47:37,620 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 18:47:37,623 INFO L262 TraceCheckSpWp]: Trace formula consists of 265 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-22 18:47:37,625 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 18:47:37,654 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-22 18:47:37,655 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-22 18:47:37,655 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1457178915] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 18:47:37,655 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2023-11-22 18:47:37,655 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [4] total 5 [2023-11-22 18:47:37,656 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1911754880] [2023-11-22 18:47:37,656 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 18:47:37,662 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-11-22 18:47:37,666 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 18:47:37,684 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-11-22 18:47:37,685 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=17, Unknown=0, NotChecked=0, Total=30 [2023-11-22 18:47:37,686 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 174 [2023-11-22 18:47:37,688 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-22 18:47:37,688 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 18:47:37,688 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 174 [2023-11-22 18:47:37,689 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand