./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i --full-output --preprocessor.use.memory.slicer false --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 --preprocessor.use.memory.slicer false --- Real Ultimate output --- This is Ultimate 0.2.3-dev-6ae2ee4-m [2023-11-22 23:15:06,256 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-22 23:15:06,348 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2023-11-22 23:15:06,366 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-22 23:15:06,369 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-22 23:15:06,395 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-22 23:15:06,396 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-22 23:15:06,396 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-22 23:15:06,397 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-22 23:15:06,401 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-22 23:15:06,401 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-22 23:15:06,402 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-22 23:15:06,403 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-22 23:15:06,404 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-22 23:15:06,404 INFO L153 SettingsManager]: * Use SBE=true [2023-11-22 23:15:06,405 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-22 23:15:06,405 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-22 23:15:06,405 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-22 23:15:06,406 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-22 23:15:06,406 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-22 23:15:06,406 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-22 23:15:06,408 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-22 23:15:06,408 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-22 23:15:06,409 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-22 23:15:06,409 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-22 23:15:06,409 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-22 23:15:06,409 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-22 23:15:06,410 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-22 23:15:06,410 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-22 23:15:06,411 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-22 23:15:06,412 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-22 23:15:06,412 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 23:15:06,412 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-22 23:15:06,412 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-22 23:15:06,413 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-22 23:15:06,413 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-22 23:15:06,413 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-22 23:15:06,413 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-22 23:15:06,414 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-22 23:15:06,414 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-22 23:15:06,414 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-22 23:15:06,415 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-22 23:15:06,415 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 Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Use memory slicer -> false [2023-11-22 23:15:06,673 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-22 23:15:06,703 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-22 23:15:06,705 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-22 23:15:06,706 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-22 23:15:06,707 INFO L274 PluginConnector]: CDTParser initialized [2023-11-22 23:15:06,707 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 23:15:07,923 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-22 23:15:08,234 INFO L384 CDTParser]: Found 1 translation units. [2023-11-22 23:15:08,235 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/bounded_buffer.i [2023-11-22 23:15:08,256 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/91719ad3d/e900b4da91fa472dabc633aa10fe0d41/FLAG8b22fa49d [2023-11-22 23:15:08,271 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/91719ad3d/e900b4da91fa472dabc633aa10fe0d41 [2023-11-22 23:15:08,275 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-22 23:15:08,278 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-22 23:15:08,281 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-22 23:15:08,282 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-22 23:15:08,286 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-22 23:15:08,287 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 11:15:08" (1/1) ... [2023-11-22 23:15:08,288 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@26b20e4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:08, skipping insertion in model container [2023-11-22 23:15:08,288 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 11:15:08" (1/1) ... [2023-11-22 23:15:08,351 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-22 23:15:09,006 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 23:15:09,052 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 23:15:09,064 INFO L202 MainTranslator]: Completed pre-run [2023-11-22 23:15:09,115 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 23:15:09,128 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 23:15:09,207 WARN L675 CHandler]: The function fflush is called, but not defined or handled by StandardFunctionHandler. [2023-11-22 23:15:09,215 INFO L206 MainTranslator]: Completed translation [2023-11-22 23:15:09,216 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09 WrapperNode [2023-11-22 23:15:09,216 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-22 23:15:09,218 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-22 23:15:09,218 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-22 23:15:09,219 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-22 23:15:09,226 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,272 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,374 INFO L138 Inliner]: procedures = 429, calls = 136, calls flagged for inlining = 7, calls inlined = 7, statements flattened = 476 [2023-11-22 23:15:09,375 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-22 23:15:09,376 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-22 23:15:09,376 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-22 23:15:09,376 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-22 23:15:09,391 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,392 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,400 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,400 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,438 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,442 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,445 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,447 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,468 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-22 23:15:09,469 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-22 23:15:09,469 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-22 23:15:09,469 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-22 23:15:09,470 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (1/1) ... [2023-11-22 23:15:09,484 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 23:15:09,493 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 23:15:09,504 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 23:15:09,509 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 23:15:09,542 INFO L130 BoogieDeclarations]: Found specification of procedure producer_routine [2023-11-22 23:15:09,543 INFO L138 BoogieDeclarations]: Found implementation of procedure producer_routine [2023-11-22 23:15:09,543 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-22 23:15:09,543 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-22 23:15:09,543 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-22 23:15:09,543 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-22 23:15:09,543 INFO L130 BoogieDeclarations]: Found specification of procedure fflush [2023-11-22 23:15:09,543 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-22 23:15:09,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-11-22 23:15:09,544 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-22 23:15:09,544 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-22 23:15:09,544 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-22 23:15:09,544 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-22 23:15:09,544 INFO L130 BoogieDeclarations]: Found specification of procedure consumer_routine [2023-11-22 23:15:09,545 INFO L138 BoogieDeclarations]: Found implementation of procedure consumer_routine [2023-11-22 23:15:09,545 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-22 23:15:09,545 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-22 23:15:09,545 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-22 23:15:09,547 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 23:15:09,708 INFO L241 CfgBuilder]: Building ICFG [2023-11-22 23:15:09,710 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-22 23:15:10,252 INFO L282 CfgBuilder]: Performing block encoding [2023-11-22 23:15:10,754 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-22 23:15:10,754 INFO L309 CfgBuilder]: Removed 11 assume(true) statements. [2023-11-22 23:15:10,755 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 11:15:10 BoogieIcfgContainer [2023-11-22 23:15:10,756 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-22 23:15:10,759 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-22 23:15:10,760 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-22 23:15:10,764 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-22 23:15:10,764 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 22.11 11:15:08" (1/3) ... [2023-11-22 23:15:10,766 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5ba24181 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 11:15:10, skipping insertion in model container [2023-11-22 23:15:10,766 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 11:15:09" (2/3) ... [2023-11-22 23:15:10,768 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5ba24181 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 11:15:10, skipping insertion in model container [2023-11-22 23:15:10,768 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 11:15:10" (3/3) ... [2023-11-22 23:15:10,769 INFO L112 eAbstractionObserver]: Analyzing ICFG bounded_buffer.i [2023-11-22 23:15:10,779 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-11-22 23:15:10,788 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-22 23:15:10,788 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-22 23:15:10,789 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-22 23:15:10,894 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-22 23:15:10,932 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 83 places, 108 transitions, 236 flow [2023-11-22 23:15:11,035 INFO L124 PetriNetUnfolderBase]: 73/255 cut-off events. [2023-11-22 23:15:11,036 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-22 23:15:11,046 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 23:15:11,047 INFO L82 GeneralOperation]: Start removeDead. Operand has 83 places, 108 transitions, 236 flow [2023-11-22 23:15:11,052 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 83 places, 108 transitions, 236 flow [2023-11-22 23:15:11,060 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 23:15:11,067 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;@1cf7b302, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 23:15:11,067 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-22 23:15:11,079 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 23:15:11,079 INFO L124 PetriNetUnfolderBase]: 0/19 cut-off events. [2023-11-22 23:15:11,079 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 23:15:11,079 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 23:15:11,080 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-11-22 23:15:11,081 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 23:15:11,085 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 23:15:11,085 INFO L85 PathProgramCache]: Analyzing trace with hash 425542105, now seen corresponding path program 1 times [2023-11-22 23:15:11,094 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 23:15:11,094 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [184451594] [2023-11-22 23:15:11,094 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 23:15:11,095 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 23:15:11,430 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 23:15:11,431 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 23:15:11,519 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 23:15:11,553 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-22 23:15:11,555 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 23:15:11,556 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2023-11-22 23:15:11,558 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 4 remaining) [2023-11-22 23:15:11,558 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2023-11-22 23:15:11,558 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-11-22 23:15:11,559 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-22 23:15:11,559 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-22 23:15:11,566 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-22 23:15:11,567 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-22 23:15:11,689 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-11-22 23:15:11,698 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 133 places, 174 transitions, 392 flow [2023-11-22 23:15:11,851 INFO L124 PetriNetUnfolderBase]: 285/895 cut-off events. [2023-11-22 23:15:11,851 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-22 23:15:11,864 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 23:15:11,865 INFO L82 GeneralOperation]: Start removeDead. Operand has 133 places, 174 transitions, 392 flow [2023-11-22 23:15:11,878 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 133 places, 174 transitions, 392 flow [2023-11-22 23:15:11,879 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 23:15:11,881 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;@1cf7b302, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 23:15:11,881 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-22 23:15:11,895 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 23:15:11,895 INFO L124 PetriNetUnfolderBase]: 6/65 cut-off events. [2023-11-22 23:15:11,895 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-22 23:15:11,896 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 23:15:11,896 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1] [2023-11-22 23:15:11,897 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 23:15:11,897 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 23:15:11,897 INFO L85 PathProgramCache]: Analyzing trace with hash 886262493, now seen corresponding path program 1 times [2023-11-22 23:15:11,898 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-22 23:15:11,901 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [617852861] [2023-11-22 23:15:11,901 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 23:15:11,901 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-22 23:15:12,029 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 23:15:12,160 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 23:15:12,161 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-22 23:15:12,161 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [617852861] [2023-11-22 23:15:12,162 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [617852861] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-22 23:15:12,162 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1934025886] [2023-11-22 23:15:12,162 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 23:15:12,163 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-22 23:15:12,163 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 23:15:12,164 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 23:15:12,192 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 23:15:12,502 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 23:15:12,505 INFO L262 TraceCheckSpWp]: Trace formula consists of 267 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-22 23:15:12,507 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 23:15:12,547 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 23:15:12,547 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-22 23:15:12,547 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1934025886] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 23:15:12,548 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2023-11-22 23:15:12,548 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [4] total 5 [2023-11-22 23:15:12,548 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [783572137] [2023-11-22 23:15:12,549 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 23:15:12,555 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-11-22 23:15:12,560 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-22 23:15:12,582 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-11-22 23:15:12,582 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=17, Unknown=0, NotChecked=0, Total=30 [2023-11-22 23:15:12,584 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 174 [2023-11-22 23:15:12,586 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 23:15:12,586 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 23:15:12,586 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 174 [2023-11-22 23:15:12,587 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand