/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_LAZY -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 12:02:10,075 INFO L172 SettingsManager]: Resetting all preferences to default values... [2023-09-17 12:02:10,140 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 12:02:10,165 INFO L114 SettingsManager]: Preferences different from defaults after loading the file: [2023-09-17 12:02:10,165 INFO L135 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-09-17 12:02:10,166 INFO L137 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-09-17 12:02:10,167 INFO L135 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-09-17 12:02:10,167 INFO L137 SettingsManager]: * Create parallel compositions if possible=false [2023-09-17 12:02:10,167 INFO L137 SettingsManager]: * Use SBE=true [2023-09-17 12:02:10,172 INFO L135 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2023-09-17 12:02:10,172 INFO L137 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2023-09-17 12:02:10,173 INFO L137 SettingsManager]: * Use old map elimination=false [2023-09-17 12:02:10,173 INFO L137 SettingsManager]: * Use external solver (rank synthesis)=false [2023-09-17 12:02:10,174 INFO L137 SettingsManager]: * Use only trivial implications for array writes=true [2023-09-17 12:02:10,175 INFO L137 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2023-09-17 12:02:10,175 INFO L135 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-09-17 12:02:10,175 INFO L137 SettingsManager]: * sizeof long=4 [2023-09-17 12:02:10,175 INFO L137 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-09-17 12:02:10,175 INFO L137 SettingsManager]: * Overapproximate operations on floating types=true [2023-09-17 12:02:10,176 INFO L137 SettingsManager]: * sizeof POINTER=4 [2023-09-17 12:02:10,176 INFO L137 SettingsManager]: * Check division by zero=IGNORE [2023-09-17 12:02:10,176 INFO L137 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2023-09-17 12:02:10,176 INFO L137 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2023-09-17 12:02:10,177 INFO L137 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2023-09-17 12:02:10,177 INFO L137 SettingsManager]: * sizeof long double=12 [2023-09-17 12:02:10,177 INFO L137 SettingsManager]: * Check if freed pointer was valid=false [2023-09-17 12:02:10,177 INFO L137 SettingsManager]: * Assume nondeterminstic values are in range=false [2023-09-17 12:02:10,177 INFO L137 SettingsManager]: * Use constant arrays=true [2023-09-17 12:02:10,177 INFO L137 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2023-09-17 12:02:10,178 INFO L135 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-09-17 12:02:10,178 INFO L137 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-09-17 12:02:10,179 INFO L135 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-09-17 12:02:10,179 INFO L137 SettingsManager]: * Trace refinement strategy=CAMEL [2023-09-17 12:02:10,179 INFO L137 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-09-17 12:02:10,181 INFO L135 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2023-09-17 12:02:10,181 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_LAZY [2023-09-17 12:02:10,391 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-09-17 12:02:10,405 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-09-17 12:02:10,407 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-09-17 12:02:10,408 INFO L270 PluginConnector]: Initializing CDTParser... [2023-09-17 12:02:10,409 INFO L274 PluginConnector]: CDTParser initialized [2023-09-17 12:02:10,410 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 12:02:11,566 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-09-17 12:02:11,680 INFO L384 CDTParser]: Found 1 translation units. [2023-09-17 12:02:11,681 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-bad-buffer-mult-alt2.wvr.c [2023-09-17 12:02:11,687 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/1df86a732/1101e3f3dd784041a6a3cf2578646651/FLAG5d138138f [2023-09-17 12:02:11,702 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/1df86a732/1101e3f3dd784041a6a3cf2578646651 [2023-09-17 12:02:11,704 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-09-17 12:02:11,705 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-09-17 12:02:11,706 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-09-17 12:02:11,706 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-09-17 12:02:11,709 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-09-17 12:02:11,710 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:11,711 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@67f73d7e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11, skipping insertion in model container [2023-09-17 12:02:11,711 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:11,715 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-09-17 12:02:11,731 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-09-17 12:02:11,877 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 12:02:11,889 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-17 12:02:11,901 INFO L203 MainTranslator]: Completed pre-run [2023-09-17 12:02:11,949 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 12:02:11,952 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-17 12:02:11,958 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-09-17 12:02:11,958 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-09-17 12:02:11,976 INFO L208 MainTranslator]: Completed translation [2023-09-17 12:02:11,976 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11 WrapperNode [2023-09-17 12:02:11,977 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-09-17 12:02:11,978 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-09-17 12:02:11,978 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-09-17 12:02:11,978 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-09-17 12:02:11,983 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:11,990 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,023 INFO L138 Inliner]: procedures = 26, calls = 71, calls flagged for inlining = 17, calls inlined = 21, statements flattened = 301 [2023-09-17 12:02:12,023 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-09-17 12:02:12,024 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-09-17 12:02:12,024 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-09-17 12:02:12,024 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-09-17 12:02:12,038 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,039 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,042 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,042 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,049 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,052 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,066 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,068 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,071 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-09-17 12:02:12,073 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-09-17 12:02:12,073 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-09-17 12:02:12,073 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-09-17 12:02:12,074 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (1/1) ... [2023-09-17 12:02:12,085 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-09-17 12:02:12,100 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-17 12:02:12,137 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 12:02:12,158 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 12:02:12,203 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-09-17 12:02:12,204 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-09-17 12:02:12,204 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-09-17 12:02:12,204 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-09-17 12:02:12,204 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2023-09-17 12:02:12,204 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2023-09-17 12:02:12,205 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2023-09-17 12:02:12,205 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2023-09-17 12:02:12,205 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2023-09-17 12:02:12,206 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2023-09-17 12:02:12,206 INFO L130 BoogieDeclarations]: Found specification of procedure thread4 [2023-09-17 12:02:12,206 INFO L138 BoogieDeclarations]: Found implementation of procedure thread4 [2023-09-17 12:02:12,206 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-09-17 12:02:12,206 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-09-17 12:02:12,206 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-09-17 12:02:12,206 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-09-17 12:02:12,206 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-09-17 12:02:12,206 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-09-17 12:02:12,207 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-09-17 12:02:12,208 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 12:02:12,349 INFO L236 CfgBuilder]: Building ICFG [2023-09-17 12:02:12,351 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-09-17 12:02:12,711 INFO L277 CfgBuilder]: Performing block encoding [2023-09-17 12:02:12,902 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-09-17 12:02:12,903 INFO L302 CfgBuilder]: Removed 6 assume(true) statements. [2023-09-17 12:02:12,905 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.09 12:02:12 BoogieIcfgContainer [2023-09-17 12:02:12,905 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-09-17 12:02:12,906 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2023-09-17 12:02:12,906 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2023-09-17 12:02:12,908 INFO L274 PluginConnector]: BuchiAutomizer initialized [2023-09-17 12:02:12,909 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 12:02:12,909 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 17.09 12:02:11" (1/3) ... [2023-09-17 12:02:12,910 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2558be03 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.09 12:02:12, skipping insertion in model container [2023-09-17 12:02:12,910 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 12:02:12,911 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:02:11" (2/3) ... [2023-09-17 12:02:12,913 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2558be03 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.09 12:02:12, skipping insertion in model container [2023-09-17 12:02:12,913 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 12:02:12,913 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.09 12:02:12" (3/3) ... [2023-09-17 12:02:12,914 INFO L332 chiAutomizerObserver]: Analyzing ICFG popl20-bad-buffer-mult-alt2.wvr.c [2023-09-17 12:02:13,001 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-09-17 12:02:13,024 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 206 places, 216 transitions, 452 flow [2023-09-17 12:02:13,069 INFO L124 PetriNetUnfolderBase]: 19/208 cut-off events. [2023-09-17 12:02:13,070 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-09-17 12:02:13,075 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 12:02:13,075 INFO L82 GeneralOperation]: Start removeDead. Operand has 206 places, 216 transitions, 452 flow [2023-09-17 12:02:13,080 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 202 places, 208 transitions, 428 flow [2023-09-17 12:02:13,090 INFO L303 stractBuchiCegarLoop]: Interprodecural is true [2023-09-17 12:02:13,090 INFO L304 stractBuchiCegarLoop]: Hoare is false [2023-09-17 12:02:13,090 INFO L305 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2023-09-17 12:02:13,090 INFO L306 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2023-09-17 12:02:13,090 INFO L307 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2023-09-17 12:02:13,090 INFO L308 stractBuchiCegarLoop]: Difference is false [2023-09-17 12:02:13,090 INFO L309 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2023-09-17 12:02:13,090 INFO L313 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2023-09-17 12:02:13,091 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand null