/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-min-max-inc.wvr.c -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.me.fairness-42053ae-m [2023-09-17 12:04:43,397 INFO L172 SettingsManager]: Resetting all preferences to default values... [2023-09-17 12:04:43,500 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:04:43,539 INFO L114 SettingsManager]: Preferences different from defaults after loading the file: [2023-09-17 12:04:43,540 INFO L135 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-09-17 12:04:43,540 INFO L137 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-09-17 12:04:43,557 INFO L135 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-09-17 12:04:43,558 INFO L137 SettingsManager]: * Create parallel compositions if possible=false [2023-09-17 12:04:43,558 INFO L137 SettingsManager]: * Use SBE=true [2023-09-17 12:04:43,561 INFO L135 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2023-09-17 12:04:43,562 INFO L137 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2023-09-17 12:04:43,562 INFO L137 SettingsManager]: * Use old map elimination=false [2023-09-17 12:04:43,562 INFO L137 SettingsManager]: * Use external solver (rank synthesis)=false [2023-09-17 12:04:43,563 INFO L137 SettingsManager]: * Use only trivial implications for array writes=true [2023-09-17 12:04:43,564 INFO L137 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2023-09-17 12:04:43,564 INFO L135 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-09-17 12:04:43,564 INFO L137 SettingsManager]: * sizeof long=4 [2023-09-17 12:04:43,564 INFO L137 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-09-17 12:04:43,564 INFO L137 SettingsManager]: * Overapproximate operations on floating types=true [2023-09-17 12:04:43,565 INFO L137 SettingsManager]: * sizeof POINTER=4 [2023-09-17 12:04:43,565 INFO L137 SettingsManager]: * Check division by zero=IGNORE [2023-09-17 12:04:43,565 INFO L137 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2023-09-17 12:04:43,565 INFO L137 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2023-09-17 12:04:43,565 INFO L137 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2023-09-17 12:04:43,566 INFO L137 SettingsManager]: * sizeof long double=12 [2023-09-17 12:04:43,566 INFO L137 SettingsManager]: * Check if freed pointer was valid=false [2023-09-17 12:04:43,566 INFO L137 SettingsManager]: * Assume nondeterminstic values are in range=false [2023-09-17 12:04:43,566 INFO L137 SettingsManager]: * Use constant arrays=true [2023-09-17 12:04:43,566 INFO L137 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2023-09-17 12:04:43,567 INFO L135 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-09-17 12:04:43,567 INFO L137 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-09-17 12:04:43,567 INFO L135 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-09-17 12:04:43,568 INFO L137 SettingsManager]: * Trace refinement strategy=CAMEL [2023-09-17 12:04:43,568 INFO L137 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-09-17 12:04:43,569 INFO L135 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2023-09-17 12:04:43,569 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:04:43,962 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-09-17 12:04:43,983 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-09-17 12:04:43,985 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-09-17 12:04:43,986 INFO L270 PluginConnector]: Initializing CDTParser... [2023-09-17 12:04:43,997 INFO L274 PluginConnector]: CDTParser initialized [2023-09-17 12:04:43,998 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/weaver/popl20-min-max-inc.wvr.c [2023-09-17 12:04:45,752 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-09-17 12:04:46,050 INFO L384 CDTParser]: Found 1 translation units. [2023-09-17 12:04:46,051 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-min-max-inc.wvr.c [2023-09-17 12:04:46,070 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/86c0cfd1c/ac7319857176406890538057d3e0c1b2/FLAG50de06a3b [2023-09-17 12:04:46,094 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/86c0cfd1c/ac7319857176406890538057d3e0c1b2 [2023-09-17 12:04:46,096 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-09-17 12:04:46,098 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-09-17 12:04:46,105 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-09-17 12:04:46,105 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-09-17 12:04:46,108 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-09-17 12:04:46,109 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,110 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@40addde9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46, skipping insertion in model container [2023-09-17 12:04:46,110 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,117 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-09-17 12:04:46,160 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-09-17 12:04:46,375 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-min-max-inc.wvr.c[2926,2939] [2023-09-17 12:04:46,395 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-17 12:04:46,403 INFO L203 MainTranslator]: Completed pre-run [2023-09-17 12:04:46,456 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-min-max-inc.wvr.c[2926,2939] [2023-09-17 12:04:46,465 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-17 12:04:46,472 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-09-17 12:04:46,472 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-09-17 12:04:46,478 INFO L208 MainTranslator]: Completed translation [2023-09-17 12:04:46,479 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46 WrapperNode [2023-09-17 12:04:46,479 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-09-17 12:04:46,480 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-09-17 12:04:46,480 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-09-17 12:04:46,481 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-09-17 12:04:46,508 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:04:46" (1/1) ... [2023-09-17 12:04:46,529 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:04:46" (1/1) ... [2023-09-17 12:04:46,555 INFO L138 Inliner]: procedures = 26, calls = 59, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 125 [2023-09-17 12:04:46,556 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-09-17 12:04:46,580 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-09-17 12:04:46,580 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-09-17 12:04:46,580 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-09-17 12:04:46,588 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,605 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,619 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,620 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,637 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,667 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,668 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,669 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,671 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-09-17 12:04:46,672 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-09-17 12:04:46,672 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-09-17 12:04:46,672 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-09-17 12:04:46,673 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (1/1) ... [2023-09-17 12:04:46,684 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2023-09-17 12:04:46,695 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-17 12:04:46,738 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:04:46,786 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:04:46,821 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-09-17 12:04:46,821 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-09-17 12:04:46,822 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-09-17 12:04:46,822 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-09-17 12:04:46,822 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2023-09-17 12:04:46,822 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2023-09-17 12:04:46,822 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2023-09-17 12:04:46,822 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2023-09-17 12:04:46,822 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2023-09-17 12:04:46,822 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2023-09-17 12:04:46,822 INFO L130 BoogieDeclarations]: Found specification of procedure thread4 [2023-09-17 12:04:46,823 INFO L138 BoogieDeclarations]: Found implementation of procedure thread4 [2023-09-17 12:04:46,823 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-09-17 12:04:46,823 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-09-17 12:04:46,824 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-09-17 12:04:46,824 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-09-17 12:04:46,824 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-09-17 12:04:46,824 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-09-17 12:04:46,824 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-09-17 12:04:46,825 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:04:46,980 INFO L236 CfgBuilder]: Building ICFG [2023-09-17 12:04:46,982 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-09-17 12:04:47,491 INFO L277 CfgBuilder]: Performing block encoding [2023-09-17 12:04:47,656 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-09-17 12:04:47,657 INFO L302 CfgBuilder]: Removed 4 assume(true) statements. [2023-09-17 12:04:47,658 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.09 12:04:47 BoogieIcfgContainer [2023-09-17 12:04:47,658 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-09-17 12:04:47,659 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2023-09-17 12:04:47,659 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2023-09-17 12:04:47,662 INFO L274 PluginConnector]: BuchiAutomizer initialized [2023-09-17 12:04:47,662 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 12:04:47,662 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 17.09 12:04:46" (1/3) ... [2023-09-17 12:04:47,663 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@63b15f08 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.09 12:04:47, skipping insertion in model container [2023-09-17 12:04:47,663 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 12:04:47,663 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.09 12:04:46" (2/3) ... [2023-09-17 12:04:47,663 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@63b15f08 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 17.09 12:04:47, skipping insertion in model container [2023-09-17 12:04:47,664 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2023-09-17 12:04:47,664 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.09 12:04:47" (3/3) ... [2023-09-17 12:04:47,664 INFO L332 chiAutomizerObserver]: Analyzing ICFG popl20-min-max-inc.wvr.c [2023-09-17 12:04:47,816 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-09-17 12:04:47,868 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 147 places, 150 transitions, 320 flow [2023-09-17 12:04:48,004 INFO L124 PetriNetUnfolderBase]: 12/142 cut-off events. [2023-09-17 12:04:48,005 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-09-17 12:04:48,009 INFO L83 FinitePrefix]: Finished finitePrefix Result has 155 conditions, 142 events. 12/142 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 112 event pairs, 0 based on Foata normal form. 0/130 useless extension candidates. Maximal degree in co-relation 124. Up to 2 conditions per place. [2023-09-17 12:04:48,009 INFO L82 GeneralOperation]: Start removeDead. Operand has 147 places, 150 transitions, 320 flow [2023-09-17 12:04:48,033 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 143 places, 142 transitions, 296 flow [2023-09-17 12:04:48,043 INFO L303 stractBuchiCegarLoop]: Interprodecural is true [2023-09-17 12:04:48,043 INFO L304 stractBuchiCegarLoop]: Hoare is false [2023-09-17 12:04:48,043 INFO L305 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2023-09-17 12:04:48,043 INFO L306 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2023-09-17 12:04:48,043 INFO L307 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2023-09-17 12:04:48,043 INFO L308 stractBuchiCegarLoop]: Difference is false [2023-09-17 12:04:48,044 INFO L309 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2023-09-17 12:04:48,044 INFO L313 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2023-09-17 12:04:48,045 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand null