/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/parallel-ticket-4.wvr.c -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.me.fairness-42053ae-m [2023-09-17 12:01:25,925 INFO L172 SettingsManager]: Resetting all preferences to default values... [2023-09-17 12:01:25,995 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:01:26,020 INFO L114 SettingsManager]: Preferences different from defaults after loading the file: [2023-09-17 12:01:26,020 INFO L135 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-09-17 12:01:26,021 INFO L137 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-09-17 12:01:26,022 INFO L135 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-09-17 12:01:26,022 INFO L137 SettingsManager]: * Create parallel compositions if possible=false [2023-09-17 12:01:26,023 INFO L137 SettingsManager]: * Use SBE=true [2023-09-17 12:01:26,026 INFO L135 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2023-09-17 12:01:26,026 INFO L137 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2023-09-17 12:01:26,026 INFO L137 SettingsManager]: * Use old map elimination=false [2023-09-17 12:01:26,026 INFO L137 SettingsManager]: * Use external solver (rank synthesis)=false [2023-09-17 12:01:26,027 INFO L137 SettingsManager]: * Use only trivial implications for array writes=true [2023-09-17 12:01:26,028 INFO L137 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2023-09-17 12:01:26,028 INFO L135 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-09-17 12:01:26,028 INFO L137 SettingsManager]: * sizeof long=4 [2023-09-17 12:01:26,028 INFO L137 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-09-17 12:01:26,028 INFO L137 SettingsManager]: * Overapproximate operations on floating types=true [2023-09-17 12:01:26,028 INFO L137 SettingsManager]: * sizeof POINTER=4 [2023-09-17 12:01:26,028 INFO L137 SettingsManager]: * Check division by zero=IGNORE [2023-09-17 12:01:26,029 INFO L137 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2023-09-17 12:01:26,029 INFO L137 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2023-09-17 12:01:26,029 INFO L137 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2023-09-17 12:01:26,029 INFO L137 SettingsManager]: * sizeof long double=12 [2023-09-17 12:01:26,029 INFO L137 SettingsManager]: * Check if freed pointer was valid=false [2023-09-17 12:01:26,029 INFO L137 SettingsManager]: * Assume nondeterminstic values are in range=false [2023-09-17 12:01:26,030 INFO L137 SettingsManager]: * Use constant arrays=true [2023-09-17 12:01:26,030 INFO L137 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2023-09-17 12:01:26,030 INFO L135 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-09-17 12:01:26,031 INFO L137 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-09-17 12:01:26,031 INFO L135 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-09-17 12:01:26,031 INFO L137 SettingsManager]: * Trace refinement strategy=CAMEL [2023-09-17 12:01:26,031 INFO L137 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-09-17 12:01:26,032 INFO L135 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2023-09-17 12:01:26,032 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:01:26,227 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-09-17 12:01:26,252 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-09-17 12:01:26,254 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-09-17 12:01:26,255 INFO L270 PluginConnector]: Initializing CDTParser... [2023-09-17 12:01:26,255 INFO L274 PluginConnector]: CDTParser initialized [2023-09-17 12:01:26,257 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/weaver/parallel-ticket-4.wvr.c [2023-09-17 12:01:27,295 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-09-17 12:01:27,415 INFO L384 CDTParser]: Found 1 translation units. [2023-09-17 12:01:27,416 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/weaver/parallel-ticket-4.wvr.c [2023-09-17 12:01:27,422 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0fbd83fad/ca709124b29940b6a75926172d7660da/FLAGec92817f1 [2023-09-17 12:01:27,435 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0fbd83fad/ca709124b29940b6a75926172d7660da [2023-09-17 12:01:27,437 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-09-17 12:01:27,438 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-09-17 12:01:27,439 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-09-17 12:01:27,439 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-09-17 12:01:27,442 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-09-17 12:01:27,442 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,443 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@43454903 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27, skipping insertion in model container [2023-09-17 12:01:27,443 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,448 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-09-17 12:01:27,472 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-09-17 12:01:27,607 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/parallel-ticket-4.wvr.c[3434,3447] [2023-09-17 12:01:27,608 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-17 12:01:27,620 INFO L203 MainTranslator]: Completed pre-run [2023-09-17 12:01:27,656 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/parallel-ticket-4.wvr.c[3434,3447] [2023-09-17 12:01:27,657 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-17 12:01:27,663 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-09-17 12:01:27,664 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-09-17 12:01:27,668 INFO L208 MainTranslator]: Completed translation [2023-09-17 12:01:27,669 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27 WrapperNode [2023-09-17 12:01:27,669 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-09-17 12:01:27,673 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-09-17 12:01:27,673 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-09-17 12:01:27,673 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-09-17 12:01:27,678 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:01:27" (1/1) ... [2023-09-17 12:01:27,685 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:01:27" (1/1) ... [2023-09-17 12:01:27,702 INFO L138 Inliner]: procedures = 23, calls = 66, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 187 [2023-09-17 12:01:27,703 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-09-17 12:01:27,703 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-09-17 12:01:27,703 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-09-17 12:01:27,703 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-09-17 12:01:27,710 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,711 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,713 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,713 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,718 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,719 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,720 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,729 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,734 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-09-17 12:01:27,735 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-09-17 12:01:27,735 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-09-17 12:01:27,739 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-09-17 12:01:27,740 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (1/1) ... [2023-09-17 12:01:27,744 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-09-17 12:01:27,754 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-17 12:01:27,766 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:01:27,772 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:01:27,790 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-09-17 12:01:27,791 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2023-09-17 12:01:27,791 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2023-09-17 12:01:27,791 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2023-09-17 12:01:27,791 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2023-09-17 12:01:27,791 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2023-09-17 12:01:27,791 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2023-09-17 12:01:27,791 INFO L130 BoogieDeclarations]: Found specification of procedure thread4 [2023-09-17 12:01:27,791 INFO L138 BoogieDeclarations]: Found implementation of procedure thread4 [2023-09-17 12:01:27,791 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-09-17 12:01:27,791 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-09-17 12:01:27,791 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-09-17 12:01:27,791 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-09-17 12:01:27,791 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-09-17 12:01:27,792 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-09-17 12:01:27,792 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-09-17 12:01:27,792 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-09-17 12:01:27,793 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:01:27,883 INFO L236 CfgBuilder]: Building ICFG [2023-09-17 12:01:27,885 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-09-17 12:01:28,059 INFO L277 CfgBuilder]: Performing block encoding [2023-09-17 12:01:28,135 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-09-17 12:01:28,135 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-09-17 12:01:28,137 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.09 12:01:28 BoogieIcfgContainer [2023-09-17 12:01:28,137 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-09-17 12:01:28,138 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2023-09-17 12:01:28,138 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2023-09-17 12:01:28,140 INFO L274 PluginConnector]: BuchiAutomizer initialized [2023-09-17 12:01:28,141 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 12:01:28,141 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 17.09 12:01:27" (1/3) ... [2023-09-17 12:01:28,142 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@67cce34b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.09 12:01:28, skipping insertion in model container [2023-09-17 12:01:28,142 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 12:01:28,142 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:01:27" (2/3) ... [2023-09-17 12:01:28,142 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@67cce34b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.09 12:01:28, skipping insertion in model container [2023-09-17 12:01:28,142 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 12:01:28,142 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.09 12:01:28" (3/3) ... [2023-09-17 12:01:28,143 INFO L332 chiAutomizerObserver]: Analyzing ICFG parallel-ticket-4.wvr.c [2023-09-17 12:01:28,199 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-09-17 12:01:28,219 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 133 places, 126 transitions, 272 flow [2023-09-17 12:01:28,249 INFO L124 PetriNetUnfolderBase]: 2/118 cut-off events. [2023-09-17 12:01:28,249 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-09-17 12:01:28,253 INFO L83 FinitePrefix]: Finished finitePrefix Result has 131 conditions, 118 events. 2/118 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 58 event pairs, 0 based on Foata normal form. 0/116 useless extension candidates. Maximal degree in co-relation 97. Up to 2 conditions per place. [2023-09-17 12:01:28,253 INFO L82 GeneralOperation]: Start removeDead. Operand has 133 places, 126 transitions, 272 flow [2023-09-17 12:01:28,257 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 129 places, 118 transitions, 248 flow [2023-09-17 12:01:28,267 INFO L303 stractBuchiCegarLoop]: Interprodecural is true [2023-09-17 12:01:28,268 INFO L304 stractBuchiCegarLoop]: Hoare is false [2023-09-17 12:01:28,268 INFO L305 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2023-09-17 12:01:28,268 INFO L306 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2023-09-17 12:01:28,268 INFO L307 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2023-09-17 12:01:28,268 INFO L308 stractBuchiCegarLoop]: Difference is false [2023-09-17 12:01:28,271 INFO L309 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2023-09-17 12:01:28,271 INFO L313 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2023-09-17 12:01:28,273 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand null