/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/BuchiAutomizerCInline.xml -s ../../../trunk/examples/settings/default/automizer/svcomp-Termination-32bit-Automizer_Default.epf --buchiautomizer.fairness.type.for.concurrent.programs FAIRNESS_INTERSECTION -i ../../../trunk/examples/svcomp/weaver/popl20-bad-buffer-mult-alt2.wvr.c -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.me.fairness-42053ae-m [2023-09-17 11:39:20,645 INFO L172 SettingsManager]: Resetting all preferences to default values... [2023-09-17 11:39:20,696 INFO L100 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Termination-32bit-Automizer_Default.epf [2023-09-17 11:39:20,715 INFO L114 SettingsManager]: Preferences different from defaults after loading the file: [2023-09-17 11:39:20,716 INFO L135 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-09-17 11:39:20,716 INFO L137 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-09-17 11:39:20,717 INFO L135 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-09-17 11:39:20,718 INFO L137 SettingsManager]: * Create parallel compositions if possible=false [2023-09-17 11:39:20,718 INFO L137 SettingsManager]: * Use SBE=true [2023-09-17 11:39:20,718 INFO L135 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2023-09-17 11:39:20,719 INFO L137 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2023-09-17 11:39:20,719 INFO L137 SettingsManager]: * Use old map elimination=false [2023-09-17 11:39:20,720 INFO L137 SettingsManager]: * Use external solver (rank synthesis)=false [2023-09-17 11:39:20,720 INFO L137 SettingsManager]: * Use only trivial implications for array writes=true [2023-09-17 11:39:20,720 INFO L137 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2023-09-17 11:39:20,721 INFO L135 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-09-17 11:39:20,721 INFO L137 SettingsManager]: * sizeof long=4 [2023-09-17 11:39:20,721 INFO L137 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-09-17 11:39:20,722 INFO L137 SettingsManager]: * Overapproximate operations on floating types=true [2023-09-17 11:39:20,722 INFO L137 SettingsManager]: * sizeof POINTER=4 [2023-09-17 11:39:20,722 INFO L137 SettingsManager]: * Check division by zero=IGNORE [2023-09-17 11:39:20,723 INFO L137 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2023-09-17 11:39:20,723 INFO L137 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2023-09-17 11:39:20,723 INFO L137 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2023-09-17 11:39:20,724 INFO L137 SettingsManager]: * sizeof long double=12 [2023-09-17 11:39:20,724 INFO L137 SettingsManager]: * Check if freed pointer was valid=false [2023-09-17 11:39:20,725 INFO L137 SettingsManager]: * Assume nondeterminstic values are in range=false [2023-09-17 11:39:20,725 INFO L137 SettingsManager]: * Use constant arrays=true [2023-09-17 11:39:20,725 INFO L137 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2023-09-17 11:39:20,726 INFO L135 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-09-17 11:39:20,726 INFO L137 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-09-17 11:39:20,726 INFO L135 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-09-17 11:39:20,727 INFO L137 SettingsManager]: * Trace refinement strategy=CAMEL [2023-09-17 11:39:20,727 INFO L137 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-09-17 11:39:20,728 INFO L135 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2023-09-17 11:39:20,728 INFO L137 SettingsManager]: * TransformationType=MODULO_NEIGHBOR 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.buchiautomizer: Fairness type for concurrent programs -> FAIRNESS_INTERSECTION [2023-09-17 11:39:20,934 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-09-17 11:39:20,960 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-09-17 11:39:20,963 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-09-17 11:39:20,964 INFO L270 PluginConnector]: Initializing CDTParser... [2023-09-17 11:39:20,965 INFO L274 PluginConnector]: CDTParser initialized [2023-09-17 11:39:20,967 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/weaver/popl20-bad-buffer-mult-alt2.wvr.c [2023-09-17 11:39:22,134 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-09-17 11:39:22,355 INFO L384 CDTParser]: Found 1 translation units. [2023-09-17 11:39:22,356 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-bad-buffer-mult-alt2.wvr.c [2023-09-17 11:39:22,365 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/76017ddeb/b86ef00b0f5d42ee83099404dec61a12/FLAG65bc528de [2023-09-17 11:39:22,381 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/76017ddeb/b86ef00b0f5d42ee83099404dec61a12 [2023-09-17 11:39:22,384 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-09-17 11:39:22,386 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-09-17 11:39:22,389 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-09-17 11:39:22,389 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-09-17 11:39:22,392 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-09-17 11:39:22,393 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,394 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3b49df9e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22, skipping insertion in model container [2023-09-17 11:39:22,394 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,401 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-09-17 11:39:22,429 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-09-17 11:39:22,570 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-bad-buffer-mult-alt2.wvr.c[4082,4095] [2023-09-17 11:39:22,577 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-17 11:39:22,588 INFO L203 MainTranslator]: Completed pre-run [2023-09-17 11:39:22,610 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-bad-buffer-mult-alt2.wvr.c[4082,4095] [2023-09-17 11:39:22,613 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-17 11:39:22,621 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-09-17 11:39:22,621 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-09-17 11:39:22,627 INFO L208 MainTranslator]: Completed translation [2023-09-17 11:39:22,628 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22 WrapperNode [2023-09-17 11:39:22,628 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-09-17 11:39:22,629 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-09-17 11:39:22,629 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-09-17 11:39:22,629 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-09-17 11:39:22,635 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,644 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,671 INFO L138 Inliner]: procedures = 26, calls = 71, calls flagged for inlining = 17, calls inlined = 21, statements flattened = 301 [2023-09-17 11:39:22,673 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-09-17 11:39:22,674 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-09-17 11:39:22,674 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-09-17 11:39:22,674 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-09-17 11:39:22,683 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,683 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,695 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,696 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,705 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,709 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,719 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,720 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,724 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-09-17 11:39:22,725 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-09-17 11:39:22,725 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-09-17 11:39:22,725 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-09-17 11:39:22,726 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (1/1) ... [2023-09-17 11:39:22,745 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-09-17 11:39:22,755 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-17 11:39:22,774 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2023-09-17 11:39:22,799 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2023-09-17 11:39:22,814 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-09-17 11:39:22,815 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-09-17 11:39:22,815 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-09-17 11:39:22,815 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-09-17 11:39:22,815 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2023-09-17 11:39:22,815 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2023-09-17 11:39:22,816 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2023-09-17 11:39:22,816 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2023-09-17 11:39:22,816 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2023-09-17 11:39:22,816 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2023-09-17 11:39:22,816 INFO L130 BoogieDeclarations]: Found specification of procedure thread4 [2023-09-17 11:39:22,816 INFO L138 BoogieDeclarations]: Found implementation of procedure thread4 [2023-09-17 11:39:22,816 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-09-17 11:39:22,816 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-09-17 11:39:22,818 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-09-17 11:39:22,818 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-09-17 11:39:22,818 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-09-17 11:39:22,818 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-09-17 11:39:22,819 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-09-17 11:39:22,820 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-09-17 11:39:22,953 INFO L236 CfgBuilder]: Building ICFG [2023-09-17 11:39:22,955 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-09-17 11:39:23,400 INFO L277 CfgBuilder]: Performing block encoding [2023-09-17 11:39:23,625 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-09-17 11:39:23,625 INFO L302 CfgBuilder]: Removed 6 assume(true) statements. [2023-09-17 11:39:23,627 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.09 11:39:23 BoogieIcfgContainer [2023-09-17 11:39:23,627 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-09-17 11:39:23,628 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2023-09-17 11:39:23,628 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2023-09-17 11:39:23,632 INFO L274 PluginConnector]: BuchiAutomizer initialized [2023-09-17 11:39:23,632 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 11:39:23,632 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 17.09 11:39:22" (1/3) ... [2023-09-17 11:39:23,633 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@5b30a8e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.09 11:39:23, skipping insertion in model container [2023-09-17 11:39:23,633 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 11:39:23,633 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 11:39:22" (2/3) ... [2023-09-17 11:39:23,635 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@5b30a8e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.09 11:39:23, skipping insertion in model container [2023-09-17 11:39:23,635 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 11:39:23,635 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.09 11:39:23" (3/3) ... [2023-09-17 11:39:23,636 INFO L332 chiAutomizerObserver]: Analyzing ICFG popl20-bad-buffer-mult-alt2.wvr.c [2023-09-17 11:39:23,724 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-09-17 11:39:23,751 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 206 places, 216 transitions, 452 flow [2023-09-17 11:39:23,808 INFO L124 PetriNetUnfolderBase]: 19/208 cut-off events. [2023-09-17 11:39:23,809 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-09-17 11:39:23,815 INFO L83 FinitePrefix]: Finished finitePrefix Result has 221 conditions, 208 events. 19/208 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 110 event pairs, 0 based on Foata normal form. 0/189 useless extension candidates. Maximal degree in co-relation 185. Up to 2 conditions per place. [2023-09-17 11:39:23,816 INFO L82 GeneralOperation]: Start removeDead. Operand has 206 places, 216 transitions, 452 flow [2023-09-17 11:39:23,823 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 202 places, 208 transitions, 428 flow [2023-09-17 11:39:23,837 INFO L303 stractBuchiCegarLoop]: Interprodecural is true [2023-09-17 11:39:23,837 INFO L304 stractBuchiCegarLoop]: Hoare is false [2023-09-17 11:39:23,837 INFO L305 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2023-09-17 11:39:23,837 INFO L306 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2023-09-17 11:39:23,837 INFO L307 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2023-09-17 11:39:23,838 INFO L308 stractBuchiCegarLoop]: Difference is false [2023-09-17 11:39:23,838 INFO L309 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2023-09-17 11:39:23,838 INFO L313 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2023-09-17 11:39:23,839 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand null