/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/buchiAutomizer/concurrent-automaton-syntacticLbe.epf -i ../../../trunk/examples/svcomp/pthread-atomic/peterson-b.i -------------------------------------------------------------------------------- This is Ultimate 0.2.2-dev-21b0908 [2022-07-22 12:33:52,315 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-22 12:33:52,319 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-22 12:33:52,384 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-22 12:33:52,385 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-22 12:33:52,387 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-22 12:33:52,396 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-22 12:33:52,402 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-22 12:33:52,404 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-22 12:33:52,412 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-22 12:33:52,414 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-22 12:33:52,416 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-22 12:33:52,416 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-22 12:33:52,419 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-22 12:33:52,421 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-22 12:33:52,427 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-22 12:33:52,429 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-22 12:33:52,432 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-22 12:33:52,434 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-22 12:33:52,436 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-22 12:33:52,443 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-22 12:33:52,446 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-22 12:33:52,449 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-22 12:33:52,451 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-22 12:33:52,454 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-22 12:33:52,465 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-22 12:33:52,465 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-22 12:33:52,467 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-22 12:33:52,468 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-22 12:33:52,469 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-22 12:33:52,470 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-22 12:33:52,470 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-22 12:33:52,472 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-22 12:33:52,475 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-22 12:33:52,476 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-22 12:33:52,492 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-22 12:33:52,492 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-22 12:33:52,493 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-22 12:33:52,494 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-22 12:33:52,494 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-22 12:33:52,496 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-22 12:33:52,498 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-22 12:33:52,501 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/buchiAutomizer/concurrent-automaton-syntacticLbe.epf [2022-07-22 12:33:52,530 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-22 12:33:52,531 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-22 12:33:52,531 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-22 12:33:52,531 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-22 12:33:52,533 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-22 12:33:52,533 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-22 12:33:52,533 INFO L138 SettingsManager]: * Use SBE=true [2022-07-22 12:33:52,534 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2022-07-22 12:33:52,534 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2022-07-22 12:33:52,534 INFO L138 SettingsManager]: * Use old map elimination=false [2022-07-22 12:33:52,534 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2022-07-22 12:33:52,534 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2022-07-22 12:33:52,535 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2022-07-22 12:33:52,535 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-22 12:33:52,535 INFO L138 SettingsManager]: * sizeof long=4 [2022-07-22 12:33:52,535 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-22 12:33:52,535 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-22 12:33:52,536 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-07-22 12:33:52,536 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-22 12:33:52,536 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2022-07-22 12:33:52,536 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2022-07-22 12:33:52,536 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2022-07-22 12:33:52,537 INFO L138 SettingsManager]: * sizeof long double=12 [2022-07-22 12:33:52,537 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-07-22 12:33:52,537 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2022-07-22 12:33:52,537 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-22 12:33:52,537 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2022-07-22 12:33:52,538 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-22 12:33:52,538 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-22 12:33:52,538 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-22 12:33:52,538 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-22 12:33:52,539 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2022-07-22 12:33:52,540 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2022-07-22 12:33:52,540 INFO L138 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 [2022-07-22 12:33:52,907 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-22 12:33:52,935 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-22 12:33:52,938 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-22 12:33:52,940 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-22 12:33:52,941 INFO L275 PluginConnector]: CDTParser initialized [2022-07-22 12:33:52,943 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-atomic/peterson-b.i [2022-07-22 12:33:53,020 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a6d1b4672/7e1a99855506433ea8baffb23f1ad233/FLAGec51832f7 [2022-07-22 12:33:53,806 INFO L306 CDTParser]: Found 1 translation units. [2022-07-22 12:33:53,806 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/peterson-b.i [2022-07-22 12:33:53,829 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a6d1b4672/7e1a99855506433ea8baffb23f1ad233/FLAGec51832f7 [2022-07-22 12:33:54,052 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a6d1b4672/7e1a99855506433ea8baffb23f1ad233 [2022-07-22 12:33:54,057 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-22 12:33:54,063 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2022-07-22 12:33:54,064 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-22 12:33:54,065 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-22 12:33:54,069 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-22 12:33:54,070 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,074 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@a7d5216 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54, skipping insertion in model container [2022-07-22 12:33:54,074 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,084 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-22 12:33:54,133 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-22 12:33:54,528 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/peterson-b.i[30010,30023] [2022-07-22 12:33:54,533 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/peterson-b.i[30174,30187] [2022-07-22 12:33:54,547 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 12:33:54,561 INFO L203 MainTranslator]: Completed pre-run [2022-07-22 12:33:54,642 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/peterson-b.i[30010,30023] [2022-07-22 12:33:54,643 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/peterson-b.i[30174,30187] [2022-07-22 12:33:54,649 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-22 12:33:54,707 INFO L208 MainTranslator]: Completed translation [2022-07-22 12:33:54,708 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54 WrapperNode [2022-07-22 12:33:54,708 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-07-22 12:33:54,710 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-07-22 12:33:54,710 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-07-22 12:33:54,710 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-07-22 12:33:54,720 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,760 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,798 INFO L137 Inliner]: procedures = 167, calls = 18, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 43 [2022-07-22 12:33:54,799 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-07-22 12:33:54,800 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-07-22 12:33:54,800 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-07-22 12:33:54,800 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-07-22 12:33:54,810 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,810 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,818 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,818 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,825 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,829 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,834 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,839 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-07-22 12:33:54,840 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-07-22 12:33:54,840 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-07-22 12:33:54,846 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-07-22 12:33:54,847 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (1/1) ... [2022-07-22 12:33:54,861 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2022-07-22 12:33:54,875 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-22 12:33:54,892 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) [2022-07-22 12:33:54,896 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 [2022-07-22 12:33:54,958 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-07-22 12:33:54,958 INFO L130 BoogieDeclarations]: Found specification of procedure thr2 [2022-07-22 12:33:54,959 INFO L138 BoogieDeclarations]: Found implementation of procedure thr2 [2022-07-22 12:33:54,959 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2022-07-22 12:33:54,959 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2022-07-22 12:33:54,959 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-07-22 12:33:54,959 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-07-22 12:33:54,960 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-07-22 12:33:54,960 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-07-22 12:33:54,960 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-07-22 12:33:54,960 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-07-22 12:33:54,960 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-07-22 12:33:54,962 WARN L208 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2022-07-22 12:33:55,085 INFO L234 CfgBuilder]: Building ICFG [2022-07-22 12:33:55,087 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-07-22 12:33:55,390 INFO L275 CfgBuilder]: Performing block encoding [2022-07-22 12:33:55,412 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-07-22 12:33:55,413 INFO L299 CfgBuilder]: Removed 2 assume(true) statements. [2022-07-22 12:33:55,419 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 12:33:55 BoogieIcfgContainer [2022-07-22 12:33:55,419 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-07-22 12:33:55,422 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2022-07-22 12:33:55,422 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2022-07-22 12:33:55,432 INFO L275 PluginConnector]: BuchiAutomizer initialized [2022-07-22 12:33:55,435 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 12:33:55,435 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 22.07 12:33:54" (1/3) ... [2022-07-22 12:33:55,436 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4dee2516 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 12:33:55, skipping insertion in model container [2022-07-22 12:33:55,436 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 12:33:55,437 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.07 12:33:54" (2/3) ... [2022-07-22 12:33:55,437 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4dee2516 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 22.07 12:33:55, skipping insertion in model container [2022-07-22 12:33:55,437 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2022-07-22 12:33:55,437 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.07 12:33:55" (3/3) ... [2022-07-22 12:33:55,440 INFO L322 chiAutomizerObserver]: Analyzing ICFG peterson-b.i [2022-07-22 12:33:55,605 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2022-07-22 12:33:55,670 INFO L74 FinitePrefix]: Start finitePrefix. Operand has 75 places, 76 transitions, 168 flow [2022-07-22 12:33:55,744 INFO L129 PetriNetUnfolder]: 6/72 cut-off events. [2022-07-22 12:33:55,744 INFO L130 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2022-07-22 12:33:55,750 INFO L84 FinitePrefix]: Finished finitePrefix Result has 81 conditions, 72 events. 6/72 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 55 event pairs, 0 based on Foata normal form. 0/66 useless extension candidates. Maximal degree in co-relation 43. Up to 2 conditions per place. [2022-07-22 12:33:55,751 INFO L82 GeneralOperation]: Start removeDead. Operand has 75 places, 76 transitions, 168 flow [2022-07-22 12:33:55,765 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 73 places, 72 transitions, 156 flow [2022-07-22 12:33:55,770 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2022-07-22 12:33:55,786 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 73 places, 72 transitions, 156 flow [2022-07-22 12:33:55,790 INFO L110 LiptonReduction]: Starting Lipton reduction on Petri net that has 73 places, 72 transitions, 156 flow [2022-07-22 12:33:55,790 INFO L74 FinitePrefix]: Start finitePrefix. Operand has 73 places, 72 transitions, 156 flow [2022-07-22 12:33:55,817 INFO L129 PetriNetUnfolder]: 6/72 cut-off events. [2022-07-22 12:33:55,818 INFO L130 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2022-07-22 12:33:55,819 INFO L84 FinitePrefix]: Finished finitePrefix Result has 81 conditions, 72 events. 6/72 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 54 event pairs, 0 based on Foata normal form. 0/66 useless extension candidates. Maximal degree in co-relation 43. Up to 2 conditions per place. [2022-07-22 12:33:55,821 INFO L116 LiptonReduction]: Number of co-enabled transitions 812 [2022-07-22 12:33:57,789 INFO L131 LiptonReduction]: Checked pairs total: 2143 [2022-07-22 12:33:57,789 INFO L133 LiptonReduction]: Total number of compositions: 49 [2022-07-22 12:33:57,814 INFO L300 stractBuchiCegarLoop]: Interprodecural is true [2022-07-22 12:33:57,814 INFO L301 stractBuchiCegarLoop]: Hoare is false [2022-07-22 12:33:57,814 INFO L302 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2022-07-22 12:33:57,814 INFO L303 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2022-07-22 12:33:57,814 INFO L304 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2022-07-22 12:33:57,815 INFO L305 stractBuchiCegarLoop]: Difference is false [2022-07-22 12:33:57,815 INFO L306 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2022-07-22 12:33:57,815 INFO L310 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2022-07-22 12:33:57,818 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand currently 0 states, but on-demand construction may add more states [2022-07-22 12:33:57,921 INFO L131 ngComponentsAnalysis]: Automaton has 34 accepting balls. 34 [2022-07-22 12:33:57,921 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 12:33:57,922 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 12:33:57,928 INFO L150 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2022-07-22 12:33:57,928 INFO L151 hiAutomatonCegarLoop]: Counterexample loop histogram [1] [2022-07-22 12:33:57,929 INFO L332 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2022-07-22 12:33:57,929 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand currently 163 states, but on-demand construction may add more states [2022-07-22 12:33:57,945 INFO L131 ngComponentsAnalysis]: Automaton has 34 accepting balls. 34 [2022-07-22 12:33:57,946 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 12:33:57,946 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 12:33:57,946 INFO L150 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2022-07-22 12:33:57,946 INFO L151 hiAutomatonCegarLoop]: Counterexample loop histogram [1] [2022-07-22 12:33:57,953 INFO L748 eck$LassoCheckResult]: Stem: 78#[ULTIMATE.startENTRY]don't care [258] ULTIMATE.startENTRY-->L707-2: Formula: (let ((.cse0 (select |v_#memory_int_48| 1)) (.cse1 (store |v_#valid_93| |v_ULTIMATE.start_main_~#t1~0#1.base_39| 1))) (and (= (select |v_#length_60| 2) 11) (= (select |v_#valid_93| 1) 1) (< |v_#StackHeapBarrier_20| |v_ULTIMATE.start_main_~#t2~0#1.base_43|) (= (select .cse0 0) 48) (= v_~flag1~0_24 0) (= |v_ULTIMATE.start_main_~#t2~0#1.offset_35| 0) (= v_~flag2~0_24 0) (= |v_ULTIMATE.start_main_~#t1~0#1.offset_33| 0) (= (select |v_#valid_93| |v_ULTIMATE.start_main_~#t1~0#1.base_39|) 0) (= (select |v_#valid_93| 0) 0) (= (select |v_#valid_93| 2) 1) (= (select .cse0 1) 0) (= |v_#pthreadsForks_38| |v_ULTIMATE.start_main_#t~pre3#1_27|) (= v_~x~0_20 0) (= |v_#NULL.offset_8| 0) (= |v_#pthreadsForks_37| (+ |v_#pthreadsForks_38| 1)) (= (store .cse1 |v_ULTIMATE.start_main_~#t2~0#1.base_43| 1) |v_#valid_92|) (= v_~turn~0_16 0) (= (store (store |v_#length_60| |v_ULTIMATE.start_main_~#t1~0#1.base_39| 4) |v_ULTIMATE.start_main_~#t2~0#1.base_43| 4) |v_#length_59|) (= (select .cse1 |v_ULTIMATE.start_main_~#t2~0#1.base_43|) 0) (= |v_#NULL.base_8| 0) (< 0 |v_#StackHeapBarrier_20|) (= |v_#memory_int_47| (store |v_#memory_int_48| |v_ULTIMATE.start_main_~#t1~0#1.base_39| (store (select |v_#memory_int_48| |v_ULTIMATE.start_main_~#t1~0#1.base_39|) |v_ULTIMATE.start_main_~#t1~0#1.offset_33| |v_ULTIMATE.start_main_#t~pre3#1_27|))) (= (select |v_#length_60| 1) 2) (< |v_#StackHeapBarrier_20| |v_ULTIMATE.start_main_~#t1~0#1.base_39|))) InVars {#StackHeapBarrier=|v_#StackHeapBarrier_20|, #pthreadsForks=|v_#pthreadsForks_38|, #valid=|v_#valid_93|, #memory_int=|v_#memory_int_48|, #length=|v_#length_60|} OutVars{ULTIMATE.start_main_#t~nondet4#1=|v_ULTIMATE.start_main_#t~nondet4#1_17|, ULTIMATE.start_main_#t~mem8#1=|v_ULTIMATE.start_main_#t~mem8#1_20|, ULTIMATE.start_main_~#t2~0#1.offset=|v_ULTIMATE.start_main_~#t2~0#1.offset_35|, ULTIMATE.start_main_#res#1=|v_ULTIMATE.start_main_#res#1_24|, ULTIMATE.start_main_#t~nondet6#1=|v_ULTIMATE.start_main_#t~nondet6#1_15|, #NULL.offset=|v_#NULL.offset_8|, ULTIMATE.start_main_~#t1~0#1.base=|v_ULTIMATE.start_main_~#t1~0#1.base_39|, ULTIMATE.start_main_~#t1~0#1.offset=|v_ULTIMATE.start_main_~#t1~0#1.offset_33|, #NULL.base=|v_#NULL.base_8|, ULTIMATE.start_main_#t~pre5#1=|v_ULTIMATE.start_main_#t~pre5#1_25|, #StackHeapBarrier=|v_#StackHeapBarrier_20|, ULTIMATE.start_main_#t~mem7#1=|v_ULTIMATE.start_main_#t~mem7#1_20|, #pthreadsForks=|v_#pthreadsForks_37|, ~flag2~0=v_~flag2~0_24, #valid=|v_#valid_92|, #memory_int=|v_#memory_int_47|, ~flag1~0=v_~flag1~0_24, #length=|v_#length_59|, ~turn~0=v_~turn~0_16, ~x~0=v_~x~0_20, ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_27|, ULTIMATE.start_main_~#t2~0#1.base=|v_ULTIMATE.start_main_~#t2~0#1.base_43|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet4#1, ULTIMATE.start_main_#t~mem8#1, ULTIMATE.start_main_~#t2~0#1.offset, ULTIMATE.start_main_#res#1, ULTIMATE.start_main_#t~nondet6#1, #NULL.offset, ULTIMATE.start_main_~#t1~0#1.base, ULTIMATE.start_main_~#t1~0#1.offset, #NULL.base, ULTIMATE.start_main_#t~pre5#1, ULTIMATE.start_main_#t~mem7#1, #pthreadsForks, ~flag2~0, #valid, #memory_int, ~flag1~0, #length, ~turn~0, ~x~0, ULTIMATE.start_main_#t~pre3#1, ULTIMATE.start_main_~#t2~0#1.base] 81#[L707-2]don't care [207] L707-2-->thr1ENTRY: Formula: (and (= v_thr1Thread1of1ForFork1_thidvar1_2 0) (= |v_ULTIMATE.start_main_#t~pre3#1_6| v_thr1Thread1of1ForFork1_thidvar0_2) (= |v_thr1Thread1of1ForFork1_#in~_.base_4| 0) (= |v_thr1Thread1of1ForFork1_#in~_.offset_4| 0)) InVars {ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_6|} OutVars{thr1Thread1of1ForFork1_#in~_.offset=|v_thr1Thread1of1ForFork1_#in~_.offset_4|, thr1Thread1of1ForFork1_~_.base=v_thr1Thread1of1ForFork1_~_.base_4, thr1Thread1of1ForFork1_#res.base=|v_thr1Thread1of1ForFork1_#res.base_4|, thr1Thread1of1ForFork1_#in~_.base=|v_thr1Thread1of1ForFork1_#in~_.base_4|, thr1Thread1of1ForFork1_~_.offset=v_thr1Thread1of1ForFork1_~_.offset_4, thr1Thread1of1ForFork1_#res.offset=|v_thr1Thread1of1ForFork1_#res.offset_4|, thr1Thread1of1ForFork1_thidvar1=v_thr1Thread1of1ForFork1_thidvar1_2, ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_6|, thr1Thread1of1ForFork1_thidvar0=v_thr1Thread1of1ForFork1_thidvar0_2} AuxVars[] AssignedVars[thr1Thread1of1ForFork1_#in~_.offset, thr1Thread1of1ForFork1_~_.base, thr1Thread1of1ForFork1_#res.base, thr1Thread1of1ForFork1_#in~_.base, thr1Thread1of1ForFork1_~_.offset, thr1Thread1of1ForFork1_#res.offset, thr1Thread1of1ForFork1_thidvar1, thr1Thread1of1ForFork1_thidvar0] 83#[thr1ENTRY, L707-3]don't care [214] thr1ENTRY-->L689: Formula: (and (= |v_thr1Thread1of1ForFork1_#in~_.offset_5| v_thr1Thread1of1ForFork1_~_.offset_5) (= v_thr1Thread1of1ForFork1_~_.base_5 |v_thr1Thread1of1ForFork1_#in~_.base_5|) (= v_~flag1~0_8 1)) InVars {thr1Thread1of1ForFork1_#in~_.offset=|v_thr1Thread1of1ForFork1_#in~_.offset_5|, thr1Thread1of1ForFork1_#in~_.base=|v_thr1Thread1of1ForFork1_#in~_.base_5|} OutVars{thr1Thread1of1ForFork1_#in~_.offset=|v_thr1Thread1of1ForFork1_#in~_.offset_5|, thr1Thread1of1ForFork1_~_.base=v_thr1Thread1of1ForFork1_~_.base_5, ~flag1~0=v_~flag1~0_8, thr1Thread1of1ForFork1_#in~_.base=|v_thr1Thread1of1ForFork1_#in~_.base_5|, thr1Thread1of1ForFork1_~_.offset=v_thr1Thread1of1ForFork1_~_.offset_5} AuxVars[] AssignedVars[thr1Thread1of1ForFork1_~_.base, ~flag1~0, thr1Thread1of1ForFork1_~_.offset] 85#[L707-3, L689]don't care [190] L689-->L690-2: Formula: (= v_~turn~0_6 1) InVars {} OutVars{~turn~0=v_~turn~0_6} AuxVars[] AssignedVars[~turn~0] 91#[L707-3, L690-2]don't care [2022-07-22 12:33:57,953 INFO L750 eck$LassoCheckResult]: Loop: 91#[L707-3, L690-2]don't care [193] L690-2-->L690-2: Formula: (and (= v_~flag2~0_4 1) (= v_~turn~0_5 1)) InVars {~turn~0=v_~turn~0_5, ~flag2~0=v_~flag2~0_4} OutVars{~turn~0=v_~turn~0_5, ~flag2~0=v_~flag2~0_4} AuxVars[] AssignedVars[] 91#[L707-3, L690-2]don't care [2022-07-22 12:33:57,960 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 12:33:57,961 INFO L85 PathProgramCache]: Analyzing trace with hash 8815350, now seen corresponding path program 1 times [2022-07-22 12:33:57,972 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 12:33:57,972 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [174547591] [2022-07-22 12:33:57,973 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 12:33:57,974 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 12:33:58,114 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:58,115 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 12:33:58,135 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:58,161 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 12:33:58,165 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 12:33:58,165 INFO L85 PathProgramCache]: Analyzing trace with hash 224, now seen corresponding path program 1 times [2022-07-22 12:33:58,166 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 12:33:58,166 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [612368658] [2022-07-22 12:33:58,166 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 12:33:58,167 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 12:33:58,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:58,179 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 12:33:58,183 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:58,186 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 12:33:58,188 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 12:33:58,189 INFO L85 PathProgramCache]: Analyzing trace with hash 273276043, now seen corresponding path program 1 times [2022-07-22 12:33:58,189 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 12:33:58,189 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [944509317] [2022-07-22 12:33:58,190 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 12:33:58,190 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 12:33:58,215 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 12:33:58,312 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-22 12:33:58,312 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 12:33:58,313 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [944509317] [2022-07-22 12:33:58,314 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [944509317] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-22 12:33:58,314 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-22 12:33:58,314 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2022-07-22 12:33:58,315 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [540361727] [2022-07-22 12:33:58,316 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-22 12:33:58,347 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 12:33:58,412 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-07-22 12:33:58,413 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-07-22 12:33:58,416 INFO L87 Difference]: Start difference. First operand currently 163 states, but on-demand construction may add more states Second operand has 3 states, 2 states have (on average 2.5) internal successors, (5), 2 states have internal predecessors, (5), 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) [2022-07-22 12:33:58,494 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 12:33:58,494 INFO L93 Difference]: Finished difference Result 164 states and 382 transitions. [2022-07-22 12:33:58,500 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 164 states and 382 transitions. [2022-07-22 12:33:58,519 INFO L131 ngComponentsAnalysis]: Automaton has 28 accepting balls. 28 [2022-07-22 12:33:58,544 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 164 states to 96 states and 222 transitions. [2022-07-22 12:33:58,548 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 96 [2022-07-22 12:33:58,549 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 96 [2022-07-22 12:33:58,550 INFO L73 IsDeterministic]: Start isDeterministic. Operand 96 states and 222 transitions. [2022-07-22 12:33:58,559 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 12:33:58,559 INFO L220 hiAutomatonCegarLoop]: Abstraction has 96 states and 222 transitions. [2022-07-22 12:33:58,607 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 96 states and 222 transitions. [2022-07-22 12:33:58,644 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 96 to 96. [2022-07-22 12:33:58,646 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 96 states, 96 states have (on average 2.3125) internal successors, (222), 95 states have internal predecessors, (222), 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) [2022-07-22 12:33:58,649 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 96 states to 96 states and 222 transitions. [2022-07-22 12:33:58,651 INFO L242 hiAutomatonCegarLoop]: Abstraction has 96 states and 222 transitions. [2022-07-22 12:33:58,655 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-07-22 12:33:58,660 INFO L425 stractBuchiCegarLoop]: Abstraction has 96 states and 222 transitions. [2022-07-22 12:33:58,660 INFO L332 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2022-07-22 12:33:58,661 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 96 states and 222 transitions. [2022-07-22 12:33:58,664 INFO L131 ngComponentsAnalysis]: Automaton has 28 accepting balls. 28 [2022-07-22 12:33:58,665 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 12:33:58,665 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 12:33:58,665 INFO L150 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1] [2022-07-22 12:33:58,665 INFO L151 hiAutomatonCegarLoop]: Counterexample loop histogram [1] [2022-07-22 12:33:58,666 INFO L748 eck$LassoCheckResult]: Stem: 763#[ULTIMATE.startENTRY]don't care [258] ULTIMATE.startENTRY-->L707-2: Formula: (let ((.cse0 (select |v_#memory_int_48| 1)) (.cse1 (store |v_#valid_93| |v_ULTIMATE.start_main_~#t1~0#1.base_39| 1))) (and (= (select |v_#length_60| 2) 11) (= (select |v_#valid_93| 1) 1) (< |v_#StackHeapBarrier_20| |v_ULTIMATE.start_main_~#t2~0#1.base_43|) (= (select .cse0 0) 48) (= v_~flag1~0_24 0) (= |v_ULTIMATE.start_main_~#t2~0#1.offset_35| 0) (= v_~flag2~0_24 0) (= |v_ULTIMATE.start_main_~#t1~0#1.offset_33| 0) (= (select |v_#valid_93| |v_ULTIMATE.start_main_~#t1~0#1.base_39|) 0) (= (select |v_#valid_93| 0) 0) (= (select |v_#valid_93| 2) 1) (= (select .cse0 1) 0) (= |v_#pthreadsForks_38| |v_ULTIMATE.start_main_#t~pre3#1_27|) (= v_~x~0_20 0) (= |v_#NULL.offset_8| 0) (= |v_#pthreadsForks_37| (+ |v_#pthreadsForks_38| 1)) (= (store .cse1 |v_ULTIMATE.start_main_~#t2~0#1.base_43| 1) |v_#valid_92|) (= v_~turn~0_16 0) (= (store (store |v_#length_60| |v_ULTIMATE.start_main_~#t1~0#1.base_39| 4) |v_ULTIMATE.start_main_~#t2~0#1.base_43| 4) |v_#length_59|) (= (select .cse1 |v_ULTIMATE.start_main_~#t2~0#1.base_43|) 0) (= |v_#NULL.base_8| 0) (< 0 |v_#StackHeapBarrier_20|) (= |v_#memory_int_47| (store |v_#memory_int_48| |v_ULTIMATE.start_main_~#t1~0#1.base_39| (store (select |v_#memory_int_48| |v_ULTIMATE.start_main_~#t1~0#1.base_39|) |v_ULTIMATE.start_main_~#t1~0#1.offset_33| |v_ULTIMATE.start_main_#t~pre3#1_27|))) (= (select |v_#length_60| 1) 2) (< |v_#StackHeapBarrier_20| |v_ULTIMATE.start_main_~#t1~0#1.base_39|))) InVars {#StackHeapBarrier=|v_#StackHeapBarrier_20|, #pthreadsForks=|v_#pthreadsForks_38|, #valid=|v_#valid_93|, #memory_int=|v_#memory_int_48|, #length=|v_#length_60|} OutVars{ULTIMATE.start_main_#t~nondet4#1=|v_ULTIMATE.start_main_#t~nondet4#1_17|, ULTIMATE.start_main_#t~mem8#1=|v_ULTIMATE.start_main_#t~mem8#1_20|, ULTIMATE.start_main_~#t2~0#1.offset=|v_ULTIMATE.start_main_~#t2~0#1.offset_35|, ULTIMATE.start_main_#res#1=|v_ULTIMATE.start_main_#res#1_24|, ULTIMATE.start_main_#t~nondet6#1=|v_ULTIMATE.start_main_#t~nondet6#1_15|, #NULL.offset=|v_#NULL.offset_8|, ULTIMATE.start_main_~#t1~0#1.base=|v_ULTIMATE.start_main_~#t1~0#1.base_39|, ULTIMATE.start_main_~#t1~0#1.offset=|v_ULTIMATE.start_main_~#t1~0#1.offset_33|, #NULL.base=|v_#NULL.base_8|, ULTIMATE.start_main_#t~pre5#1=|v_ULTIMATE.start_main_#t~pre5#1_25|, #StackHeapBarrier=|v_#StackHeapBarrier_20|, ULTIMATE.start_main_#t~mem7#1=|v_ULTIMATE.start_main_#t~mem7#1_20|, #pthreadsForks=|v_#pthreadsForks_37|, ~flag2~0=v_~flag2~0_24, #valid=|v_#valid_92|, #memory_int=|v_#memory_int_47|, ~flag1~0=v_~flag1~0_24, #length=|v_#length_59|, ~turn~0=v_~turn~0_16, ~x~0=v_~x~0_20, ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_27|, ULTIMATE.start_main_~#t2~0#1.base=|v_ULTIMATE.start_main_~#t2~0#1.base_43|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet4#1, ULTIMATE.start_main_#t~mem8#1, ULTIMATE.start_main_~#t2~0#1.offset, ULTIMATE.start_main_#res#1, ULTIMATE.start_main_#t~nondet6#1, #NULL.offset, ULTIMATE.start_main_~#t1~0#1.base, ULTIMATE.start_main_~#t1~0#1.offset, #NULL.base, ULTIMATE.start_main_#t~pre5#1, ULTIMATE.start_main_#t~mem7#1, #pthreadsForks, ~flag2~0, #valid, #memory_int, ~flag1~0, #length, ~turn~0, ~x~0, ULTIMATE.start_main_#t~pre3#1, ULTIMATE.start_main_~#t2~0#1.base] 759#[L707-2]don't care [207] L707-2-->thr1ENTRY: Formula: (and (= v_thr1Thread1of1ForFork1_thidvar1_2 0) (= |v_ULTIMATE.start_main_#t~pre3#1_6| v_thr1Thread1of1ForFork1_thidvar0_2) (= |v_thr1Thread1of1ForFork1_#in~_.base_4| 0) (= |v_thr1Thread1of1ForFork1_#in~_.offset_4| 0)) InVars {ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_6|} OutVars{thr1Thread1of1ForFork1_#in~_.offset=|v_thr1Thread1of1ForFork1_#in~_.offset_4|, thr1Thread1of1ForFork1_~_.base=v_thr1Thread1of1ForFork1_~_.base_4, thr1Thread1of1ForFork1_#res.base=|v_thr1Thread1of1ForFork1_#res.base_4|, thr1Thread1of1ForFork1_#in~_.base=|v_thr1Thread1of1ForFork1_#in~_.base_4|, thr1Thread1of1ForFork1_~_.offset=v_thr1Thread1of1ForFork1_~_.offset_4, thr1Thread1of1ForFork1_#res.offset=|v_thr1Thread1of1ForFork1_#res.offset_4|, thr1Thread1of1ForFork1_thidvar1=v_thr1Thread1of1ForFork1_thidvar1_2, ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_6|, thr1Thread1of1ForFork1_thidvar0=v_thr1Thread1of1ForFork1_thidvar0_2} AuxVars[] AssignedVars[thr1Thread1of1ForFork1_#in~_.offset, thr1Thread1of1ForFork1_~_.base, thr1Thread1of1ForFork1_#res.base, thr1Thread1of1ForFork1_#in~_.base, thr1Thread1of1ForFork1_~_.offset, thr1Thread1of1ForFork1_#res.offset, thr1Thread1of1ForFork1_thidvar1, thr1Thread1of1ForFork1_thidvar0] 761#[thr1ENTRY, L707-3]don't care [252] L707-3-->L708-3: Formula: (and (= |v_#pthreadsForks_30| |v_ULTIMATE.start_main_#t~pre5#1_21|) (<= (+ |v_ULTIMATE.start_main_~#t2~0#1.offset_29| 4) (select |v_#length_51| |v_ULTIMATE.start_main_~#t2~0#1.base_35|)) (= (select |v_#valid_78| |v_ULTIMATE.start_main_~#t2~0#1.base_35|) 1) (= (+ |v_#pthreadsForks_30| 1) |v_#pthreadsForks_29|) (= |v_#memory_int_37| (store |v_#memory_int_38| |v_ULTIMATE.start_main_~#t2~0#1.base_35| (store (select |v_#memory_int_38| |v_ULTIMATE.start_main_~#t2~0#1.base_35|) |v_ULTIMATE.start_main_~#t2~0#1.offset_29| |v_ULTIMATE.start_main_#t~pre5#1_21|))) (<= 0 |v_ULTIMATE.start_main_~#t2~0#1.offset_29|)) InVars {#pthreadsForks=|v_#pthreadsForks_30|, ULTIMATE.start_main_~#t2~0#1.offset=|v_ULTIMATE.start_main_~#t2~0#1.offset_29|, #valid=|v_#valid_78|, #memory_int=|v_#memory_int_38|, #length=|v_#length_51|, ULTIMATE.start_main_~#t2~0#1.base=|v_ULTIMATE.start_main_~#t2~0#1.base_35|} OutVars{ULTIMATE.start_main_#t~pre5#1=|v_ULTIMATE.start_main_#t~pre5#1_21|, ULTIMATE.start_main_#t~nondet4#1=|v_ULTIMATE.start_main_#t~nondet4#1_13|, #pthreadsForks=|v_#pthreadsForks_29|, ULTIMATE.start_main_~#t2~0#1.offset=|v_ULTIMATE.start_main_~#t2~0#1.offset_29|, #valid=|v_#valid_78|, #memory_int=|v_#memory_int_37|, #length=|v_#length_51|, ULTIMATE.start_main_~#t2~0#1.base=|v_ULTIMATE.start_main_~#t2~0#1.base_35|, ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_23|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~pre5#1, ULTIMATE.start_main_#t~nondet4#1, #pthreadsForks, #memory_int, ULTIMATE.start_main_#t~pre3#1] 751#[thr1ENTRY, L708-3]don't care [204] L708-3-->thr2ENTRY: Formula: (and (= v_thr2Thread1of1ForFork0_thidvar2_2 0) (= |v_thr2Thread1of1ForFork0_#in~_.offset_4| 0) (= |v_thr2Thread1of1ForFork0_#in~_.base_4| 0) (= v_thr2Thread1of1ForFork0_thidvar1_2 0) (= |v_ULTIMATE.start_main_#t~pre5#1_6| v_thr2Thread1of1ForFork0_thidvar0_2)) InVars {ULTIMATE.start_main_#t~pre5#1=|v_ULTIMATE.start_main_#t~pre5#1_6|} OutVars{ULTIMATE.start_main_#t~pre5#1=|v_ULTIMATE.start_main_#t~pre5#1_6|, thr2Thread1of1ForFork0_~_.offset=v_thr2Thread1of1ForFork0_~_.offset_4, thr2Thread1of1ForFork0_#in~_.offset=|v_thr2Thread1of1ForFork0_#in~_.offset_4|, thr2Thread1of1ForFork0_#res.base=|v_thr2Thread1of1ForFork0_#res.base_4|, thr2Thread1of1ForFork0_thidvar0=v_thr2Thread1of1ForFork0_thidvar0_2, thr2Thread1of1ForFork0_thidvar1=v_thr2Thread1of1ForFork0_thidvar1_2, thr2Thread1of1ForFork0_thidvar2=v_thr2Thread1of1ForFork0_thidvar2_2, thr2Thread1of1ForFork0_#res.offset=|v_thr2Thread1of1ForFork0_#res.offset_4|, thr2Thread1of1ForFork0_#in~_.base=|v_thr2Thread1of1ForFork0_#in~_.base_4|, thr2Thread1of1ForFork0_~_.base=v_thr2Thread1of1ForFork0_~_.base_4} AuxVars[] AssignedVars[thr2Thread1of1ForFork0_~_.offset, thr2Thread1of1ForFork0_#in~_.offset, thr2Thread1of1ForFork0_#res.base, thr2Thread1of1ForFork0_thidvar0, thr2Thread1of1ForFork0_thidvar1, thr2Thread1of1ForFork0_thidvar2, thr2Thread1of1ForFork0_#res.offset, thr2Thread1of1ForFork0_#in~_.base, thr2Thread1of1ForFork0_~_.base] 701#[L708-4, thr2ENTRY, thr1ENTRY]don't care [227] thr2ENTRY-->L698: Formula: (and (= v_thr2Thread1of1ForFork0_~_.offset_5 |v_thr2Thread1of1ForFork0_#in~_.offset_5|) (= |v_thr2Thread1of1ForFork0_#in~_.base_5| v_thr2Thread1of1ForFork0_~_.base_5) (= v_~flag2~0_8 1)) InVars {thr2Thread1of1ForFork0_#in~_.offset=|v_thr2Thread1of1ForFork0_#in~_.offset_5|, thr2Thread1of1ForFork0_#in~_.base=|v_thr2Thread1of1ForFork0_#in~_.base_5|} OutVars{thr2Thread1of1ForFork0_~_.offset=v_thr2Thread1of1ForFork0_~_.offset_5, thr2Thread1of1ForFork0_#in~_.offset=|v_thr2Thread1of1ForFork0_#in~_.offset_5|, ~flag2~0=v_~flag2~0_8, thr2Thread1of1ForFork0_#in~_.base=|v_thr2Thread1of1ForFork0_#in~_.base_5|, thr2Thread1of1ForFork0_~_.base=v_thr2Thread1of1ForFork0_~_.base_5} AuxVars[] AssignedVars[thr2Thread1of1ForFork0_~_.offset, ~flag2~0, thr2Thread1of1ForFork0_~_.base] 703#[L708-4, L698, thr1ENTRY]don't care [176] L698-->L699-2: Formula: (= v_~turn~0_1 0) InVars {} OutVars{~turn~0=v_~turn~0_1} AuxVars[] AssignedVars[~turn~0] 769#[L708-4, L699-2, thr1ENTRY]don't care [2022-07-22 12:33:58,667 INFO L750 eck$LassoCheckResult]: Loop: 769#[L708-4, L699-2, thr1ENTRY]don't care [179] L699-2-->L699-2: Formula: (and (= v_~turn~0_3 0) (= v_~flag1~0_2 1)) InVars {~turn~0=v_~turn~0_3, ~flag1~0=v_~flag1~0_2} OutVars{~turn~0=v_~turn~0_3, ~flag1~0=v_~flag1~0_2} AuxVars[] AssignedVars[] 769#[L708-4, L699-2, thr1ENTRY]don't care [2022-07-22 12:33:58,667 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 12:33:58,668 INFO L85 PathProgramCache]: Analyzing trace with hash -117230517, now seen corresponding path program 1 times [2022-07-22 12:33:58,668 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 12:33:58,668 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [245887661] [2022-07-22 12:33:58,669 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 12:33:58,669 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 12:33:58,719 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:58,719 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 12:33:58,759 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:58,770 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 12:33:58,774 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 12:33:58,774 INFO L85 PathProgramCache]: Analyzing trace with hash 210, now seen corresponding path program 1 times [2022-07-22 12:33:58,774 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 12:33:58,775 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [576737827] [2022-07-22 12:33:58,775 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 12:33:58,775 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 12:33:58,793 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:58,797 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 12:33:58,803 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:58,805 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 12:33:58,809 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 12:33:58,809 INFO L85 PathProgramCache]: Analyzing trace with hash 660821448, now seen corresponding path program 1 times [2022-07-22 12:33:58,810 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 12:33:58,810 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [629321339] [2022-07-22 12:33:58,810 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 12:33:58,810 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 12:33:58,858 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-22 12:33:58,900 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-22 12:33:58,900 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-07-22 12:33:58,901 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [629321339] [2022-07-22 12:33:58,901 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [629321339] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-22 12:33:58,901 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-22 12:33:58,901 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2022-07-22 12:33:58,902 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1332051970] [2022-07-22 12:33:58,902 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-22 12:33:58,914 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-07-22 12:33:58,915 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-07-22 12:33:58,915 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-07-22 12:33:58,919 INFO L87 Difference]: Start difference. First operand 96 states and 222 transitions. cyclomatic complexity: 154 Second operand has 3 states, 2 states have (on average 3.5) internal successors, (7), 2 states have internal predecessors, (7), 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) [2022-07-22 12:33:58,957 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-22 12:33:58,957 INFO L93 Difference]: Finished difference Result 96 states and 216 transitions. [2022-07-22 12:33:58,957 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 96 states and 216 transitions. [2022-07-22 12:33:58,968 INFO L131 ngComponentsAnalysis]: Automaton has 22 accepting balls. 22 [2022-07-22 12:33:58,971 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 96 states to 82 states and 189 transitions. [2022-07-22 12:33:58,971 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 82 [2022-07-22 12:33:58,972 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 82 [2022-07-22 12:33:58,972 INFO L73 IsDeterministic]: Start isDeterministic. Operand 82 states and 189 transitions. [2022-07-22 12:33:58,976 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-07-22 12:33:58,976 INFO L220 hiAutomatonCegarLoop]: Abstraction has 82 states and 189 transitions. [2022-07-22 12:33:58,977 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 82 states and 189 transitions. [2022-07-22 12:33:58,985 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 82 to 82. [2022-07-22 12:33:58,985 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 82 states, 82 states have (on average 2.3048780487804876) internal successors, (189), 81 states have internal predecessors, (189), 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) [2022-07-22 12:33:58,986 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 82 states to 82 states and 189 transitions. [2022-07-22 12:33:58,987 INFO L242 hiAutomatonCegarLoop]: Abstraction has 82 states and 189 transitions. [2022-07-22 12:33:58,987 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-07-22 12:33:58,988 INFO L425 stractBuchiCegarLoop]: Abstraction has 82 states and 189 transitions. [2022-07-22 12:33:58,988 INFO L332 stractBuchiCegarLoop]: ======== Iteration 3 ============ [2022-07-22 12:33:58,989 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 82 states and 189 transitions. [2022-07-22 12:33:58,990 INFO L131 ngComponentsAnalysis]: Automaton has 22 accepting balls. 22 [2022-07-22 12:33:58,990 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2022-07-22 12:33:58,991 INFO L119 BuchiIsEmpty]: Starting construction of run [2022-07-22 12:33:58,991 INFO L150 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2022-07-22 12:33:58,991 INFO L151 hiAutomatonCegarLoop]: Counterexample loop histogram [1] [2022-07-22 12:33:58,992 INFO L748 eck$LassoCheckResult]: Stem: 1033#[ULTIMATE.startENTRY]don't care [258] ULTIMATE.startENTRY-->L707-2: Formula: (let ((.cse0 (select |v_#memory_int_48| 1)) (.cse1 (store |v_#valid_93| |v_ULTIMATE.start_main_~#t1~0#1.base_39| 1))) (and (= (select |v_#length_60| 2) 11) (= (select |v_#valid_93| 1) 1) (< |v_#StackHeapBarrier_20| |v_ULTIMATE.start_main_~#t2~0#1.base_43|) (= (select .cse0 0) 48) (= v_~flag1~0_24 0) (= |v_ULTIMATE.start_main_~#t2~0#1.offset_35| 0) (= v_~flag2~0_24 0) (= |v_ULTIMATE.start_main_~#t1~0#1.offset_33| 0) (= (select |v_#valid_93| |v_ULTIMATE.start_main_~#t1~0#1.base_39|) 0) (= (select |v_#valid_93| 0) 0) (= (select |v_#valid_93| 2) 1) (= (select .cse0 1) 0) (= |v_#pthreadsForks_38| |v_ULTIMATE.start_main_#t~pre3#1_27|) (= v_~x~0_20 0) (= |v_#NULL.offset_8| 0) (= |v_#pthreadsForks_37| (+ |v_#pthreadsForks_38| 1)) (= (store .cse1 |v_ULTIMATE.start_main_~#t2~0#1.base_43| 1) |v_#valid_92|) (= v_~turn~0_16 0) (= (store (store |v_#length_60| |v_ULTIMATE.start_main_~#t1~0#1.base_39| 4) |v_ULTIMATE.start_main_~#t2~0#1.base_43| 4) |v_#length_59|) (= (select .cse1 |v_ULTIMATE.start_main_~#t2~0#1.base_43|) 0) (= |v_#NULL.base_8| 0) (< 0 |v_#StackHeapBarrier_20|) (= |v_#memory_int_47| (store |v_#memory_int_48| |v_ULTIMATE.start_main_~#t1~0#1.base_39| (store (select |v_#memory_int_48| |v_ULTIMATE.start_main_~#t1~0#1.base_39|) |v_ULTIMATE.start_main_~#t1~0#1.offset_33| |v_ULTIMATE.start_main_#t~pre3#1_27|))) (= (select |v_#length_60| 1) 2) (< |v_#StackHeapBarrier_20| |v_ULTIMATE.start_main_~#t1~0#1.base_39|))) InVars {#StackHeapBarrier=|v_#StackHeapBarrier_20|, #pthreadsForks=|v_#pthreadsForks_38|, #valid=|v_#valid_93|, #memory_int=|v_#memory_int_48|, #length=|v_#length_60|} OutVars{ULTIMATE.start_main_#t~nondet4#1=|v_ULTIMATE.start_main_#t~nondet4#1_17|, ULTIMATE.start_main_#t~mem8#1=|v_ULTIMATE.start_main_#t~mem8#1_20|, ULTIMATE.start_main_~#t2~0#1.offset=|v_ULTIMATE.start_main_~#t2~0#1.offset_35|, ULTIMATE.start_main_#res#1=|v_ULTIMATE.start_main_#res#1_24|, ULTIMATE.start_main_#t~nondet6#1=|v_ULTIMATE.start_main_#t~nondet6#1_15|, #NULL.offset=|v_#NULL.offset_8|, ULTIMATE.start_main_~#t1~0#1.base=|v_ULTIMATE.start_main_~#t1~0#1.base_39|, ULTIMATE.start_main_~#t1~0#1.offset=|v_ULTIMATE.start_main_~#t1~0#1.offset_33|, #NULL.base=|v_#NULL.base_8|, ULTIMATE.start_main_#t~pre5#1=|v_ULTIMATE.start_main_#t~pre5#1_25|, #StackHeapBarrier=|v_#StackHeapBarrier_20|, ULTIMATE.start_main_#t~mem7#1=|v_ULTIMATE.start_main_#t~mem7#1_20|, #pthreadsForks=|v_#pthreadsForks_37|, ~flag2~0=v_~flag2~0_24, #valid=|v_#valid_92|, #memory_int=|v_#memory_int_47|, ~flag1~0=v_~flag1~0_24, #length=|v_#length_59|, ~turn~0=v_~turn~0_16, ~x~0=v_~x~0_20, ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_27|, ULTIMATE.start_main_~#t2~0#1.base=|v_ULTIMATE.start_main_~#t2~0#1.base_43|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet4#1, ULTIMATE.start_main_#t~mem8#1, ULTIMATE.start_main_~#t2~0#1.offset, ULTIMATE.start_main_#res#1, ULTIMATE.start_main_#t~nondet6#1, #NULL.offset, ULTIMATE.start_main_~#t1~0#1.base, ULTIMATE.start_main_~#t1~0#1.offset, #NULL.base, ULTIMATE.start_main_#t~pre5#1, ULTIMATE.start_main_#t~mem7#1, #pthreadsForks, ~flag2~0, #valid, #memory_int, ~flag1~0, #length, ~turn~0, ~x~0, ULTIMATE.start_main_#t~pre3#1, ULTIMATE.start_main_~#t2~0#1.base] 1029#[L707-2]don't care [207] L707-2-->thr1ENTRY: Formula: (and (= v_thr1Thread1of1ForFork1_thidvar1_2 0) (= |v_ULTIMATE.start_main_#t~pre3#1_6| v_thr1Thread1of1ForFork1_thidvar0_2) (= |v_thr1Thread1of1ForFork1_#in~_.base_4| 0) (= |v_thr1Thread1of1ForFork1_#in~_.offset_4| 0)) InVars {ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_6|} OutVars{thr1Thread1of1ForFork1_#in~_.offset=|v_thr1Thread1of1ForFork1_#in~_.offset_4|, thr1Thread1of1ForFork1_~_.base=v_thr1Thread1of1ForFork1_~_.base_4, thr1Thread1of1ForFork1_#res.base=|v_thr1Thread1of1ForFork1_#res.base_4|, thr1Thread1of1ForFork1_#in~_.base=|v_thr1Thread1of1ForFork1_#in~_.base_4|, thr1Thread1of1ForFork1_~_.offset=v_thr1Thread1of1ForFork1_~_.offset_4, thr1Thread1of1ForFork1_#res.offset=|v_thr1Thread1of1ForFork1_#res.offset_4|, thr1Thread1of1ForFork1_thidvar1=v_thr1Thread1of1ForFork1_thidvar1_2, ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_6|, thr1Thread1of1ForFork1_thidvar0=v_thr1Thread1of1ForFork1_thidvar0_2} AuxVars[] AssignedVars[thr1Thread1of1ForFork1_#in~_.offset, thr1Thread1of1ForFork1_~_.base, thr1Thread1of1ForFork1_#res.base, thr1Thread1of1ForFork1_#in~_.base, thr1Thread1of1ForFork1_~_.offset, thr1Thread1of1ForFork1_#res.offset, thr1Thread1of1ForFork1_thidvar1, thr1Thread1of1ForFork1_thidvar0] 1031#[thr1ENTRY, L707-3]don't care [214] thr1ENTRY-->L689: Formula: (and (= |v_thr1Thread1of1ForFork1_#in~_.offset_5| v_thr1Thread1of1ForFork1_~_.offset_5) (= v_thr1Thread1of1ForFork1_~_.base_5 |v_thr1Thread1of1ForFork1_#in~_.base_5|) (= v_~flag1~0_8 1)) InVars {thr1Thread1of1ForFork1_#in~_.offset=|v_thr1Thread1of1ForFork1_#in~_.offset_5|, thr1Thread1of1ForFork1_#in~_.base=|v_thr1Thread1of1ForFork1_#in~_.base_5|} OutVars{thr1Thread1of1ForFork1_#in~_.offset=|v_thr1Thread1of1ForFork1_#in~_.offset_5|, thr1Thread1of1ForFork1_~_.base=v_thr1Thread1of1ForFork1_~_.base_5, ~flag1~0=v_~flag1~0_8, thr1Thread1of1ForFork1_#in~_.base=|v_thr1Thread1of1ForFork1_#in~_.base_5|, thr1Thread1of1ForFork1_~_.offset=v_thr1Thread1of1ForFork1_~_.offset_5} AuxVars[] AssignedVars[thr1Thread1of1ForFork1_~_.base, ~flag1~0, thr1Thread1of1ForFork1_~_.offset] 993#[L707-3, L689]don't care [252] L707-3-->L708-3: Formula: (and (= |v_#pthreadsForks_30| |v_ULTIMATE.start_main_#t~pre5#1_21|) (<= (+ |v_ULTIMATE.start_main_~#t2~0#1.offset_29| 4) (select |v_#length_51| |v_ULTIMATE.start_main_~#t2~0#1.base_35|)) (= (select |v_#valid_78| |v_ULTIMATE.start_main_~#t2~0#1.base_35|) 1) (= (+ |v_#pthreadsForks_30| 1) |v_#pthreadsForks_29|) (= |v_#memory_int_37| (store |v_#memory_int_38| |v_ULTIMATE.start_main_~#t2~0#1.base_35| (store (select |v_#memory_int_38| |v_ULTIMATE.start_main_~#t2~0#1.base_35|) |v_ULTIMATE.start_main_~#t2~0#1.offset_29| |v_ULTIMATE.start_main_#t~pre5#1_21|))) (<= 0 |v_ULTIMATE.start_main_~#t2~0#1.offset_29|)) InVars {#pthreadsForks=|v_#pthreadsForks_30|, ULTIMATE.start_main_~#t2~0#1.offset=|v_ULTIMATE.start_main_~#t2~0#1.offset_29|, #valid=|v_#valid_78|, #memory_int=|v_#memory_int_38|, #length=|v_#length_51|, ULTIMATE.start_main_~#t2~0#1.base=|v_ULTIMATE.start_main_~#t2~0#1.base_35|} OutVars{ULTIMATE.start_main_#t~pre5#1=|v_ULTIMATE.start_main_#t~pre5#1_21|, ULTIMATE.start_main_#t~nondet4#1=|v_ULTIMATE.start_main_#t~nondet4#1_13|, #pthreadsForks=|v_#pthreadsForks_29|, ULTIMATE.start_main_~#t2~0#1.offset=|v_ULTIMATE.start_main_~#t2~0#1.offset_29|, #valid=|v_#valid_78|, #memory_int=|v_#memory_int_37|, #length=|v_#length_51|, ULTIMATE.start_main_~#t2~0#1.base=|v_ULTIMATE.start_main_~#t2~0#1.base_35|, ULTIMATE.start_main_#t~pre3#1=|v_ULTIMATE.start_main_#t~pre3#1_23|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~pre5#1, ULTIMATE.start_main_#t~nondet4#1, #pthreadsForks, #memory_int, ULTIMATE.start_main_#t~pre3#1] 897#[L708-3, L689]don't care [204] L708-3-->thr2ENTRY: Formula: (and (= v_thr2Thread1of1ForFork0_thidvar2_2 0) (= |v_thr2Thread1of1ForFork0_#in~_.offset_4| 0) (= |v_thr2Thread1of1ForFork0_#in~_.base_4| 0) (= v_thr2Thread1of1ForFork0_thidvar1_2 0) (= |v_ULTIMATE.start_main_#t~pre5#1_6| v_thr2Thread1of1ForFork0_thidvar0_2)) InVars {ULTIMATE.start_main_#t~pre5#1=|v_ULTIMATE.start_main_#t~pre5#1_6|} OutVars{ULTIMATE.start_main_#t~pre5#1=|v_ULTIMATE.start_main_#t~pre5#1_6|, thr2Thread1of1ForFork0_~_.offset=v_thr2Thread1of1ForFork0_~_.offset_4, thr2Thread1of1ForFork0_#in~_.offset=|v_thr2Thread1of1ForFork0_#in~_.offset_4|, thr2Thread1of1ForFork0_#res.base=|v_thr2Thread1of1ForFork0_#res.base_4|, thr2Thread1of1ForFork0_thidvar0=v_thr2Thread1of1ForFork0_thidvar0_2, thr2Thread1of1ForFork0_thidvar1=v_thr2Thread1of1ForFork0_thidvar1_2, thr2Thread1of1ForFork0_thidvar2=v_thr2Thread1of1ForFork0_thidvar2_2, thr2Thread1of1ForFork0_#res.offset=|v_thr2Thread1of1ForFork0_#res.offset_4|, thr2Thread1of1ForFork0_#in~_.base=|v_thr2Thread1of1ForFork0_#in~_.base_4|, thr2Thread1of1ForFork0_~_.base=v_thr2Thread1of1ForFork0_~_.base_4} AuxVars[] AssignedVars[thr2Thread1of1ForFork0_~_.offset, thr2Thread1of1ForFork0_#in~_.offset, thr2Thread1of1ForFork0_#res.base, thr2Thread1of1ForFork0_thidvar0, thr2Thread1of1ForFork0_thidvar1, thr2Thread1of1ForFork0_thidvar2, thr2Thread1of1ForFork0_#res.offset, thr2Thread1of1ForFork0_#in~_.base, thr2Thread1of1ForFork0_~_.base] 899#[L708-4, L689, thr2ENTRY]don't care [227] thr2ENTRY-->L698: Formula: (and (= v_thr2Thread1of1ForFork0_~_.offset_5 |v_thr2Thread1of1ForFork0_#in~_.offset_5|) (= |v_thr2Thread1of1ForFork0_#in~_.base_5| v_thr2Thread1of1ForFork0_~_.base_5) (= v_~flag2~0_8 1)) InVars {thr2Thread1of1ForFork0_#in~_.offset=|v_thr2Thread1of1ForFork0_#in~_.offset_5|, thr2Thread1of1ForFork0_#in~_.base=|v_thr2Thread1of1ForFork0_#in~_.base_5|} OutVars{thr2Thread1of1ForFork0_~_.offset=v_thr2Thread1of1ForFork0_~_.offset_5, thr2Thread1of1ForFork0_#in~_.offset=|v_thr2Thread1of1ForFork0_#in~_.offset_5|, ~flag2~0=v_~flag2~0_8, thr2Thread1of1ForFork0_#in~_.base=|v_thr2Thread1of1ForFork0_#in~_.base_5|, thr2Thread1of1ForFork0_~_.base=v_thr2Thread1of1ForFork0_~_.base_5} AuxVars[] AssignedVars[thr2Thread1of1ForFork0_~_.offset, ~flag2~0, thr2Thread1of1ForFork0_~_.base] 1023#[L708-4, L689, L698]don't care [176] L698-->L699-2: Formula: (= v_~turn~0_1 0) InVars {} OutVars{~turn~0=v_~turn~0_1} AuxVars[] AssignedVars[~turn~0] 983#[L708-4, L689, L699-2]don't care [2022-07-22 12:33:58,993 INFO L750 eck$LassoCheckResult]: Loop: 983#[L708-4, L689, L699-2]don't care [179] L699-2-->L699-2: Formula: (and (= v_~turn~0_3 0) (= v_~flag1~0_2 1)) InVars {~turn~0=v_~turn~0_3, ~flag1~0=v_~flag1~0_2} OutVars{~turn~0=v_~turn~0_3, ~flag1~0=v_~flag1~0_2} AuxVars[] AssignedVars[] 983#[L708-4, L689, L699-2]don't care [2022-07-22 12:33:58,993 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 12:33:58,993 INFO L85 PathProgramCache]: Analyzing trace with hash 627137093, now seen corresponding path program 1 times [2022-07-22 12:33:58,994 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 12:33:58,994 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1904554663] [2022-07-22 12:33:58,994 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 12:33:58,995 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 12:33:59,019 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:59,019 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 12:33:59,032 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:59,039 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 12:33:59,039 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 12:33:59,040 INFO L85 PathProgramCache]: Analyzing trace with hash 210, now seen corresponding path program 2 times [2022-07-22 12:33:59,040 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 12:33:59,040 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1408635332] [2022-07-22 12:33:59,041 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 12:33:59,041 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 12:33:59,047 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:59,048 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 12:33:59,050 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:59,052 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 12:33:59,053 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-22 12:33:59,053 INFO L85 PathProgramCache]: Analyzing trace with hash -2033586418, now seen corresponding path program 1 times [2022-07-22 12:33:59,053 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-07-22 12:33:59,054 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1866689586] [2022-07-22 12:33:59,054 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-22 12:33:59,054 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-07-22 12:33:59,078 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:59,079 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-22 12:33:59,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-22 12:33:59,097 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-07-22 12:33:59,934 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 22.07 12:33:59 BoogieIcfgContainer [2022-07-22 12:33:59,934 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2022-07-22 12:33:59,936 INFO L158 Benchmark]: Toolchain (without parser) took 5876.28ms. Allocated memory was 160.4MB in the beginning and 195.0MB in the end (delta: 34.6MB). Free memory was 133.6MB in the beginning and 94.0MB in the end (delta: 39.7MB). Peak memory consumption was 74.5MB. Max. memory is 8.0GB. [2022-07-22 12:33:59,936 INFO L158 Benchmark]: CDTParser took 0.28ms. Allocated memory is still 160.4MB. Free memory is still 133.8MB. There was no memory consumed. Max. memory is 8.0GB. [2022-07-22 12:33:59,937 INFO L158 Benchmark]: CACSL2BoogieTranslator took 644.41ms. Allocated memory is still 160.4MB. Free memory was 133.4MB in the beginning and 114.8MB in the end (delta: 18.6MB). Peak memory consumption was 18.9MB. Max. memory is 8.0GB. [2022-07-22 12:33:59,938 INFO L158 Benchmark]: Boogie Procedure Inliner took 88.90ms. Allocated memory is still 160.4MB. Free memory was 114.8MB in the beginning and 112.9MB in the end (delta: 1.9MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. [2022-07-22 12:33:59,939 INFO L158 Benchmark]: Boogie Preprocessor took 39.53ms. Allocated memory is still 160.4MB. Free memory was 112.9MB in the beginning and 111.6MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. [2022-07-22 12:33:59,939 INFO L158 Benchmark]: RCFGBuilder took 579.20ms. Allocated memory is still 160.4MB. Free memory was 111.6MB in the beginning and 99.5MB in the end (delta: 12.1MB). Peak memory consumption was 11.5MB. Max. memory is 8.0GB. [2022-07-22 12:33:59,940 INFO L158 Benchmark]: BuchiAutomizer took 4512.18ms. Allocated memory was 160.4MB in the beginning and 195.0MB in the end (delta: 34.6MB). Free memory was 99.3MB in the beginning and 94.0MB in the end (delta: 5.3MB). Peak memory consumption was 41.0MB. Max. memory is 8.0GB. [2022-07-22 12:33:59,944 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.28ms. Allocated memory is still 160.4MB. Free memory is still 133.8MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 644.41ms. Allocated memory is still 160.4MB. Free memory was 133.4MB in the beginning and 114.8MB in the end (delta: 18.6MB). Peak memory consumption was 18.9MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 88.90ms. Allocated memory is still 160.4MB. Free memory was 114.8MB in the beginning and 112.9MB in the end (delta: 1.9MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. * Boogie Preprocessor took 39.53ms. Allocated memory is still 160.4MB. Free memory was 112.9MB in the beginning and 111.6MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. * RCFGBuilder took 579.20ms. Allocated memory is still 160.4MB. Free memory was 111.6MB in the beginning and 99.5MB in the end (delta: 12.1MB). Peak memory consumption was 11.5MB. Max. memory is 8.0GB. * BuchiAutomizer took 4512.18ms. Allocated memory was 160.4MB in the beginning and 195.0MB in the end (delta: 34.6MB). Free memory was 99.3MB in the beginning and 94.0MB in the end (delta: 5.3MB). Peak memory consumption was 41.0MB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 2 terminating modules (2 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.2 modules have a trivial ranking function, the largest among these consists of 3 locations. The remainder module has 82 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 4.2s and 3 iterations. TraceHistogramMax:1. Analysis of lassos took 1.5s. Construction of modules took 0.0s. Büchi inclusion checks took 0.3s. Highest rank in rank-based complementation 0. Minimization of det autom 2. Minimization of nondet autom 0. Automata minimization 0.1s AutomataMinimizationTime, 2 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had -1 states and ocurred in iteration -1. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 19 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 19 mSDsluCounter, 42 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 29 mSDsCounter, 2 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 40 IncrementalHoareTripleChecker+Invalid, 42 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 2 mSolverCounterUnsat, 22 mSDtfsCounter, 40 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT0 conc2 concLT0 SILN0 SILU0 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s InitialAbstractionConstructionTime: 2.1s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 699]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {} State at position 1 is {\result={0:0}, \result=0, \result={0:0}, _={0:0}, _={0:0}, _={0:0}, _={0:0}, flag1=1, flag2=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1d8f68f8 in0,0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@705c7d21 in47462,0, org.eclipse.cdt.internal.core.dom.parser.c.CASTIdExpression@1a1dcf20=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTIdExpression@1f1c6c33=0, t1={3:0}, t2={7564:0}, turn=0, x=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 699]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L684] 0 int flag1 = 0, flag2 = 0; [L685] 0 int turn; [L686] 0 int x; [L706] 0 pthread_t t1, t2; [L707] FCALL, FORK 0 pthread_create(&t1, 0, thr1, 0) [L688] 1 flag1 = 1 [L708] FCALL, FORK 0 pthread_create(&t2, 0, thr2, 0) [L697] 2 flag2 = 1 [L698] 2 turn = 0 Loop: [L699] COND TRUE flag1==1 && turn==0 End of lasso representation. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 2.0s, 73 PlacesBefore, 30 PlacesAfterwards, 72 TransitionsBefore, 29 TransitionsAfterwards, 812 CoEnabledTransitionPairs, 6 FixpointIterations, 28 TrivialSequentialCompositions, 13 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 8 ConcurrentYvCompositions, 0 ChoiceCompositions, 49 TotalNumberOfCompositions, 2143 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 1138, positive: 1038, positive conditional: 0, positive unconditional: 1038, negative: 100, negative conditional: 0, negative unconditional: 100, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: SyntacticIndependenceRelation.Independence Queries: [ total: 438, positive: 418, positive conditional: 0, positive unconditional: 418, negative: 20, negative conditional: 0, negative unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Cache Queries: [ total: 1138, positive: 620, positive conditional: 0, positive unconditional: 620, negative: 80, negative conditional: 0, negative unconditional: 80, unknown: 438, unknown conditional: 0, unknown unconditional: 438] , Statistics on independence cache: Total cache size (in pairs): 96, Positive cache size: 81, Positive conditional cache size: 0, Positive unconditional cache size: 81, Negative cache size: 15, Negative conditional cache size: 0, Negative unconditional cache size: 15 RESULT: Ultimate proved your program to be incorrect! [2022-07-22 12:34:00,007 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Ended with exit code 0 Received shutdown request...