./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/pthread-complex/bounded_buffer.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for overflows 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_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread-complex/bounded_buffer.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/config/svcomp-Overflow-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --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-26 11:59:35,044 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-26 11:59:35,150 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/config/svcomp-Overflow-32bit-Automizer_Default.epf [2023-11-26 11:59:35,158 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-26 11:59:35,158 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-26 11:59:35,199 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-26 11:59:35,201 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-26 11:59:35,202 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-26 11:59:35,203 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-26 11:59:35,208 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-26 11:59:35,208 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-26 11:59:35,210 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-26 11:59:35,210 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-26 11:59:35,212 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-26 11:59:35,213 INFO L153 SettingsManager]: * Use SBE=true [2023-11-26 11:59:35,213 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-26 11:59:35,214 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-26 11:59:35,214 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-26 11:59:35,215 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-26 11:59:35,215 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-26 11:59:35,216 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-26 11:59:35,216 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-26 11:59:35,217 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-26 11:59:35,217 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-26 11:59:35,218 INFO L153 SettingsManager]: * Check absence of signed integer overflows=true [2023-11-26 11:59:35,218 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-26 11:59:35,219 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-26 11:59:35,219 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-26 11:59:35,220 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-26 11:59:35,220 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-26 11:59:35,222 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-26 11:59:35,222 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-26 11:59:35,223 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-26 11:59:35,223 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-26 11:59:35,223 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-26 11:59:35,224 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-26 11:59:35,224 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-26 11:59:35,224 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-26 11:59:35,224 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-26 11:59:35,225 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-26 11:59:35,225 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-26 11:59:35,226 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-26 11:59:35,226 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-26 11:59:35,226 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-26 11:59:35,227 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_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/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_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme 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 ! overflow) ) 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-26 11:59:35,549 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-26 11:59:35,571 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-26 11:59:35,574 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-26 11:59:35,575 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-26 11:59:35,576 INFO L274 PluginConnector]: CDTParser initialized [2023-11-26 11:59:35,577 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/../../sv-benchmarks/c/pthread-complex/bounded_buffer.i [2023-11-26 11:59:38,773 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-26 11:59:39,113 INFO L384 CDTParser]: Found 1 translation units. [2023-11-26 11:59:39,113 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/sv-benchmarks/c/pthread-complex/bounded_buffer.i [2023-11-26 11:59:39,147 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/data/e35621e69/5523d6a416334563a503e7e5d0f60bd1/FLAG7db687ebb [2023-11-26 11:59:39,162 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/data/e35621e69/5523d6a416334563a503e7e5d0f60bd1 [2023-11-26 11:59:39,165 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-26 11:59:39,166 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-26 11:59:39,168 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-26 11:59:39,168 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-26 11:59:39,174 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-26 11:59:39,175 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.11 11:59:39" (1/1) ... [2023-11-26 11:59:39,176 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7539066e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:39, skipping insertion in model container [2023-11-26 11:59:39,176 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.11 11:59:39" (1/1) ... [2023-11-26 11:59:39,257 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-26 11:59:40,255 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-26 11:59:40,269 INFO L202 MainTranslator]: Completed pre-run [2023-11-26 11:59:40,373 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-26 11:59:40,562 WARN L675 CHandler]: The function fflush is called, but not defined or handled by StandardFunctionHandler. [2023-11-26 11:59:40,571 INFO L206 MainTranslator]: Completed translation [2023-11-26 11:59:40,571 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40 WrapperNode [2023-11-26 11:59:40,571 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-26 11:59:40,573 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-26 11:59:40,573 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-26 11:59:40,573 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-26 11:59:40,581 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,645 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,695 INFO L138 Inliner]: procedures = 429, calls = 137, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 497 [2023-11-26 11:59:40,696 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-26 11:59:40,696 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-26 11:59:40,697 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-26 11:59:40,697 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-26 11:59:40,710 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,711 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,716 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,771 INFO L175 MemorySlicer]: Split 78 memory accesses to 6 slices as follows [2, 6, 5, 5, 2, 58]. 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, 2, 3, 3, 1, 17]. [2023-11-26 11:59:40,771 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,772 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,808 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,813 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,829 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,833 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,852 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-26 11:59:40,853 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-26 11:59:40,854 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-26 11:59:40,854 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-26 11:59:40,855 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (1/1) ... [2023-11-26 11:59:40,862 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-26 11:59:40,874 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:59:40,887 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-26 11:59:40,901 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_73211702-e026-4afa-98ea-decba398e232/bin/uautomizer-verify-VRDe98Ueme/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-26 11:59:40,929 INFO L130 BoogieDeclarations]: Found specification of procedure producer_routine [2023-11-26 11:59:40,929 INFO L138 BoogieDeclarations]: Found implementation of procedure producer_routine [2023-11-26 11:59:40,929 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-26 11:59:40,930 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-26 11:59:40,930 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-26 11:59:40,930 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-26 11:59:40,930 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-26 11:59:40,930 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2023-11-26 11:59:40,931 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2023-11-26 11:59:40,931 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-26 11:59:40,931 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-26 11:59:40,931 INFO L130 BoogieDeclarations]: Found specification of procedure fflush [2023-11-26 11:59:40,932 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-26 11:59:40,932 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2023-11-26 11:59:40,932 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2023-11-26 11:59:40,932 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2023-11-26 11:59:40,932 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#3 [2023-11-26 11:59:40,933 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#4 [2023-11-26 11:59:40,933 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#5 [2023-11-26 11:59:40,933 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-26 11:59:40,933 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-26 11:59:40,933 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-26 11:59:40,934 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2023-11-26 11:59:40,934 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2023-11-26 11:59:40,934 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#2 [2023-11-26 11:59:40,934 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#3 [2023-11-26 11:59:40,934 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#4 [2023-11-26 11:59:40,935 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#5 [2023-11-26 11:59:40,935 INFO L130 BoogieDeclarations]: Found specification of procedure consumer_routine [2023-11-26 11:59:40,935 INFO L138 BoogieDeclarations]: Found implementation of procedure consumer_routine [2023-11-26 11:59:40,935 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-26 11:59:40,935 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-26 11:59:40,936 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-26 11:59:40,936 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-26 11:59:40,936 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-26 11:59:40,936 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2023-11-26 11:59:40,936 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2023-11-26 11:59:40,937 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-26 11:59:40,937 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-26 11:59:40,937 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-26 11:59:40,937 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-26 11:59:40,938 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2023-11-26 11:59:40,938 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2023-11-26 11:59:40,940 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-26 11:59:41,200 INFO L241 CfgBuilder]: Building ICFG [2023-11-26 11:59:41,203 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-26 11:59:41,967 INFO L282 CfgBuilder]: Performing block encoding [2023-11-26 11:59:42,603 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-26 11:59:42,603 INFO L309 CfgBuilder]: Removed 11 assume(true) statements. [2023-11-26 11:59:42,604 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.11 11:59:42 BoogieIcfgContainer [2023-11-26 11:59:42,604 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-26 11:59:42,607 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-26 11:59:42,608 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-26 11:59:42,611 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-26 11:59:42,611 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 26.11 11:59:39" (1/3) ... [2023-11-26 11:59:42,612 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5c25d683 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.11 11:59:42, skipping insertion in model container [2023-11-26 11:59:42,646 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:59:40" (2/3) ... [2023-11-26 11:59:42,646 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5c25d683 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.11 11:59:42, skipping insertion in model container [2023-11-26 11:59:42,646 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.11 11:59:42" (3/3) ... [2023-11-26 11:59:42,648 INFO L112 eAbstractionObserver]: Analyzing ICFG bounded_buffer.i [2023-11-26 11:59:42,662 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-11-26 11:59:42,673 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-26 11:59:42,674 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 18 error locations. [2023-11-26 11:59:42,674 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-26 11:59:42,802 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-26 11:59:42,853 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 114 places, 137 transitions, 294 flow [2023-11-26 11:59:43,012 INFO L124 PetriNetUnfolderBase]: 69/337 cut-off events. [2023-11-26 11:59:43,012 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-26 11:59:43,025 INFO L83 FinitePrefix]: Finished finitePrefix Result has 354 conditions, 337 events. 69/337 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1725 event pairs, 0 based on Foata normal form. 0/214 useless extension candidates. Maximal degree in co-relation 181. Up to 16 conditions per place. [2023-11-26 11:59:43,025 INFO L82 GeneralOperation]: Start removeDead. Operand has 114 places, 137 transitions, 294 flow [2023-11-26 11:59:43,036 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 114 places, 137 transitions, 294 flow [2023-11-26 11:59:43,054 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-26 11:59:43,066 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;@73a5b5e2, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-26 11:59:43,067 INFO L358 AbstractCegarLoop]: Starting to check reachability of 24 error locations. [2023-11-26 11:59:43,082 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-26 11:59:43,082 INFO L124 PetriNetUnfolderBase]: 0/13 cut-off events. [2023-11-26 11:59:43,082 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-26 11:59:43,083 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-26 11:59:43,083 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-11-26 11:59:43,084 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW === [consumer_routineErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, consumer_routineErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (and 21 more)] === [2023-11-26 11:59:43,088 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:59:43,089 INFO L85 PathProgramCache]: Analyzing trace with hash 1161308669, now seen corresponding path program 1 times [2023-11-26 11:59:43,099 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:59:43,100 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [773540072] [2023-11-26 11:59:43,100 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:59:43,101 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:59:43,375 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-26 11:59:43,743 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-26 11:59:43,743 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-26 11:59:43,744 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [773540072] [2023-11-26 11:59:43,745 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [773540072] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-26 11:59:43,745 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-26 11:59:43,746 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-26 11:59:43,748 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1844024722] [2023-11-26 11:59:43,750 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-26 11:59:43,759 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-26 11:59:43,765 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-26 11:59:43,801 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-26 11:59:43,802 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-26 11:59:43,812 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 35 out of 137 [2023-11-26 11:59:43,816 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 114 places, 137 transitions, 294 flow. Second operand has 4 states, 4 states have (on average 36.25) internal successors, (145), 4 states have internal predecessors, (145), 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-26 11:59:43,816 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-26 11:59:43,816 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 35 of 137 [2023-11-26 11:59:43,817 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-26 11:59:46,709 INFO L124 PetriNetUnfolderBase]: 6520/10512 cut-off events. [2023-11-26 11:59:46,709 INFO L125 PetriNetUnfolderBase]: For 90/90 co-relation queries the response was YES. [2023-11-26 11:59:46,730 INFO L83 FinitePrefix]: Finished finitePrefix Result has 20048 conditions, 10512 events. 6520/10512 cut-off events. For 90/90 co-relation queries the response was YES. Maximal size of possible extension queue 326. Compared 64130 event pairs, 3270 based on Foata normal form. 23/8356 useless extension candidates. Maximal degree in co-relation 19262. Up to 6081 conditions per place. [2023-11-26 11:59:46,802 INFO L140 encePairwiseOnDemand]: 120/137 looper letters, 157 selfloop transitions, 9 changer transitions 9/210 dead transitions. [2023-11-26 11:59:46,802 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 115 places, 210 transitions, 796 flow [2023-11-26 11:59:46,804 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-26 11:59:46,807 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-11-26 11:59:46,815 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 329 transitions. [2023-11-26 11:59:46,818 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6003649635036497 [2023-11-26 11:59:46,819 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 329 transitions. [2023-11-26 11:59:46,820 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 329 transitions. [2023-11-26 11:59:46,822 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-26 11:59:46,824 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 329 transitions. [2023-11-26 11:59:46,831 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 82.25) internal successors, (329), 4 states have internal predecessors, (329), 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-26 11:59:46,839 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 137.0) internal successors, (685), 5 states have internal predecessors, (685), 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-26 11:59:46,839 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 137.0) internal successors, (685), 5 states have internal predecessors, (685), 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-26 11:59:46,842 INFO L175 Difference]: Start difference. First operand has 114 places, 137 transitions, 294 flow. Second operand 4 states and 329 transitions. [2023-11-26 11:59:46,843 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 115 places, 210 transitions, 796 flow [2023-11-26 11:59:46,854 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 115 places, 210 transitions, 796 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-26 11:59:46,862 INFO L231 Difference]: Finished difference. Result has 116 places, 123 transitions, 294 flow [2023-11-26 11:59:46,865 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=280, PETRI_DIFFERENCE_MINUEND_PLACES=112, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=130, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=9, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=121, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=294, PETRI_PLACES=116, PETRI_TRANSITIONS=123} [2023-11-26 11:59:46,871 INFO L281 CegarLoopForPetriNet]: 114 programPoint places, 2 predicate places. [2023-11-26 11:59:46,871 INFO L495 AbstractCegarLoop]: Abstraction has has 116 places, 123 transitions, 294 flow [2023-11-26 11:59:46,871 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 36.25) internal successors, (145), 4 states have internal predecessors, (145), 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-26 11:59:46,872 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-26 11:59:46,872 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-26 11:59:46,873 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-26 11:59:46,873 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting producer_routineErr0ASSERT_VIOLATIONINTEGER_OVERFLOW === [consumer_routineErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, consumer_routineErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (and 21 more)] === [2023-11-26 11:59:46,874 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:59:46,874 INFO L85 PathProgramCache]: Analyzing trace with hash 676419486, now seen corresponding path program 1 times [2023-11-26 11:59:46,874 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:59:46,876 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2101547971] [2023-11-26 11:59:46,876 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:59:46,877 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:59:46,990 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-26 11:59:47,201 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-26 11:59:47,201 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-26 11:59:47,202 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2101547971] [2023-11-26 11:59:47,202 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2101547971] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-26 11:59:47,202 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-26 11:59:47,202 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-26 11:59:47,202 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2113562009] [2023-11-26 11:59:47,203 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-26 11:59:47,204 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-26 11:59:47,206 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-26 11:59:47,206 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-26 11:59:47,207 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-26 11:59:47,211 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 35 out of 137 [2023-11-26 11:59:47,211 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 116 places, 123 transitions, 294 flow. Second operand has 4 states, 4 states have (on average 37.0) internal successors, (148), 4 states have internal predecessors, (148), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-26 11:59:47,212 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-26 11:59:47,212 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 35 of 137 [2023-11-26 11:59:47,212 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-26 11:59:51,746 INFO L124 PetriNetUnfolderBase]: 13218/20195 cut-off events. [2023-11-26 11:59:51,747 INFO L125 PetriNetUnfolderBase]: For 4051/4051 co-relation queries the response was YES. [2023-11-26 11:59:51,800 INFO L83 FinitePrefix]: Finished finitePrefix Result has 42005 conditions, 20195 events. 13218/20195 cut-off events. For 4051/4051 co-relation queries the response was YES. Maximal size of possible extension queue 542. Compared 125034 event pairs, 9736 based on Foata normal form. 150/16948 useless extension candidates. Maximal degree in co-relation 41163. Up to 10299 conditions per place. [2023-11-26 11:59:51,937 INFO L140 encePairwiseOnDemand]: 131/137 looper letters, 190 selfloop transitions, 3 changer transitions 0/226 dead transitions. [2023-11-26 11:59:51,938 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 116 places, 226 transitions, 938 flow [2023-11-26 11:59:51,938 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-26 11:59:51,939 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-11-26 11:59:51,944 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 336 transitions. [2023-11-26 11:59:51,946 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6131386861313869 [2023-11-26 11:59:51,946 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 336 transitions. [2023-11-26 11:59:51,947 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 336 transitions. [2023-11-26 11:59:51,947 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-26 11:59:51,947 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 336 transitions. [2023-11-26 11:59:51,949 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 84.0) internal successors, (336), 4 states have internal predecessors, (336), 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-26 11:59:51,954 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 137.0) internal successors, (685), 5 states have internal predecessors, (685), 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-26 11:59:51,956 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 137.0) internal successors, (685), 5 states have internal predecessors, (685), 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-26 11:59:51,956 INFO L175 Difference]: Start difference. First operand has 116 places, 123 transitions, 294 flow. Second operand 4 states and 336 transitions. [2023-11-26 11:59:51,956 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 116 places, 226 transitions, 938 flow [2023-11-26 11:59:51,969 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 115 places, 226 transitions, 932 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-26 11:59:51,976 INFO L231 Difference]: Finished difference. Result has 117 places, 125 transitions, 316 flow [2023-11-26 11:59:51,977 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=292, PETRI_DIFFERENCE_MINUEND_PLACES=112, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=123, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=120, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=316, PETRI_PLACES=117, PETRI_TRANSITIONS=125} [2023-11-26 11:59:51,978 INFO L281 CegarLoopForPetriNet]: 114 programPoint places, 3 predicate places. [2023-11-26 11:59:51,978 INFO L495 AbstractCegarLoop]: Abstraction has has 117 places, 125 transitions, 316 flow [2023-11-26 11:59:51,979 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 37.0) internal successors, (148), 4 states have internal predecessors, (148), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-26 11:59:51,979 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-26 11:59:51,979 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1] [2023-11-26 11:59:51,980 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-26 11:59:51,980 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [consumer_routineErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, consumer_routineErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (and 21 more)] === [2023-11-26 11:59:51,981 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:59:51,982 INFO L85 PathProgramCache]: Analyzing trace with hash 586175192, now seen corresponding path program 1 times [2023-11-26 11:59:51,983 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:59:51,983 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1910941283] [2023-11-26 11:59:51,983 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:59:51,989 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:59:52,111 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:59:52,111 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-26 11:59:52,140 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-26 11:59:52,184 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-26 11:59:52,185 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-26 11:59:52,186 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (23 of 24 remaining) [2023-11-26 11:59:52,188 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (22 of 24 remaining) [2023-11-26 11:59:52,189 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (21 of 24 remaining) [2023-11-26 11:59:52,189 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (20 of 24 remaining) [2023-11-26 11:59:52,190 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (19 of 24 remaining) [2023-11-26 11:59:52,190 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (18 of 24 remaining) [2023-11-26 11:59:52,191 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW (17 of 24 remaining) [2023-11-26 11:59:52,191 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONINTEGER_OVERFLOW (16 of 24 remaining) [2023-11-26 11:59:52,191 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONINTEGER_OVERFLOW (15 of 24 remaining) [2023-11-26 11:59:52,192 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6ASSERT_VIOLATIONINTEGER_OVERFLOW (14 of 24 remaining) [2023-11-26 11:59:52,192 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7ASSERT_VIOLATIONINTEGER_OVERFLOW (13 of 24 remaining) [2023-11-26 11:59:52,192 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr10ASSERT_VIOLATIONINTEGER_OVERFLOW (12 of 24 remaining) [2023-11-26 11:59:52,192 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr8ASSERT_VIOLATIONINTEGER_OVERFLOW (11 of 24 remaining) [2023-11-26 11:59:52,193 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr11ASSERT_VIOLATIONINTEGER_OVERFLOW (10 of 24 remaining) [2023-11-26 11:59:52,193 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr9ASSERT_VIOLATIONINTEGER_OVERFLOW (9 of 24 remaining) [2023-11-26 11:59:52,193 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr12ASSERT_VIOLATIONINTEGER_OVERFLOW (8 of 24 remaining) [2023-11-26 11:59:52,194 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr13ASSERT_VIOLATIONINTEGER_OVERFLOW (7 of 24 remaining) [2023-11-26 11:59:52,194 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 24 remaining) [2023-11-26 11:59:52,194 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location producer_routineErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (5 of 24 remaining) [2023-11-26 11:59:52,195 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location producer_routineErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (4 of 24 remaining) [2023-11-26 11:59:52,195 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (3 of 24 remaining) [2023-11-26 11:59:52,195 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (2 of 24 remaining) [2023-11-26 11:59:52,196 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location producer_routineErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (1 of 24 remaining) [2023-11-26 11:59:52,196 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location producer_routineErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (0 of 24 remaining) [2023-11-26 11:59:52,196 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-26 11:59:52,198 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-26 11:59:52,201 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-26 11:59:52,201 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-26 11:59:52,381 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-11-26 11:59:52,391 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 167 places, 204 transitions, 452 flow [2023-11-26 11:59:52,794 INFO L124 PetriNetUnfolderBase]: 273/1229 cut-off events. [2023-11-26 11:59:52,794 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-26 11:59:52,811 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1318 conditions, 1229 events. 273/1229 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 48. Compared 8277 event pairs, 1 based on Foata normal form. 0/781 useless extension candidates. Maximal degree in co-relation 686. Up to 64 conditions per place. [2023-11-26 11:59:52,811 INFO L82 GeneralOperation]: Start removeDead. Operand has 167 places, 204 transitions, 452 flow [2023-11-26 11:59:52,826 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 167 places, 204 transitions, 452 flow [2023-11-26 11:59:52,827 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-26 11:59:52,833 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;@73a5b5e2, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-26 11:59:52,834 INFO L358 AbstractCegarLoop]: Starting to check reachability of 28 error locations. [2023-11-26 11:59:52,843 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-26 11:59:52,844 INFO L124 PetriNetUnfolderBase]: 0/13 cut-off events. [2023-11-26 11:59:52,844 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-26 11:59:52,844 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-26 11:59:52,844 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-11-26 11:59:52,845 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW === [consumer_routineErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, consumer_routineErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (and 25 more)] === [2023-11-26 11:59:52,845 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:59:52,845 INFO L85 PathProgramCache]: Analyzing trace with hash 1354137861, now seen corresponding path program 1 times [2023-11-26 11:59:52,845 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:59:52,846 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [831943036] [2023-11-26 11:59:52,846 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:59:52,846 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:59:52,904 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-26 11:59:53,044 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-26 11:59:53,044 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-26 11:59:53,045 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [831943036] [2023-11-26 11:59:53,045 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [831943036] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-26 11:59:53,045 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-26 11:59:53,045 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-26 11:59:53,045 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1976050507] [2023-11-26 11:59:53,046 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-26 11:59:53,046 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-11-26 11:59:53,046 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-26 11:59:53,047 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-11-26 11:59:53,047 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2023-11-26 11:59:53,056 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 45 out of 204 [2023-11-26 11:59:53,056 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 167 places, 204 transitions, 452 flow. Second operand has 4 states, 4 states have (on average 46.25) internal successors, (185), 4 states have internal predecessors, (185), 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-26 11:59:53,057 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-26 11:59:53,057 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 45 of 204 [2023-11-26 11:59:53,057 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand